@extends('layouts.app') @section('title') {{ $title }} @endsection @section('breadcrumbs') @endsection @section('content') {{-- @dd($datas) --}}

{{ $title }}

ID Transaksi : #{{ $datas->code_invoice }}
Tanggal : {{ $datas->created_at->translatedFormat('d F Y (H:i:s)') }}
Nama Penjual : {{ $datas->seller->shop_name }}
Nama Pelanggan : {{ $datas->user->name ?? 'Pengguna tidak ditemukan' }}
Status : {{ $datas->status }}
Invoice/Nota : Download Invoice
Daftar Item
@foreach ($datas->items as $index => $item) @endforeach
No Nama Produk Jumlah Harga Satuan Total
{{ $index + 1 }} {{ $item->product->name }} {{ $item->quantity }} {{ $item->product->unit }} Rp. {{ number_format($item->product->price, 0, ',', '.') }} Rp. {{ number_format($item->price, 0, ',', '.') }}
Total Harga : Rp. {{ number_format($datas->amount, 0, ',', '.') }}
Kembali
@endsection @section('scripts') {{-- --}} @endsection