@extends('adminlte::page') @section('title', 'Pengeluaran') @section('content_header')

Pengeluaran

@stop @section('content')

Outlook 1

@foreach ($data1 as $item) @endforeach
No.
Date
Total
Aksi
{{$loop->iteration}}
{{date('d-m-Y', strtotime($item->date))}}
Rp. {{number_format($item->subtotal)}}
Detail
Rp. {{number_format($data1->sum('subtotal'))}}

Outlook 2

@foreach ($data2 as $item) @endforeach
No.
Date
Total
Aksi
{{$loop->iteration}}
{{date('d-m-Y', strtotime($item->date))}}
Rp. {{number_format($item->subtotal)}}
Detail
Rp. {{number_format($data2->sum('subtotal'))}}
@endsection