@extends('layouts.app') @section('page-name','Keuangan') @section('content')

Transaksi

@if(session()->has('msg'))
@if(session()->get('type') == 'success') @else @endif {{ session()->get('msg') }}
@endif
@if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif
@csrf

Mutasi Keuangan

@foreach ($keuangan as $index => $item) @endforeach
No. Tanggal KD Keterangan Jumlah
{{ $index+1 }} {{ $item->created_at->format('d-m-Y') }} @if($item->tipe == 'in') Uang Masuk @elseif($item->tipe == 'out') Uang Keluar @endif {{ $item->keterangan }} IDR. {{ format_idr($item->jumlah) }}
@endsection @section('js') @endsection