<?php


use Illuminate\Support\Facades\Route;
use Mehrab\OrderService\Http\Controllers\AllOrderServiceManagerController;
use Mehrab\OrderService\Http\Controllers\OperatorOrderServiceController;
use Mehrab\OrderService\Http\Controllers\OrderServiceController;
use Mehrab\OrderService\Http\Controllers\OrderServiceFrontController;


//backend service orders routes
Route::group(
    get_information_for_admin_panel_route_group()
    , function () {

    Route::post('/order_service/failed_order_by_all_order_service_manager/{order_service}', [AllOrderServiceManagerController::class, 'failed_order_by_all_order_service_manager'])->name('failed_order_by_all_order_service_manager');
    Route::get('/order_service/change_team_leader_by_all_order_manager/{order_service}', [AllOrderServiceManagerController::class, 'change_team_leader_by_all_order_service_manager'])->name('change_team_leader_by_all_order_service_manager.index');
    Route::post('/order_service/change_team_leader_by_all_order_manager/{order_service}/{team_leader}', [AllOrderServiceManagerController::class, 'change_team_leader_by_all_order_service_manager_store'])->name('change_team_leader_by_all_order_manager.store');

});



