mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
auto calculating tracked_time and estimated_time both for master and sub task
This commit is contained in:
1 parent
ef2ab75ce4
commit
ae900e24c0
7 files changed
+104
-34
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user