@extends('layouts.back-end.app') @section('content')
{{\App\CPU\translate('shipping_responsibility')}}
@php($shippingMethod=\App\CPU\Helpers::get_business_settings('shipping_method'))
@php($admin_shipping = \App\Model\ShippingType::where('seller_id',0)->first()) @php($shippingType =isset($admin_shipping)==true?$admin_shipping->shipping_type:'order_wise')

{{\App\CPU\translate('choose_shipping_method')}}

{{\App\CPU\translate('note')}}: {{\App\CPU\translate("Please_make_sure_all_the product's_delivery_charges_are_up_to_date.")}}

@php($categories = App\Model\Category::where(['position' => 0])->get())

{{\App\CPU\translate('update_category_shipping_cost')}}

@csrf @foreach ($all_category_shipping_cost as $key=>$item) @endforeach
{{\App\CPU\translate('sl#')}} {{\App\CPU\translate('category_name')}} {{\App\CPU\translate('cost_per_product')}} {{\App\CPU\translate('multiply_with_QTY')}}
{{$key+1}} {{$item->category!=null?$item->category->name:\App\CPU\translate('not_found')}}

{{\App\CPU\translate('add_order_wise_shipping')}}

@csrf

{{\App\CPU\translate('order_wise_shipping_method')}} ({{ $shipping_methods->count() }})

@foreach($shipping_methods as $k=>$method) @endforeach
{{\App\CPU\translate('sl#')}} {{\App\CPU\translate('title')}} {{\App\CPU\translate('duration')}} {{\App\CPU\translate('cost')}} {{\App\CPU\translate('status')}} {{\App\CPU\translate('action')}}
{{$k+1}} {{$method['title']}} {{$method['duration']}} {{\App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($method['cost']))}}
@endsection @push('script') @endpush