first commit
This commit is contained in:
9
resources/views/pelaksana/show.blade.php
Normal file
9
resources/views/pelaksana/show.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('layouts.app')
|
||||
@section('title','Semak Permohonan')
|
||||
@section('content')
|
||||
<form method="POST" action="{{ route('semakan.update',$permohonan) }}" class="card p-4">@csrf @method('PUT')
|
||||
<div class="mb-3"><div class="fw-semibold">{{ $permohonan->no_rujukan }}</div><div class="text-muted">{{ $permohonan->user?->name }} | {{ $permohonan->jabatan?->nama }}</div></div>
|
||||
<div class="table-responsive"><table class="table align-middle"><thead><tr><th>Item</th><th>Jumlah</th><th>Status Item</th><th>Catatan</th></tr></thead><tbody>@foreach($permohonan->items as $item)<tr><td>{{ $item->item }}<div class="small text-muted">{{ $item->kuantiti }} x RM {{ number_format($item->harga_anggaran,2) }}</div></td><td>RM {{ number_format($item->jumlah,2) }}</td><td><select name="items[{{ $item->id }}][status_item]" class="form-select">@foreach(['Pending','Accepted','Rejected','Partial Accept'] as $s)<option @selected($item->status_item===$s)>{{ $s }}</option>@endforeach</select></td><td><input name="items[{{ $item->id }}][catatan_pelaksana]" class="form-control" value="{{ $item->catatan_pelaksana }}"></td></tr>@endforeach</tbody></table></div>
|
||||
<div class="mb-3"><label class="form-label">Catatan Semakan</label><textarea name="catatan_semakan" class="form-control">{{ $permohonan->catatan_semakan }}</textarea></div><button class="btn btn-primary">Submit kepada Admin</button>
|
||||
</form>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user