@extends('layout.main') @section('title', 'Detail') @section('prev-page') Home - Daftar Pengajuan @endsection @section('content')
Detail Pengajuan
@if ($detail->status->id == 0) @endif
{{ $detail->number }}
{{ date_format(date_create($detail->created), 'd M Y H:i:s') }}
{{ $detail->creator->name }}
{{ $detail->unit->name }}
{{ $detail->category->name }}
{!! nl2br($detail->description) !!}
Rp{{ number_format($detail->amount, 0, ',', '.') }}
@if (!empty($detail->bank->id))
Bank {{ $detail->bank->name }} - {{ $detail->bank->account }} a/n {{ $detail->bank->owner }}
@endif
@if (!empty($detail->file->_1))
@endif
@if (!empty($detail->file->_2))
@endif
@include('admin.approval.review.detail_list')
Transaksi Keuangan Terkait
@forelse($detail->transactions as $transaction) @empty @endforelse
ID Transaksi Tanggal Akun Kategori Kredit Debet Catatan
{{ $transaction->number }} {{ date_format(date_create($transaction->date), 'd M Y') }} {{ $transaction->account->name }} {{ $transaction->category->name }} @if ($transaction->type->id == 1) Rp{{ number_format($transaction->amount, 0, ',', '.') }}@else{{ '0' }} @endif @if ($transaction->type->id == 2) Rp{{ number_format($transaction->amount, 0, ',', '.') }}@else{{ '0' }} @endif @if (empty($transaction->description)) {{ '-' }} @else {{ mb_strimwidth(strip_tags($transaction->description), 0, 30, '...') }} @endif
Belum ada data.
@endsection @section('other-scripts') @endsection