<?php

use Carbon\Carbon;
use Twig\Environment;

$path = '../../../';
require_once $path.'core/includes/header.inc.php';

$page_meta['title'] = 'Basket Builder';

require_once $path.'core/admin/templates/adminheader.html.php';

/** @var Environment $twig */
$twig->display('admin/basketBuilder/index.twig', [
    'mode' => 'index',
    'startDate' => Carbon::now()->format('d/m/Y'),
    'endDate' => Carbon::now()->subDays(3)->format('d/m/Y'),
]);

require_once $path.'core/admin/templates/adminfooter.html.php';
