
">
| Product |
Description |
Qty |
Price |
Tax |
Total |
|
|
|
|
|
|
| Subtotal |
|
0) { ?>
| Tax |
|
0) { ?>
Paid |
|
| Balance |
|
1) {
?>
| 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) {
?>
| Invoice # |
Date |
Due |
Amount |
>
|
|
(Due in Days) |
|
1) {
?>
| Invoice # |
Date |
Due Date |
Amount |
>
|
|
|
|
| Payments |
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;
?>
| - - - - |