PacificEMIS / Pacific-SIS

1 stars 3 forks source link

Audit trail not updated when adding new staff #670

Open ghachey opened 4 months ago

ghachey commented 4 months ago

The staff_master create audit data (i.e. created_by and created_on) gets added. However, the data in the user_master table (for the same user and same operation) does not get added. Can this not be added also when adding new staff? Like a complete audit trail. This is simple data should be be added/edit on each CRUD DB operation.

Screenshot 2024-05-10 144119 Screenshot 2024-05-10 144244

openSISAdmin commented 4 months ago

@ghachey

Please check if this is fixed.

ghachey commented 4 months ago

@openSISAdmin @Sabya-openSIS Almost. It now does updated the created_by on adding new staff but it does not fill up the updated_by data when updating, in particular in the user_master table.

Screenshot 2024-05-16 100627