@extends('layout.main') @section('content')

Create Invoice

@include('includes.errors') @include('includes.success')

Close

{{Form::select('AccountID',$accounts,'',array("class"=>"select2"))}}

{{Form::select('BillingClassID', $BillingClass, '' ,array("class"=>"select2 small form-control1 small","id"=>"AccountBillingClassID"));}}
{{Form::textarea('Address','',array( "ID"=>"Account_Address", "rows"=>4, "class"=>"form-control"))}}
{{Form::text('BarCode','',array( "ID"=>"BarCode", "class"=>"form-control", "onkeypress"=>"validateBarCodeInput(event)"))}}
{{Form::text('InvoiceNumber','',array("Placeholder"=>"AUTO", "class"=>"form-control"))}}


{{Form::text('IssueDate',date('Y-m-d'),array("class"=>" form-control datepicker" , "data-startdate"=>date('Y-m-d',strtotime("-2 month")), "data-date-format"=>"yyyy-mm-dd", "data-end-date"=>"+1w" ,"data-start-view"=>"2"))}}


{{Form::text('PONumber','',array("class"=>" form-control" ))}}
Item/Subscription Description Unit Price Quantity Discount Tax 1 Tax 2 Line Total
{{Form::textarea('Terms','',array("class"=>" form-control" ,"rows"=>5))}}
{{Form::textarea('FooterTerm','',array("class"=>" form-control" ,"rows"=>5))}}
{{Form::textarea('Note','',array("class"=>" form-control" ,"rows"=>5))}}
Sub Total {{Form::text('SubTotal','',array("class"=>"form-control SubTotal text-right","readonly"=>"readonly"))}}
VAT {{Form::text('TotalTax','',array("class"=>"form-control TotalTax text-right","readonly"=>"readonly"))}}
Invoice Total {{Form::text('GrandTotal','',array("class"=>"form-control GrandTotal text-right","readonly"=>"readonly"))}}
  Tax
{{Form::SelectExt( [ "name"=>"InvoiceTaxes[field][]", "data"=>$taxes, "selected"=>'', "value_key"=>"TaxRateID", "title_key"=>"Title", "data-title1"=>"data-amount", "data-value1"=>"Amount", "data-title2"=>"data-flatstatus", "data-value2"=>"FlatStatus", "class" =>"select2 small Taxentity InvoiceTaxesFld InvoiceTaxesFldFirst", ] )}}
{{Form::text('InvoiceTaxes[value][]','',array("class"=>"form-control InvoiceTaxesValue","readonly"=>"readonly"))}}
Grand Total {{Form::text('GrandTotalInvoice','',array("class"=>"form-control GrandTotalInvoice text-right","readonly"=>"readonly"))}}
@include('invoices.script_invoice_barcode_product') @include('invoices.script_invoice_add_edit') @include('composetmodels.productsubscriptionmodal') @include('includes.ajax_submit_script', array('formID'=>'invoice-from' , 'url' => 'invoice/store','update_url'=>'invoice/{id}/update' )) @stop @section('footer_ext') @parent @stop