Fixes for company tax rate

This commit is contained in:
David Bomba 2023-07-26 08:31:22 +10:00
parent 4574c48985
commit 66efb49eeb

View File

@ -52,7 +52,7 @@ class CompanyTaxRate implements ShouldQueue
/** State must be calculated else default to the company state for taxes */ /** State must be calculated else default to the company state for taxes */
if(array_key_exists($this->company->settings->state, USStates::get())) { if(array_key_exists($this->company->settings->state, USStates::get())) {
$calculated_state = $this->company->setting->state; $calculated_state = $this->company->settings->state;
} }
else { else {