Removed acts_as_paranoid. Implemented own version.
This commit is contained in:
parent
8bafb3f4b2
commit
07581b7ecf
25 changed files with 93 additions and 57 deletions
|
|
@ -18,8 +18,8 @@
|
|||
%td= link_to h(supplier.name) , supplier
|
||||
%td= supplier.phone
|
||||
%td= supplier.customer_number
|
||||
%td= link_to "Artikel (#{supplier.articles.count})", supplier_articles_path(supplier)
|
||||
%td= link_to "im Lager (#{supplier.stock_articles.count})", stock_articles_path
|
||||
%td= link_to "Artikel (#{supplier.articles.undeleted.count})", supplier_articles_path(supplier)
|
||||
%td= link_to "im Lager (#{supplier.stock_articles.undeleted.count})", stock_articles_path
|
||||
%td= link_to "Lieferungen (#{supplier.deliveries.count})", supplier_deliveries_path(supplier)
|
||||
%td
|
||||
= link_to "Bearbeiten", edit_supplier_path(supplier), class: 'btn btn-mini'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue