<?php
namespace WpBookingProAdminWooPanel\app\controllers;
use WpBookingPro\Factory;
use WpBookingPro\Mvc\Controller\Controller;
use WpBookingPro\Mvc\Controller\ControllerFormWooPanel as ControllerFormWooPanelAlias;
use WpBookingPro\Mvc\Model\Model;

defined('_WPBOOKINGPRO_EXEC') or die;
class CalendarController extends ControllerFormWooPanelAlias
{
    public $view="calendar";
    public function get_order_by_employee_id(){
        $input=Factory::getInput();
        $employee_id = $input->getInt('id',0);
        if(isset($employee_id)) {
            $modelCalendar = Model::getInstance('calendar');
            $order = $modelCalendar->getListOrderByEmployeeId($employee_id);
            return $order;
        }

    }

}
