From 5ed2659bc611f6d7392f017b72fc2ee9fda5c690 Mon Sep 17 00:00:00 2001 From: Julius Date: Tue, 9 Jul 2013 17:08:59 +0200 Subject: [PATCH] Fix StockArticle update in Delivery form --- app/views/deliveries/update_stock_article.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/deliveries/update_stock_article.js.erb b/app/views/deliveries/update_stock_article.js.erb index acb0363e..ef46636d 100644 --- a/app/views/deliveries/update_stock_article.js.erb +++ b/app/views/deliveries/update_stock_article.js.erb @@ -23,7 +23,7 @@ $('div.container-fluid').prepend( var stock_change_entry = $('#stock_change_stock_article_<%= @stock_article.id %>'); $('.stock_article_name', stock_change_entry).text('<%= j(@stock_article.name) %>'); - $('.unit', stock_change_entry).text('<%= j(number_to_currency(@stock_article.unit)) %>'); + $('.unit', stock_change_entry).text('<%= j(@stock_article.unit) %>'); stock_change_entry.addClass('success');