ui design update
This commit is contained in:
parent
dd138da1a6
commit
a439f26b67
4 changed files with 22 additions and 11 deletions
|
|
@ -8,21 +8,19 @@
|
|||
%td= order_article.article.order_number
|
||||
%td.name{title: order_title.join("\n")}= order_article.article.name
|
||||
%td.unit= order_article.article.unit
|
||||
%td.article_price= number_to_currency order_article.article.price
|
||||
%td #{order_article.quantity} + #{order_article.tolerance}
|
||||
%td
|
||||
= order_article.units_to_order
|
||||
%i.package pkg
|
||||
%span.article_unit_quantity (× #{order_article.article.unit_quantity})
|
||||
%td.article_price= number_to_currency order_article.article.price
|
||||
= pkg_helper order_article.article
|
||||
-#%td # TODO implement invoice screen
|
||||
- unless order_article.units_billed.nil?
|
||||
= order_article.units_billed
|
||||
%i.package pkg
|
||||
= pkg_helper order_article.article
|
||||
%td
|
||||
= form.text_field :units_received, class: 'input-nano package', data: {'units-expected' => units_expected}
|
||||
%span.article_price_unit_quantity (× #{order_article.article_price.unit_quantity})
|
||||
= pkg_helper order_article.article_price, false
|
||||
/ TODO add almost invisible text_field for entering single units
|
||||
%td.article_price_price= number_to_currency order_article.article_price.price
|
||||
%td.units_delta
|
||||
%td
|
||||
= link_to t('ui.edit'), edit_order_order_article_path(order_article.order, order_article), remote: true, class: 'btn btn-mini'
|
||||
|
|
|
|||
|
|
@ -65,12 +65,11 @@
|
|||
%th.sort{:data => {:sort => 'string'}}= heading_helper Article, :order_number, short: true
|
||||
%th.default-sort.sort{:data => {:sort => 'string'}}= heading_helper Article, :name
|
||||
%th= heading_helper Article, :unit
|
||||
%th= heading_helper Article, :price
|
||||
%th Members
|
||||
%th Ordered
|
||||
%th= heading_helper Article, :price
|
||||
-#%th Invoice # TODO implement invoice screen
|
||||
%th Received
|
||||
%th= heading_helper ArticlePrice, :price
|
||||
%th
|
||||
%th= t 'ui.actions'
|
||||
%tfoot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue