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

Purchase

@include('validate')

Purchase List

@csrf
@forelse ($purchaseList as $purchase) @empty @endforelse
Ref. No. Type Branch Date Supplier Invoice No. Invoice Date Total Amount Action
{{ $purchase->reference_no }} @if($purchase->is_estimate == 'yes') Estimate @elseif($purchase->is_estimate == 'no') Purchase @endif {{ $purchase->branch->branch_name ?? '' }} {{ $purchase->purchase_date->format(app_date_format()) }} {{ $purchase->supplier->supplier_name ?? '' }} {{ $purchase->invoice_no }} {{ $purchase->invoice_date->format(app_date_format()) }} {{ number_format($purchase->grand_total,2) }}
@lang('general.no_details_found')
@endsection @push('scripts') @endpush