@extends('admin.layout-price') @section('title', 'Manage Country Prices') @section('page-title', 'Manage Country Prices') @section('content')
@csrf @method('PUT')
Service Information
Enable Service in Countries

Check the countries where this service should be available and set prices for each.

@foreach($countries as $countryCode => $countryData) @php $existingPrice = $existingPrices[$countryCode] ?? null; $isChecked = $existingPrice && $existingPrice->is_active; @endphp
{{ $countryData['currency'] }}
{{ $countryData['currency'] }}
Total Price: {{ $countryData['currency'] }}{{ number_format(($existingPrice->visament_fee ?? 0) + ($existingPrice->government_fee ?? 0), 2) }}
@endforeach
Cancel
Currently Active
@php $activeCountries = collect($existingPrices)->where('is_active', true); @endphp @if($activeCountries->count() > 0)
    @foreach($activeCountries as $countryCode => $price)
  • @if($countryCode === 'usa') 🇺🇸 @elseif($countryCode === 'india') 🇮🇳 @elseif($countryCode === 'uk') 🇬🇧 @elseif($countryCode === 'canada') 🇨🇦 @elseif($countryCode === 'australia') 🇦🇺 @endif {{ strtoupper($countryCode) }}
    {{ $price->currency }}{{ number_format($price->total_price, 2) }}
  • @endforeach
@else

Not available in any country yet

@endif
Tips
  • Check country to enable service
  • Set different prices per country
  • Currency auto-sets for country
  • Changes apply immediately to checkout
@endsection @push('scripts') @endpush