auto calculating tracked_time and estimated_time both for master and sub task

This commit is contained in:
StudioTem committed 2023-02-14 11:17:40 +01:00
1 parent ef2ab75ce4
commit ae900e24c0
7 files changed
+104 -34

No files matched your search

+2
View File
@@ -12,6 +12,8 @@ class Timesheet extends Model
public $timestamps = true;
public $guarded = ['id'];
protected $touches = ['subtask'];
public function subtask()
{
return $this->belongsTo(SubTask::class, 'sub_task_id');