StocksNew/Modules/Payroll/resources/views/payments/partials/action.blade.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

42 lines
1.6 KiB
PHP

<div class="row gy-3">
<div class="col-lg-4 col-md-6">
{{ html()->label('Employee')->class('form-label') }}
{{ html()->select('employee_id', $employeeLists)->class('form-select select2')->placeholder('Employee Name') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Account Number')->class('form-label') }}
{{ html()->text('account_no')->class('form-control')->placeholder('Bank Account Number') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Payment Date')->class('form-label') }}
{{ html()->date('payment_date')->class('form-control')}}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Payment Amount')->class('form-label') }}
{{ html()->number('payment_amount')->class('form-control')->placeholder('total Amount in RS.')}}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Payment Mode')->class('form-label') }}
{{ html()->select('payment_mode', \Modules\Payroll\Models\Payment::PAYMENT_MODE)->class('form-select select2')->placeholder('Payment Mode') }}
</div>
<div class="col-lg-12 col-md-12">
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('description')->class('form-control')->placeholder('Payment Description')->attributes(['rows' => 3]) }}
</div>
<div class="col-lg-12 col-md-12">
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
</div>
<div class="text-end">
{{ html()->button($editable ? 'Update' : 'Add Payment', 'submit')->class('btn btn-success') }}
</div>
</div>