@extends('layouts.app') @section('content') @include("layouts.Cmodal") @include("invoices.modal") @include("layouts.Drivermodal")
  @lang('layout.VehicleRentCreate')
{{Form::open(['route' => 'rentVehicle.store','method' => 'POST','class' => 'form-horizontal','id'=>'rentVehicle-form'])}} {{ csrf_field() }}
@{{ errors.first('customer') }}
{{Form::text('ref_number',$code,['class' => 'form-control','placeholder' => __('layout.ReferenceNumber'),'v-validate' =>'"required"','data-vv-as' => __('layout.ReferenceNumber')])}}
@{{ errors.first('currency') }}
@{{ errors.first('currency_rate') }}
@{{ errors.first('driver') }}

@lang('layout.Total') : @{{ myRound((subtotal - (discount*subtotal/100))-payeds)}} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ myRound(subtotal)}} @{{selected_currency.symbol}}
@lang('layout.VehicleName') @lang('layout.Tanker') @lang('layout.Quantity') @lang('layout.Price') @lang('layout.Measure') @lang('layout.Total')
@{{ errors.first('car_id') }}
@{{ errors.first('qty') }}
@{{ errors.first('amount') }} @{{selected_currency.symbol}}
@{{selected_currency.symbol}}
{!! Form::text('road', null, array('placeholder' =>__('layout.Road'),'class' => 'form-control','autocomplete'=>'off')) !!}
{!! Form::text('location', null, array('placeholder' =>__('layout.Location'),'class' => 'form-control','autocomplete'=>'off')) !!}
{!! Form::text('source', null, array('placeholder' =>__('layout.Source'),'class' => 'form-control','autocomplete'=>'off')) !!}
{!! Form::text('destination', null, array('placeholder' =>__('layout.Destination'),'class' => 'form-control')) !!}

@lang('layout.Recevies')

# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total')
@{{index+1}} @{{myRound(Number((recevie.item==null)?null:recevie.item.balance)+Number((recevie.item==null)?null:recevie.item.amount))}}
@{{(recevie.item==null)?null:recevie.item.code}}
@{{selected_currency.symbol}}

@lang('layout.Payment')

# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total')
@{{index+1}} @{{myRound(Number((payment.item==null)?null:payment.item.balance)-Number((payment.item==null)?null:payment.item.amount))}}
@{{(payment.item==null)?null:payment.item.code}}
@{{selected_currency.symbol}}
{!! Form::text('expense_ref_number', null, array('placeholder' =>__('layout.ExpenseRefNumber'),'class' => 'form-control','autocomplete'=>'off')) !!}
@lang('layout.Cancel')
{!! Form::close() !!}

 

 

@endsection @push('scripts') @endpush