mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Aggiornamento modifiche Banche da master
This commit is contained in:
@@ -54,14 +54,14 @@ include_once __DIR__.'/../../core.php';
|
||||
|
||||
<?php
|
||||
// Collegamenti diretti (numerici)
|
||||
$documenti = $dbo->fetchNum('SELECT id FROM dt_ddt WHERE idcausalet='.prepare($id_record).'
|
||||
$numero_documenti = $dbo->fetchNum('SELECT id FROM dt_ddt WHERE idcausalet='.prepare($id_record).'
|
||||
UNION SELECT id FROM co_documenti WHERE idcausalet='.prepare($id_record));
|
||||
|
||||
if (!empty($documenti)) {
|
||||
if (!empty($numero_documenti)) {
|
||||
echo '
|
||||
<div class="alert alert-danger">
|
||||
'.tr('Ci sono _NUM_ documenti collegati', [
|
||||
'_NUM_' => count($documenti),
|
||||
'_NUM_' => $numero_documenti,
|
||||
]).'.
|
||||
</div>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user