...
Insurance clerk generates a funding invoice (new) for a product/pool
Insurance clerk generates a funding invoice (old) for a product/pool
Policy activated based on invoice payment
Permissions
Invoice (also for invoice Item) Prefix will be 1551
Search → 155101
Create → 155102
Update → 155103
Delete → 155104
Amend (create amendment) → 152109
Invoice Payment prefix will be 1552
Search → 155201
Create → 155202
Update → 155203
Delete → 155204
Refund→ 155206
Invoice event
Search → 155201
Create → 155202 (out of scope)
Update → 155203(out of scope)
Delete → 155204(out of scope)
CreateMessage → 155206
DeleteMyMessage → 155207
DeleteAllMessage → 155207
Front end
The front end will have the same layout as the contract
...