Merge pull request #4975 from turbo124/v5-develop

5.1.8
This commit is contained in:
David Bomba 2021-02-24 00:02:19 +11:00 committed by GitHub
commit 4ee66438c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 12 deletions

View File

@ -1 +1 @@
5.1.7
5.1.8

View File

@ -223,16 +223,6 @@ class Client extends BaseModel implements HasLocalePreference
})->first()->format;
}
public function translated_date_format()
{
$date_formats = Cache::get('date_formats');
return $date_formats->filter(function ($item) {
return $item->id == $this->getSetting('date_format_id');
})->first()->translated_format;
}
public function currency()
{
$currencies = Cache::get('currencies');

View File

@ -13,7 +13,7 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', ''),
'app_version' => '5.1.7',
'app_version' => '5.1.8',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),