@extends('layout.main') @section('title', 'Daftar Pengajuan') @section('prev-page') Home @endsection @section('content') @php $panel_colapse = !empty($input->key) || !empty($input->category) ? '' : 'panel-collapsed'; @endphp
Cari Berdasarkan
@csrf
Daftar Pengajuan
@forelse($approvals as $approval) @empty @endforelse
ID Pengajuan Tanggal Kategori Deskripsi Nilai Tipe Diajukan Oleh Status    
{{ $approval->number }} {{ date_format(date_create($approval->created), 'd M Y H:i:s') }} {{ $approval->category->name }} @if (empty($approval->description)) {{ '-' }} @else @php $description = str_replace("\"", "\'\'", $approval->description); $description = nl2br($description); @endphp {{ mb_strimwidth(strip_tags($approval->description), 0, 30, '...') }} @endif Rp{{ number_format($approval->amount, 0, ',', '.') }} {{ $approval->creator->name }} @if (!empty($approval->file->_1)) @endif @if (!empty($approval->file->_2)) @endif @if ($approval->total_transaction > 0) {{ $approval->total_transaction . ' trns' }} @endif
Belum ada data.
@if (!empty($metadata->links)) @endif
@endsection @section('other-scripts') @endsection