fix financial and certificates
This commit is contained in:
@@ -22,6 +22,11 @@ class Homework extends BaseModel
|
||||
'updated_by',
|
||||
'homework_index',
|
||||
'score',
|
||||
'max_points',
|
||||
'status',
|
||||
'excused_reason',
|
||||
'locked_at',
|
||||
'locked_by',
|
||||
'comment',
|
||||
'semester',
|
||||
'school_year',
|
||||
@@ -38,6 +43,9 @@ class Homework extends BaseModel
|
||||
|
||||
// keep numeric; change to 'integer' if your scores are whole numbers
|
||||
'score' => 'decimal:2',
|
||||
'max_points' => 'decimal:2',
|
||||
'locked_by' => 'integer',
|
||||
'locked_at' => 'datetime',
|
||||
|
||||
'created_at' => 'datetime',
|
||||
'updated_at' => 'datetime',
|
||||
|
||||
Reference in New Issue
Block a user