mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-18 13:28:32 -04:00
Attributes fixes and warning removal
- when the payments array was folded into sale_data there was an earlier payments[] reference in the foreach loop that didn't get folded in. - Update PHPdoc - Added ::class to remove polymorphic call warning - Removed unreachable 'break;' statement after return statement. - Added missing return type - fixed missing assignment of mailchimp_api_key
This commit is contained in:
@@ -246,7 +246,7 @@ class Tax_code extends Model
|
||||
*/
|
||||
public function get_sales_tax_code(string $city = '', string $state = '')
|
||||
{
|
||||
$config = config('OSPOS')->settings;
|
||||
$config = config(OSPOS::class)->settings;
|
||||
|
||||
// if tax code using both city and state cannot be found then try again using just the state
|
||||
// if the state tax code cannot be found then try again using blanks for both
|
||||
|
||||
Reference in New Issue
Block a user