|
@@ -4,6 +4,7 @@ namespace App\Admin\Controllers\ServiceManagement;
|
|
|
|
|
|
use App\Admin\Actions\Service\ApplysAction;
|
|
use App\Admin\Actions\Service\ApplysAction;
|
|
use App\Admin\Actions\Service\RefuseAction;
|
|
use App\Admin\Actions\Service\RefuseAction;
|
|
|
|
+use App\Admin\Actions\Service\RevokeAction;
|
|
use App\Models\Docter;
|
|
use App\Models\Docter;
|
|
use App\Models\DocterLabel;
|
|
use App\Models\DocterLabel;
|
|
use App\Models\Order;
|
|
use App\Models\Order;
|
|
@@ -82,6 +83,10 @@ class ServiceController extends AdminController
|
|
$actions->add(new ApplysAction());
|
|
$actions->add(new ApplysAction());
|
|
$actions->add(new RefuseAction());
|
|
$actions->add(new RefuseAction());
|
|
}
|
|
}
|
|
|
|
+ if ($actions->row->status == 2)
|
|
|
|
+ {
|
|
|
|
+ $actions->add(new RevokeAction());
|
|
|
|
+ }
|
|
});
|
|
});
|
|
return $grid;
|
|
return $grid;
|
|
}
|
|
}
|