Fixes for tax model migrations
This commit is contained in:
parent
2da23ab5c5
commit
08ec334e4c
|
|
@ -1 +1 @@
|
|||
5.11.4
|
||||
5.11.5
|
||||
|
|
@ -46,7 +46,13 @@ class TaxModel
|
|||
$this->acts_as_receiver = $model->acts_as_receiver ?? false;
|
||||
|
||||
$modelArray = get_object_vars($model);
|
||||
|
||||
foreach ($modelArray as $key => $value) {
|
||||
|
||||
if($key == 'seller_subregion' && $value == null) {
|
||||
$value = '';
|
||||
}
|
||||
|
||||
$this->{$key} = $value;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ return [
|
|||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||
'app_version' => env('APP_VERSION', '5.11.4'),
|
||||
'app_tag' => env('APP_TAG', '5.11.4'),
|
||||
'app_version' => env('APP_VERSION', '5.11.5'),
|
||||
'app_tag' => env('APP_TAG', '5.11.5'),
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', false),
|
||||
|
|
|
|||
Loading…
Reference in New Issue