i18n cleanup (affects foodcoops#137)
This commit is contained in:
parent
b53cb36714
commit
d448707b1a
16 changed files with 64 additions and 124 deletions
|
|
@ -87,11 +87,11 @@
|
|||
%table#stock_articles_for_adding.table.table-hover.stupidtable
|
||||
%thead
|
||||
%tr
|
||||
%th.default-sort{:data => {:sort => 'string'}}= t '.article'
|
||||
%th= t '.price'
|
||||
%th= t '.unit'
|
||||
%th= t '.category'
|
||||
%th= t '.actions'
|
||||
%th.default-sort{:data => {:sort => 'string'}}= Article.model_name.human
|
||||
%th= heading_helper StockArticle, :price
|
||||
%th= heading_helper StockArticle, :unit
|
||||
%th= heading_helper StockArticle, :article_category
|
||||
%th= t 'ui.actions'
|
||||
%tfoot
|
||||
%tr
|
||||
%th{:colspan => 5}
|
||||
|
|
@ -108,10 +108,10 @@
|
|||
%thead
|
||||
%tr
|
||||
%th.default-sort{:data => {:sort => 'string'}}= t '.article'
|
||||
%th= t '.price'
|
||||
%th= t '.unit'
|
||||
%th= t '.quantity'
|
||||
%th= t '.actions'
|
||||
%th= heading_helper StockArticle, :price
|
||||
%th= heading_helper StockArticle, :unit
|
||||
%th= heading_helper StockChange, :quantity
|
||||
%th= t 'ui.actions'
|
||||
%tbody
|
||||
= f.simple_fields_for :stock_changes do |stock_change_form|
|
||||
= render :partial => 'stock_change_fields', :locals => {:f => stock_change_form}
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@
|
|||
%table.table.table-striped(style="width:500px")
|
||||
%thead
|
||||
%tr
|
||||
%th= t '.article'
|
||||
%th= t '.unit'
|
||||
%th.numeric= t '.amount'
|
||||
%th.numeric= t '.price'
|
||||
%th= Article.model_name.human
|
||||
%th= heading_helper StockArticle, :unit
|
||||
%th.numeric= heading_helper StockChange, :quantity
|
||||
%th.numeric= heading_helper Article, :price
|
||||
%th.numeric= t '.sum'
|
||||
%tbody
|
||||
- total_net, total_gross = 0,0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue