mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
10 lines
290 B
PHP
Executable File
10 lines
290 B
PHP
Executable File
@php
|
|
use App\Services\Helpers\CurrencyHelper;
|
|
@endphp
|
|
<script>
|
|
window.jsSettings = @js(cache()->rememberForever('body.js-settings', fn () => [
|
|
'locale' => str_replace('_', '-', CurrencyHelper::getLocale()),
|
|
'currency' => CurrencyHelper::getCurrency(),
|
|
]))
|
|
</script>
|