wip but maye finish plugin
This commit is contained in:
parent
4523d0b26e
commit
92b72fe786
18 changed files with 111 additions and 296 deletions
|
|
@ -35,9 +35,8 @@
|
|||
%td= "#{order_article.quantity} + #{order_article.tolerance}"
|
||||
- else
|
||||
%td= "#{order_article.quantity}"
|
||||
%td{title: units_history_line(order_article, plain: true)}
|
||||
= units
|
||||
= pkg_helper order_article.price
|
||||
= render "units_history", order_article: order_article, units: units
|
||||
|
||||
%p
|
||||
= t '.prices_sum'
|
||||
= "#{number_to_currency(total_net)} / #{number_to_currency(total_gross)}"
|
||||
|
|
|
|||
3
app/views/orders/_units_history.haml
Normal file
3
app/views/orders/_units_history.haml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
%td{title: units_history_line(order_article, plain: true)}
|
||||
= units
|
||||
= pkg_helper order_article.price
|
||||
Loading…
Add table
Add a link
Reference in a new issue