Skip to content

Commit

Permalink
Update _form.html.haml: display fc_deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
mjavurek authored Dec 16, 2024
1 parent 5bfeff8 commit c6dad40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/group_orders/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
%td= h order_article.article.origin
%td= number_to_currency(@ordering_data[:order_articles][order_article.id][:price])
- if @order.has_deposit?
%td= number_to_currency(order_article.article.deposit * (1+order_article.article.tax/100 )) if order_article.article.deposit>0
- deposit = order_article.article.fc_deposit
%td= number_to_currency(deposit) if deposit>0
%td= order_article.article.unit
- if @order.has_tolerance? || @order.stockit?
%td
Expand Down

0 comments on commit c6dad40

Please sign in to comment.