Cast line->qty values to fix phan notices
This commit is contained in:
parent
88202d989f
commit
87bdc72920
1 changed files with 2 additions and 2 deletions
|
|
@ -744,8 +744,8 @@ abstract class CommonDocGenerator
|
|||
'line_localtax2_rate' => vatrate($line->localtax1_tx),
|
||||
'line_up' => price2num($line->subprice),
|
||||
'line_up_locale' => price($line->subprice, 0, $outputlangs),
|
||||
'line_total_up' => price2num($line->subprice * $line->qty),
|
||||
'line_total_up_locale' => price($line->subprice * $line->qty, 0, $outputlangs),
|
||||
'line_total_up' => price2num($line->subprice * (float) $line->qty),
|
||||
'line_total_up_locale' => price($line->subprice * (float) $line->qty, 0, $outputlangs),
|
||||
'line_qty' => $line->qty,
|
||||
'line_discount_percent' => ($line->remise_percent ? $line->remise_percent.'%' : ''),
|
||||
'line_price_ht' => price2num($line->total_ht),
|
||||
|
|
|
|||
Loading…
Reference in a new issue