From 3d3492ef278d3409571e0d4c043d96c4a378f0fe Mon Sep 17 00:00:00 2001 From: wrongecho Date: Sat, 10 Aug 2024 20:46:59 +0100 Subject: [PATCH 1/2] Add move/transfer assets Add ability to move / transfer assets between clients. Moving an asset involves the asset being archived and then re-created under the new client with most of the same information. Information about the old & new asset is stored in the audit logs and within the asset notes. Information from the audit logs is accessible via a new History tab on the asset, subject to audit log retention. --- client_asset_edit_modal.php | 29 ++++++++++++++++++++ client_asset_transfer_modal.php | 46 ++++++++++++++++++++++++++++++++ client_assets.php | 4 +++ post/asset.php | 47 +++++++++++++++++++++++++++++++++ 4 files changed, 126 insertions(+) create mode 100644 client_asset_transfer_modal.php diff --git a/client_asset_edit_modal.php b/client_asset_edit_modal.php index 76060328..063a6f78 100644 --- a/client_asset_edit_modal.php +++ b/client_asset_edit_modal.php @@ -29,6 +29,9 @@ +
@@ -386,6 +389,32 @@ + +
+ + + +
+ + +
    + + $log_created_at - $log_action: $log_description"; + } + ?> +
+ +
+ + + +
+ - \ No newline at end of file +