Fix verifica disponibilità Ordini

This commit is contained in:
valentina 2024-07-17 17:02:48 +02:00
parent 134093eaac
commit 5b76886dd6
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ foreach ($articoli as $elenco) {
LEFT JOIN `or_statiordine_lang` ON (`or_statiordine`.`id` = `or_statiordine_lang`.`id_record` AND `or_statiordine_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).") LEFT JOIN `or_statiordine_lang` ON (`or_statiordine`.`id` = `or_statiordine_lang`.`id_record` AND `or_statiordine_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).")
INNER JOIN `or_tipiordine` ON `or_tipiordine`.`id` = `or_ordini`.`idtipoordine` INNER JOIN `or_tipiordine` ON `or_tipiordine`.`id` = `or_ordini`.`idtipoordine`
WHERE WHERE
`or_statiordine`.`title` = 'Bozza' `or_statiordine_lang`.`title` = 'Bozza'
AND `dir` = 'entrata' AND `dir` = 'entrata'
AND `confermato` = 1 AND `confermato` = 1
AND `idarticolo`=".prepare($articolo->id).' AND `idarticolo`=".prepare($articolo->id).'