@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal") @include("bills.modal")
| @lang('layout.Item') | @lang('layout.CurrentCost') | @lang('layout.CurrentSalePrice') | @lang('layout.CurrentMarkup') | @lang('layout.NewSalePrice') | @lang('layout.NewMarkup') |
|---|---|---|---|---|---|
| @{{item_name}} | @{{myRound(current_cost)}} @{{selected_currency.symbol}} | @{{myRound(current_rate)}} @{{selected_currency.symbol}} | @{{myRound(markup_c)}} % | @{{myRound(sale_rate_new)}} @{{selected_currency.symbol}} | @{{myRound(markup_new)}} % |
|
|
|
|
| @lang('layout.Total') | @{{ format_number(Number.parseFloat((subtotal - (discount*(subtotal - discountFiledRow)/100) - discountFiledRow)-payeds + Number(total_item_expense) ))}} @{{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') | @{{ format_number( Number(payeds))}} @{{selected_currency.symbol}} |
| @lang('layout.Sub-Total') | @{{ format_number( Number(subtotal))}} @{{selected_currency.symbol}} |
| @lang('layout.TotalExpense') | @{{ format_number( Number(total_item_expense))}} @{{selected_currency.symbol}} |
@{{(selected_itemes && selected_iventory_site)?(Number.parseFloat(selected_iventory_site.OnHand * selected_itemes.measure_unit / selected_itemes.measure.measure_unit).toFixed(2)):''}} @{{(selected_itemes)?selected_itemes.measure.measure_name:''}}
| # | @lang('layout.Category') | @lang('layout.Brand') | @lang('layout.ItemName') | @if(getSerailNumber() =="true")@lang('layout.SerialNum') | @endif @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber1') | @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber2') | @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber3') | @endif@lang('layout.SiteName') | @if(showLocation()=="true")@lang('layout.Location') | @endif @if(systemConfig()[16] != 0)@lang('layout.Type') | @endif@lang('layout.Description1') | @if(colorModel() == "true")@lang('layout.Model') | @lang('layout.Color') | @endif@lang('layout.ExpireDate') | @lang('layout.Quantity') | @lang('layout.OnHand') | @lang('layout.Density') | @lang('layout.OMeasureValue1') | @lang('layout.OMeasureValue2') | @if(getShowCBM()=="true")@lang('layout.CBM') @lang('layout.Item') | @endif @if(getShowCBM()=="true")@lang('layout.CBM') | @endif@lang('layout.Measure') | @if(itemPicture()=="true")@lang('layout.Photo') | @endif@lang('layout.Cost') | @lang('layout.Differ') | @lang('layout.TotalPurchaseCost') | @if(QuantityBySecondMeasure()=="true")@lang('layout.ChangeMeasureTwo') | @endif @if(getM2()!="")@lang('layout.Measure2') | @endif @if(QuantityBySecondMeasure()=="true")@lang('layout.OnHand') | @endif @if(getPurchaseExpenseRow() == 'true')@lang('layout.CostExpense') | @lang('layout.ExpenseDescription') | @endif@lang('layout.Discount') | @lang('layout.SalePercentage') | @if(getSaleCostLocation() == 'true')@lang('layout.SalePrice') | @endif@lang('layout.Total') | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} |
|
|
|
@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@if(showLocation()=="true") | @endif @if(systemConfig()[16] != 0) | @endif | @if(colorModel() == "true") | @endif |
|
@{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity,item.item.old_quantity))}} | @if(getShowCBM()=="true") | @{{(!item.item)?null:item.item.base_cbm}} | @endif @if(getShowCBM()=="true")@endif | @if(itemPicture()=="true") | @endif |
|
@{{ (item.item==null)?null:(((item.item.cost)?Number.parseFloat(item.item.cost):0) + ((item.contract_differ)?Number.parseFloat(item.contract_differ):0)) }} | @if(QuantityBySecondMeasure()=="true")@endif @if(getM2()!="") |
@if(QuantityBySecondMeasure() != "true")
@if(getSaleAmountSecondMeasure()=="true")
@{{myRound((item.item==null)?null:secoundMeasurQuantity(item.item,item.item.quantity))}}
@endif
@endif
|
@endif
@if(QuantityBySecondMeasure()=="true")
@{{myRound((item.item==null)?null:purchaseItemQuantitySecond(item.item,item.item.quantity_by_second_measure))}} | @endif @if(getPurchaseExpenseRow() == 'true')@endif |
@{{selected_currency.symbol}}
%
|
@if(getSaleCostLocation() == 'true') {{-- | --}} | @endif | {{-- @{{ (item.item==null)?null:getItemTotals(item.item,selected_currency.rate,discountIsAmount,item.item.discount,1,per_qty_check,item.contract_differ) }} @{{selected_currency.symbol}} --}} | @if($edit_sale != 'yes') @endif @if($edit_sale == 'yes') @endif | ||||||
|
|
| # | @lang('layout.Number') | @lang('layout.SelectBank') | @lang('layout.Amount') | @lang('layout.Rate') | @lang('layout.Currency') | @lang('layout.Amount') | @lang('layout.Total') | @lang('layout.Description') | |
|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} | @{{(payment.item==null)?null:(payment.item.number)}} |
|
@{{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
|
| @lang('layout.Expense') | ||||
|---|---|---|---|---|
| # | @lang('layout.ExpenseAccount') * | @lang('layout.Description') * | @lang('layout.Amount') * | |
| @{{index+1}} |
|
@{{selected_currency.symbol}}
|
| @lang('layout.DriverInfo') |
|---|
| # | @lang('layout.State') | @lang('layout.ItemName') | @lang('layout.SiteName') | @lang('layout.Quantity') | @lang('layout.Transporter_name') | @lang('layout.VehicleName') | @lang('layout.TankerNumber') | @lang('layout.Driver') | @lang('layout.VehicleName') | @lang('layout.TransitNumber') | @lang('layout.WayBillNumber') | @lang('layout.SourcePlace') | @lang('layout.Destination') | @lang('layout.LoadingDate') | @lang('layout.RentQuantity') | @lang('layout.Price') | @lang('layout.Currency') | @lang('layout.Rate') | @lang('layout.Rent') | @lang('layout.Rate') | @lang('layout.TotalTransferFee') |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} |
|
@{{(!item.item)?null:item.item.name}} | @{{(item.item==null)?null:((item.item.site==null)?null:item.item.site.site_name)}} | @{{(item.item==null)?null:item.item.quantity}} |
|
|
|
|
@{{ errors.first('rent_quantity['+index+']') }} |
|
|
@{{(!item.vehicle)?null:item.vehicle.currency}}
@{{(!item.tanker)?null:item.tanker.currency}}
|
| @lang('layout.Sub-Total'): | @{{ format_number( Number(subtotal))}} @{{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'): | @{{ format_number( Number(payeds))}} @{{selected_currency.symbol}} | @lang('layout.Total') : | @{{ format_number(Number.parseFloat((subtotal - (discount*(subtotal - discountFiledRow)/100) - discountFiledRow)-payeds ))}} @{{selected_currency.symbol}} |