foodcoops / foodsoft

Web-based software to manage a non-profit food coop (product catalog, ordering, accounting, job scheduling).
https://foodcoops.net/
Other
322 stars 146 forks source link

restore deleted suppliers #832

Open mjavurek opened 3 years ago

mjavurek commented 3 years ago

Actually deleted suppliers remain still in the database as there may be some references to them like orders or invoices. In the "create invoice" list they are still visible, marked with a cross. On the other hand, in the supplier list under "suppliers/articles", deleted suppliers are invisible and cannot be edited. Like for deleted users, a "show deleted suppliers" and "restore deleted suppliers" feature would be nice. Additionally, deleted suppliers could then be removed from the "create invoice" list. As a consequence, the "delete" function for suppliers should be renamed in "deactivate" to emphasize that the supplier is not really deleted and can still be restored.

mjavurek commented 3 years ago

Additionally, the option "hide supplier in create-order-list" would be fine, because some suppliers only have stock articles and therefore do not come into consideration for orders. This would allow to reduce the list and make it easier to select the suppliers for new orders.