@extends('layouts.app') @section('content') @include("layouts.Cmodal") @include("invoices.modal")
| @lang('layout.CustomerName') | @lang('layout.Number') | @lang('layout.Price') |
|---|---|---|
| @{{last_it.member}} | @{{last_it.number}} | @{{myRound(last_it.price)}} @{{last_it.currency}} |
@lang('layout.SOmsg')
| 1 | Mark | Otto | makr124 |
| 1 | Mark | Otto | makr124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| @lang('layout.Customer') | @lang('layout.Unit') | @lang('layout.SalePrice') |
| @{{last_it.member}} | @{{last_it.Measure}} | @{{myRound(last_it.price)}} @{{last_it.currency}} |
| @lang('layout.Vendor') | @lang('layout.Unit') | @lang('layout.Cost') |
| @{{last_it.member}} | @{{last_it.Measure}} | @{{myRound(last_it.cost)}} @{{last_it.currency}} |
@lang('layout.OnHand'): @{{(selected_item)?(Number.parseFloat(selected_item.on_hand * selected_item.measure_unit / selected_item.measure.measure_unit).toFixed(2)):''}} @{{(selected_item)?selected_item.measure.measure_name:''}}
@{{(selected_item && selected_iventory_site)?(Number.parseFloat(selected_iventory_site.OnHand * selected_item.measure_unit / selected_item.measure.measure_unit).toFixed(2)):''}}
@lang('layout.ByAdvancePricing') : @{{ AdvancePrice }}
@lang('layout.Price') : @{{(selected_item==null)?null:Number.parseFloat((AdvancePrice_cost * selected_item.measure.measure_unit / selected_item.measure_unit) * selected_currency.static_rate / selected_currency.rate).toFixed(precision())}} @{{selected_currency.symbol}}
@else@lang('layout.Price') : @{{(selected_item==null)?null:Number.parseFloat((AdvancePrice_cost * selected_item.measure.measure_unit / selected_item.measure_unit) * selected_currency.rate).toFixed(precision())}} @{{selected_currency.symbol}}
@endif@lang('layout.CostInInventory'): @{{(selected_item==null)?null:Number.parseFloat((selected_item.LasCost * selected_item.measure.measure_unit / selected_item.measure_unit) * selected_currency.static_rate / selected_currency.rate).toFixed(precision())}} @{{selected_currency.symbol}}
@else@lang('layout.CostInInventory'): @{{(selected_item==null)?null:Number.parseFloat((selected_item.LasCost * selected_item.measure.measure_unit / selected_item.measure_unit) * selected_currency.rate).toFixed(precision())}} @{{selected_currency.symbol}}
@endif| @lang('layout.Total') : | @{{ format_number(Number.parseFloat(((subtotal - (discount*(newSubTotal - newSubDiscountFiledRow)/100) - discountFiledRow) - saleTaxation)-payeds - total_return - sendMoneyAmount))}} @{{selected_currency.symbol}} | ||
| @lang('layout.Discount'): (@{{ format_number(Number.parseFloat(discount)) }}%) | @{{ format_number(Number.parseFloat(discount*(newSubTotal - newSubDiscountFiledRow)/100)+Number.parseFloat(discountFiledRow)) }} @{{selected_currency.symbol}} | @lang('layout.Payment'): | @{{ format_number(Number(payeds))}} @{{selected_currency.symbol}} |
| @lang('menu.Taxation'): (@{{format_number(Number.parseFloat(sale_taxation))}}%) | @{{ format_number(Number.parseFloat(saleTaxation)) }} @{{selected_currency.symbol}} | @endif@lang('layout.Leakage'): | @{{ format_number(Number(total_return))}} @{{selected_currency.symbol}} |
| @lang('layout.SendMoney'): | @{{ format_number(Number(sendMoneyAmount))}} @{{selected_currency.symbol}} | ||
| @lang('layout.GrandTotal'): | @{{ format_number(Number(subtotal))}} @{{selected_currency.symbol}} | ||
| @lang('layout.Total') @lang('layout.Tax') : | @{{ myRound(totalTax)}} @{{selected_currency.symbol}} | @lang('layout.Sub-Total'): | @{{ format_number(Number(checkedSubtotal))}} @{{selected_currency.symbol}} |
| @lang('layout.Total') @lang('layout.Commission') : | @{{ myRound(Number.parseFloat(totalCommi) + Number.parseFloat(sum_commission))}} @{{selected_currency.symbol}} | @lang('layout.Sub-Total'): | @{{ format_number(Number(checkedSubtotal))}} @{{selected_currency.symbol}} |
|
|
|
|
|
|
|
| @lang('layout.Total') | @{{format_number(this.total_qty_amount)}} |
| @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))}} |
| # | @if(getTaxation() =="true")@lang('layout.Tax') | @endif @if(getSaleCommission()=="true")@lang('layout.Commission') | @endif @if(getSaleByOtherMeasure() == "true")@lang('layout.PerQty') | @endif@lang('layout.Category') | @lang('layout.Brand') | @lang('layout.Site') | @lang('layout.ItemName') | @if(searchByCodeLocation()=="true")@lang('layout.Location') | @endif @if(getSerailNumber() =="true")@lang('layout.SerialNum')1 | @endif @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber2') | @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber3') | @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9)@lang('layout.SerialNum') | @endif@lang('layout.SiteName') | @lang('layout.Description1') | @lang('layout.Description') :2 | @lang('layout.Quantity') | @lang('layout.OnHand') | @if(getCounterForEachRow() == "true")@lang('menu.GasStation') | @lang('layout.OldCounter') | @lang('layout.NewCounter') | @endif@lang('layout.OMeasureValue1') | @if(getShowCBM()=="true")@lang('layout.PerQty') | @endif@lang('layout.OMeasureValue2') | @if(getShowCBM()=="true")@lang('layout.CBM') | @endif @if(searchByCodeLocation()=="true") @if(getExpireDate()=="true")@lang('layout.ExpireDate') | @endif @endif@lang('layout.Measure') | @if(itemPicture()=="true")@lang('layout.Photo') | @endif@lang('layout.CostInInventory') ({{getHomeCurrency()['code']}}) | @lang('layout.CostInInventory') | @lang('layout.OilCostInInventory') | @lang('layout.Density') | @lang('layout.OilQuantity') | @lang('layout.Measure') | @if(getShwoPriceLevel()=="per_item")@lang('layout.PriceLevel') | @endif @if(getShwoPriceLevel()=="general_percent_per_item")@lang('layout.PriceLevel') | @endif @if(getSaleCodePricePercentage() == 'true')@lang('layout.Percentage')% | @endif@lang('layout.NewPrice') | @if(QuantityBySecondMeasure()=="true")@lang('layout.ChangeMeasureTwo') | @endif @if(getM2()!="") @if(getFactorMeasure2()=="true") @if(getMeasureTwoAndThree()=="true")@lang('layout.ChangeMeasureTwo') | @endif@lang('layout.Measure2') | @endif @endif @if(QuantityBySecondMeasure()=="true")@lang('layout.OnHand') | @endif @if(getM3()!="" && getSaleSubMeasure()!="true") @if(getFactorMeasure3()=="true") @if(getMeasureTwoAndThree()=="true")@lang('layout.ChangeMeasureThree') | @endif@lang('layout.Measure3') | @endif @endif @if(getSaleSubMeasure()=="true")@lang('layout.EquivalentTo') | @lang('layout.SubPrice') | @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 @if(getTaxation()=="true")@lang('layout.Tax') | @lang('layout.Percentage')% | @endif@lang('layout.Discount') | @lang('layout.Discount') 2 | @lang('layout.Total') | @if(getSubTotal() =="true")@lang('layout.Subtotal') | @endif||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} | @if(getTaxation() =="true")
|
@endif
@if(getSaleCommission() =="true")
|
@endif
@if(getSaleByOtherMeasure() == "true")
|
@endif
|
|
|
|
@if(searchByCodeLocation()=="true")
|
@endif
@if(getSerailNumber() =="true")
@{{(!item.item)?null:item.item.number}} | @endif @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9)@{{(!item.item)?null:item.item.number1}} | @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9)@{{(!item.item)?null:item.item.number2}} | @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9)@{{(!item.item)?null:item.item.number3}} | @endif@{{ errors.first('inventory_quantity['+index+']') }} @lang('layout.LowOnHand') | @{{myRound((item.item==null)?null:saleItemQuantity(item.item,item.item.quantity))}} | @if(getCounterForEachRow() == "true")
|
@endif |
@if(getCalQuantityOfOtherMeasure() == 'avgMethod')
@if(getSelectQuantityByOtherMSPurch()=="true" && oilSale()=="true")
@{{myRound((item.item==null)?null:((item.item.site==null)?null:(item.item.site.OnHand * item.item.site.per_qty)))}}
@else
@{{myRound((item.item==null)?null:((item.item.site==null)?null:(item.item.site.OnHand / item.item.site.per_qty)))}}
@endif
@elseif(getCalQuantityOfOtherMeasure() == 'simpleMethod')
@{{myRound((item.item==null)?null:((item.item.site==null)?null:item.item.site.other_measure))}}
@else
@{{(item.item==null)?null:item.item.o_measure_v}}
@endif
|
@if(getShowCBM()=="true")
@{{myRound((item.item==null)?null:((item.item.site==null)?null:item.item.site.per_qty))}} | @endif
@if(getCalQuantityOfOtherMeasure() == 'avgMethod')
@{{myRound((item.item==null)?null:((item.item.site==null)?null:(item.item.site.OnHand / item.item.site.per_qty2)))}}
@elseif(getCalQuantityOfOtherMeasure() == 'simpleMethod')
@{{myRound((item.item==null)?null:((item.item.site==null)?null:item.item.site.other_measure2))}}
@else
@{{(item.item==null)?null:item.item.o_measure_v1}}
@endif
|
@if(getShowCBM()=="true")
@{{myRound((item.item==null)?null:((item.item.site==null)?null:item.item.site.cbm))}} | @endif @if(searchByCodeLocation()=="true") @if(getExpireDate()=="true")@{{(item.item==null)?null:((item.item.site==null)?null:item.item.ExpireDate)}} | @endif @endif {{-- per_qty cbm --}}@if(itemPicture()=="true") | @endif | @{{(item.item==null)?null:myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit))}} | @if(systemConfig()[30] == 1)@{{(item.item==null)? 0:myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) *selected_currency.static_rate / selected_currency.rate)}} @{{selected_currency.symbol}} | @else@{{(item.item==null)? 0:myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) *selected_currency.rate)}} @{{selected_currency.symbol}} | @endif @if(systemConfig()[30] == 1)@{{(item.item==null)?null:((item.item.density)?myRound(((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) * item.item.density) * selected_currency.static_rate / selected_currency.rate):null)}} | @else@{{(item.item==null)?null:((item.item.density)?myRound(((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) * item.item.density) * selected_currency.rate):null)}} | @endif@if(getShwoPriceLevel()=="per_item") | @endif @if(getShwoPriceLevel()=="general_percent_per_item") | @endif @if(getSaleCodePricePercentage() == 'true') | @endif |
|
@if(QuantityBySecondMeasure()=="true")
@endif @if(getM2()!="" && getSaleSubMeasure()!="true") @if(getFactorMeasure2()=="true") @if(getMeasureTwoAndThree()=="true") | @endif @if(getMeasureTwoAndThree()=="true" || QuantityBySecondMeasure()=="true") |
|
@else
@if(getSaleAmountSecondMeasure()=="true")
@{{myRound((item.item==null)?null:secoundMeasurQuantity(item.item,item.item.quantity))}}
@endif
|
@endif
@if(QuantityBySecondMeasure()=="true")
@{{myRound((item.item==null)?null:saleItemQuantitySecond(item.item,item.item.quantity_by_second_measure))}} | @endif @endif @endif @if(getM3()!="") @if(getFactorMeasure3()=="true") @if(getMeasureTwoAndThree()=="true")@endif | @endif @endif @if(getSaleSubMeasure() =="true") | @{{myRound((item.item==null)?null:subMQuantity(item.item,item.item.quantity))}} |
@{{selected_currency.symbol}}
|
@endif
@if(getM4()!="")
@if(getFactorMeasure4()=="true")
@endif @endif @if(getSaleCommission()=="true") |
@{{selected_currency.symbol}}
%
|
@endif
@if(getTaxation()=="true")
|
@endif |
@{{selected_currency.symbol}}
%
|
@{{selected_currency.symbol}}
%
|
{{-- @{{(item.item==null)? 0:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount,selected_currency.hq_rate,per_qty_check).result}} --}} {{-- @{{selected_currency.symbol}} --}} | {{-- @{{(item.item==null)? 0:getItemTotalOil(item.item,selected_currency.rate,discountIsAmount,item.item.discount,selected_currency.hq_rate).result}} --}} {{-- @{{selected_currency.symbol}} --}} | @if(getSubTotal() =="true")
|
@endif
|||||||
|
|
| @lang('layout.Leakage') | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| # | @lang('layout.ItemName') | @lang('layout.SiteName') | @lang('layout.Quantity') | @lang('layout.OMeasureValue1') | @lang('layout.OMeasureValue2') | @lang('layout.Measure') | @lang('layout.CostInInventory') | @lang('layout.NewPrice') | @lang('layout.Total') | ||||||||||
| @{{index+1}} |
|
@if(systemConfig()[30] == 1) | @{{(item.item==null)? 0:myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) *selected_currency.static_rate / selected_currency.rate)}} @{{selected_currency.symbol}} | @else@{{(item.item==null)? 0:myRound((item.item.LasCost * item.item.measure.measure_unit / item.item.measure_unit) *selected_currency.rate)}} @{{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}} | |||||||||||||
| # | @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}}
|
@{{ getItemTotalService(service.item,selected_currency.rate,selected_currency.hq_rate, selected_currency.static_rate).result }} @{{selected_currency.symbol}} |
| # | @lang('layout.Name') | @lang('layout.Amount') | @lang('layout.Date') | @lang('layout.AccountRegister') | @lang('layout.Description') | |
|---|---|---|---|---|---|---|
| @{{index+1}} |
{{-- --}}
|
| # | @lang('layout.Number') | @lang('layout.SelectBank') | @lang('layout.Amount') | @lang('layout.Rate') | @lang('layout.Currency') | @lang('layout.Amount') | @lang('layout.Date') | @lang('layout.Total') | @lang('layout.Description') | |
|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} | @{{(payment.item==null)?null:(payment.item.r_number)+index}} |
|
@{{myRound(Number((payment.item==null)?null:payment.item.balance)+Number((payment.item==null)?null:payment.item.amount))}} |
|
|
@{{selected_currency.symbol}}
{{-- @{{ (payment.item==null)?null:totalPayment(payment.item,selected_currency.rate,selected_currency.hq_rate).result }} --}}
{{-- @{{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_transfer_currency.symbol}}
|
||||||
| @lang('layout.InvoicePayment') : (@lang('message.InvoicePaymetNote')) | |||||
|---|---|---|---|---|---|
| # | @lang('layout.Currency') * | @lang('layout.Rate') * | @lang('layout.Amount') * | @lang('layout.Description') * | |
| @{{index+1}} |
|
||||
|
|
|||||
| @lang('layout.DriverInfo') |
|---|
| @lang('layout.FarmerContract') |
|---|
| # | @lang('layout.SelectAccount') | @lang('layout.ExpenseCategory') | @lang('layout.ExpenseClass') | @lang('layout.Description') | @lang('layout.Amount') | |
|---|---|---|---|---|---|---|
| @{{itemIndex+1}} |
|
|
| # | @lang('layout.Person') | @lang('layout.Amount') | @lang('layout.Description') | |
|---|---|---|---|---|
| @{{itemIndex+1}} |
|
|
|
|
| @lang('layout.WashingForm') |
|---|
| @lang('layout.GrandTotal'): | @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}} | @lang('layout.Payment'): | @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}} | @lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(precision()) }}%) | @{{ format_number(Number.parseFloat(discount*(newSubTotal - newSubDiscountFiledRow)/100)+Number.parseFloat(discountFiledRow)) }} @{{selected_currency.symbol}} | @lang('layout.Total') : | @{{ format_number(Number.parseFloat(((subtotal - (discount*(newSubTotal - newSubDiscountFiledRow)/100) - discountFiledRow) - saleTaxation)-payeds))}} @{{selected_currency.symbol}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|