@extends('layout') @section('title','Transaksi') @section('heading','Riwayat Transaksi') @section('content')
@foreach($transactions as $t)@endforeach
InvoiceWaktuJenisDeskripsiKasirPembayaranTotal
{{ $t->invoice_number }}{{ $t->created_at->format('d/m/Y H:i') }}{{ strtoupper($t->type) }}{{ $t->description }} ({{ $t->qty }}){{ $t->user->name }}{{ strtoupper($t->payment_method) }}Rp {{ number_format($t->total,0,',','.') }}
{{ $transactions->links() }}
@endsection