@extends('apps::dashboard.layouts.app') @section('title', __('company::dashboard.delivery_charges.update.title')) @section('content')

@csrf @method('PUT')

{{ $company->title }}

{{-- RIGHT SIDE --}}
{{--
--}}
{{-- PAGE CONTENT --}}
{{-- UPDATE FORM --}} @foreach ($cities as $key2 => $city2)
{{--

{{ $city2->title }}

--}}
@foreach ($city2->states as $key3 => $state) @endforeach
{{ __('company::dashboard.delivery_charges.update.state') }} {{ __('company::dashboard.delivery_charges.update.delivery_price') }} {{ __('company::dashboard.delivery_charges.update.delivery_time') }} @foreach (config('translatable.locales') as $k => $code) @endforeach {{ __('company::dashboard.delivery_charges.update.min_order_amount') }} {{ __('company::dashboard.delivery_charges.update.status') }}
{{ $state->title }} @foreach (config('translatable.locales') as $k => $code) @php $deliveryNoteObject = collect($times) ->where('state_id', $state->id) ->first(); @endphp
@endforeach
id, $statuses) && $statuses[$state->id] == 1 ? 'checked' : '' }}>
@endforeach {{-- END UPDATE FORM --}}
@if (in_array('schedule', $company->delivery_time_types ?? []))
@include('company::dashboard.delivery-times._edit_times')
@endif
{{-- PAGE ACTION --}}
@include('apps::dashboard.layouts._ajax-msg')
{{ __('apps::dashboard.general.back_btn') }}
@stop @section('scripts') @stop