Invoice from multiple orders?
问题 I need a way to create an invoice from multiple orders every month? In the tbl_order table, I have a list of orders from the customer. tbl_order table OrderID (PK) ShopID (FK) CustomerID (FK) Statu Total OrderDate Let say I want to create an invoice for period: 1 to 31 May from tbl_order.ShopID = 2 (From there, I can an invoice report to a Shop/Company of Commission they owe me, etc. When I do recieved commission from them - I need a way to update invoice status) The invoice should have