mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fixes for override taxes for AT region
This commit is contained in:
parent
b35d54a2c6
commit
6aac4a03b7
@ -379,7 +379,6 @@ class BaseRule implements RuleInterface
|
||||
|
||||
public function override($item): self
|
||||
{
|
||||
nlog("override");
|
||||
$this->tax_rate1 = $item->tax_rate1;
|
||||
$this->tax_name1 = $item->tax_name1;
|
||||
$this->tax_rate2 = $item->tax_rate2;
|
||||
@ -387,7 +386,6 @@ class BaseRule implements RuleInterface
|
||||
$this->tax_rate3 = $item->tax_rate3;
|
||||
$this->tax_name3 = $item->tax_name3;
|
||||
|
||||
nlog($item);
|
||||
return $this;
|
||||
|
||||
}
|
||||
|
@ -207,6 +207,14 @@ class Rule extends BaseRule implements RuleInterface
|
||||
*/
|
||||
public function override($item): self
|
||||
{
|
||||
|
||||
$this->tax_rate1 = $item->tax_rate1;
|
||||
$this->tax_name1 = $item->tax_name1;
|
||||
$this->tax_rate2 = $item->tax_rate2;
|
||||
$this->tax_name2 = $item->tax_name2;
|
||||
$this->tax_rate3 = $item->tax_rate3;
|
||||
$this->tax_name3 = $item->tax_name3;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user