@extends('layouts.app') @section('content') @include("layouts.Cmodal") @include("invoices.modal")
  @lang('layout.CreateNewInvoice')
{{Form::open(['route' => 'invoice.store','method' => 'POST','class' => 'form-horizontal','id'=>'sales-form'])}} {{ csrf_field() }}
@{{ errors.first('number') }} @{{number_msg}}
@{{msg}}
@{{ errors.first('currency') }}
@{{ errors.first('currency_rate') }}
@{{selected_currency.symbol}} %
@if(getSaleTaxation() == 'true') @endif
@lang('layout.Total') : @{{ format_number(Number.parseFloat(((subtotal - (discount*(newSubTotal - newSubDiscountFiledRow)/100) - discountFiledRow) - saleTaxation)-payeds))}} @{{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('menu.Taxation'): (@{{ format_number(Number.parseFloat(sale_taxation)) }}%) @{{ format_number(Number.parseFloat(saleTaxation)) }} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ format_number(Number(payeds))}} @{{selected_currency.symbol}}
@lang('layout.GrandTotal'): @{{ format_number(Number(subtotal))}} @{{selected_currency.symbol}}
@if(getTaxation() =="true")
@lang('layout.Total') @lang('layout.Tax') : @{{ myRound(totalTax)}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ format_number(Number(checkedSubtotal))}} @{{selected_currency.symbol}}
@endif
@lang('layout.Currency') @lang('layout.Payable') @lang('layout.Receivable')
@{{ summ.currency }} @{{member_format_number(Number(summ.invoice)) }}
@if(getSubTotal() == 'true')
@lang('layout.Sub-Total')
@lang('layout.Discount'): (@{{ format_number(Number.parseFloat(discount)) }}%)
@lang('layout.Total')
@{{ format_number(Number(sub_Subtotal))}} @{{selected_currency.symbol}}
@{{ format_number(Number.parseFloat((sub_Subtotal - (sub_discount*(sub_Subtotal - subDiscountFiledRow)/100) - subDiscountFiledRow) - saleTaxation))}} @{{selected_currency.symbol}}
@endif @if(getSaleSubMeasure()=="true")
@lang('layout.Total') @{{format_number(this.total_qty_amount)}}
@endif
@if(getShwoPriceLevel()=="per_item") @endif @if(getShwoPriceLevel()=="general_percent_per_item") @endif @if(getM2()!="") @endif @if(getM3()!="" && getSaleSubMeasure()!="true") @endif @if(getSaleSubMeasure()=="true") @endif @if(getM4()!="") @endif @if(getTaxation()=="true") @endif @if(getSubTotal() =="true") @endif @if(getShwoPriceLevel()=="per_item") @endif @if(getShwoPriceLevel()=="general_percent_per_item") @endif @if(getM2()!="" && getSaleSubMeasure()!="true") @endif @if(getM3()!="") @endif @if(getSaleSubMeasure() =="true") @endif @if(getM4()!="") @endif @if(getTaxation()=="true") @endif @if(getSubTotal() =="true") @endif
# @lang('layout.Category') @lang('layout.Brand') @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Quantity') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.Measure') @lang('layout.PriceLevel') @lang('layout.PriceLevel') @lang('layout.NewPrice') @lang('layout.Measure2') @lang('layout.Measure3') @lang('layout.EquivalentTo') @lang('layout.SubPrice') @lang('layout.Measure4') @lang('layout.Tax') @lang('layout.Percentage')%@lang('layout.Discount') @lang('layout.Total')@lang('layout.Subtotal')
@{{index+1}}
@if(getSaleByOtherMeasure() == "true") @{{myRound((item.item==null)?null:((item.item.site==null)?null:(item.item.site.OnHand / item.item.site.per_qty)))}} @else @{{(item.item==null)?null:item.item.o_measure_v}} @endif
@if(getSaleByOtherMeasure() == "true") @{{myRound((item.item==null)?null:((item.item.site==null)?null:(item.item.site.OnHand / item.item.site.per_qty2)))}} @else @{{(item.item==null)?null:item.item.o_measure_v1}} @endif
@{{selected_currency.symbol}}
@lang('layout.SalesToTheDetriment')
@if(getSaleAmountSecondMeasure()=="true") @{{myRound((item.item==null)?null:secoundMeasurQuantity(item.item,item.item.quantity))}} @endif
@{{myRound((item.item==null)?null:subMQuantity(item.item,item.item.quantity))}}
@{{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}}

# @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).result }} @{{selected_currency.symbol}}

# @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.r_number)+index}} @{{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).result }} @{{selected_currency.symbol}}

@if(getDriverInfo()=="true")
@lang('layout.DriverInfo')
{{Form::text('palce_of_weight',null,['class' => 'form-control','placeholder' => __('layout.PlaceOfWeight')])}}
{{Form::text('source_place',null,['class' => 'form-control','placeholder' => __('layout.SourcePlace')])}}
@endif
{!! Form::close() !!}

 

 

@endsection @push('scripts') @endpush