mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
H&R + exam user support bulk action
This commit is contained in:
@@ -12,7 +12,7 @@ class ExamUser extends NexusModel
|
||||
const STATUS_FINISHED = 1;
|
||||
const STATUS_AVOIDED = -1;
|
||||
|
||||
public static $status = [
|
||||
public static array $status = [
|
||||
self::STATUS_NORMAL => ['text' => 'Normal'],
|
||||
self::STATUS_FINISHED => ['text' => 'Finished'],
|
||||
self::STATUS_AVOIDED => ['text' => 'Avoided'],
|
||||
@@ -21,7 +21,7 @@ class ExamUser extends NexusModel
|
||||
const IS_DONE_YES = 1;
|
||||
const IS_DONE_NO = 0;
|
||||
|
||||
public static $isDoneInfo = [
|
||||
public static array $isDoneInfo = [
|
||||
self::IS_DONE_YES => ['text' => 'Yes'],
|
||||
self::IS_DONE_NO => ['text' => 'No'],
|
||||
];
|
||||
|
||||
@@ -11,6 +11,8 @@ class NexusModel extends Model
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $perPage = 50;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param \DateTimeInterface $date
|
||||
|
||||
@@ -17,6 +17,8 @@ class User extends Authenticatable
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $perPage = 50;
|
||||
|
||||
const STATUS_CONFIRMED = 'confirmed';
|
||||
const STATUS_PENDING = 'pending';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user