">

Invoice

Date
Due
Product Description Qty Price Tax Total
0) { ?> 0) { ?>
Subtotal
Tax
Paid
Balance

1) { ?>
Previous Unpaid Invoices
>
Invoice # Date Due Date Amount
( Days Late)
CURDATE() AND(invoice_status = 'Sent' OR invoice_status = 'Viewed' OR invoice_status = 'Partial') ORDER BY invoice_number DESC"); if (mysqli_num_rows($sql) > 1) { ?>
Current Invoices
>
Invoice # Date Due Amount
(Due in Days)
1) { ?>
Previous Invoices Paid
> strtotime($invoice_due)) { $payment_note = "Late"; $difference = strtotime($payment_date) - strtotime($invoice_due); $days = floor($difference / (60*60*24) ) . " Days"; }else{ $payment_note = ""; $days = ""; } $invoice_tally_total = $invoice_amount + $invoice_tally_total; ?>
Invoice # Date Due Date Amount
Payments
- - - -