update balancing order article edit screen to support received units
This commit is contained in:
parent
03bb83ecc0
commit
f5bd7a43e4
2 changed files with 14 additions and 1 deletions
|
@ -308,6 +308,13 @@ i.package {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// allow to add a hint for the whole line
|
||||||
|
> .help-block {
|
||||||
|
clear: both;
|
||||||
|
margin-left: 180px;
|
||||||
|
position: relative;
|
||||||
|
top: -2.5ex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// allow to have indicator text instead of input with same markup
|
// allow to have indicator text instead of input with same markup
|
||||||
|
|
|
@ -3,7 +3,13 @@
|
||||||
= link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'}
|
= link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'}
|
||||||
%h3= t '.title'
|
%h3= t '.title'
|
||||||
.modal-body
|
.modal-body
|
||||||
= form.input :units_to_order
|
.fold-line
|
||||||
|
= form.input :units_to_order, label: 'Amount ordered', hint: '', input_html: {class: 'input-nano'}
|
||||||
|
-#= form.input :units_billed, label: 'invoice', input_html: {class: 'input-nano'}
|
||||||
|
= form.input :units_received, label: 'received', input_html: {class: 'input-nano'}
|
||||||
|
%p.help-block= t 'simple_form.hints.order_article.units_to_order'
|
||||||
|
|
||||||
|
.foo{style: 'clear:both'}
|
||||||
|
|
||||||
= simple_fields_for :article, @order_article.article do |f|
|
= simple_fields_for :article, @order_article.article do |f|
|
||||||
= f.input :name
|
= f.input :name
|
||||||
|
|
Loading…
Add table
Reference in a new issue