deleting 'sales types' under 'admin' does not work

Issue #24 invalid
Former user created an issue

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)

  1. Simon Martin repo owner

    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?

  2. Log in to comment