Fix prezzo pubblico lsv
This commit is contained in:
@ -100,7 +100,7 @@ def update_lsv(connection, id_lsv, prezzo, prezzo_pubblico, listino, sc1, sc2, r
|
||||
if listino == '1' or listino == '4':
|
||||
prezzo += prezzo * (22 / 100)
|
||||
|
||||
if prezzo_pubblico != '' and listino == '1':
|
||||
if prezzo_pubblico != '':
|
||||
prezzo = prezzo_pubblico
|
||||
|
||||
query_lsv = "UPDATE lsv SET PREZZO = %s, TRL_CODICE = %s WHERE ID = %s"
|
||||
|
||||
Reference in New Issue
Block a user