Fix and implement supplier counters

This commit is contained in:
2014-03-07 18:29:49 +01:00
parent 95e268adea
commit 99473758e6
25 changed files with 304 additions and 65 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class UserController < ApplicationController
end
format.json do
render json: js_alert(t('messages.the_list_has_been_closed')) and return unless list.present?
render json: list.with_orders_and_join_requests_as_json.merge(supplier_name: list.supplier.name)
render json: list.with_orders_and_join_requests_and_supplier_info_as_json
end
end
end