Skip to content

Commit 4cc2934

Browse files
fix: bulk fatturazione ddt
1 parent a36a2d0 commit 4cc2934

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ddt/bulk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@
8989
$fattura = Fattura::where('idanagrafica', $id_anagrafica)
9090
->where('idstatodocumento', $stato_documenti_accodabili->id)
9191
->where('idtipodocumento', $tipo_documento->id)
92+
->where('idsede_destinazione', $id_sede)
9293
->first();
9394
} else {
9495
$fattura = Fattura::where('idanagrafica', $id_anagrafica)
9596
->where('idstatodocumento', $stato_documenti_accodabili->id)
9697
->where('idtipodocumento', $tipo_standard->id)
97-
->where('idsede_destinazione', $id_sede)
9898
->first();
9999
}
100100

0 commit comments

Comments
 (0)