Started with operator index
This commit is contained in:
@@ -3,7 +3,9 @@ class Operator::JobsController < ApplicationController
|
||||
|
||||
# GET /jobs or /jobs.json
|
||||
def index
|
||||
@jobs = Job.currently_working_on
|
||||
@openjobs = Job.open.order(:created_at)
|
||||
@printingjobs = Job.printing.order(:status_changed_at)
|
||||
@pickupjobs = Job.pickup.order(:status_changed_at)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user