Purchase Book

The main purpose of the purchase book is to collect all purchased goods intended for resale.

Functions

In detail it allows

  • to enter new and update old records of purchased goods,
  • to sort the records on a client basis,
  • different date and number formats,
  • automatic completion for missing fields derived from the entered data,
  • to browse the records,
    • with sorting possibilities,
    • and a search function,
  • to print single or multiple records,
  • and to export single or multiple records.

Files

The functions of the purchase book are handled by the following files:

File Explanation
/code/purchasebook.inc.php the main PHP code of the purchase book
/code/purchasebook.db.php the database functions of the purchase book
/admin/sql/purchasebook.sql the database definition of the purchase book
/code/purchasebook.html.php the HTML functions of the purchase book
/html/purchasebook.tpl the Smarty template of the purchase-book overview page
/html/purchasebookitem.tpl the Smarty template of the purchased-item detail page
/html/purchasebooknav.tpl the Smarty template of the purchase-book navigation
/html/purchasebookprint.tpl the Smarty template of the purchase-book overview page – print view
/html/purchasebookitemprint.tpl the Smarty template of the purchased-item detail page – print view
/html/purchasebookcsv.tpl the Smarty template of the purchase-book overview page – CSV export
/html/purchasebookitemcsv.tpl the Smarty template of the purchased-item detail page – CSV export
/lang/de/purchasebook.ini the German language file of the purchase-book
/lang/en/purchasebook.ini the English language file of the purchase-book
/css/purchasebook.css the style sheet of the purchase-book
/js/purchasebookitem.js the JavaScript functions of the purchase-book