HomePHP Page 2 - Invoice Management in a PHP Invoicing System
Finishing the Invoice Page - PHP
If you're running a business in which you're invoicing clients, you need some way to keep track of which invoices have gone out and which clients have paid. In this second article of a four-part series that covers the creation of a PHP invoicing system, we create the parts that deal with this kind of invoice management.
So, what is happening here? Basically, we are creating a table that will list all the invoices based on the results from the query. In other words, part of the table will be dynamically generated. The first section of the table shows the headings of the different columns. The columns that we want listed are:
Status – Shows if a invoice is paid or unpaid.
Total (excluding VAT).
Total (including VAT) .
Action - Actions that can be taken, which include viewing, updating or deleting a invoice.
The headings are created by the following HTML code: