Fixed floating error in group_order new.
This commit is contained in:
parent
d954279d6a
commit
b9138efa79
1 changed files with 25 additions and 24 deletions
|
@ -8,32 +8,33 @@
|
||||||
setStockit(#{@order.stockit?});
|
setStockit(#{@order.stockit?});
|
||||||
});
|
});
|
||||||
|
|
||||||
- title "Bestellen"
|
- title "Bestellen", false
|
||||||
|
|
||||||
.well.pull-left
|
.row-fluid
|
||||||
%h2= @order.name
|
.well.pull-left
|
||||||
%dl.dl-horizontal
|
%h2= @order.name
|
||||||
- unless @order.note.blank?
|
%dl.dl-horizontal
|
||||||
%dt Notiz
|
- unless @order.note.blank?
|
||||||
%dd= @order.note
|
%dt Notiz
|
||||||
%dt Erstellt von
|
%dd= @order.note
|
||||||
%dd= link_to_user_message_if_valid(@order.created_by)
|
%dt Erstellt von
|
||||||
%dt Ende
|
%dd= link_to_user_message_if_valid(@order.created_by)
|
||||||
%dd= format_time(@order.ends)
|
%dt Ende
|
||||||
- unless @order.stockit? or @order.supplier.min_order_quantity.blank?
|
%dd= format_time(@order.ends)
|
||||||
%dt Mindestbestellmenge
|
- unless @order.stockit? or @order.supplier.min_order_quantity.blank?
|
||||||
%dd= @order.supplier.min_order_quantity
|
%dt Mindestbestellmenge
|
||||||
%dt Gesamtbestellmenge bisher:
|
%dd= @order.supplier.min_order_quantity
|
||||||
%dd= number_to_currency @order.sum
|
%dt Gesamtbestellmenge bisher:
|
||||||
%dt Zuletzt bestellt
|
%dd= number_to_currency @order.sum
|
||||||
%dd
|
%dt Zuletzt bestellt
|
||||||
= @group_order.updated_by.nick if @group_order.updated_by
|
%dd
|
||||||
(#{format_time(@group_order.updated_on)})
|
= @group_order.updated_by.nick if @group_order.updated_by
|
||||||
%dt Guthaben
|
(#{format_time(@group_order.updated_on)})
|
||||||
%dd= number_to_currency(@ordering_data[:available_funds])
|
%dt Guthaben
|
||||||
|
%dd= number_to_currency(@ordering_data[:available_funds])
|
||||||
|
|
||||||
.well.pull-right
|
.well.pull-right
|
||||||
= render 'switch_order', current_order: @order
|
= render 'switch_order', current_order: @order
|
||||||
|
|
||||||
= form_for @group_order do |f|
|
= form_for @group_order do |f|
|
||||||
= f.hidden_field :lock_version
|
= f.hidden_field :lock_version
|
||||||
|
|
Loading…
Reference in a new issue