Changed order of jobs, removed table row id
This commit is contained in:
@@ -40,7 +40,8 @@ class Job < ApplicationRecord
|
||||
.or(Job.where(status: %i[paid canceled])
|
||||
.where('status_changed_at >= ?', Time.now.beginning_of_day))
|
||||
# .in_status_order
|
||||
.order(created_at: :asc)
|
||||
# .order(created_at: :asc)
|
||||
.order(:costumer_firstname, :costumer_lastname)
|
||||
end
|
||||
|
||||
def fullname
|
||||
|
||||
Reference in New Issue
Block a user