Update cost calculation display and management in CostCalculator module.

Show page Design added for cost calculation
This commit is contained in:
2025-08-16 23:24:40 +05:45
parent 6d6d1c9a8a
commit 75ebf99990
7 changed files with 307 additions and 28 deletions

View File

@@ -6,11 +6,11 @@
</td>
<td class="d-flex flex-column gap-2">
{{ html()->text('living_cost[' . $numInc . '][monthly]')->class('form-control')->value($value->monthly ?? null)->placeholder('Monthly') }}
{{ html()->text('living_cost[' . $numInc . '][monthly]')->class('form-control')->value($value->pivot->monthly ?? null)->placeholder('Monthly') }}
</td>
<td>
{{ html()->text('living_cost[' . $numInc . '][yearly]')->class('form-control')->value($value->yearly ?? null)->placeholder('Yearly') }}
{{ html()->text('living_cost[' . $numInc . '][yearly]')->class('form-control')->value($value->pivot->yearly ?? null)->placeholder('Yearly') }}
</td>
<td class="align-middle">