Bug 7129: Added a sprintf to format the actual cost.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Rebased to current master, please test. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Ian Walls <koha.sekjal@gmail.com> QA note: changed call to use $order instead of @$results[0], for consistency with surrounding variables Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
f5974e278b
commit
f2ca89b30e
|
|
@ -191,8 +191,8 @@ if ( $count == 1 ) {
|
|||
quantityreceivedplus1 => $order->{'quantityreceived'} + 1,
|
||||
quantityreceived => $order->{'quantityreceived'},
|
||||
rrp => $order->{'rrp'},
|
||||
ecost => $order->{'ecost'},
|
||||
unitprice => $order->{'unitprice'},
|
||||
ecost => sprintf( "%.2f",$order->{'ecost'}),
|
||||
unitprice => sprintf( "%.2f",$order->{'unitprice'}),
|
||||
memberfirstname => $member->{firstname} || "",
|
||||
membersurname => $member->{surname} || "",
|
||||
invoice => $invoice,
|
||||
|
|
|
|||
Loading…
Reference in New Issue