@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
@lang('layout.UpdateEnterBill')
{!! Form::model($purchase, ['method' => 'PATCH','route' => ['billChack.update',$purchase->id],'class'=>'form-horizont','id'=>'purchase-form','files'=> true]) !!} {{ csrf_field() }}
@{{selected_currency.symbol}} %
@lang('layout.Total') : @{{ Number.parseFloat((subtotal - (discount*subtotal/100))-payeds).toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(precision()) }}%) @{{ Number.parseFloat(discount*subtotal/100).toFixed(precision()) }} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}
@if(systemConfig()[9] == 0 ) @endif @if(systemConfig()[9] != 0 ) @endif @if(systemConfig()[9] == 0 ) @endif @if(systemConfig()[9] == 1 ) @endif
# @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Code') @lang('layout.ExpireDate') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.OMeasureValue') @lang('layout.Measure') @lang('layout.Width') @lang('layout.Wing') @lang('layout.Photo') @lang('layout.NewCost') @lang('layout.Total')
@{{index+1}}
@{{myRound((item.item==null)?null:(item.item.quantity) )}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}

# @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}}
@if(getDriverInfo()=="true")
@lang('layout.DriverInfo')
{{Form::text('transfer_code',$billInfo->transferCode,['class' => 'form-control','placeholder' => __('layout.TransferCode')])}}
{{Form::text('palce_of_weight',$billInfo->PlaceOfWeight,['class' => 'form-control','placeholder' => __('layout.PlaceOfWeight')])}}
{{Form::text('source_place',$billInfo->sourcePlace,['class' => 'form-control','placeholder' => __('layout.SourcePlace')])}}
{{Form::textarea('transfer_description',$billInfo->trDesription,['class' => 'form-control','rows' => '2','placeholder' => __('layout.Description')])}}
@endif
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush