admin_employees_index:
  path: /
  methods: [ GET ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::indexAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees

admin_employees_search:
  path: /
  methods: [ POST ]
  defaults:
    _controller: PrestaShopBundle\Controller\Admin\CommonController::searchGridAction
    gridDefinitionFactoryServiceId: prestashop.core.grid.definition.factory.employee
    redirectRoute: admin_employees_index
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:submitFilteremployee

admin_employees_save_options:
  path: /save-options
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::saveOptionsAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:submitOptionsemployee

admin_employees_toggle_status:
  path: /{employeeId}/toggle-status
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::toggleStatusAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:statusemployee
    _legacy_parameters:
      id_employee: employeeId

admin_employees_bulk_enable_status:
  path: /bulk-enable-status
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::bulkStatusEnableAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:submitBulkenableSelectionemployee

admin_employees_bulk_disable_status:
  path: /bulk-disable-status
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::bulkStatusDisableAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:submitBulkdisableSelectionemployee

admin_employees_delete:
  path: /{employeeId}/delete
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::deleteAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:deleteemployee
    _legacy_parameters:
      id_employee: employeeId

admin_employees_bulk_delete:
  path: /bulk-delete
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::bulkDeleteAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:submitBulkdeleteemployee

admin_employees_create:
  path: /new
  methods: [ GET, POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::createAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:addemployee

admin_employees_edit:
  path: /{employeeId}/edit
  methods: [ GET, POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::editAction'
    _legacy_controller: AdminEmployees
    _legacy_link: AdminEmployees:updateemployee
    _legacy_parameters:
      id_employee: employeeId
  requirements:
    employeeId: \d+

admin_employees_toggle_navigation:
  path: /toggle-navigation
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::toggleNavigationMenuAction'

admin_employees_change_form_language:
  path: /change-form-language
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::changeFormLanguageAction'

admin_employees_get_tabs:
  path: /tabs
  methods: [ GET ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::getAccessibleTabsAction'
    _legacy_controller: AdminEmployees
