@extends('layouts.admin') @section('content')

Laporan Penjualan

@csrf
PDF Excel
@php $nomor = 1; @endphp @foreach ($penjualan as $item) @endforeach
No No. Nota Tanggal Penjualan Nama Produk Harga Jumlah Total Status
{{ $nomor++ }} {{ $item->kodenota }} {{ date('d-m-Y', strtotime($item->tanggalpenjualan)) }} {{ $item->namabarang }} {{ rupiah($item->harga) }} {{ $item->jumlah }} {{ rupiah($item->total) }} {{ $item->status }}
@endsection