added function operasi can edit perubatan asal
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Nama</th>
|
||||
<th scope="col">Baki Perubatan</th>
|
||||
<th scope="col">Perubatan</th>
|
||||
<th scope="col" style="width:15%;">Perubatan</th>
|
||||
<th scope="col">Tindakan</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -35,9 +35,9 @@
|
||||
<tr>
|
||||
<td>{{ ($paginate->currentPage() - 1) * $paginate->perPage() + $loop->index + 1 }}</td>
|
||||
<td scope="col">{{ $page->name }}</td>
|
||||
<td scope="col">{{ $page->perubatan }}</td>
|
||||
<td scope="col">{{ number_format($page->perubatan,2) }}</td>
|
||||
<td scope="col">
|
||||
<input name="perubatan" id="input-{{ $page->id }}" class="" value="{{ $page->perubatan_asal }}" disabled/>
|
||||
<input name="perubatan" id="input-{{ $page->id }}" class="form-control" value="{{ $page->perubatan_asal }}" disabled/>
|
||||
</td>
|
||||
<td>
|
||||
<div id="divedit-{{ $page->id }}" class="d-block">
|
||||
@@ -63,5 +63,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
let updateurl = "{{ route('perubatan.update') }}";
|
||||
</script>
|
||||
<script src="{{ asset('js/perubatan.js') }}"></script>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user