21 lines
673 B
PHP
21 lines
673 B
PHP
|
<script>
|
||
|
window.FleetCart = {
|
||
|
version: '{{ fleetcart_version() }}',
|
||
|
csrfToken: '{{ csrf_token() }}',
|
||
|
baseUrl: '{{ url('/') }}',
|
||
|
rtl: {{ is_rtl() ? 'true' : 'false' }},
|
||
|
langs: {},
|
||
|
data: {},
|
||
|
errors: {},
|
||
|
selectize: [],
|
||
|
};
|
||
|
|
||
|
FleetCart.langs['admin::admin.buttons.delete'] = '{{ trans('admin::admin.buttons.delete') }}';
|
||
|
FleetCart.langs['media::media.file_manager.title'] = '{{ trans('media::media.file_manager.title') }}';
|
||
|
FleetCart.langs['media::messages.image_has_been_added'] = '{{ trans('media::messages.image_has_been_added') }}';
|
||
|
</script>
|
||
|
|
||
|
@stack('globals')
|
||
|
|
||
|
@routes
|