@extends('layouts.app') @section('style') @stop @section('content')
  @lang('layout.CreateEstimate')
{{Form::open(['route' => 'estimate.store','method' => 'POST','class' => 'form-horizontal','id'=>'sales-form'])}} {{ csrf_field() }}
@if(auth()->user()->company()->first()->tag != 1)
@endif
@{{selected_currency.symbol}} %
@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.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}
@if(searchByCodeLocation()=="true") @endif @if(getSerailNumber() =="true") @endif @if(auth()->user()->company()->first()->tag != 1) @endif @if(searchByCodeLocation()=="true") @endif @if(getSerailNumber() =="true") @endif @if(auth()->user()->company()->first()->tag != 1) @endif
# @lang('layout.ItemName') @lang('layout.Location')@lang('layout.SerialNum') @lang('layout.SiteName') @lang('layout.Description') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.Measure') @lang('layout.NewCost') @lang('layout.Cost') @lang('layout.Total') @lang('layout.TotalHQ')
@{{index+1}} @{{(!item.item)?null:item.item.number}} @{{myRound((item.item==null)?null:saleItemQuantity(item.item,item.item.quantity))}}
@{{selected_currency.symbol}}
@if(systemConfig()[20] == 1) @else @endif @{{selected_currency.symbol}}
@{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate, null, null,selected_currency.hq_rate, null, null, selected_currency.static_rate).result }} @{{selected_currency.symbol}} @{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate,null, null,selected_currency.hq_rate, null, null, selected_currency.static_rate).resultHQ }} @{{selected_currency.symbol}}

@if(auth()->user()->company()->first()->tag != 1) @endif @if(auth()->user()->company()->first()->tag != 1) @endif
# @lang('layout.ServiceName') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Price') @lang('layout.Total')@lang('layout.TotalHQ')
@{{index+1}}
@{{selected_currency.symbol}}
@{{ (service.item==null)?null:getItemTotalService(service.item,selected_currency.rate, null, selected_currency.static_rate).result }} @{{selected_currency.symbol}} @{{ (service.item==null)?null:getItemTotalService(service.item,selected_currency.rate,selected_currency.hq_result, selected_currency.static_rate).resultHQ }} @{{selected_currency.symbol}}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush