This commit is contained in:
Luca 2018-12-10 11:57:58 +01:00
parent 2ae5738408
commit 04c0783915
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ function get_costi_intervento($id_intervento)
ROUND(prezzo_ore_unitario*ore, '.$decimals.')
), 0) AS manodopera_addebito,
COALESCE(SUM(
ROUND(prezzo_ore_unitario*ore, '.$decimals.') - ROUND(sconto_unitario*ore, '.$decimals.')
ROUND(prezzo_ore_unitario*ore, '.$decimals.') - ROUND(sconto, '.$decimals.')
), 0) AS manodopera_scontato,