Print from orders has the wrong guid

Issue #67 new
Simon Martin repo owner created an issue

http://localhost:52760/Order/Details/05251032-f845-4c8f-be10-a60400dc5291 Click print or hover and the GUID is different....

Comments (4)

  1. Simon Martin reporter

    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?

  2. Simon Martin 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

  3. Log in to comment