{!! Form::label("amount_".$id , __('purchase.amount') . ':*') !!}
{!! Form::label("paid_on_".$id , __('lang_v1.paid_on') . ':*') !!}
{!! Form::text('payments['.$id.'][paid_on]', @format_datetime($payroll['paid_on']), ['class' => 'form-control input-sm paid_on', 'readonly', 'required', 'id' => 'paid_on_'.$id, 'data-id' => $id]); !!}
@if(!empty($accounts)) {!! Form::label("account_id_".$id , __('lang_v1.payment_account') . ':') !!}
{!! Form::select('payments['.$id.'][account_id]', $accounts, null , ['class' => 'form-control input-sm select2', 'id' => "account_id_".$id, 'style' => 'width:100%;', 'data-id' => $id]); !!}
@endif
{!! Form::label("payment_note_".$id , __('lang_v1.payment_note') . ':') !!} {!! Form::textarea('payments['.$id.'][payment_note]', null, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.payment_note' ), 'rows' => 2, 'id' => "payment_note_".$id]); !!}
{!! Form::label("method_".$id , __('purchase.payment_method') . ':*') !!}
{!! Form::select('payments['.$id.'][method]', $payment_types, null, ['class' => 'form-control select2 payment_types input-sm', 'id' => 'method_'.$id, 'style' => 'width:100%;', 'data-id' => $id, 'placeholder' => __('messages.please_select')]); !!}