@extends('layouts.admin') @section('title', 'Purchase '.$purchase->purchase_number) @section('page-title', 'Purchase '.$purchase->purchase_number) @section('breadcrumbs') Purchases chevron_right {{ $purchase->purchase_number }} @endsection @section('content')
Created {{ $purchase->created_at?->format('M d, Y g:i A') ?? '—' }}
| Product | Qty | Rate | Amount |
|---|---|---|---|
| {{ $item->product_name }} | {{ $item->quantity }} | {{ \App\Models\Currency::formatAmount($item->rate, null) }} | {{ \App\Models\Currency::formatAmount($item->amount, null) }} |
| No line items | |||
{{ $purchase->notes }}
{{ $purchase->terms }}
{{ $purchase->supplier->name }}
@if($purchase->supplier->email){{ $purchase->supplier->email }}
@endif @if($purchase->supplier->phone){{ $purchase->supplier->phone }}
@endif @else—
@endif{{ $purchase->company->name }}
@if($purchase->company->email){{ $purchase->company->email }}
@endif{{ $purchase->bankAccount->account_name }} — {{ $purchase->bankAccount->bank_name }}