@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal") @include("invoices.modal")
| @lang('layout.CustomerName') | @lang('layout.Measure') | @lang('layout.Price') |
|---|---|---|
| @{{last_it.member}} | @{{last_it.Measure}} | @{{last_it.price}} @{{last_it.currency}} |
|
|
| @lang('layout.Total') | @{{ format_number(Number.parseFloat((subtotal - (discount*(subtotal - discountFiledRow)/100) - discountFiledRow)-payeds))}} @{{selected_currency.symbol}} |
| @lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(precision()) }}%) | @{{ format_number(Number.parseFloat(discount*(subtotal - discountFiledRow)/100)+Number.parseFloat(discountFiledRow)) }} @{{selected_currency.symbol}} |
| @lang('layout.Payment') | @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}} |
| @lang('layout.Sub-Total') | @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}} |
| @lang('layout.TotalQuantity') | @{{ subtotalQty }} |
| @lang('layout.TotalCommission') | @{{ myRound(Number.parseFloat(totalCommi) + Number.parseFloat(sum_commission))}} |
| @lang('layout.Currency') | @lang('layout.Payable') | @lang('layout.Receivable') | @lang('layout.AverageRate') |
|---|---|---|---|
| @{{ summ.currency }} | @{{ member_format_number(Number(summ.payment)) }} | @{{member_format_number(Number(summ.invoice)) }} | @{{member_format_number(Number(summ.rate))}} |
|
|
| @lang('layout.Total') : | @{{ format_number(Number.parseFloat((subtotal - (discount*(subtotal - discountFiledRow)/100) - discountFiledRow)-payeds))}} @{{selected_currency.symbol}} |
| @lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(precision()) }}%) | @{{ format_number(Number.parseFloat(discount*(subtotal - discountFiledRow)/100)+Number.parseFloat(discountFiledRow)) }} @{{selected_currency.symbol}} |
| @lang('layout.Payment'): | @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}} |
| @lang('layout.Sub-Total'): | @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}} |
| @lang('layout.TotalQuantity'): | @{{ subtotalQty }} |
| @lang('layout.Currency') | @lang('layout.Payable') | @lang('layout.Receivable') |
|---|---|---|
| @{{ summ.currency }} | @{{ format_number(Number(summ.payment)) }} | @{{format_number(Number(summ.invoice)) }} |
| # | @if(getSaleCommission()=="true")@lang('layout.Commission') | @endif@lang('layout.Category') | @if(getSerailNumber() =="true")@lang('layout.SerialNum') | @endif@lang('layout.ItemName') | @lang('layout.SiteName') | @lang('layout.Description') | @lang('layout.Description') :2 | @lang('layout.Quantity') | @lang('layout.OnHand') | @lang('layout.OMeasureValue1') | @lang('layout.OMeasureValue2') | @lang('layout.Measure') | @lang('layout.Cost') | @lang('layout.NewPrice') | @if(getM2()!="") @if(getFactorMeasure2()=="true")@lang('layout.Measure2') | @endif @endif @if(getM3()!="") @if(getFactorMeasure3()=="true")@lang('layout.Measure3') | @endif @endif @if(getM4()!="") @if(getFactorMeasure4()=="true")@lang('layout.Measure4') | @endif @endif @if(getSaleCommission()=="true")@lang('layout.Commission') @lang('layout.Amount') | @lang('layout.Commission') @lang('layout.Percentage')% | @endif@lang('layout.Discount') | @lang('layout.Total') | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} | @if(getSaleCommission() =="true")
|
@endif
|
@if(getSerailNumber() =="true")
@endif |
|
@{{ errors.first('main_inventory_quantity['+index+']') }} | @{{myRound((item.item==null)?null:saleItemQuantity(item.item,item.item.quantity))}} |
@{{(item.item==null)?null:item.item.o_measure_v}}
|
@{{(item.item==null)?null:item.item.o_measure_v1}}
|
@if(systemConfig()[30] == 1) | @{{(item.item==null)?null: myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) * selected_currency.static_rate / selected_currency.rate)}} | @else@{{(item.item==null)?null: myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) *selected_currency.rate)}} | @endif
|
@if(getM2()!="")
@if(getFactorMeasure2()=="true")
@endif @endif @if(getM3()!="") @if(getFactorMeasure3()=="true") | @endif @endif @if(getM4()!="") @if(getFactorMeasure4()=="true") | @endif @endif @if(getSaleCommission()=="true") |
@{{selected_currency.symbol}}
%
|
@endif
@{{selected_currency.symbol}}
%
|
@{{(item.item==null)? 0:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount,selected_currency.hq_rate,per_qty_check, null, selected_currency.static_rate).result}} @{{selected_currency.symbol}} |
| # | @if(getSaleCommission()=="true")@lang('layout.Commission') | @endif@lang('layout.Category') | @if(getCodeBrand()=="true")@lang('layout.Brand') | @endif @if(getCodeBrand()=="true" || searchByCodeLocation()=="true")@lang('layout.PartNumber') | @endif @if(searchByCodeLocation()=="true")@lang('layout.Location') | @endif@lang('layout.ItemName') | @lang('layout.Gauge') | @lang('layout.SiteName') | @if(getCodeBrand()!="true" && searchByCodeLocation()!="true")@lang('layout.Code') | @lang('layout.EngineNumber') @lang('layout.File') | @endif@lang('layout.Description') | @if(ImportEngineNumberByExcel()!="true")@lang('layout.Description') 2 | @endif@lang('layout.BatchDate') | @if(ImportEngineNumberByExcel()=="true")@lang('layout.DocumentReceived') | @endif @if(getCustomHouseLitter()=="true")@lang('layout.CustomHouseLitterNumber') | @lang('layout.Province') | @lang('layout.CustomHouseLitterDate') | @endif@lang('layout.Quantity') | @lang('layout.QtyOrder') | @if(systemConfig()[9] == 0 )@lang('layout.BundlOrder') | @endif@lang('layout.Weight') | @lang('layout.OnHand') | @if(searchByCodeLocation()=="true") @if(getExpireDate()=="true")@lang('layout.ExpireDate') | @endif @endif @if(systemConfig()[21] == 1 || getCubicMetereItems()=="true")@lang('layout.Width') | @lang('layout.Length') | @endif @if(getCubicMetereItems()=="true")@lang('layout.Gauge') | @endif@lang('layout.OMeasureValue1') | @lang('layout.OMeasureValue2') | @lang('layout.Measure') | @if(getM2()!="") @if(getFactorMeasure2()=="true")@lang('layout.Measure2') | @endif @endif @if(getM3()!="") @if(getFactorMeasure3()=="true")@lang('layout.Measure3') | @endif @endif @if(getM4()!="") @if(getFactorMeasure4()=="true")@lang('layout.Measure4') | @endif @endif @if(getSaleSubMeasure()=="true")@lang('layout.EquivalentTo') | @lang('layout.SubPrice') | @endif @if(getSaleCommission()=="true")@lang('layout.Commission') @lang('layout.Amount') | @lang('layout.Commission') @lang('layout.Percentage')% | @endif @if(showLocation()=="true" && searchByCodeLocation()!="true")@lang('layout.Location') | @endif @if(getShowWing()!="false")@lang('layout.Wing') | @if(ShowQuantityByWing() == "true")@lang('layout.ApproxWeight') | @lang('layout.Price') @lang('layout.Wing') | @lang('layout.Bundl') | @endif @endif @if(systemConfig()[21] == 1)@lang('layout.UnitPrice') | @endif @if(getSaleCodePricePercentage() == 'true')@lang('layout.Percentage')% | @endif@lang('layout.Cost') ({{getHomeCurrency()['code']}}) | @lang('layout.Cost') | @lang('layout.NewCost') | @lang('layout.Discount') | @lang('layout.Total') | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} | @if(getSaleCommission() =="true")
|
@endif
|
@if(getCodeBrand()=="true")
|
@endif
@if(getCodeBrand()=="true" || searchByCodeLocation()=="true")
|
@endif
@if(searchByCodeLocation()=="true")
|
@endif
|
@if(getCodeBrand()!="true" && searchByCodeLocation()!="true") |
|
@if(ImportEngineNumberByExcel()=="true")
|
@endif
@endif
@if(ImportEngineNumberByExcel()!="true") | @endif |
|
@if(ImportEngineNumberByExcel()=="true")
|
@endif
@if(getCustomHouseLitter()=="true")
|
@endif
@{{ errors.first('inventory_quantity['+index+']') }} | @{{ errors.first('inventory_quantity['+index+']') }} | @{{myRound((item.item==null)?null:((item.item==null)?null:item.item.quantity_temp))}} | @if(systemConfig()[9] == 0 )@{{myRound((item.item==null)?null:((item.item==null)?null:item.item.bundl))}} | @endif@{{myRound((item.item==null)?null:((item.item.code==null)?null:item.item.code.OnHand))}} | @{{myRound((item.item==null)?null:saleItemQuantity(item.item,((item.item.code==null)?item.item.quantity:item.item.code.qut_temp)))}} | @if(searchByCodeLocation()=="true") @if(getExpireDate()=="true")@{{(item.item==null)?null:((item.item.code==null)?null:item.item.code.expire_date)}} | @endif @endif @if(systemConfig()[21] == 1 || getCubicMetereItems()=="true")@endif @if(getCubicMetereItems()=="true") | @endif |
@{{myRound((item.item==null)?null:((item.item.code==null)?null:item.item.code.other_measure))}}
|
@{{myRound((item.item==null)?null:((item.item.code==null)?null:item.item.code.other_measure2))}}
|
@if(getM2()!="") @if(getFactorMeasure2()=="true") | @endif @endif @if(getM3()!="") @if(getFactorMeasure3()=="true") | @endif @endif @if(getM4()!="") @if(getFactorMeasure4()=="true") | @endif @endif @if(getSaleSubMeasure() =="true") | @{{myRound((item.item==null)?null:subMQuantity(index,item.item,((item.item.code==null)?null:item.item.code.qut_temp)))}} |
@{{selected_currency.symbol}}
|
@endif
@if(getSaleCommission()=="true")
@{{selected_currency.symbol}}
%
|
@endif
@if(showLocation()=="true" && searchByCodeLocation()!="true")
@{{(item.item==null)?null:((item.item.code==null)?null:item.item.code.location)}} | @endif @if(getShowWing()!="false")@if(ShowQuantityByWing() == "true") | @endif @endif @if(systemConfig()[21] == 1) | @endif @if(getSaleCodePricePercentage() == 'true') | @endif | @{{(item.item==null)?null: myRound((item.item.cost * item.item.measure.measure_unit / item.item.measure_unit))}} | @if(systemConfig()[30] == 1)@{{(item.item==null)?null: myRound((item.item.cost * item.item.measure.measure_unit / item.item.measure_unit) * selected_currency.static_rate / selected_currency.rate)}} | @else@{{(item.item==null)?null: myRound((item.item.cost * item.item.measure.measure_unit / item.item.measure_unit)*selected_currency.rate)}} | @endif
|
@{{selected_currency.symbol}}
%
|
@{{(item.item==null)? 0:getItemTotalRollRow(item,selected_currency.rate,per_qty_check,item.item.discount,discountIsAmount, selected_currency.static_rate)}} @{{selected_currency.symbol}} |
| # | @lang('layout.ServiceName') | @lang('layout.Description') | @lang('layout.Description') :2 | @lang('layout.Quantity') | @lang('layout.Measure') | @lang('layout.Price') | @lang('layout.Total') | |
|---|---|---|---|---|---|---|---|---|
| @{{index+1}} |
|
@{{selected_currency.symbol}}
|
@{{selected_currency.symbol}}
|
| # | @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))}} |
|
{{-- --}}
@{{selected_currency.symbol}}
|
| @lang('layout.OnCredit') | |||||||
|---|---|---|---|---|---|---|---|
| # | @lang('layout.SelectBank') | @lang('layout.Rate') | @lang('layout.Currency') | @lang('layout.Amount') | @lang('layout.Date') | @lang('layout.Description') | |
| @{{index+1}} |
|
|
|
||||
| @lang('layout.OnCredit') | ||||||||
|---|---|---|---|---|---|---|---|---|
| # | @lang('layout.Currency') | @lang('layout.Balance') | @lang('layout.Rate') | @lang('layout.Amount') | @lang('layout.Total') | @lang('layout.Date') | @lang('layout.Description') | |
| @{{index+1}} |
|
|
@{{selected_currency.symbol}}
|
|
||||
| @lang('layout.TransferRent') | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| @lang('layout.Type') | @lang('layout.Transmitter') | @lang('layout.SelectBank') | @lang('layout.Currency') | @lang('layout.Rate') | @lang('layout.Amount') | @lang('layout.Description') | |||
|
|
|
|
@{{(transfer_rent_bank_selected==null)?null:transfer_rent_bank_selected.code}}
@{{selected_currency.symbol}}
|
||||||
| @lang('layout.DriverInfo') |
|---|
| @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}} | @lang('layout.TotalQuantity'): | @{{ subtotalQty }} |
| @lang('layout.Installments') | |||||
|---|---|---|---|---|---|
| # | @lang('layout.Amount') | @lang('layout.Currency') | @lang('layout.DueDate') | @lang('layout.Description') | |
| @{{index+1}} |
|
|
{{Form::textarea('installment_description[]',null,['class' => 'form-control','rows' => '1','@click'=>"addNew('installment',index)",'@keyup'=>"addNew('installment',index)"])}} |
|
|
|
|