mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Enable make directory for e-invoices
This commit is contained in:
parent
77004e9272
commit
edf33ed19e
@ -171,12 +171,11 @@ class FacturaEInvoice extends AbstractService
|
||||
->setPoNumber()
|
||||
->signDocument();
|
||||
|
||||
|
||||
$disk = config('filesystems.default');
|
||||
|
||||
// if (!Storage::disk($disk)->exists($this->invoice->client->e_invoice_filepath($this->invoice->invitations->first()))) {
|
||||
// Storage::makeDirectory($this->invoice->client->e_invoice_filepath($this->invoice->invitations->first()));
|
||||
// }
|
||||
if (!Storage::disk($disk)->exists($this->invoice->client->e_invoice_filepath($this->invoice->invitations->first()))) {
|
||||
Storage::makeDirectory($this->invoice->client->e_invoice_filepath($this->invoice->invitations->first()));
|
||||
}
|
||||
|
||||
$this->fac->export(Storage::disk($disk)->path($this->invoice->client->e_invoice_filepath($this->invoice->invitations->first()) . $this->invoice->getFileName("xsig")));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user