replace skeleton files by previous version; apply obvious fixes
This commit is contained in:
parent
1f5cbcd6d1
commit
2133be2436
35 changed files with 1086 additions and 39 deletions
23
app/views/suppliers/index.haml
Normal file
23
app/views/suppliers/index.haml
Normal file
|
@ -0,0 +1,23 @@
|
|||
%h1 Lieferanten
|
||||
%table
|
||||
%tr
|
||||
%th Name
|
||||
%th Adresse
|
||||
%th Telefon
|
||||
%th Liefertage
|
||||
%th Notiz
|
||||
%th Zuletzt aktualisiert
|
||||
%th
|
||||
- for supplier in @suppliers
|
||||
%tr
|
||||
%td= link_to supplier.name, supplier_path(supplier)
|
||||
%td= supplier.address
|
||||
%td= supplier.phone
|
||||
%td= supplier.delivery_days
|
||||
%td= supplier.note
|
||||
%td= I18n.l supplier.articles_updated_at rescue nil
|
||||
%td= link_to supplier.articles.size.to_s + ' Artikel', supplier_articles_url(supplier)
|
||||
|
||||
%br/
|
||||
= link_to 'Neuer Lieferant', new_supplier_url
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue