|
|
|
@ -25,10 +25,6 @@ class Activity extends Model
|
|
|
|
|
'planned_start', 'planned_end', 'satuan_id', |
|
|
|
|
'created_at', 'created_by', 'updated_at', 'updated_by' |
|
|
|
|
]; |
|
|
|
|
// this piece of shit prepend column on create(), causing bugs |
|
|
|
|
//protected $attributes = [ |
|
|
|
|
// 'jobs_done', 'assign_hr', 'assign_material', 'assign_tools' |
|
|
|
|
//]; |
|
|
|
|
|
|
|
|
|
protected $appends = [ |
|
|
|
|
'jobs_done', 'assign_hr', 'assign_material', 'assign_tools' |
|
|
|
|