@extends('layouts.back-end.app') @section('title', translate('shipping_method')) @section('content')

{{translate('business_setup')}}

@include('admin-views.business-settings.business-setup-inline-menu')
{{translate('shipping')}}
@php($shippingMethod=getWebConfig('shipping_method'))
@csrf
@php($shippingType =isset($adminShipping)? $adminShipping['shipping_type']:'order_wise')

{{translate('note').' '.':'}} {{translate('when_adding_a_product_a_product_specific_shipping_charge_is_added_Verify_that_all_of_the_products_delivery_costs_are_up_to_date').'.'}}

{{translate('category_wise_shipping_cost')}}
@csrf @php($sl =0) @foreach ($allCategoryShippingCost as $key=>$item) @if($item->category) @endif @endforeach
{{translate('SL')}} {{translate('image')}} {{translate('category_name')}} {{translate('cost_per_product')}} {{translate('multiply_with_QTY')}}
{{++$sl}} {{$item->category->name}}
{{translate('add_order_wise_shipping')}}
@csrf
{{translate('order_wise_shipping_method')}} {{ $shippingMethods->count() }}
@foreach($shippingMethods as $key=>$method) @endforeach
{{translate('SL')}} {{translate('title')}} {{translate('duration')}} {{translate('cost')}} {{translate('status')}} {{translate('action')}}
{{$key+1}} {{$method['title']}} {{$method['duration']}} {{setCurrencySymbol(amount: usdToDefaultCurrency(amount: $method['cost']), currencyCode: getCurrencyCode(type: 'default'))}}
@csrf
@if(count($shippingMethods)==0) @include('layouts.back-end._empty-state',['text'=>'no_data_found'],['image'=>'default']) @else
{!! $shippingMethods->links() !!}
@endif
@endsection @push('script') @endpush