/* View: staffdiscountadd Columns: identical to dtransactions Depends on: localtemptrans (table) Use: This view calculates staff discounts on items in the transaction that have not yet been applied. These records are then inserted into localtemptrans to apply the relevant discount(s). */Back