@section('title', __('Transportation services'))
@extends('pages.layout.main',['activePage'=>'transportation_service.index'])
@section('content')
@include('pages.layout.flash_messages')
@include('components.breadCrumb.edit',['path' => route('transportation-services.index'),'section' => __('Transportation services')])
{!! Form::open(['route'=>['transportation-services.update','transportation_service'=>$transportation_service->id], 'method'=>'post','class'=>'kt-form kt-form--labe-right','id'=>'kt_form','enctype'=>'multipart/form-data']) !!}
@method('PATCH')
{!! Form::label('name', __('Service name (In English)'),['class' => 'form-label']) !!}
{!! Form::text('name[ar]', $transportation_service->getTranslation('name','ar'), ['class' => 'form-control','required'=>"required"]) !!}
{!! Form::label('name', __('Service name (In Arabic)'),['class' => 'form-label']) !!}
{!! Form::text('name[en]', $transportation_service->getTranslation('name','en'), ['class' => 'form-control','required'=>"required"]) !!}
{!! Form::textarea('description[ar]', $transportation_service->getTranslation('description','en'), ['class' => 'form-control','placeholder' => __('Description (In Arabic)')]) !!}
{!! Form::textarea('description[en]', $transportation_service->getTranslation('description','en'), ['class' => 'form-control','placeholder' => __('Description (In English)')]) !!}
{!! Form::select('active', [
'' => __('Status'),
'1' => __('Active'),
'0' => __('In-active')
],$transportation_service->active, ['class' => 'form-control','required'=>"required"]) !!}
{!! Form::label('name', __('Price'),['class' => 'form-label']) !!}
{!! Form::number('price', $transportation_service->price, ['class' => 'form-control','required'=>"required",'step' => '.1']) !!}
{!! Form::submit(__('Update'), ['class' => 'btn btn-primary mt-2']) !!}
{!! Form::close() !!}
@endsection