@extends('layouts.layoutMaster') @section('title', 'Laporan Buku Besar') @section('vendor-style') @vite([ 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/select2/select2.js', ]) @endsection @section('page-style') @endsection @section('content')
Periode: {{ $startDate->format('d M Y') }} - {{ $endDate->format('d M Y') }}
| Nama Akun | Kode | Tipe | Debit (Rp) | Kredit (Rp) | Saldo (Rp) | Detail |
|---|---|---|---|---|---|---|
|
@if ($account->subAccounts->count() > 0)
@else
@endif
{{ $account->account_name }}
|
{{ $account->account_code }} | {{ ucfirst($account->account_type) }} | {{ rupiah_format($account->debit_total, 0, ',', '.') }} | {{ rupiah_format($account->credit_total, 0, ',', '.') }} | {{ rupiah_format(abs($account->balance), 0, ',', '.') }} | Detail |
|
TOTAL
|
{{ rupiah_format($accounts->sum('debit_total'), 0, ',', '.') }} | {{ rupiah_format($accounts->sum('credit_total'), 0, ',', '.') }} | {{ rupiah_format(abs($accounts->sum('balance')), 0, ',', '.') }} | |||