Store Log - add / remove store manager
Summary
There are two actions in the store log array for appointing a store manager - only one is used and only one should be needed :
public const MADE_STORE_MANAGER = 9;
public const APPOINT_STORE_MANAGER = 17;
. The removal of a store manager is not logged (anymore? never was?) REMOVED_AS_STORE_MANAGER is not used.
function removeStoreManagerAction
needs to be added a store log for removal of store manager
function addStoreManagerAction
needs to be logged at for which constant to use
Steps to reproduce
add and remove a store manager and check fs_store_log table
What is the current bug behavior?
removal of a store manager is not logged.
What is the expected correct behavior?
removal of a store manager should be logged
Relevant error messages and/or screenshots
Possible fixes
check according rest functions and add store_log line