Skip to content

Commit

Permalink
close #2092 fix undefined method money for string (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
panhachom authored Nov 28, 2024
1 parent 57d1bee commit 03578be
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

<!-- replace 'erb[loud]:contains("f.text_field :amount")' -->
<%= f.text_field :amount, value: @order.display_outstanding_balance.try(:to_f), class: 'form-control' %>

0 comments on commit 03578be

Please sign in to comment.