@php $basicSetting = $settings->where('name', \App\Models\Setting::$installmentsSettingsName)->first(); $basicValue = !empty($basicSetting) ? $basicSetting->value : null; if (!empty($basicValue)) { $basicValue = json_decode($basicValue, true); } @endphp