@extends('admin.layouts.master') @section('title', __('taxido::static.surge_prices.vehicle_surge_price')) @section('content')

{{ __('taxido::static.surge_prices.vehicle_surge_price') }} @isset($vehicleName) ({{ Str::title($vehicleName) }}) @endisset

@foreach ($zones as $zone)

@csrf @php // Fetch surge prices for this zone and vehicle type $zoneSurgePrices = $vehicleSurgePrices->where('zone_id', $zone->id); @endphp @foreach ($surgePrices as $surgePrice) @php $existingPrice = $zoneSurgePrices ->where('surge_price_id', $surgePrice->id) ->first(); @endphp
{{ $surgePrice->day }} ({{ $surgePrice->start_time }} - {{ $surgePrice->end_time }})
{{ $zone->currency?->symbol ?? getDefaultCurrency()?->symbol }}
@endforeach
@endforeach

{{ __('taxido::static.surge_prices.publish') }}

{{ $vehicleType?->name }}
  • {{ __('taxido::static.surge_prices.base_fare_charge') }}: {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }}101.38
  • {{ __('taxido::static.surge_prices.additional_distance_charge') }}: (5.2Km X $8.3)
    {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 42.90
  • {{ __('taxido::static.surge_prices.additional_minute_charge') }}: (5.2Km X $8.3)
    {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 12.50
  • {{ __('taxido::static.surge_prices.platform_fee') }}: {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 10.00
  • {{ __('taxido::static.surge_prices.tax') }}: {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 5.98
  • {{ __('taxido::static.surge_prices.commission') }}: {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 10.00
  • {{ __('taxido::static.surge_prices.total') }}: {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 101.38

{{ __('taxido::static.surge_prices.waiting_charges') }} {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 1 per minutes apply after the driver has been waiting for 2 minutes.

{{ __('taxido::static.surge_prices.cancellation_charge') }} {{ $zones->first()->currency?->symbol ?? getDefaultCurrency()?->symbol }} 10.

@endsection @push('scripts') @endpush