backend/group-training : improve delete© week
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
namespace common\modules\event\widgets\day;
|
||||
use common\modules\event\models\copy\CopyWeekContext;
|
||||
use common\modules\event\models\timetable\TimeTableMonthDay;
|
||||
use yii\bootstrap\Widget;
|
||||
|
||||
@@ -11,13 +12,15 @@ use yii\bootstrap\Widget;
|
||||
* @package common\modules\event\widgets
|
||||
*
|
||||
* @property TimeTableMonthDay $day
|
||||
* @property CopyWeekContext $copyWeekContext
|
||||
*/
|
||||
class TimeTableMonthDayView extends Widget
|
||||
{
|
||||
public $day;
|
||||
public $copyWeekContext;
|
||||
|
||||
public function run(){
|
||||
return $this->render('_day', [ 'day' => $this->day]);
|
||||
return $this->render('_day', [ 'day' => $this->day,'copyWeekContext' => $this->copyWeekContext]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user