@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
@if($duplicate) @lang('layout.Enterbill') @else @lang('layout.UpdateEnterBill') @endif
@if($duplicate) {!! Form::model($purchase, ['method' => 'post','route' => ['bill_roll.store',$purchase->id],'class'=>'form-horizont','id'=>'purchase-form','files'=> true]) !!} @else {!! Form::model($purchase, ['method' => 'PATCH','route' => ['bill_roll.update',$purchase->id],'class'=>'form-horizont','id'=>'purchase-form','files'=> true]) !!} @endif {{ csrf_field() }}
@if($duplicate)
@else
@endif
@{{ errors.first('date') }}
@if(getHourType() == 24) @else @endif
@{{msg}}
@lang('message.DifferentRateMsg')
@{{selected_currency.symbol}} %
@if(getSaleByOtherMeasureRate() == "true")
@endif
@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(itemBrand()=="true") @endif @if(showLocation()=="true") @endif @if(getShowSuperceedNo()=="true") @endif @if(systemConfig()[9] == 0 ) @if(systemConfig()[21] == 1) @endif @endif @if(systemConfig()[21] == 1) @endif @if(getShowWing()!="false") @endif @if(systemConfig()[9] != 0 ) @if(itemPicture()=="true") @endif @endif @if(itemBrand()=="true") @endif @if(showLocation()=="true") @endif @if(getShowSuperceedNo()=="true") @endif @if(systemConfig()[9] == 0 ) @if(systemConfig()[21] == 1) @endif @endif @if(systemConfig()[21] == 1) @endif @if(getShowWing()!="false") @endif @if(systemConfig()[9] == 1 ) @if(itemPicture()=="true") @endif @endif
# @lang('layout.Category') @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Code') @lang('layout.ExpireDate') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.Measure') @lang('layout.Brand')@lang('layout.Location')@lang('layout.SuperceedNo')@lang('layout.Default_Rate')@lang('layout.Width') @lang('layout.Length') @lang('layout.UnitPrice') @lang('layout.Wing') @lang('layout.ApproxWeight') @lang('layout.Photo') @lang('layout.NewCost') @lang('layout.Total')
@{{index+1}} @{{myRound((item.item==null)?null:(item.item.quantity) )}} @{{ (item.item==null)?null:getItemTotals(item.item,selected_currency.rate,null,null,1,per_qty_check, null, selected_currency.static_rate) }} @{{selected_currency.symbol}} @if($edit_sale != 'yes') @endif

# @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.amount))}}
@if(systemConfig()[30] == 1) @{{selected_currency.symbol}} @else @{{selected_currency.symbol}} @endif
@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
@if(!$duplicate) @endif @lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush