{{ Form::open(['url' => route('receiptsstore'), 'method'=>'post', 'name' => 'receipts_store', 'id' => 'receipts_store']) }}
{{ Form::button(' '. __('lbl.save'),['type'=>'submit','id'=>'formsubmit','class'=>'clickbtncommon btn btn-primary btn-sm ']) }}
{{ Form::label('receipts_options', __('lbl.receipts_options'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::select('receipts_options', $receipt_options_list, $receipt_options_added,["multiple"=>"multiple", "class"=>"form-control col-sm-8 select2 receipts_options","id"=>"receipts_options","name"=>"receipts_options[]"]) }}
{{ Form::label('print_cash_receipts', __('lbl.print_cash_receipts'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::select('print_cash_receipts', $print_cash_receipts, $print_cash_receipts_added,["class"=>"form-control col-sm-8 ","id"=>"print_cash_receipts","name"=>"print_cash_receipts"]) }}
{{ Form::label('print_credit_receipts', __('lbl.print_credit_receipts'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::select('print_credit_receipts', $print_credit_receipts, $print_credit_receipts_added,["class"=>"form-control col-sm-8 ","id"=>"print_credit_receipts","name"=>"print_credit_receipts"]) }}
{{ Form::label('print_gift_card_receipts', __('lbl.print_gift_card_receipts'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::select('print_gift_card_receipts', $print_gift_card_receipts, $print_gift_card_receipts_added,["class"=>"form-control col-sm-8 ","id"=>"print_gift_card_receipts","name"=>"print_gift_card_receipts"]) }}
{{ Form::label('how_many_receipts', __('lbl.how_many_receipts'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::number('how_many_receipts', $how_many_receipts,["placeholder"=>__('lbl.how_many_receipts'),"class"=>"form-control col-sm-8 ","id"=>"how_many_receipts","name"=>"how_many_receipts"]) }}
{{ Form::label('how_many_credit_plus_receipts', __('lbl.how_many_credit_plus_receipts'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::select('how_many_credit_plus_receipts', !empty($how_many_credit_plus_receipts) ? $how_many_credit_plus_receipts : ['1'=>1,'2'=>2], $how_many_credit_plus_receipts_added,["class"=>"form-control col-sm-8 ","id"=>"how_many_credit_plus_receipts","name"=>"how_many_credit_plus_receipts"]) }}
{{ Form::label('credit_card_receipt', __('lbl.credit_card_receipt'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::select('credit_card_receipt', $credit_card_receipt, $credit_card_receipt_added,["class"=>"form-control col-sm-8 select2 credit_card_receipt","id"=>"credit_card_receipt","name"=>"credit_card_receipt"]) }}
{{ Form::label('subject_line_receipts', __('lbl.subject_line_receipts'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::text('subject_line_receipts', $subject_line_receipts,["placeholder"=>__('lbl.subject_line_receipts'),"class"=>"form-control col-sm-8 mxlen_100 ","id"=>"subject_line_receipts","name"=>"subject_line_receipts"]) }}
{{ Form::label('display_total_receipt', __('lbl.display_total_receipt'), ['class' => 'col-sm-3 control-label']) }}
{{ Form::label('custom_email_domains', __('lbl.custom_email_domains'), ['class' => 'col-sm-3 control-label']) }}
@if(!empty($emails))
@foreach($emails as $key => $setEmails)
@endforeach
@endif
{{ Form::hidden('totalEmails', !empty($emails) ? count($emails) : 0,["id"=>"totalEmails"]) }}
{{ Form::text('receipts_email', $setEmails->email, ["class"=>"form-control mxlen_40","placeholder"=>'email@domain.com',"id"=>"receipts_email","name"=>"receipts_email[]"]) }}
{{ Form::button('', ["class"=>"clickbtncommon btn btn-primary btn-sm remove_email remove_cloneItems ","data-id"=>$key+1, "data-db_id"=>$setEmails->id ,"id"=>"remove_cloneItems","name"=>"remove_cloneItems[]"]) }}