@php $section_content = (array) ($section_content ?? []); $usdRate = (float) \App\Models\Setting::getSetting('currency_usd', 0); $aedRate = (float) \App\Models\Setting::getSetting('currency_aed', 0); $lirRate = (float) \App\Models\Setting::getSetting('currency_lir', 0); $feeWithoutManagement = (float) \App\Models\Setting::getSetting('google_ads_fee_without_management_percent', 0); $feeWithManagement = (float) \App\Models\Setting::getSetting('google_ads_fee_with_management_percent', 0); $orderUrl = isset($service) ? route('panel.order.create', ['id' => $service->id]) : route('panel.order.create'); $currencies = [ ['code' => 'usd', 'setting_key' => 'currency_usd', 'label' => 'دلار آمریکا', 'rate' => $usdRate], ['code' => 'aed', 'setting_key' => 'currency_aed', 'label' => 'درهم امارات', 'rate' => $aedRate], ['code' => 'lir', 'setting_key' => 'currency_lir', 'label' => 'لیر ترکیه', 'rate' => $lirRate], ]; @endphp
{{ $section_content['title'] ?? 'شارژ حساب گوگل ادز' }} {{ $section_content['short_description'] ?? 'هر چه چقدر که راحتی اکانتتو شارژ کن' }}
آخرین بروزرسانی در {{ jdate_format('Y/m/d', time()) }}
@foreach($currencies as $currency)
نرخ {{ $currency['label'] }} به‌روز: {{ number_format((float) $currency['rate']) }} تومان
@endforeach