@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal") @include("layouts.Invmodal") @include("bills.modal")
| @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.Category') | @lang('layout.Brand') | @lang('layout.ItemName') | @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9)@lang('layout.SerialNum')1 | @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber2') | @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9)@lang('layout.SerialNumber3') | @endif@lang('layout.SiteName') | @lang('layout.Description') | @lang('layout.Quantity') | @lang('layout.OnHand') | @lang('layout.OMeasureValue1') | @lang('layout.OMeasureValue2') | @lang('layout.Measure') | @lang('layout.NewCost') | @lang('layout.Total') | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @{{index+1}} |
|
|
|
@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@{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity))}} |
@{{selected_currency.symbol}}
|
@{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount,selected_currency.hq_rate, null, null, selected_currency.static_rate).result }} @{{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))}} |
@{{(payment.item==null)?null:payment.item.code}}
|
@{{ (payment.item==null)?null:totalPayment(payment.item,selected_currency.rate,selected_currency.hq_rate, selected_currency.static_rate).result }} @{{selected_currency.symbol}} |