| xqd
@@ -2,7 +2,9 @@
|
|
|
|
|
|
namespace App\Admin\Controllers\ServiceManagement;
|
|
|
|
|
|
+use App\Admin\Actions\backstage\Pass;
|
|
|
use App\Admin\Actions\Service\ApplysAction;
|
|
|
+use App\Admin\Actions\Service\PassAction;
|
|
|
use App\Admin\Actions\Service\RefuseAction;
|
|
|
use App\Admin\Actions\Service\RevokeAction;
|
|
|
use App\Models\Docter;
|
| xqd
@@ -88,6 +90,10 @@ class ServiceController extends AdminController
|
|
|
{
|
|
|
$actions->add(new RevokeAction());
|
|
|
}
|
|
|
+ if ($actions->row->status == 3)
|
|
|
+ {
|
|
|
+ $actions->add(new PassAction());
|
|
|
+ }
|
|
|
});
|
|
|
return $grid;
|
|
|
}
|