Revert "Fix minore confronta prezzi"

This reverts commit 26fc1dc0f7.
This commit is contained in:
Pek5892 2023-04-27 17:32:58 +02:00
parent 26fc1dc0f7
commit 0036b62424
6 changed files with 6 additions and 7 deletions

View File

@ -671,7 +671,7 @@ switch (post('op')) {
foreach ($righe as $riga) { foreach ($righe as $riga) {
$dbo->query( $dbo->query(
'UPDATE co_righe_contratti 'UPDATE co_righe_contratti
SET subtotale = '.$riga['price'].' AND prezzo_unitario = '.$riga['price'].' SET prezzo_unitario = '.$riga['price'].'
WHERE id = '.$riga['id'] WHERE id = '.$riga['id']
); );
} }

View File

@ -696,7 +696,7 @@ switch (filter('op')) {
foreach ($righe as $riga) { foreach ($righe as $riga) {
$dbo->query( $dbo->query(
'UPDATE dt_righe_ddt 'UPDATE dt_righe_ddt
SET subtotale = '.$riga['price'].' AND prezzo_unitario = '.$riga['price'].' SET prezzo_unitario = '.$riga['price'].'
WHERE id = '.$riga['id'] WHERE id = '.$riga['id']
); );
} }

View File

@ -1070,7 +1070,7 @@ switch (post('op')) {
foreach ($righe as $riga) { foreach ($righe as $riga) {
$dbo->query( $dbo->query(
'UPDATE co_righe_documenti 'UPDATE co_righe_documenti
SET subtotale = '.$riga['price'].' AND prezzo_unitario = '.$riga['price'].' SET prezzo_unitario = '.$riga['price'].'
WHERE id = '.$riga['id'] WHERE id = '.$riga['id']
); );
} }

View File

@ -1164,8 +1164,7 @@ switch (post('op')) {
foreach ($righe as $riga) { foreach ($righe as $riga) {
$dbo->query( $dbo->query(
'UPDATE in_righe_interventi 'UPDATE in_righe_interventi
SET subtotale = '.$riga['price'].' AND prezzo_unitario = '.$riga['price'].' SET prezzo_unitario = '.$riga['price'].'
WHERE id = '.$riga['id'] WHERE id = '.$riga['id']
); );
} }

View File

@ -723,7 +723,7 @@ switch (post('op')) {
foreach ($righe as $riga) { foreach ($righe as $riga) {
$dbo->query( $dbo->query(
'UPDATE or_righe_ordini 'UPDATE or_righe_ordini
SET subtotale = '.$riga['price'].' AND prezzo_unitario = '.$riga['price'].' SET prezzo_unitario = '.$riga['price'].'
WHERE id = '.$riga['id'] WHERE id = '.$riga['id']
); );
} }

View File

@ -546,7 +546,7 @@ switch (post('op')) {
foreach ($righe as $riga) { foreach ($righe as $riga) {
$dbo->query( $dbo->query(
'UPDATE co_righe_preventivi 'UPDATE co_righe_preventivi
SET subtotale = '.$riga['price'].' AND prezzo_unitario = '.$riga['price'].' SET prezzo_unitario = '.$riga['price'].'
WHERE id = '.$riga['id'] WHERE id = '.$riga['id']
); );
} }