1315103a7d
This new role allows users to create invoices without role_finance. Users can then only modify their own created invoices until somebody with the role_finance sets the paid_on value.
38 lines
1 KiB
Text
38 lines
1 KiB
Text
- title t('.title')
|
|
%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 Invoices
|
|
%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
|
|
%td= h workgroup.role_invoices
|
|
%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
|
|
%td= link_to t('ui.edit'), edit_workgroup_path(workgroup)
|