@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
  @lang('layout.CargoContractEdit')
{!! Form::model($contract,['method' => 'PATCH','route' => ['cargoContract.update',$contract->id],'files'=> true,'id'=>'contract-form'])!!} {{ csrf_field() }}
{{Form::number('number',null,['class' => 'form-control'])}}
{{Form::text('ref_no',null,['class' => 'form-control'])}}
@{{ errors.first('member_id') }}
@{{ errors.first('currency') }}
@{{ errors.first('currency_rate') }}
@{{selected_currency.symbol}} %
{!! Form::textarea('description', null, array('placeholder' => __('layout.Description'),'class' => 'form-control','rows' => 1, 'cols' => 30)) !!}
@if(cargoHandling() == 'true')
@endif
@if(cargoHandling() == 'true')
{{--
--}}
{{-- @dd($contract) --}} {{-- @{{ errors.first('source_id') }} --}}
@endif
@lang('layout.Total') : @{{ format_number(Number.parseFloat(subtotal - discountAll - payeds))}} @{{selected_currency.symbol}}
@lang('layout.Discount'): @{{ format_number(Number(discountAll))}} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ format_number(Number(payeds))}} @{{selected_currency.symbol}}
@lang('layout.GrandTotal'): @{{ format_number(Number(subtotal))}} @{{selected_currency.symbol}}
@if(geLengthHightWeightCargo() != 'false') @endif @if(DonotShowVolumePackage() != 'true') @endif @if(geLengthHightWeightCargo() != 'false') @endif @if(DonotShowVolumePackage() != 'true') @else @endif
# @lang('layout.Source') / @lang('layout.Destination') @lang('layout.DescriptionFaEn') @lang('layout.DescriptionOth') @lang('layout.Width') / @lang('layout.Length') @if(geLengthHightWeightCargo() != 'false') @lang('layout.Height') / @endif @lang('layout.Volume') @lang('layout.Weight') / @lang('layout.Quantity') @lang('layout.Unit') / @lang('layout.Density') @lang('layout.Weight') @lang('layout.Package') / @lang('layout.Volume') @lang('layout.Package') @lang('layout.Price') / @lang('layout.Discount') @lang('layout.Expense')1 / @lang('layout.ExpenseDetails') @lang('layout.Expense')2 / @lang('layout.ExpenseDetails') @lang('layout.Expense')3 / @lang('layout.ExpenseDetails') @lang('layout.Expense')4 / @lang('layout.ExpenseDetails') @lang('layout.Expense')5 / @lang('layout.ExpenseDetails') @lang('layout.Total') / @lang('layout.InvoiceAmount')
@{{index+1}} @if(geLengthHightWeightCargo() != 'false') @endif @{{ errors.first('quantity_in['+index+']') }} @{{ (item==null)?null:getDensity(index) }}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}} %
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}
@{{ (item==null)?null:getTolal(index) }} @{{selected_currency.symbol}} @if($edit_check != 'yes') @endif
@if($edit_check != 'yes')
@endif

# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total') @lang('layout.Description')
@{{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}}
@{{ (payment.item==null)?null:totalPayment(payment.item,selected_currency.rate,selected_currency.hq_rate,selected_currency.static_rate).result }} @{{selected_currency.symbol}}

@lang('layout.CargoContractExpenseType')
# @lang('layout.Name') @lang('layout.Amount') @lang('layout.Description')
@{{index+1}}

@permission('transferAccounts-create')

@lang('layout.SendMoney')

# @lang('layout.Person') @lang('layout.Amount') @lang('layout.Description')
@{{itemIndex+1}}
@endpermission
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush