@extends('layout.main') @section('title', 'Daftar Transaksi') @section('prev-page') Home @endsection @section('other-styles') @endsection @section('content') @php $panel_colapse = !empty($input->key) || !empty($input->category) || !empty($input->account) || !empty($input->from) || !empty($input->to) ? '' : 'panel-collapsed'; @endphp
@if (!empty($summary))| PIC | Kredit | Debet | Saldo |
|---|---|---|---|
| {{ $summary->name }} | Rp{{ number_format($summary->kredit, 0, ',', '.') }} | Rp{{ number_format($summary->debet, 0, ',', '.') }} | Rp{{ number_format($summary->kredit - $summary->debet, 0, ',', '.') }} |
| ID Transaksi | Waktu | {{-- Kategori column removed; category info now shown under Akun --}}Akun | Kredit | Debet | Saldo | Faktur | Pengajuan | Link | Keterangan | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $transaction->number }} | {{ date_format(date_create($transaction->created), 'd M Y H:i:s') }} | {{-- Akun + Kategori (2 baris) --}}
@php
$thisSearchQuery = $searchQuery . '&category=' . $transaction->category_id;
@endphp
{{ $transaction->account_name }}
{{ $transaction->category_name }}
@if (!empty($transaction->approval_id))
@endif
|
@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 | Rp{{ number_format($transaction->deposit, 0, ',', '.') }} | {!! $transaction->receipt_type_icon !!} | {{-- Pengajuan column --}}@if (!empty($transaction->approval_id)) {{ $transaction->approval_number }} @endif | {{-- Link column --}}@if ($transaction->link_count > 0) {{ $transaction->link_count }} link @endif | @if (empty($transaction->description)) {{ '-' }} @else @php $description = str_replace("\"", "\'\'", $transaction->description); $description = nl2br($description); @endphp {{ mb_strimwidth(strip_tags($transaction->description), 0, 30, '...') }} @endif @if (!empty($transaction->receipt_file)) @endif | @if (strtotime($transaction->created) > strtotime('-6 hours')) @endif |
| Belum ada data. | ||||||||||