diff --git a/app/views/finance/balancing/new.js.haml b/app/views/finance/balancing/new.js.haml index 224e225f..90f4b308 100644 --- a/app/views/finance/balancing/new.js.haml +++ b/app/views/finance/balancing/new.js.haml @@ -1,6 +1,2 @@ $('#results').html('#{j(render(balancing_view_partial, order: @order))}'); -$('*[name="group_order_article[result]"]').each((_, field) => $(field).unitConversionField({ - units: unitsData, - popoverTemplate$: $('#unit_conversion_popover_content_template'), - useTargetUnitForStep: false -})); +$('*[name="group_order_article[result]"]').each((_, field) => $(field).unitConversionField({units: unitsData, popoverTemplate$: $('#unit_conversion_popover_content_template'), useTargetUnitForStep: false}));