mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Conflicts: app/assets/javascripts/admin/enterprise_fees.js app/assets/javascripts/admin/enterprises/controllers/side_menu_controller.js.coffee app/views/admin/shared/_columns_dropdown.html.haml app/views/admin/variant_overrides/_header.html.haml app/views/admin/variant_overrides/_products.html.haml spec/features/admin/bulk_order_management_spec.rb spec/features/admin/variant_overrides_spec.rb
20 lines
1010 B
Plaintext
20 lines
1010 B
Plaintext
%tr
|
|
%td
|
|
%select.select2.fullwidth{id: "enterprise_relationship_parent_id", "ng-model" => "parent_id", "ng-options" => "e.id as e.name for e in Enterprises.my_enterprises"}
|
|
|
|
%td
|
|
= t 'admin_entreprise_relationships_permits'
|
|
%td
|
|
%select.select2.fullwidth{id: "enterprise_relationship_child_id", "ng-model" => "child_id", "ng-options" => "e.id as e.name for e in Enterprises.all_enterprises"}
|
|
%td
|
|
%label
|
|
%input{type: "checkbox", ng: {checked: "allPermissionsChecked()", click: "checkAllPermissions()"}}
|
|
= t 'admin_entreprise_relationships_everything'
|
|
%div{"ng-repeat" => "permission in EnterpriseRelationships.all_permissions"}
|
|
%label
|
|
%input{type: "checkbox", "ng-model" => "permissions[permission]"}
|
|
to {{ EnterpriseRelationships.permission_presentation(permission) }}
|
|
%td.actions
|
|
%input{type: "button", value: t(:admin_entreprise_relationships_button_create), "ng-click" => "create()"}
|
|
.errors {{ EnterpriseRelationships.create_errors }}
|