|
{{Form::SelectControl('item_and_Subscription',0,['Type'=>$ProductRow->ProductType,'ID'=>$ProductRow->ProductID],0,'InvoiceDetail[ProductID][]')}} |
{{Form::textarea('InvoiceDetail[Description][]',$ProductRow->Description,array("class"=>"form-control autogrow invoice_estimate_textarea descriptions","rows"=>1))}} |
{{Form::text('InvoiceDetail[Price][]', number_format($ProductRow->Price,$RoundChargesAmount),array("class"=>"form-control Price","data-mask"=>"fdecimal"))}} |
{{Form::text('InvoiceDetail[Qty][]',$ProductRow->Qty,array("class"=>"form-control Qty"))}} |
{{Form::text('InvoiceDetail[Discount][]',number_format($ProductRow->Discount,$RoundChargesAmount),array("class"=>"form-control Discount","data-min"=>"1", "data-mask"=>"fdecimal"))}} |
{{Form::text('InvoiceDetail[DiscountAmount][]', number_format($ProductRow->DiscountAmount,$RoundChargesAmount),array("class"=>"form-control DiscountAmount","data-min"=>"1", "data-mask"=>"fdecimal"))}}
{{Form::Select("InvoiceDetail[DiscountType][]",array("Percentage"=>"%","Flat"=>"Flat"),$ProductRow->DiscountType,array("class"=>"select2 small DiscountType"))}} |
{{Form::SelectExt(
[
"name"=>"InvoiceDetail[TaxRateID][]",
"data"=>$taxes,
"selected"=>$ProductRow->TaxRateID,
"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"=>"InvoiceDetail[TaxRateID2][]",
"data"=>$taxes,
"selected"=>$ProductRow->TaxRateID2,
"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('InvoiceDetail[TaxAmount][]',number_format($ProductRow->TaxAmount,$RoundChargesAmount),array("class"=>"form-control TaxAmount","readonly"=>"readonly", "data-mask"=>"fdecimal"))}} |
{{Form::text('InvoiceDetail[LineTotal][]',number_format($ProductRow->LineTotal,$RoundChargesAmount),array("class"=>"form-control LineTotal","data-min"=>"1", "data-mask"=>"fdecimal","readonly"=>"readonly"))}}
{{Form::hidden('InvoiceDetail[InvoiceDetailID][]',$ProductRow->InvoiceDetailID,array("class"=>"InvoiceDetailID"))}}
{{Form::hidden('InvoiceDetail[ProductType][]',$ProductRow->ProductType,array("class"=>"ProductType"))}} |
@endforeach
@endif