|
Lines 459-464
sub get_order_infos {
Link Here
|
| 459 |
$line{budget_name} = $budget->{budget_name}; |
459 |
$line{budget_name} = $budget->{budget_name}; |
| 460 |
|
460 |
|
| 461 |
# If we have an actual cost that should be the total, otherwise use the ecost |
461 |
# If we have an actual cost that should be the total, otherwise use the ecost |
|
|
462 |
$line{unitprice_tax_included} = 0 if $line{unitprice_tax_included} == '0.00'; |
| 463 |
$line{unitprice_tax_excluded} = 0 if $line{unitprice_tax_excluded} == '0.00'; |
| 462 |
my $cost_tax_included = $line{unitprice_tax_included} || $line{ecost_tax_included}; |
464 |
my $cost_tax_included = $line{unitprice_tax_included} || $line{ecost_tax_included}; |
| 463 |
my $cost_tax_excluded = $line{unitprice_tax_excluded} || $line{ecost_tax_excluded}; |
465 |
my $cost_tax_excluded = $line{unitprice_tax_excluded} || $line{ecost_tax_excluded}; |
| 464 |
$line{total_tax_included} = get_rounded_price($cost_tax_included) * $line{quantity}; |
466 |
$line{total_tax_included} = get_rounded_price($cost_tax_included) * $line{quantity}; |
| 465 |
- |
|
|