This commit is contained in:
Thomas Zilio 2019-04-04 19:56:01 -07:00
parent eb44f1d692
commit 0c66cfd17c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ foreach ($results as $result) {
}
if (!empty($scadenze) && $result['stato_fattura'] == 'Parzialmente pagato') {
foreach ($scadenza as $scadenze) {
foreach ($scadenze as $scadenza) {
$dbo->query('UPDATE co_scadenziario SET pagato = '.prepare($scadenza['pagato']).' WHERE scadenza = '.prepare($scadenza['scadenza']).' AND iddocumento = '.prepare($result['id']));
}
}