You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
763 B

<?php
namespace App\Controllers;
use App\Models\Products;
class ReservationController extends AdminController
{
public function __construct()
{
parent::__construct();
}
private $pageTitle = "Reservation";
public function index()
{
$this->verifyRole('viewOrder');
$Products = new Products();
$userIfo = session()->get('user');
$store_id = $userIfo['store_id'];
$dataProducts = $Products->getProductData2($store_id);
$data['page_title'] = $this->pageTitle;
// die(var_dump($dataProducts));
$data['product'] = $dataProducts;
return $this->render_template('reservation/index', $data);
}
public function addReservation()
{
}
}