@extends('layouts.admin-master') @section('title', 'shipping method list') @section('css-top') @endsection @section('css') @endsection @section('content')
| Shipping method | Cost | Duration | Shipping Location | Notes | Status | Action |
|---|---|---|---|---|---|---|
| {{$data->name}} | {{$data->cost}} | {{$data->duration}} | @php $shipping_location = ($data->location_id) ? json_decode($data->location_id) : []; @endphp @if(in_array('all', $shipping_location)) All Location @endif @foreach(App\Models\City::whereIn('id', $shipping_location)->get() as $city) {{$city->name}} @endforeach | {{$data->notes}} |
status == 1) ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="status{{$data->id}}">
|