@extends('layouts.app') @section('title', 'Bills') @section('page-title', 'Bills') @section('content')
| BILL NUMBER | VENDOR NAME | BILL DATE | DUE DATE | AMOUNT | STATUS | ACTION |
|---|---|---|---|---|---|---|
|
{{ $bill->bill_number }}
|
{{ $bill->vendor->name }} | {{ \Carbon\Carbon::parse($bill->bill_date)->format('d M Y') }} | {{ \Carbon\Carbon::parse($bill->due_date)->format('d M Y') }} | {{ formatCurrency($bill->total_amount) }} | @if($bill->status == 'paid') Paid @elseif($bill->status == 'partial') Partial @else Unpaid @endif | |
| No bills found. Add your first bill | ||||||