<?php /** @noinspection PhpUnhandledExceptionInspection */

use common\modules\event\models\copy\CopyWeekSearch;
use common\modules\event\widgets\timetable\TimeTableMonthView;

/* @var $this yii\web\View */
/* @var $tableHeaders string */
/* @var $model CopyWeekSearch */

?>
<h1>Hét másolása</h1>
<?php

echo $this->render('_copy_week_search', ['model' => $model]);
echo $this->render('_copy_week_form', ['model' => $model]);
?>


<h2>Forrás hét</h2>
<?= TimeTableMonthView::widget(['timeTable' => $model->sourceTimeTable]) ?>
<h2>Cél hét</h2>
<?= TimeTableMonthView::widget(['timeTable' => $model->targetTimeTable]) ?>
