@extends('template.content') @section('title', 'Pemasukan') @push('script') @endpush @section('content')

@yield('title')

Tambah Pemasukan

Rp. {{ number_format($total_pemasukan, 0, ',', '.') }}

@if (auth()->user()->level == 'admin') @endif @foreach ($pemasukan as $pem) @if (auth()->user()->level == 'admin') @endif @endforeach
Aksi Tanggal Deskripsi Metode Pembayaran Kode Akun JumlahOleh
{{ $pem->created_at ? $pem->created_at->format('d-m-Y H:i') : '-' }} {{ $pem->deskripsi }} {{ $pem->metode_pembayaran }} {{ $pem->akun->kode_akun ?? "-" }} Rp. {{ number_format($pem->jumlah, 0, ",", ".") }}{{ $pem->user->name }}
{{ $pemasukan->appends(request()->only(['cari', 'bulan', 'tahun', 'user']))->links('pagination::bootstrap-4') }}
@endsection