Load OSPOS app settings to variable

- refactor class and variable
- Refactor references to OSPOS configuration
- Replaced " with ' in PHP where parser was not needed
This commit is contained in:
objecttothis
2022-12-01 12:13:46 +04:00
committed by Steve Ireland
parent 3761c75711
commit f343c6988e
56 changed files with 266 additions and 266 deletions

View File

@@ -252,7 +252,7 @@ class Tax_code extends Model
}
else
{
return config('OSPOS')->default_tax_code;
return config('OSPOS')->settings['default_tax_code'];
}
}