@extends('layouts.app') @section('content') @include("layouts.Cmodal") @include("layouts.Invmodal") @include("bills.modal")
@lang('layout.Enterbill')

@lang('menu.InventoryBrand') :

@{{ brand }}

@lang('layout.Location') :

@{{ location }}

@lang('layout.SerialNum') :

@{{ SNumber }}

@lang('layout.OtherInformations') @lang('layout.Item')

{{Form::open(['route' => 'bill_roll.store','method' => 'POST','class' => 'form-horizontal','id'=>'purchase-form','files'=> true])}} {{ csrf_field() }}

@lang('layout.SOmsg')

@{{ errors.first('vendor') }}
@{{ errors.first('number') }} @{{number_msg}}
@{{ errors.first('date') }}
@if(getHourType() == 24) @else @endif
{{--
--}}
@{{msg}}
{{--
--}}
@{{ errors.first('currency') }}
@{{ errors.first('currency_rate') }} @lang('message.DifferentRateMsg')
@{{selected_currency.symbol}} %
@if(getSaleByOtherMeasureRate() == "true")
@endif @if(ImportEngineNumberByExcel()=="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()) }}%) @{{ format_number(Number.parseFloat(discount*subtotal/100)) }} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ ser_sum.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Currency') @lang('layout.Payable') @lang('layout.Receivable')
@{{ summ.currency }} @{{format_number(Number(summ.invoice)) }}

@{{(selected_item && selected_iventory_site)?(Number.parseFloat(selected_iventory_site.OnHand * selected_item.measure_unit / selected_item.measure.measure_unit).toFixed(2)):''}} @{{(selected_item)?selected_item.measure.measure_name:''}}

@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(ImportEngineNumberByExcel()=="true") @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] != 0 ) @if(itemPicture()=="true") @endif @endif @if(ImportEngineNumberByExcel()=="true") @endif
# @lang('layout.Category') @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Brand')@lang('layout.Code') @lang('layout.ExpireDate') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.Measure') @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.Cost') ({{getHomeCurrency()['code']}}) @lang('layout.NewCost') (@{{selected_currency.code}}) @lang('layout.Total') @lang('layout.EngineNumber') @lang('layout.File')
@{{index+1}}
@{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity))}} @{{(item.item==null)?null: Number.parseFloat(item.item.new_rate).toFixed(precision())}} @{{ (item.item==null)?null:getItemTotals(item.item,selected_currency.rate,null,null,1,per_qty_check, null, selected_currency.static_rate) }} @{{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))}}
@{{selected_currency.symbol}}
@if(getDriverInfo()=="true")
@lang('layout.DriverInfo')
{{Form::text('transfer_code',null,['class' => 'form-control','placeholder' => __('layout.TransferCode')])}}
{{Form::text('palce_of_weight',null,['class' => 'form-control','placeholder' => __('layout.PlaceOfWeight')])}}
{{Form::text('source_place',null,['class' => 'form-control','placeholder' => __('layout.SourcePlace')])}}
{{Form::textarea('transfer_description',null,['class' => 'form-control','rows' => '2','placeholder' => __('layout.Description')])}}
@endif
@lang('layout.Cancel')
{!! Form::close() !!}

@lang('layout.MetricType')

@lang('layout.Measure')

@lang('layout.OtherMeasure')

@lang('layout.AddNewMeasure')

@endsection @push('scripts') @endpush