@extends('layouts.app') @section('style') @stop @section('content') @include('inventories.cmodal')
  @lang('layout.CustomsExpenseEdit')
{{Form::model($itemExpense,['route' => ['customsExpense.update',$itemExpense->id],'method' => 'PATCH','class' => 'form-horizontal','id'=>'customsExpense-form'])}} {{ csrf_field() }}
@if(getHourType() == 24) @else @endif
@{{ errors.first('rate') }} @lang('message.DifferentRateMsg')
@{{ errors.first('exchange_rate') }} @lang('message.DifferentRateMsg')
@lang('layout.Total'): @{{ myRound(Total - payeds - differ_amount)}} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ myRound(payeds)}} @{{selected_currency.symbol}}
@lang('layout.Differ'): @{{ myRound(differ_amount)}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ myRound(Total)}} @{{selected_currency.symbol}}

@lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.PurchaseCost') @lang('layout.Quantity') (@lang('layout.SeamerTonnage')) @lang('layout.Measure') @lang('layout.CustomsQuantity') @lang('layout.Differ')
@{{(!item)?null:item.items}} @{{(!item)?null:item.site}} @{{(!item && !selected_measure)?null:myRound((item.cost / item.measureUnit) * selected_measure.measure_unit)}} @{{(!item && !selected_measure)?null:((item.qty * item.measureUnit) / selected_measure.measure_unit)}}



@lang('layout.CustomsAmount') @lang('layout.CustomsPercent') % @lang('layout.TaxPercent') % @lang('layout.StaticTax') % @lang('layout.HelalAhmarPercent') % @lang('layout.AllocationOfPetroleumProduct') % -- @lang('layout.PerPrice') @lang('layout.Liter') @lang('layout.Density')


@{{ cat.name }}



# @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}}

@lang('layout.Cancel')
{!! Form::close() !!} {!! Form::open(array('method'=>'POST','class'=>'form-horizontal')) !!} {{ csrf_field() }}

@lang('layout.CreateNewExpenseCategory')

{!! Form::close() !!}
@endsection @push('scripts') @endpush