mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-21 17:01:33 +02:00
commit
394bbb6a51
@ -1 +1 @@
|
||||
5.9.7
|
||||
5.9.8
|
@ -21,6 +21,7 @@ use App\Models\Language;
|
||||
use App\Models\Timezone;
|
||||
use App\Models\DateFormat;
|
||||
use App\Models\PaymentTerm;
|
||||
use App\Models\DatetimeFormat;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use App\DataMapper\EmailTemplateDefaults;
|
||||
|
||||
@ -88,6 +89,10 @@ class StaticServiceProvider extends ServiceProvider
|
||||
return Size::query()->orderBy('id')->get();
|
||||
});
|
||||
|
||||
/** @return \Illuminate\Support\Collection<DatetimeFormat> */
|
||||
app()->singleton('datetime_formats', function ($app) {
|
||||
return DatetimeFormat::query()->orderBy('id')->get();
|
||||
});
|
||||
|
||||
app()->singleton('templates', function ($app) {
|
||||
return [
|
||||
|
@ -143,6 +143,11 @@ class Statics
|
||||
return $currency->name;
|
||||
})->values();
|
||||
|
||||
$data['sizes'] = app('sizes');
|
||||
$data['datetime_formats'] = app('datetime_formats');
|
||||
$data['gateways'] = app('gateways');
|
||||
$dat['timezones'] = app('timezones');
|
||||
|
||||
$data['templates'] = app('templates');
|
||||
}
|
||||
|
||||
|
@ -17,8 +17,8 @@ return [
|
||||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||
'app_version' => env('APP_VERSION', '5.9.7'),
|
||||
'app_tag' => env('APP_TAG', '5.9.7'),
|
||||
'app_version' => env('APP_VERSION', '5.9.8'),
|
||||
'app_tag' => env('APP_TAG', '5.9.8'),
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', false),
|
||||
|
Loading…
Reference in New Issue
Block a user