| No.Transaksi: {{ $order->transaction_number }} | Pembayaran: {{ $order->paymentMethod->name }} | ||||
|---|---|---|---|---|---|
| Produk | Harga Modal | Harga Jual | Qty | Total Bayar | Total Profit |
| {{ $item->product->name }} | Rp {{ number_format($item->cost_price, 0, ',', '.') }} | Rp {{ number_format($item->price, 0, ',', '.') }} | {{ $item->quantity }} | Rp {{ number_format($item->price * $item->quantity, 0, ',', '.') }} | Rp {{ number_format($item->total_profit, 0, ',', '.') }} |
| Total | Rp {{ number_format( $order->total, 0, ',', '.') }} | Rp {{ number_format( $total_profit_amount, 0, ',', '.') }} | |||
| Total Uang Masuk: Rp {{ number_format( $total_Order_amount, 0, ',', '.') }} | Total Keuntungan: Rp {{ number_format( $total_Profit_amount, 0, ',', '.') }} |
|---|