Topic: email order/invoice to customer, database time stamp
this hack its in 2 parts, first part it's completed, second part I'm working on it.
concept: add email link in orders and invoices inquiry page next to edit and print icons. every time you press the icon, email is sent/resent to your customer and the database get stamped with the current date.
usage: first it's time saving when you have to send/resend the invoice to your customer. you'll also know IF or when the email was sent to your customers, by viewing the "email sent date" in your view_invoice.php page. this is very useful when you have overdue invoices and you are getting ready to call your customer. also, you will know if your employees are doing there job properly buy sending the invoice to your customers.
part one hack concept: create 2 database columns for order and invoice sections. create functions to stamp database then email it's send ( date stamp, 1 for email send). retrieve data from database in view pages.
part two hack concept: if ( $email_sent == 1) in database, change default jpeg images with a new distinctive image. this will show in view page that email is already sent. also, if invoice it's overdue, change email function to send a different text email message to customer, text to reflect invoice overdue and request for payment immediately.