Most of the times applications need some sort of security to restrict access to various aspects of the data. This feature is integral part of the framework.
In GS Sales Manager, following rules were required:
- Manager role can access all invoices and edit any historical invoice
- Receptionist role can create invoices but can edit invoices from only last 'n' days. The number 'n' is configurable (by Admin / Manager only). Any older invoices will be shown in read-only mode.
In following screen-shot, you can see that the user is given a read-only view of the invoice.