Lines 99-105
while ( my $data = $sth->fetchrow_hashref ) {
Link Here
|
99 |
$left = $data->{'quantity'}; |
99 |
$left = $data->{'quantity'}; |
100 |
} |
100 |
} |
101 |
if ( $left && $left > 0 ) { |
101 |
if ( $left && $left > 0 ) { |
102 |
my $subtotal = get_rounded_price( $left * $data->{'ecost_tax_included'} ); |
102 |
my $subtotal = $left * get_rounded_price( $data->{'ecost_tax_included'} ); |
103 |
$data->{subtotal} = sprintf( "%.2f", $subtotal ); |
103 |
$data->{subtotal} = sprintf( "%.2f", $subtotal ); |
104 |
$data->{'left'} = $left; |
104 |
$data->{'left'} = $left; |
105 |
push @ordered, $data; |
105 |
push @ordered, $data; |
106 |
- |
|
|