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