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

Create Recurring Profile

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

Close

{{Form::select('AccountID',$accounts,'',array("class"=>"select2"))}}
{{Form::textarea('Address','',array( "ID"=>"Account_Address", "rows"=>4, "class"=>"form-control"))}}
{{Form::text('Title','',array("Placeholder"=>"", "class"=>"form-control"))}}
{{Form::select('BillingClassID', $BillingClass, '' ,array("class"=>"select2 small form-control1 small"));}}
{{Form::select('BillingCycleType', SortBillingType(), '' ,array("class"=>"form-control select2"))}}
{{Form::text('NextInvoiceDate',date('Y-m-d'),array("class"=>" form-control datepicker" , "data-startdate"=>date('Y-m-d'), "data-date-format"=>"yyyy-mm-dd", "data-end-date"=>"" ,"data-start-view"=>"2"))}}
{{Form::text('PONumber','',array("class"=>" form-control" ))}}
{{Form::text('Occurrence',0,array("class"=>" form-control" ))}}
Item Description Unit Price Quantity Discount Tax 1 Tax 2 Line Total
{{Form::select('RecurringInvoiceDetail[ProductID][]',$products,'',array("class"=>"select2 product_dropdown"))}} {{Form::textarea('RecurringInvoiceDetail[Description][]','',array("class"=>"form-control autogrow descriptions invoice_recurringinvoice_textarea","rows"=>1))}} {{Form::text('RecurringInvoiceDetail[Price][]','',array("class"=>"form-control Price","data-mask"=>"fdecimal"))}} {{Form::text('RecurringInvoiceDetail[Qty][]',1,array("class"=>"form-control Qty","data-min"=>"1", "data-mask"=>"decimal"))}} {{Form::text('RecurringInvoiceDetail[DiscountAmount][]',0,array("class"=>"form-control DiscountAmount","data-min"=>"1", "data-mask"=>"fdecimal"))}} {{Form::Select("RecurringInvoiceDetail[DiscountType][]",array("Percentage"=>"%","Flat"=>"Flat"),'%',array("class"=>"select2 small DiscountType"))}} {{Form::SelectExt( [ "name"=>"RecurringInvoiceDetail[TaxRateID][]", "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 TaxRateID", ] )}} {{Form::SelectExt( [ "name"=>"RecurringInvoiceDetail[TaxRateID2][]", "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 TaxRateID2", ] )}} {{Form::text('RecurringInvoiceDetail[LineTotal][]',0,array("class"=>"form-control LineTotal","data-min"=>"1", "data-mask"=>"fdecimal","readonly"=>"readonly"))}} {{Form::hidden('RecurringInvoiceDetail[ProductType][]',Product::ITEM,array("class"=>"ProductType"))}}
{{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"=>"RecurringInvoiceTaxes[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 RecurringInvoiceTaxesFld RecurringInvoiceTaxesFldFirst", ] )}}
{{Form::text('RecurringInvoiceTaxes[value][]','',array("class"=>"form-control RecurringInvoiceTaxesValue","readonly"=>"readonly"))}}
Grand Total {{Form::text('GrandTotalRecurringInvoice','',array("class"=>"form-control GrandTotalRecurringInvoice text-right","readonly"=>"readonly"))}}
@include('recurringinvoices.script_recurringinvoice_add_edit') @include('includes.ajax_submit_script', array('formID'=>'recurringinvoice-from' , 'url' => 'recurringprofiles/store','update_url'=>'recurringprofiles/{id}/update' )) @stop @section('footer_ext') @parent @stop