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