2013-02-13 01:32:48 +01:00
|
|
|
- title t('.title')
|
2012-10-15 21:19:17 +02:00
|
|
|
%table
|
|
|
|
%tr
|
|
|
|
%th Type
|
|
|
|
%th Name
|
|
|
|
%th Description
|
|
|
|
%th Account Balance
|
|
|
|
%th Account Updated
|
|
|
|
%th Created On
|
|
|
|
%th Role Admin
|
|
|
|
%th Role Suppliers
|
|
|
|
%th Role Article Meta
|
|
|
|
%th Role Finance
|
2016-02-17 21:07:35 +01:00
|
|
|
%th Role Invoices
|
2012-10-15 21:19:17 +02:00
|
|
|
%th Role Orders
|
|
|
|
%th Deleted At
|
|
|
|
%th Contact Person
|
|
|
|
%th Contact Phone
|
|
|
|
%th Contact Address
|
|
|
|
- for workgroup in @workgroups
|
|
|
|
%tr
|
|
|
|
%td= h workgroup.type
|
|
|
|
%td= h workgroup.name
|
|
|
|
%td= h workgroup.description
|
|
|
|
%td= h workgroup.account_balance
|
|
|
|
%td= h workgroup.account_updated
|
|
|
|
%td= h workgroup.created_on
|
|
|
|
%td= h workgroup.role_admin
|
|
|
|
%td= h workgroup.role_suppliers
|
|
|
|
%td= h workgroup.role_article_meta
|
|
|
|
%td= h workgroup.role_finance
|
2016-02-17 21:07:35 +01:00
|
|
|
%td= h workgroup.role_invoices
|
2012-10-15 21:19:17 +02:00
|
|
|
%td= h workgroup.role_orders
|
|
|
|
%td= h workgroup.deleted_at
|
|
|
|
%td= h workgroup.contact_person
|
|
|
|
%td= h workgroup.contact_phone
|
|
|
|
%td= h workgroup.contact_address
|
2013-02-13 01:32:48 +01:00
|
|
|
%td= link_to t('ui.edit'), edit_workgroup_path(workgroup)
|