@if (!$payment)
{!! Former::select('client')->addOption('', '')->addGroupClass('client-select') !!}
{!! Former::select('invoice')->addOption('', '')->addGroupClass('invoice-select') !!}
{!! Former::text('amount') !!}
@endif
@if (!$payment || !$payment->account_gateway_id)
{!! Former::select('payment_type_id')->addOption('','')->fromQuery($paymentTypes, 'name', 'id') !!}
@endif
{!! Former::text('payment_date')->data_date_format(Session::get(SESSION_DATE_PICKER_FORMAT))->append('') !!}
{!! Former::text('transaction_reference') !!}
@if (!$payment)
{!! Former::checkbox('email_receipt')->label(' ')->text(trans('texts.email_receipt')) !!}
@endif