[FIX] 修正銷售紀錄與出貨紀錄 Flatpickr 初始化中 Blade 大括號內不必要的反斜線轉義以防 PHP 解析錯誤

This commit is contained in:
sky121113 2026-05-20 14:19:32 +08:00
parent 42c882aeb8
commit 1678fd1775
2 changed files with 8 additions and 8 deletions

View File

@ -38,9 +38,9 @@
time_24hr: true,
defaultHour: 0,
defaultMinute: 0,
locale: '{{ app()->getLocale() == \'zh_TW\' ? \'zh_tw\' : \'en\' }}',
locale: '{{ app()->getLocale() == 'zh_TW' ? 'zh_tw' : 'en' }}',
position: 'auto right',
defaultDate: '{{ $filters[\'start_date\'] }}'
defaultDate: '{{ $filters['start_date'] }}'
})">
<span class="absolute inset-y-0 left-0 flex items-center pl-4 pointer-events-none z-10 text-slate-400 group-focus-within:text-cyan-500 transition-colors">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" /></svg>
@ -61,9 +61,9 @@
time_24hr: true,
defaultHour: 23,
defaultMinute: 59,
locale: '{{ app()->getLocale() == \'zh_TW\' ? \'zh_tw\' : \'en\' }}',
locale: '{{ app()->getLocale() == 'zh_TW' ? 'zh_tw' : 'en' }}',
position: 'auto right',
defaultDate: '{{ $filters[\'end_date\'] }}'
defaultDate: '{{ $filters['end_date'] }}'
})">
<span class="absolute inset-y-0 left-0 flex items-center pl-4 pointer-events-none z-10 text-slate-400 group-focus-within:text-cyan-500 transition-colors">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" /></svg>

View File

@ -39,9 +39,9 @@
time_24hr: true,
defaultHour: 0,
defaultMinute: 0,
locale: '{{ app()->getLocale() == \'zh_TW\' ? \'zh_tw\' : \'en\' }}',
locale: '{{ app()->getLocale() == 'zh_TW' ? 'zh_tw' : 'en' }}',
position: 'auto right',
defaultDate: '{{ $filters[\'start_date\'] }}'
defaultDate: '{{ $filters['start_date'] }}'
})">
<span class="absolute inset-y-0 left-0 flex items-center pl-4 pointer-events-none z-10 text-slate-400 group-focus-within:text-cyan-500 transition-colors">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" /></svg>
@ -62,9 +62,9 @@
time_24hr: true,
defaultHour: 23,
defaultMinute: 59,
locale: '{{ app()->getLocale() == \'zh_TW\' ? \'zh_tw\' : \'en\' }}',
locale: '{{ app()->getLocale() == 'zh_TW' ? 'zh_tw' : 'en' }}',
position: 'auto right',
defaultDate: '{{ $filters[\'end_date\'] }}'
defaultDate: '{{ $filters['end_date'] }}'
})">
<span class="absolute inset-y-0 left-0 flex items-center pl-4 pointer-events-none z-10 text-slate-400 group-focus-within:text-cyan-500 transition-colors">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" /></svg>