@extends('layouts.backend.index') @section('title', $label) @section('content')

Aktiva

@foreach ($aktiva as $a)
{{ $a['name'] }} @foreach ($a['coa'] as $c) @endforeach
{{ $c['name'] }} {{ number_format($c['total'], 0, '', '.') }}
@endforeach
Rp. {{ number_format($total_aktiva, 0, '', '.') }}
Total

Kewajiban

@foreach ($kewajiban as $k)
{{ $k['name'] }} @foreach ($k['coa'] as $c) @endforeach
{{ $c['name'] }} {{ number_format($c['total'], 0, '', '.') }}
@endforeach
Rp. {{ number_format($total_kewajiban, 0, '', '.') }}
Total
@if ($total_aktiva != $total_kewajiban)
{{ $label }} tidak balance
@endif
DOWNLOAD
@endsection @push('styles') @endpush