Fix and implement supplier counters
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user