ok
Direktori : /home2/selectio/www/3-idiots/resources/views/admin-views/shipping-method/ |
Current File : /home2/selectio/www/3-idiots/resources/views/admin-views/shipping-method/edit.blade.php |
@extends('layouts.back-end.app') @push('css_or_js') @endpush @section('content') <div class="content container-fluid"> <!-- <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{route('admin.dashboard')}}">{{\App\CPU\translate('Dashboard')}}</a></li> <li class="breadcrumb-item" aria-current="page">{{\App\CPU\translate('Shipping Method Update')}}</li> </ol> </nav> --> <!-- Page Title --> <div class="mb-3"> <h2 class="h1 mb-0 text-capitalize d-flex align-items-center gap-2"> <img src="{{asset('/public/assets/back-end/img/business-setup.png')}}" alt=""> {{\App\CPU\translate('Shipping_Method_Update')}} </h2> </div> <!-- End Page Title --> <!-- Page Heading --> <!-- <div class="d-sm-flex align-items-center justify-content-between mb-2"> <h1 class="h3 mb-0 text-black-50">{{\App\CPU\translate('shipping_method')}} {{\App\CPU\translate('update')}}</h1> </div> --> <!-- Content Row --> <div class="row"> <div class="col-md-12"> <div class="card"> <!-- <div class="card-header"> {{\App\CPU\translate('shipping_method')}} {{\App\CPU\translate('form')}} </div> --> <div class="card-body"> <form action="{{route('admin.business-settings.shipping-method.update',[$method['id']])}}" style="text-align: {{Session::get('direction') === "rtl" ? 'right' : 'left'}};" method="post"> @csrf @method('put') <div class="form-group"> <div class="row "> <div class="col-md-12"> <label class="title-color" for="title">{{\App\CPU\translate('title')}}</label> <input type="text" name="title" value="{{$method['title']}}" class="form-control" placeholder=""> </div> </div> </div> <div class="form-group"> <div class="row "> <div class="col-md-12"> <label class="title-color" for="duration">{{\App\CPU\translate('duration')}}</label> <input type="text" name="duration" value="{{$method['duration']}}" class="form-control" placeholder="{{\App\CPU\translate('Ex')}} : {{\App\CPU\translate('4 to 6 days')}}"> </div> </div> </div> <div class="form-group"> <div class="row "> <div class="col-md-12"> <label class="title-color" for="cost">{{\App\CPU\translate('cost')}}</label> <input type="number" min="0" max="1000000" name="cost" value="{{\App\CPU\BackEndHelper::usd_to_currency($method['cost'])}}" class="form-control" placeholder="{{\App\CPU\translate('Ex')}} : {{\App\CPU\translate('10 $')}}"> </div> </div> </div> <div class="d-flex gap-10 flex-wrap justify-content-end"> <button type="submit" class="btn btn--primary px-4">{{\App\CPU\translate('Update')}}</button> </div> </form> </div> </div> </div> </div> </div> @endsection @push('script') @endpush