From edf33ed19e9c1d6cf6ca90cccfd11502b7060a48 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 25 May 2023 13:48:17 +1000 Subject: [PATCH 1/2] Enable make directory for e-invoices --- app/Services/Invoice/EInvoice/FacturaEInvoice.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Services/Invoice/EInvoice/FacturaEInvoice.php b/app/Services/Invoice/EInvoice/FacturaEInvoice.php index ffb9622b2670..d2eb6ebf8ee1 100644 --- a/app/Services/Invoice/EInvoice/FacturaEInvoice.php +++ b/app/Services/Invoice/EInvoice/FacturaEInvoice.php @@ -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"))); From d46398835534288a01b4bbbb26f07aa7a1cf2af5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 25 May 2023 13:48:47 +1000 Subject: [PATCH 2/2] v5.5.122 --- VERSION.txt | 2 +- config/ninja.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 4144795a019b..ab071af03a50 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.5.121 \ No newline at end of file +5.5.122 \ No newline at end of file diff --git a/config/ninja.php b/config/ninja.php index 15d7dd187eb0..2d4e866b04f3 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -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.121', - 'app_tag' => '5.5.121', + 'app_version' => '5.5.122', + 'app_tag' => '5.5.122', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),