feat: Implement Cost Calculator module with CRUD operations and DataTables integration
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<tr class="onetime-cost">
|
||||
<td>
|
||||
{{ html()->select('other_services[' . $numInc . '][status]', $livingStatusOptions)->class('form-select')->placeholder('-Select-')->value($value->id ?? null)->required() }}
|
||||
{{ html()->div('Please enter living status')->class('invalid-feedback') }}
|
||||
|
||||
</td>
|
||||
|
||||
<td class="d-flex flex-column gap-2">
|
||||
{{ html()->text('other_services[' . $numInc . '][flight_ticket]')->class('form-control')->value($value->flight_ticket ?? null)->placeholder('Flight Ticket') }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ html()->text('other_services[' . $numInc . '][insurance]')->class('form-control')->value($value->insurance ?? null)->placeholder('Health Insurance') }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ html()->text('other_services[' . $numInc . '][extra]')->class('form-control')->value($value->extra ?? null)->placeholder('Extra') }}
|
||||
</td>
|
||||
|
||||
<td class="align-middle">
|
||||
<div class="hstack gap-2">
|
||||
<a href="javascript:void(0)" onclick="cloneRow(this)" class="btn btn-sm btn-secondary fw-medium"><i
|
||||
class="ri-add-fill align-middle"></i></a>
|
||||
<a href="javascript:void(0)" class="btn btn-sm btn-danger" onclick="removeRow(this)">
|
||||
<i class="ri-subtract-line align-middle"></i>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
Reference in New Issue
Block a user