mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
commit
83d6bdc4f9
@ -1 +1 @@
|
||||
5.5.111
|
||||
5.5.112
|
@ -154,9 +154,12 @@ class TemplateEmail extends Mailable
|
||||
}
|
||||
}
|
||||
if ($this->invitation && $this->invitation->invoice && $this->invitation->invoice->client->getSetting('enable_e_invoice') && $this->company->account->hasFeature(Account::FEATURE_PDF_ATTACHMENT)) {
|
||||
$this->invitation->invoice->service()->getEInvoice($this->invitation->contact);
|
||||
$disk = config('filesystems.default');
|
||||
$this->attach(Storage::disk($disk)->path($this->invitation->invoice->client->xinvoice_filepath($this->invitation->invoice->invitations->first()) . $this->invitation->invoice->getFileName("xml")));
|
||||
|
||||
$xinvoice_filepath = $this->invitation->invoice->service()->getEInvoice($this->invitation->contact);
|
||||
|
||||
if(Storage::disk(config('filesystems.default'))->exists($xinvoice_filepath))
|
||||
$this->attach(Storage::disk(config('filesystems.default'))->path($xinvoice_filepath), ['as' => $this->invitation->invoice->getFileName("xml"), 'mime' => null]);
|
||||
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
@ -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' => '5.5.111',
|
||||
'app_tag' => '5.5.111',
|
||||
'app_version' => '5.5.112',
|
||||
'app_tag' => '5.5.112',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', ''),
|
||||
|
Loading…
x
Reference in New Issue
Block a user