@extends('layouts.app') @section('style') @stop @section('content') @include('inventories.cmodal')
@lang('layout.EditInvoice') {{--some info...--}}
{{Form::model($invoice,['route' => ['refund.update',$invoice->invoice_id],'method' => 'PATCH','class' => 'form-horizontal','id'=>'sales-form'])}}
{{--
--}} {{--
--}} {{----}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}}
@{{selectedCurrency.symbol}} %
@{{selectedCurrency.symbol}}
@lang('layout.Total') : @{{ Number.parseFloat((subtotal - (discount*subtotal/100))-payeds).toFixed(2)}} @{{selectedCurrency.symbol}}
@lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(2) }}%) @{{ Number.parseFloat(discount*subtotal/100).toFixed(2) }} @{{selectedCurrency.symbol}}
@lang('layout.Payment'): @{{ payeds.toFixed(2)}} @{{selectedCurrency.symbol}}
Sub-Total: @{{ subtotal.toFixed(2)}} @{{selectedCurrency.symbol}}
# @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.Measure') @lang('layout.Cost') @lang('layout.Price') @lang('layout.Total')
@{{InventoryIndex}}
@{{selectedCurrency.symbol}}
@{{selectedCurrency.symbol}}
@{{selectedCurrency.symbol}}
{{----}}
{{----}}
# @lang('layout.ServiceName') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Cost') @lang('layout.Price') @lang('layout.Total')
@{{Index+1}} --}} {{----}} {{--
@{{selectedCurrency.symbol}}
@{{selectedCurrency.symbol}}
@{{selectedCurrency.symbol}}
# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total')
@{{Index+1}} @{{ totalAmountes[Index] = (Number(!payment.item?null:payment.item.totalAmount)+Number(!payment.item?null:payment.item.amount)).toFixed(2) }}
@{{(!payment.item)?null:payment.item.code}}
@{{selectedCurrency.symbol}}
{{Form::close()}} {!! Form::open(array('method'=>'POST','class'=>'form-horizontal')) !!} {{ csrf_field() }}

@lang('layout.NewCustomer')

{!! Form::text('name', null, array('placeholder' =>__('layout.Name'),'class' => 'form-control','v-model'=>'newCustomers.name')) !!}
{!! Form::text('code',null, array('placeholder' => __('layout.Code'),'class' => 'form-control','v-model'=>'newCustomers.code')) !!}
{{Form::select('receivable[]',$receivable,Null,['class' => 'cform-control have-border','v-model'=>'newCustomers.receivable'])}}
{{Form::select('payable[]',$payable,Null,['class' => 'cform-control have-border','v-model'=>'newCustomers.payable'])}}
{!! Form::number('phone', null, array('placeholder' =>__('layout.Phone'),'class' => 'form-control','v-model'=>'newCustomers.phone')) !!}
{!! Form::textarea('address', null, array('placeholder' => __('layout.Address'),'class' => 'cform-control','rows' => 3, 'cols' => 30,'v-model'=>'newCustomers.address')) !!}

{!! Form::close() !!}
@endsection @push('scripts') @endpush