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

Create Credit Note

@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('CreditNotesNumber','',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"))}}


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"))}}
Credit Note Total {{Form::text('GrandTotal','',array("class"=>"form-control GrandTotal text-right","readonly"=>"readonly"))}}
  Tax
{{Form::SelectExt( [ "name"=>"CreditNotesTaxes[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 CreditNotesTaxesFld CreditNotesTaxesFldFirst", ] )}}
{{Form::text('CreditNotesTaxes[value][]','',array("class"=>"form-control CreditNotesTaxesValue","readonly"=>"readonly"))}}
Grand Total {{Form::text('GrandTotalCreditNotes','',array("class"=>"form-control GrandTotalCreditNotes text-right","readonly"=>"readonly"))}}
@include('creditnotes.script_creditnotes_add_edit') @include('composetmodels.productsubscriptionmodal') @include('includes.ajax_submit_script', array('formID'=>'creditnotes-from' , 'url' => 'creditnotes/store','update_url'=>'creditnotes/{id}/update' )) @stop @section('footer_ext') @parent @stop