I'm working on a banking software in php. I want the best idea on how to the following: when some transactions are posted by cashiers, they should not persist the database until they are approved by the Head of Operations. Can someone guide me, please.
why not use a simple merchant ? instead of doing akk the verification's ect it will save you a lot of time and hassle
You can create a separate table for transactions that need to be approved. You can also use the same table adding a field "isApproved". When approved by an administrator, you can transfer it to the approved table or set isApproved to 1 if you are using the field instead.