Introduce new regions into Tax Model

This commit is contained in:
David Bomba 2024-12-03 12:26:08 +11:00
parent 1f63a70113
commit b315c4871a
3 changed files with 20 additions and 129 deletions

View File

@ -95,31 +95,31 @@ class TaxModel
} }
//@pending Flutter AP upgrade - deploying this breaks the AP. //@pending Flutter AP upgrade - deploying this breaks the AP.
// if($this->version == 'gamma') { if($this->version == 'gamma') {
// $this->regions->EU->subregions->IS = new \stdClass(); $this->regions->EU->subregions->IS = new \stdClass();
// $this->regions->EU->subregions->IS->tax_rate = 24; $this->regions->EU->subregions->IS->tax_rate = 24;
// $this->regions->EU->subregions->IS->tax_name = 'VSK'; $this->regions->EU->subregions->IS->tax_name = 'VSK';
// $this->regions->EU->subregions->IS->reduced_tax_rate = 11; $this->regions->EU->subregions->IS->reduced_tax_rate = 11;
// $this->regions->EU->subregions->IS->apply_tax = false; $this->regions->EU->subregions->IS->apply_tax = false;
// $this->regions->EU->subregions->LI = new \stdClass(); $this->regions->EU->subregions->LI = new \stdClass();
// $this->regions->EU->subregions->LI->tax_rate = 8.1; $this->regions->EU->subregions->LI->tax_rate = 8.1;
// $this->regions->EU->subregions->LI->tax_name = 'MWST'; $this->regions->EU->subregions->LI->tax_name = 'MWST';
// $this->regions->EU->subregions->LI->reduced_tax_rate = 2.6; $this->regions->EU->subregions->LI->reduced_tax_rate = 2.6;
// $this->regions->EU->subregions->LI->apply_tax = false; $this->regions->EU->subregions->LI->apply_tax = false;
// $this->regions->EU->subregions->NO = new \stdClass(); $this->regions->EU->subregions->NO = new \stdClass();
// $this->regions->EU->subregions->NO->tax_rate = 25; $this->regions->EU->subregions->NO->tax_rate = 25;
// $this->regions->EU->subregions->NO->tax_name = 'MVA'; $this->regions->EU->subregions->NO->tax_name = 'MVA';
// $this->regions->EU->subregions->NO->reduced_tax_rate = 12; $this->regions->EU->subregions->NO->reduced_tax_rate = 12;
// $this->regions->EU->subregions->NO->apply_tax = false; $this->regions->EU->subregions->NO->apply_tax = false;
// $this->ukRegion(); $this->ukRegion();
// $this->version = 'delta'; $this->version = 'delta';
// } }
return $this; return $this;
} }

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
"file": "assets/wait-8f4ae121.js" "file": "assets/wait-8f4ae121.js"
}, },
"resources/js/app.js": { "resources/js/app.js": {
"file": "assets/app-780c4e5a.js", "file": "assets/app-c1a2ea5d.js",
"imports": [ "imports": [
"_index-08e160a7.js", "_index-08e160a7.js",
"__commonjsHelpers-725317a4.js" "__commonjsHelpers-725317a4.js"