Lines 2965-2971
sub populate_order_with_prices {
Link Here
|
2965 |
# ecost tax excluded = rrp tax excluded * ( 1 - discount ) |
2965 |
# ecost tax excluded = rrp tax excluded * ( 1 - discount ) |
2966 |
$order->{ecost_tax_excluded} = $order->{rrp_tax_excluded} * ( 1 - $discount ); |
2966 |
$order->{ecost_tax_excluded} = $order->{rrp_tax_excluded} * ( 1 - $discount ); |
2967 |
|
2967 |
|
2968 |
# ecost tax included = rrp tax excluded * ( 1 - tax rate ) * ( 1 - discount ) |
2968 |
# ecost tax included = rrp tax excluded * ( 1 + tax rate ) * ( 1 - discount ) |
2969 |
$order->{ecost_tax_included} = |
2969 |
$order->{ecost_tax_included} = |
2970 |
$order->{rrp_tax_excluded} * |
2970 |
$order->{rrp_tax_excluded} * |
2971 |
( 1 + $order->{tax_rate_on_ordering} ) * |
2971 |
( 1 + $order->{tax_rate_on_ordering} ) * |
2972 |
- |
|
|