Skip to content

Commit 05cc9e9

Browse files
committed
fix: aggiunta registrazione da bulk
1 parent aaedbbb commit 05cc9e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/primanota/add.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245

246246
if (!empty($id_records) && get('origine') == 'fatture' && !empty($counter)) {
247247
$descrizione_stati = [];
248-
$stati = $database->fetchArray("SELECT * FROM `co_statidocumento` LEFT JOIN `co_statidocumento_lang` ON (`co_statidocumento`.`id` = `co_statidocumento_lang`.`id_record` AND `co_statidocumento_lang`.`id_lang` = '".prepare(Models\Locale::getDefault()->id)."') WHERE `title` IN ('Emessa', 'Parzialmente pagato', 'Pagato') ORDER BY `title`");
248+
$stati = $database->fetchArray("SELECT * FROM `co_statidocumento` LEFT JOIN `co_statidocumento_lang` ON (`co_statidocumento`.`id` = `co_statidocumento_lang`.`id_record` AND `co_statidocumento_lang`.`id_lang` = ".prepare(Models\Locale::getDefault()->id).") WHERE `name` IN ('Emessa', 'Parzialmente pagato', 'Pagato') ORDER BY `name`");
249249
foreach ($stati as $stato) {
250250
$descrizione_stati[] = '<i class="'.$stato['icona'].'"></i> <small>'.$stato['title'].'</small>';
251251
}

0 commit comments

Comments
 (0)