change in cost calculation
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
<div class="card">
|
||||
<div class="card-header d-flex align-items-center justify-content-between">
|
||||
<h5 class="card-title mb-0">{{ $title }}</h5>
|
||||
<a href="{{ route('cost.create') }}" class="btn btn-primary waves-effect waves-light text-white"><i class="ri-add-line align-middle"></i> Create</a>
|
||||
<a href="{{ route('cost.create') }}" class="btn btn-primary waves-effect waves-light text-white"><i
|
||||
class="ri-add-line align-middle"></i> Create</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@php
|
||||
@@ -25,9 +26,10 @@
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
],
|
||||
['title' => 'Image', 'data' => 'image', 'name' => 'image'],
|
||||
['title' => 'Program Level', 'data' => 'program_level', 'name' => 'title'],
|
||||
['title' => 'Slug', 'data' => 'slug', 'name' => 'slug'],
|
||||
['title' => 'Country', 'data' => 'country', 'name' => 'country'],
|
||||
['title' => 'Alone', 'data' => 'alone', 'name' => 'alone'],
|
||||
['title' => 'With Spouse', 'data' => 'with_spouse', 'name' => 'with_spouse'],
|
||||
['title' => 'With Spouse and Child', 'data' => 'with_spouse_and_child', 'name' => 'with_spouse_and_child'],
|
||||
['title' => 'Status', 'data' => 'status', 'name' => 'status'],
|
||||
[
|
||||
'title' => 'Action',
|
||||
@@ -37,7 +39,7 @@
|
||||
],
|
||||
];
|
||||
@endphp
|
||||
<x-data-table-script :route="route('service.index')" :reorder="route('service.reorder')" :columns="$columns" />
|
||||
<x-data-table-script :route="route('cost.index')" :columns="$columns" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user