Print from orders has the wrong guid
Issue #67
new
http://localhost:52760/Order/Details/05251032-f845-4c8f-be10-a60400dc5291 Click print or hover and the GUID is different....
Comments (4)
-
reporter -
reporter If you can please alter the default customer to "Name" and "Address", if there are other boxes like the title just add a . to the print this would be a temporary workaround
-
reporter Test case: Stephen Kempe Stock blue zir 23rd dec receipt should not show "The Shop"
-
reporter - marked as critical
- Log in to comment
This is passing the product / workshop item id, not the order id because the PrintReceipt expects a workshop item as the agregate root which contains the receipt text, amount and other. However this may need rethinking / moving to the product table.
A possible work around here is to pass the order id then use that to look up the customer and the order to pick the item to print the receipt for.
NOTE: The confusion may stem from "receipt" being used - maybe job sheet for WSI's and receipt for things that have been sold?