mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
v5.7.29
This commit is contained in:
parent
8210bce2bc
commit
10a8c9bd81
@ -1 +1 @@
|
||||
5.7.28
|
||||
5.7.29
|
@ -468,7 +468,7 @@ class FacturaEInvoice extends AbstractService
|
||||
{
|
||||
$company = $this->invoice->company;
|
||||
|
||||
if($company->getSetting('classification'))
|
||||
if($company->getSetting('classification') == 'individual')
|
||||
return $this->setIndividualSeller();
|
||||
|
||||
$seller = new FacturaeParty([
|
||||
@ -512,7 +512,7 @@ class FacturaEInvoice extends AbstractService
|
||||
$seller = new FacturaeParty([
|
||||
"isLegalEntity" => false,
|
||||
"taxNumber" => $company->settings->vat_number,
|
||||
"name" => $company->getSetting('classification') === 'individual' ? substr($company->owner()->present()->name(), 0, 40) : substr($company->present()->name(), 0, 40),
|
||||
// "name" => $company->getSetting('classification') === 'individual' ? substr($company->owner()->present()->name(), 0, 40) : substr($company->present()->name(), 0, 40),
|
||||
"address" => substr($company->settings->address1, 0, 80),
|
||||
"postCode" => substr($this->invoice->client->postal_code, 0, 5),
|
||||
"town" => substr($company->settings->city, 0, 50),
|
||||
@ -529,7 +529,8 @@ class FacturaEInvoice extends AbstractService
|
||||
"fax" => "",
|
||||
"website" => substr($company->settings->website, 0, 50),
|
||||
// "contactPeople" => substr($company->owner()->present()->name(), 0, 40),
|
||||
"firstSurname" => $company->owner()->present()->firstName(),
|
||||
"name" => $company->owner()->present()->firstName(),
|
||||
// "firstSurname" => $company->owner()->present()->firstName(),
|
||||
"lastSurname" => $company->owner()->present()->lastName(),
|
||||
]);
|
||||
|
||||
|
@ -15,8 +15,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.7.28'),
|
||||
'app_tag' => env('APP_TAG','5.7.28'),
|
||||
'app_version' => env('APP_VERSION','5.7.29'),
|
||||
'app_tag' => env('APP_TAG','5.7.29'),
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', ''),
|
||||
|
Loading…
Reference in New Issue
Block a user