@extends('layouts.app') @section('title', 'Invoices') @section('section', 'Sales') @php $cur = config('payments.currency'); $dp = \App\Payments\Support\Currency::decimals($cur); $fmt = fn ($n) => number_format((float) $n, $dp); $tabs = ['all' => 'All', 'due' => 'Unpaid', 'partial' => 'Partial', 'paid' => 'Paid']; $pill = [ 'paid' => ['pill-ok', 'Paid'], 'partial' => ['pill-warn', 'Partial'], 'due' => ['pill-off', 'Unpaid'], ]; @endphp @section('content')
Sales
Outstanding
Open invoices
Collected
@if ($q !== '' || $status !== 'all') Nothing matches this view. Clear filters. @else Invoices will appear here as you make sales. @endif