1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Merge pull request #7435 from turbo124/v5-stable

Fixes for statements.
This commit is contained in:
David Bomba 2022-05-14 17:02:51 +10:00 committed by GitHub
commit f550674937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 5 deletions

View File

@ -1 +1 @@
5.3.87
5.3.88

View File

@ -120,7 +120,11 @@ class SelfUpdateController extends BaseController
nlog("copying release file");
copy($this->getDownloadUrl(), storage_path('app/invoiceninja.zip'));
if(copy($this->getDownloadUrl(), storage_path('app/invoiceninja.zip'))){
nlog("Copied file from URL");
}
else
return response()->json(['message' => 'Download not yet available. Please try again shortly.'], 410);
nlog("Finished copying");

View File

@ -226,7 +226,7 @@ class Design extends BaseDesign
{
if ($this->type === 'statement') {
$s_date = $this->translateDate(now()->format($client->company->date_format()), $this->client->date_format(), $this->client->locale());
$s_date = $this->translateDate(now()->format($this->client->company->date_format()), $this->client->date_format(), $this->client->locale());
return [
['element' => 'tr', 'properties' => ['data-ref' => 'statement-label'], 'elements' => [

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => '5.3.87',
'app_tag' => '5.3.87',
'app_version' => '5.3.88',
'app_tag' => '5.3.88',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''),