Skip to content

Commit

Permalink
removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
agravell047 committed May 2, 2024
1 parent 11aa514 commit f9207d7
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ def tracking_list
tracking_list = object&.tracking_list
tracking_list&.dig(0, 1) || []
end

def sorted_dispensed_date
zero_date = Date.new(0, 1, 1)
if object&.sorted_dispensed_date.present? && object&.sorted_dispensed_date == zero_date
nil
else
object&.sorted_dispensed_date
end
end
end
end
end

0 comments on commit f9207d7

Please sign in to comment.