mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Changed confirmation message
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5344ef4a1a
commit
1618c9ae8e
|
@ -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;
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue