foodsoft/app/views/ordergroups/index.html.haml

46 lines
1.3 KiB
Text

- title "Ordergroups"
%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
%th Role Orders
%th Weekly Task
%th Weekday
%th Task Name
%th Task Description
%th Task Required Users
%th Deleted At
%th Contact Person
%th Contact Phone
%th Contact Address
- for ordergroup in @ordergroups
%tr
%td= h ordergroup.type
%td= h ordergroup.name
%td= h ordergroup.description
%td= h ordergroup.account_balance
%td= h ordergroup.account_updated
%td= h ordergroup.created_on
%td= h ordergroup.role_admin
%td= h ordergroup.role_suppliers
%td= h ordergroup.role_article_meta
%td= h ordergroup.role_finance
%td= h ordergroup.role_orders
%td= h ordergroup.weekly_task
%td= h ordergroup.weekday
%td= h ordergroup.task_name
%td= h ordergroup.task_description
%td= h ordergroup.task_required_users
%td= h ordergroup.deleted_at
%td= h ordergroup.contact_person
%td= h ordergroup.contact_phone
%td= h ordergroup.contact_address
%td= link_to "Edit", edit_ordergroup_path(ordergroup)