Skip to content

Commit

Permalink
typo constant
Browse files Browse the repository at this point in the history
  • Loading branch information
armandofox committed Jun 13, 2022
1 parent bd426fc commit fc50b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def check_purchaser_info

scope :completed, ->() { where('sold_on IS NOT NULL') }
scope :abandoned_since, ->(since) { where('sold_on IS NULL').where('updated_at < ?', since) }
scope :pending_but_paid, ->() { where(:authorization => PROCESSING) }
scope :pending_but_paid, ->() { where(:authorization => PENDING) }

scope :for_customer_reporting, ->() {
includes(:vouchers => [:customer, :showdate,:vouchertype]).
Expand Down

0 comments on commit fc50b5f

Please sign in to comment.