hide row when information not present
This commit is contained in:
parent
6410396489
commit
935fdedd66
1 changed files with 5 additions and 4 deletions
|
@ -38,9 +38,10 @@
|
||||||
%dd= @order.supplier.min_order_quantity
|
%dd= @order.supplier.min_order_quantity
|
||||||
%dt= t '.sum_amount'
|
%dt= t '.sum_amount'
|
||||||
%dd= number_to_currency @order.sum
|
%dd= number_to_currency @order.sum
|
||||||
|
- unless @group_order.new_record?
|
||||||
%dt= heading_helper GroupOrder, :updated_by
|
%dt= heading_helper GroupOrder, :updated_by
|
||||||
%dd
|
%dd
|
||||||
= show_user(@group_order.updated_by) if @group_order.updated_by
|
= show_user(@group_order.updated_by)
|
||||||
(#{format_time(@group_order.updated_on)})
|
(#{format_time(@group_order.updated_on)})
|
||||||
%dt= heading_helper Ordergroup, :available_funds
|
%dt= heading_helper Ordergroup, :available_funds
|
||||||
%dd= number_to_currency(@ordering_data[:available_funds])
|
%dd= number_to_currency(@ordering_data[:available_funds])
|
||||||
|
|
Loading…
Reference in a new issue