@extends('backEnd.layouts.master') @section('title','Purchases') @php use Illuminate\Support\Facades\Auth; @endphp @section('css') @endsection @section('content')
| # | Date | Invoice | Supplier | Total | Paid | Due | Actions |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($purchases->currentPage()-1)*$purchases->perPage() }} | {{ \Carbon\Carbon::parse($p->purchase_date)->format('d M, Y') }} | {{ $p->invoice_no }} @if($p->updated_by) @endif |
@if($p->supplier)
{{ $p->supplier->name }}
{{ $p->supplier->phone }}
@else
Deleted
@endif
|
{{ number_format($p->grand_total,2) }} | {{ number_format($p->paid_amount,2) }} | {{ number_format($p->due_amount,2) }} | |
|
No purchase records found. |
|||||||