CMXX - Include updated/by on multiple tables and views
This commit is contained in:
@@ -155,9 +155,11 @@ foreach ($account as $key => $value){
|
||||
// CREATE ACCOUNTHIERARCHY JSON FROM ACCOUNT ARRAY
|
||||
$accounthierarchy = json_encode($account, JSON_UNESCAPED_UNICODE);
|
||||
|
||||
$post_content['updatedby'] = $username;
|
||||
|
||||
//ADD STANDARD PARAMETERS TO ARRAY BASED ON INSERT OR UPDATE
|
||||
if ($command == 'update'){
|
||||
|
||||
|
||||
//RESET WARRANTY AND SERVICE DATES WHEN STATUS IS CHANGED TO SEND(3)
|
||||
if (isset($post_content['status']) && $post_content['status'] == 3 && $equipment_data['status'] != 3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user