1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-22 12:00:19 +01:00

fix: refuso

This commit is contained in:
valentina 2024-11-26 17:39:08 +01:00
parent ed1722ffee
commit 75f9d0caf1

View File

@ -113,7 +113,7 @@ switch ($resource) {
LEFT JOIN `co_pagamenti` ON `an_anagrafiche`.`idpagamento_acquisti`=`co_pagamenti`.`id`
LEFT JOIN `co_pagamenti_lang` co_pagamenti_lang ON (`co_pagamenti`.`id` = `co_pagamenti_lang`.`id_record` AND `co_pagamenti_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).")
LEFT JOIN `co_banche` banca_acquisti ON `co_pagamenti`.`idconto_acquisti` = `banca_acquisti`.`id_pianodeiconti3` AND `banca_acquisti`.`id_anagrafica` = '.prepare($id_azienda).' AND `banca_acquisti`.`deleted_at` IS NULL AND `banca_acquisti`.`predefined` = 1
|where| '.Modules::getAdditionalsQuery(Module::where('name', 'Anagrafiche')->first()->id).'
|where| ".Modules::getAdditionalsQuery(Module::where('name', 'Anagrafiche')->first()->id)."
ORDER BY
`ragione_sociale`";