mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
note, will come back to this once question is answered
This commit is contained in:
parent
a0bab70def
commit
03c90d7b60
|
@ -279,8 +279,8 @@
|
|||
element_name = '';
|
||||
}
|
||||
|
||||
return function (value,row) {
|
||||
|
||||
return function (value,row) {
|
||||
var actions = '<nobr>';
|
||||
|
||||
// Add some overrides for any funny urls we have
|
||||
|
@ -442,6 +442,7 @@
|
|||
|
||||
function genericCheckinCheckoutFormatter(destination) {
|
||||
return function (value,row) {
|
||||
// some extra logic for kits needs to go here
|
||||
|
||||
// The user is allowed to check items out, AND the item is deployable
|
||||
if ((row.available_actions.checkout == true) && (row.user_can_checkout == true) && ((!row.asset_id) && (!row.assigned_to))) {
|
||||
|
|
Loading…
Reference in a new issue