@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.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@lang('layout.Description1') | @if(colorModel() == "true")@lang('layout.Model') | @lang('layout.Color') | @endif@lang('layout.ExpireDate') | @lang('layout.Quantity') | @lang('layout.OnHand') | @lang('layout.OMeasureValue1') | @lang('layout.OMeasureValue2') | @if(getPurchaseExpenseRow() == 'true')@lang('layout.CostExpense') | @lang('layout.ExpenseDescription') | @endif @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') | @if(QuantityBySecondMeasure()=="true")@lang('layout.ChangeMeasureTwo') | @endif @if(getM2()!="")@lang('layout.Measure2') | @endif @if(QuantityBySecondMeasure()=="true")@lang('layout.OnHand') | @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(colorModel() == "true") | @endif |
|
@{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity,item.item.old_quantity))}} | @if(getPurchaseExpenseRow() == 'true') | @endif @if(getShowCBM()=="true") | @{{(!item.item)?null:item.item.base_cbm}} | @endif @if(getShowCBM()=="true")@endif | @if(itemPicture()=="true") | @endif |
|
@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
@{{selected_currency.symbol}}
%
|
@if(getSaleCostLocation() == 'true') {{-- | --}} | @endif |
{{--
@{{selected_currency.symbol}}
|
@if($edit_sale != 'yes') @endif | ||||
|
|
| @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.Total') : | @{{ format_number(Number.parseFloat((subtotal - (discount*(subtotal - discountFiledRow)/100) - discountFiledRow)-payeds ))}} @{{selected_currency.symbol}} |