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/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"))); 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', ''),