Order reference

This commit is contained in:
“VeLiTi”
2024-03-19 20:15:23 +01:00
parent 2c0b76d965
commit 73baa19c2d
7 changed files with 20 additions and 3 deletions

View File

@@ -120,6 +120,11 @@ if ($command == 'update'){
{
changelog($dbname,'equipment',$equipment_data['rowID'],'status',$post_content['status'],$username);
}
//UPDATE CHANGELOG BASED ON ORDER_REF change
if ($post_content['order_ref'] != $equipment_data['order_ref'])
{
changelog($dbname,'equipment',$equipment_data['rowID'],'order_ref',$post_content['order_ref'],$username);
}
$post_content['accounthierarchy'] = $accounthierarchy;