commit
0ea98ffe7d
|
|
@ -1 +1 @@
|
|||
5.11.42
|
||||
5.11.43
|
||||
|
|
@ -224,7 +224,7 @@ class LocationData extends AbstractService
|
|||
return $this->businessLocation->country->name;
|
||||
}
|
||||
|
||||
return $this->entity->client->country->name;
|
||||
return $this->entity->client->country->name ?? $this->entity->company->country()->name;
|
||||
}
|
||||
|
||||
private function getBusinessCountryCode(): string
|
||||
|
|
@ -233,7 +233,7 @@ class LocationData extends AbstractService
|
|||
return $this->businessLocation->country->iso_3166_2;
|
||||
}
|
||||
|
||||
return $this->entity->client->country->iso_3166_2;
|
||||
return $this->entity->client->country->iso_3166_2 ?? $this->entity->company->country()->iso_3166_2;
|
||||
}
|
||||
|
||||
private function getShippingAddress1(): string
|
||||
|
|
|
|||
|
|
@ -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.42'),
|
||||
'app_tag' => env('APP_TAG', '5.11.42'),
|
||||
'app_version' => env('APP_VERSION', '5.11.43'),
|
||||
'app_tag' => env('APP_TAG', '5.11.43'),
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', false),
|
||||
|
|
|
|||
Loading…
Reference in New Issue