View | Details | Raw Unified | Return to bug 25750
Collapse All | Expand All

(-)a/C4/Acquisition.pm (+1 lines)
Lines 2883-2888 sub populate_order_with_prices { Link Here
2883
        if ( $bookseller->listincgst ) {
2883
        if ( $bookseller->listincgst ) {
2884
2884
2885
            # The user entered the prices tax included
2885
            # The user entered the prices tax included
2886
            $order->{unitprice} = 0 if $order->{unitprice} == '0.00';
2886
            $order->{unitprice_tax_included} = $order->{unitprice};
2887
            $order->{unitprice_tax_included} = $order->{unitprice};
2887
            $order->{rrp_tax_included} = $order->{rrp};
2888
            $order->{rrp_tax_included} = $order->{rrp};
2888
2889
(-)a/acqui/basket.pl (-1 / +2 lines)
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
- 

Return to bug 25750