deleting 'sales types' under 'admin' does not work
Issue #24
invalid
tried to delete some of the sales types as we do not need so many and it didn't seem to work, could it be a bug?
Comments (2)
-
repo owner -
repo owner - changed status to invalid
This works as expected.
- Log in to comment
All sales types have been used in the Orders table; so would not expect them to be deletable. Could implement a soft delete? 3-4 hours
SELECT * FROM dbo.SaleTypes AS ST WHERE st.Id NOT IN ( SELECT SaleType FROM dbo.Orders )
Perhaps a message to say it couldn't be deleted because it's in use?