Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticspoon committed Sep 7, 2024
1 parent 9b99e48 commit e9ae876
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/case_court_order.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class CaseCourtOrder < ApplicationRecord
IMPLEMENTATION_STATUSES = {unimplemented: 1, partially_implemented: 2, implemented: 3}
STANDARD_COURT_ORDERS = [
"Birth certificate for the Respondent’s",
"Domestic Violence Education/Group",
Expand Down Expand Up @@ -30,7 +31,7 @@ class CaseCourtOrder < ApplicationRecord

validates :text, presence: true

enum :implementation_status, {unimplemented: 1, partially_implemented: 2, implemented: 3}
enum :implementation_status, IMPLEMENTATION_STATUSES

def self.court_order_options
STANDARD_COURT_ORDERS.map { |o| [o, o] }
Expand Down

0 comments on commit e9ae876

Please sign in to comment.