@extends('layouts.app') @section('title', 'Purchase Details') @section('content') @can('view_purchases')
From: {{ $purchase->supplier->name }}
{{ $purchase->purchase_no }}
{{ displayDate($purchase->purchase_date) }}
| # | Product | Cost Price | Qty | Subtotal |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->product->name }} | ${{ number_format($item->cost_price, 2) }} | {{ $item->quantity }} | ${{ number_format($item->subtotal, 2) }} |