marking chapters as complete and toggling value from course list and chapter page.
This commit is contained in:
@@ -17,6 +17,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string $duration
|
||||
* @property integer $course_id
|
||||
* @property bool $sync_offline
|
||||
* @property bool $is_complete
|
||||
* @property string $video_path
|
||||
* @property string $directory_path
|
||||
* @property Course $course
|
||||
@@ -34,6 +35,7 @@ class Chapter extends Model
|
||||
'duration',
|
||||
'course_id',
|
||||
'sync_offline',
|
||||
'is_complete',
|
||||
];
|
||||
|
||||
protected $appends = ['video_path', 'directory_path', 'video_url'];
|
||||
|
||||
Reference in New Issue
Block a user