Implemented status changes operator index
This commit is contained in:
@@ -79,7 +79,7 @@ class Job < ApplicationRecord
|
||||
end
|
||||
|
||||
def able_to_cancel?
|
||||
open?
|
||||
open? || printing?
|
||||
# TODO: different check for operator and admin
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user