@@ 427-436 (lines=10) @@ | ||
424 | } |
|
425 | } |
|
426 | } |
|
427 | if ($additionalTaxes) { |
|
428 | foreach ($additionalTaxes as $tax) { |
|
429 | if ($tax->DoesNotApplyToAllProducts) { |
|
430 | if ($tax->AppliesToAllCountries || $tax->CountryCode == $country) { |
|
431 | $this->debugMessage .= "<hr />found tax to add for ".$buyable->Title.": ".$tax->Title(); |
|
432 | $actualRate += $tax->Rate; |
|
433 | } |
|
434 | } |
|
435 | } |
|
436 | } |
|
437 | } |
|
438 | } |
|
439 | $totalForItem = $item->Total(); |
|
@@ 515-524 (lines=10) @@ | ||
512 | } |
|
513 | } |
|
514 | } |
|
515 | if ($additionalTaxes) { |
|
516 | foreach ($additionalTaxes as $tax) { |
|
517 | if ($tax->DoesNotApplyToAllProducts) { |
|
518 | if ($tax->AppliesToAllCountries || $tax->CountryCode == $country) { |
|
519 | $this->debugMessage .= "<hr />found adtax to add for ".$modifier->Title.": ".$tax->Title(); |
|
520 | $actualRate += $tax->Rate; |
|
521 | } |
|
522 | } |
|
523 | } |
|
524 | } |
|
525 | } else { |
|
526 | $this->debugMessage .= "<hr />".$modifierDescriptor->ClassName." does not have the GSTTaxDecorator extension"; |
|
527 | } |