@csrf @php $user_role = auth()->user()->role; $admin = 1; $is_def_mile_or_fees = Modules\Cargo\Entities\ShipmentSetting::getVal('is_def_mile_or_fees'); $googleSettings = resolve(\app\Models\GoogleSettings::class)->toArray(); $googleMap = json_decode($googleSettings['google_map'], true); $google_map_key = ''; if ($googleMap) { $google_map_key = $googleMap['google_map_key']; } $countries = Modules\Cargo\Entities\Country::where('covered', 1)->get(); @endphp