@extends('layout.main') @section('title', 'Detail Transaksi') @section('prev-page') Home - Daftar Transaksi @endsection @section('content')
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 |