{{ $category->name }} - {{ __('locale.Pricing Chart') }}

@php $currency=Helper::setting('currency_symbol', 'currency'); @endphp @foreach ($countries as $country)
@if ($country['rules']->count()) @foreach ($country['rules'] as $rule) @endforeach @else @endif

{{ $country['name'] }}

{{ __('locale.Pricing Rules') }}

{{ __('locale.Base Fare') }}

{{ $currency }}{{ number_format($country['base_fare'], 2) }}

{{ __('locale.Per Km') }}

{{ $currency }}{{ number_format($country['per_km'], 2) }}

{{ __('locale.Per Minute') }}

{{ $currency }}{{ number_format($country['per_minute'], 2) }}
{{ $rule['name'] }} @if ($rule['conditions']->count())
    @foreach ($rule['conditions'] as $cond)
  • {{ ucfirst(str_replace('_', ' ', $cond->condition_type)) }}: {{ $cond->formatted_value }}
  • @endforeach
@else No conditions @endif
{{ $currency }}{{ number_format($rule['new_prices']['base_fare'], 2) }} {{ $currency }}{{ number_format($rule['new_prices']['per_km'], 2) }} / {{ __('locale.Per Km') }} {{ $currency }}{{ number_format($rule['new_prices']['per_minute'], 2) }} / {{ __('locale.Per Minute') }}
@endforeach