Changed confirmation message

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-02-26 10:53:41 +00:00
parent 5344ef4a1a
commit 1618c9ae8e
2 changed files with 2 additions and 2 deletions

View file

@ -342,7 +342,7 @@ class AssetsController extends Controller
// This is an archived or undeployable - we should check the asset back in. // This is an archived or undeployable - we should check the asset back in.
// Pending is allowed here // Pending is allowed here
if (($status) && (($status->getStatuslabelType() != 'pending') || ($status->getStatuslabelType() != 'deployable')) && ($target = $asset->assignedTo)) { if (($status) && (($status->getStatuslabelType() != 'pending') && ($status->getStatuslabelType() != 'deployable')) && ($target = $asset->assignedTo)) {
$originalValues = $asset->getRawOriginal(); $originalValues = $asset->getRawOriginal();
$asset->assigned_to = null; $asset->assigned_to = null;
$asset->assigned_type = null; $asset->assigned_type = null;

View file

@ -56,7 +56,7 @@ return [
'asset_location_update_actual' => 'Update only actual location', 'asset_location_update_actual' => 'Update only actual location',
'asset_not_deployable' => 'That asset status is not deployable. This asset cannot be checked out.', 'asset_not_deployable' => 'That asset status is not deployable. This asset cannot be checked out.',
'asset_not_deployable_checkin' => 'That asset status is not deployable. Using this status label will checkin the asset.', 'asset_not_deployable_checkin' => 'That asset status is not deployable. Using this status label will checkin the asset.',
'asset_deployable' => 'That status is deployable. This asset can be checked out.', 'asset_deployable' => 'This asset can be checked out.',
'processing_spinner' => 'Processing... (This might take a bit of time on large files)', 'processing_spinner' => 'Processing... (This might take a bit of time on large files)',
'optional_infos' => 'Optional Information', 'optional_infos' => 'Optional Information',
'order_details' => 'Order Related Information', 'order_details' => 'Order Related Information',