CREATE
104:@stop
4560:@stop
5358:@sto
EDIT
83:@stop
4539:@stop
5394:@sto
JSLAYOUT
1
19
20
24
25
26
27 @if (file_exists(public_path('js/lang/' . session()->get('user.language', config('app.locale')) . '.js')))
28
30 @else
31
32 @endif
33 @php
34 $business_date_format = session('business.date_format', config('constants.default_date_format'));
35 $datepicker_date_format = str_replace('d', 'dd', $business_date_format);
36 $datepicker_date_format = str_replace('m', 'mm', $datepicker_date_format);
37 $datepicker_date_format = str_replace('Y', 'yyyy', $datepicker_date_format);
38
39 $moment_date_format = str_replace('d', 'DD', $business_date_format);
40 $moment_date_format = str_replace('m', 'MM', $moment_date_format);
41 $moment_date_format = str_replace('Y', 'YYYY', $moment_date_format);
42
43 $business_time_format = session('business.time_format');
44 $moment_time_format = 'HH:mm';
45 if ($business_time_format == 12) {
46 $moment_time_format = 'hh:mm A';
47 }
48
49 $common_settings = !empty(session('business.common_settings')) ? session('business.common_settings') : [];
50
51 $default_datatable_page_entries = !empty($common_settings['default_datatable_page_entries'])
52 ? $common_settings['default_datatable_page_entries']
53 : 25;
54 @endphp
55