<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Layouts/base.html.twig */
class __TwigTemplate_e18274c10e893f85d93e4b2351a0a77d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body_params' => [$this, 'block_body_params'],
'main' => [$this, 'block_main'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Layouts/base.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Layouts/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Layouts/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"en\">
\t<head><base href=\"../\"/>
\t\t<title>";
// line 4
$this->displayBlock('title', $context, $blocks);
echo " | POPINA ORDER</title>
\t\t<meta charset=\"utf-8\" />
\t\t<meta name=\"description\" content=\"POPINA ORDER\" />
\t\t<meta name=\"keywords\" content=\"POPINA ORDER, popina order, V2\" />
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
\t\t<meta property=\"og:locale\" content=\"en_US\" />
\t\t<meta property=\"og:type\" content=\"article\" />
\t\t<meta property=\"og:title\" content=\"POPINA ORDER, popina order, V2\" />
\t\t<meta property=\"og:url\" content=\"https://www.popinaorder.fr\" />
\t\t<meta property=\"og:site_name\" content=\"POPINA ORDER\" />
\t\t<link rel=\"canonical\" href=\"https://www.popinaorder.fr\" />
\t\t<link rel=\"shortcut icon\" href=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/media/logos/favicon.ico"), "html", null, true);
echo "\" />
\t\t<!--begin::Fonts(mandatory for all pages)-->
\t\t<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700\" />
\t\t<link href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/css/style.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
\t\t<!--end::Fonts-->
\t\t";
// line 20
$this->displayBlock('stylesheets', $context, $blocks);
// line 21
echo "\t\t<!--begin::Global Stylesheets Bundle(mandatory for all pages)-->
\t\t<link href=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("metronic/v8.1.5/plugins/global/plugins.bundle.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
\t\t<link href=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("metronic/v8.1.5/css/style.bundle.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
\t\t<!--end::Global Stylesheets Bundle-->
\t\t";
// line 26
if ((twig_in_filter($this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser(), [0 => "manager", 1 => "shop_owner"]) && (false == $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")))) {
// line 27
echo "\t\t\t<script id=\"ze-snippet\" src=\"https://static.zdassets.com/ekr/snippet.js?key=1b6086bc-27aa-467b-92da-38268b74a8fa\"></script>
\t\t";
}
// line 29
echo "\t</head>
\t<body ";
// line 30
$this->displayBlock('body_params', $context, $blocks);
echo ">
\t\t<!--begin::Theme mode setup on page load-->
\t\t";
// line 33
$context["orderTypeProspective"] = (((twig_constant_is_defined("APP\\Entity\\Order\\OrderInterface::TYPE_PROSPECTIVE") && !(null === twig_constant("APP\\Entity\\Order\\OrderInterface::TYPE_PROSPECTIVE")))) ? (twig_constant("APP\\Entity\\Order\\OrderInterface::TYPE_PROSPECTIVE")) : (null));
// line 34
echo "\t\t";
$context["timeSlotBlockingTypeProduct"] = (((twig_constant_is_defined("APP\\Entity\\Shop\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_PRODUCT") && !(null === twig_constant("APP\\Entity\\Shop\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_PRODUCT")))) ? (twig_constant("APP\\Entity\\Shop\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_PRODUCT")) : (null));
// line 35
echo "\t\t";
$context["timeSlotBlockingTypeOrder"] = (((twig_constant_is_defined("APP\\Entity\\Shop\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_ORDER") && !(null === twig_constant("APP\\Entity\\Shop\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_ORDER")))) ? (twig_constant("APP\\Entity\\Shop\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_ORDER")) : (null));
// line 36
echo "\t\t";
$context["defaultImageMaxSize"] = (((twig_constant_is_defined("APP\\Entity\\Franchise\\MediaInterface::DEFAULT_IMAGE_MAX_SIZE") && !(null === twig_constant("APP\\Entity\\Franchise\\MediaInterface::DEFAULT_IMAGE_MAX_SIZE")))) ? (twig_constant("APP\\Entity\\Franchise\\MediaInterface::DEFAULT_IMAGE_MAX_SIZE")) : (null));
// line 37
echo "\t\t";
$context["defaultVideoMaxSize"] = (((twig_constant_is_defined("APP\\Entity\\Franchise\\MediaInterface::DEFAULT_VIDEO_MAX_SIZE") && !(null === twig_constant("APP\\Entity\\Franchise\\MediaInterface::DEFAULT_VIDEO_MAX_SIZE")))) ? (twig_constant("APP\\Entity\\Franchise\\MediaInterface::DEFAULT_VIDEO_MAX_SIZE")) : (null));
// line 38
echo "\t\t";
$context["paymentMethodOnline"] = twig_constant((((true && !(null === "App\\Entity\\Shop\\PaymentMethodInterface::TYPE_ONLINE"))) ? ("App\\Entity\\Shop\\PaymentMethodInterface::TYPE_ONLINE") : (null)));
// line 39
echo "\t\t";
$context["paymentMethodOffline"] = twig_constant((((true && !(null === "App\\Entity\\Shop\\PaymentMethodInterface::TYPE_OFFLINE"))) ? ("App\\Entity\\Shop\\PaymentMethodInterface::TYPE_OFFLINE") : (null)));
// line 40
echo "\t\t";
$context["imageTypeFile"] = twig_constant((((true && !(null === "App\\Entity\\ImageInterface::IMAGE_TYPE_FILE"))) ? ("App\\Entity\\ImageInterface::IMAGE_TYPE_FILE") : (null)));
// line 41
echo "\t\t";
$context["imageTypeLink"] = twig_constant((((true && !(null === "App\\Entity\\ImageInterface::IMAGE_TYPE_LINK"))) ? ("App\\Entity\\ImageInterface::IMAGE_TYPE_LINK") : (null)));
// line 42
echo "
\t\t";
// line 43
$context["isManager"] = ("manager" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 44
echo "\t\t";
$context["isShopManager"] = ("shop_owner" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 45
echo "\t\t";
$context["isAdministrator"] = ("administrator" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 46
echo "\t\t";
$context["isSupport"] = ("support" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 47
echo "\t\t";
$context["isPreviousAdmin"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN");
// line 48
echo "
\t\t";
// line 49
$context["blankImageUrl"] = ((isset($context["foxorders_media_directory"]) || array_key_exists("foxorders_media_directory", $context) ? $context["foxorders_media_directory"] : (function () { throw new RuntimeError('Variable "foxorders_media_directory" does not exist.', 49, $this->source); })()) . "blank.png");
// line 50
echo "
\t\t<script>
\t\t\tvar blankImageUrl = \"";
// line 52
echo twig_escape_filter($this->env, ("/" . (isset($context["blankImageUrl"]) || array_key_exists("blankImageUrl", $context) ? $context["blankImageUrl"] : (function () { throw new RuntimeError('Variable "blankImageUrl" does not exist.', 52, $this->source); })())), "html", null, true);
echo "\";
\t\t\tvar defaultThemeMode = \"light\"
\t\t\tvar themeMode;
\t\t\tif ( document.documentElement ) {
\t\t\t\tif ( document.documentElement.hasAttribute(\"data-theme-mode\")) {
\t\t\t\t\tthemeMode = document.documentElement.getAttribute(\"data-theme-mode\");
\t\t\t\t} else {
\t\t\t\t\tif ( localStorage.getItem(\"data-theme\") !== null ) {
\t\t\t\t\t\tthemeMode = localStorage.getItem(\"data-theme\");
\t\t\t\t\t} else {
\t\t\t\t\t\tthemeMode = defaultThemeMode;
\t\t\t\t\t}
\t\t\t\t}
\t\t\t\tif (themeMode === \"system\") {
\t\t\t\t\tthemeMode = window.matchMedia(\"(prefers-color-scheme: dark)\").matches ? \"dark\" : \"light\";
\t\t\t\t}
\t\t\t\tdocument.documentElement.setAttribute(\"data-theme\", themeMode);
\t\t\t}
\t\t</script>
\t\t<!--end::Theme mode setup on page load-->
\t\t";
// line 73
$this->displayBlock('main', $context, $blocks);
// line 74
echo "
\t\t<!--begin::FOSJsRoutingBundle Javascript-->
\t\t<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\" integrity=\"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=\" crossorigin=\"anonymous\"> </script>
\t\t<script src=\"";
// line 77
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"";
// line 78
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
echo "\"></script>
\t\t<!--end::FOSJsRoutingBundle Javascript-->
\t\t<script>var hostUrl = \"assets/\";</script>
\t\t<!--begin::Global Javascript Bundle(mandatory for all pages)-->
\t\t<script src=\"";
// line 83
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("metronic/v8.1.5/plugins/global/plugins.bundle.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("metronic/v8.1.5/js/scripts.bundle.js"), "html", null, true);
echo "\"></script>
\t\t<!--end::Global Javascript Bundle-->
\t\t<script src=\"https://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>
\t\t<!--begin::Custom Javascript(used for this page only)-->
\t\t<script type=\"text/javascript\">
\t\t\t\tvar defaultImageMaxSize = '";
// line 90
echo twig_escape_filter($this->env, (isset($context["defaultImageMaxSize"]) || array_key_exists("defaultImageMaxSize", $context) ? $context["defaultImageMaxSize"] : (function () { throw new RuntimeError('Variable "defaultImageMaxSize" does not exist.', 90, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar defaultVideoMaxSize = '";
// line 91
echo twig_escape_filter($this->env, (isset($context["defaultVideoMaxSize"]) || array_key_exists("defaultVideoMaxSize", $context) ? $context["defaultVideoMaxSize"] : (function () { throw new RuntimeError('Variable "defaultVideoMaxSize" does not exist.', 91, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar _validationRules = {};
\t\t\t\tvar orderTypeProspective = '";
// line 93
echo twig_escape_filter($this->env, (isset($context["orderTypeProspective"]) || array_key_exists("orderTypeProspective", $context) ? $context["orderTypeProspective"] : (function () { throw new RuntimeError('Variable "orderTypeProspective" does not exist.', 93, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar timeSlotBlockingTypeProduct = '";
// line 94
echo twig_escape_filter($this->env, (isset($context["timeSlotBlockingTypeProduct"]) || array_key_exists("timeSlotBlockingTypeProduct", $context) ? $context["timeSlotBlockingTypeProduct"] : (function () { throw new RuntimeError('Variable "timeSlotBlockingTypeProduct" does not exist.', 94, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar timeSlotBlockingTypeOrder = '";
// line 95
echo twig_escape_filter($this->env, (isset($context["timeSlotBlockingTypeOrder"]) || array_key_exists("timeSlotBlockingTypeOrder", $context) ? $context["timeSlotBlockingTypeOrder"] : (function () { throw new RuntimeError('Variable "timeSlotBlockingTypeOrder" does not exist.', 95, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar imageTypeFile = '";
// line 96
echo twig_escape_filter($this->env, (isset($context["imageTypeFile"]) || array_key_exists("imageTypeFile", $context) ? $context["imageTypeFile"] : (function () { throw new RuntimeError('Variable "imageTypeFile" does not exist.', 96, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar imageTypeLink = '";
// line 97
echo twig_escape_filter($this->env, (isset($context["imageTypeLink"]) || array_key_exists("imageTypeLink", $context) ? $context["imageTypeLink"] : (function () { throw new RuntimeError('Variable "imageTypeLink" does not exist.', 97, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar baseTranslations = {
\t\t\t\t\t'image': {
\t\t\t\t\t\t'invalid': '";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.imageFile.invalid", ["%size%" => ((isset($context["defaultImageMaxSize"]) || array_key_exists("defaultImageMaxSize", $context) ? $context["defaultImageMaxSize"] : (function () { throw new RuntimeError('Variable "defaultImageMaxSize" does not exist.', 100, $this->source); })()) / 1000000)]), "html", null, true);
echo "',
\t\t\t\t\t},
\t\t\t\t\t'image_url': {
\t\t\t\t\t\t'invalid': '";
// line 103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.imageUrl.invalid"), "html", null, true);
echo "',
\t\t\t\t\t},
\t\t\t\t\t'video': {
\t\t\t\t\t\t'invalid': '";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.imageFile.invalid", ["%size%" => ((isset($context["defaultVideoMaxSize"]) || array_key_exists("defaultVideoMaxSize", $context) ? $context["defaultVideoMaxSize"] : (function () { throw new RuntimeError('Variable "defaultVideoMaxSize" does not exist.', 106, $this->source); })()) / 1000000)]), "html", null, true);
echo "',
\t\t\t\t\t},
\t\t\t\t};
\t\t\t\t// Modal translations
\t\t\t\tvar modalTranslations = {
\t\t\t\t\t'submit' : {
\t\t\t\t\t\t'message': '";
// line 112
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.submit.message"), "html", null, true);
echo "',
\t\t\t\t\t\t'ok': '";
// line 113
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.submit.ok"), "html", null, true);
echo "'
\t\t\t\t\t},
\t\t\t\t\t'delete' : {
\t\t\t\t\t\t'message': '";
// line 116
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.delete.message"), "html", null, true);
echo "',
\t\t\t\t\t\t'yes': '";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.delete.yes"), "html", null, true);
echo "',
\t\t\t\t\t\t'no': '";
// line 118
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.delete.no"), "html", null, true);
echo "',
\t\t\t\t\t\t'cancel': {
\t\t\t\t\t\t\t'message': '";
// line 120
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.delete.cancel.message"), "html", null, true);
echo "',
\t\t\t\t\t\t\t'ok': '";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.delete.cancel.ok"), "html", null, true);
echo "'
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t\t'close' : {
\t\t\t\t\t\t'message': '";
// line 125
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.close.message"), "html", null, true);
echo "',
\t\t\t\t\t\t'yes': '";
// line 126
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.close.yes"), "html", null, true);
echo "',
\t\t\t\t\t\t'no': '";
// line 127
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.close.no"), "html", null, true);
echo "',
\t\t\t\t\t\t'cancel': {
\t\t\t\t\t\t\t'message': '";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.close.cancel.message"), "html", null, true);
echo "',
\t\t\t\t\t\t\t'ok': '";
// line 130
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.close.cancel.ok"), "html", null, true);
echo "'
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t\t'reset' : {
\t\t\t\t\t\t'message': '";
// line 134
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.reset.message"), "html", null, true);
echo "',
\t\t\t\t\t\t'yes': '";
// line 135
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.reset.yes"), "html", null, true);
echo "',
\t\t\t\t\t\t'no': '";
// line 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.reset.no"), "html", null, true);
echo "',
\t\t\t\t\t\t'cancel': {
\t\t\t\t\t\t\t'message': '";
// line 138
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.reset.cancel.message"), "html", null, true);
echo "',
\t\t\t\t\t\t\t'ok': '";
// line 139
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.reset.cancel.ok"), "html", null, true);
echo "',
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t}
\t\t\t\tvar swalTranslations = {
\t\t\t\t\t'update' :{
\t\t\t\t\t\t'success':{
\t\t\t\t\t\t\t'title' : '";
// line 147
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.swal_messages.update.success.title"), "html", null, true);
echo "',
\t\t\t\t\t\t\t'message' : '";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.swal_messages.update.success.message"), "html", null, true);
echo "',
\t\t\t\t\t\t},
\t\t\t\t\t\t'fail':{
\t\t\t\t\t\t\t'title' : '";
// line 151
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.swal_messages.update.fail.title"), "html", null, true);
echo "',
\t\t\t\t\t\t\t'message' : '";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.swal_messages.update.fail.message"), "html", null, true);
echo "'
\t\t\t\t\t\t},
\t\t\t\t\t},
\t\t\t\t\t'continue' : {
\t\t\t\t\t\t'yes': '";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.continue.yes"), "html", null, true);
echo "',
\t\t\t\t\t\t'no': '";
// line 157
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.modal.continue.no"), "html", null, true);
echo "'
\t\t\t\t\t},
\t\t\t\t}
\t\t\t</script>
\t\t";
// line 162
$this->displayBlock('javascripts', $context, $blocks);
// line 163
echo "\t\t<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/validation/form-validation.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"";
// line 164
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/helper/string.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"";
// line 165
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/helper/search.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"";
// line 166
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/vich/delete.js"), "html", null, true);
echo "\"></script>
\t\t<script src=\"";
// line 167
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/franchise/pragma-actions-disabler.js"), "html", null, true);
echo "\"></script>
\t\t";
// line 168
if ((true == $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN"))) {
// line 169
echo "\t\t\t<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/ajax/check-menu-clone-command.js"), "html", null, true);
echo "\"></script>
\t\t";
}
// line 171
echo "\t\t<!--end::Custom Javascript-->
\t</body>
</html>
";
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 20
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 30
public function block_body_params($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_params"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_params"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_params"));
echo "id=\"kt_app_body\" data-kt-app-layout=\"dark-sidebar\" data-kt-app-header-fixed=\"true\" data-kt-app-sidebar-enabled=\"true\" data-kt-app-sidebar-fixed=\"true\" data-kt-app-sidebar-hoverable=\"true\" data-kt-app-sidebar-push-header=\"true\" data-kt-app-sidebar-push-toolbar=\"true\" data-kt-app-sidebar-push-footer=\"true\" data-kt-app-toolbar-enabled=\"true\" class=\"app-default\"";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 73
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 162
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
public function getTemplateName()
{
return "Layouts/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 534 => 162, 510 => 73, 485 => 30, 461 => 20, 437 => 4, 421 => 171, 415 => 169, 413 => 168, 409 => 167, 405 => 166, 401 => 165, 397 => 164, 392 => 163, 390 => 162, 382 => 157, 378 => 156, 371 => 152, 367 => 151, 361 => 148, 357 => 147, 346 => 139, 342 => 138, 337 => 136, 333 => 135, 329 => 134, 322 => 130, 318 => 129, 313 => 127, 309 => 126, 305 => 125, 298 => 121, 294 => 120, 289 => 118, 285 => 117, 281 => 116, 275 => 113, 271 => 112, 262 => 106, 256 => 103, 250 => 100, 244 => 97, 240 => 96, 236 => 95, 232 => 94, 228 => 93, 223 => 91, 219 => 90, 210 => 84, 206 => 83, 198 => 78, 194 => 77, 189 => 74, 187 => 73, 163 => 52, 159 => 50, 157 => 49, 154 => 48, 151 => 47, 148 => 46, 145 => 45, 142 => 44, 140 => 43, 137 => 42, 134 => 41, 131 => 40, 128 => 39, 125 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 111 => 33, 105 => 30, 102 => 29, 98 => 27, 96 => 26, 90 => 23, 86 => 22, 83 => 21, 81 => 20, 76 => 18, 70 => 15, 56 => 4, 51 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"en\">
\t<head><base href=\"../\"/>
\t\t<title>{% block title %}{% endblock %} | POPINA ORDER</title>
\t\t<meta charset=\"utf-8\" />
\t\t<meta name=\"description\" content=\"POPINA ORDER\" />
\t\t<meta name=\"keywords\" content=\"POPINA ORDER, popina order, V2\" />
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
\t\t<meta property=\"og:locale\" content=\"en_US\" />
\t\t<meta property=\"og:type\" content=\"article\" />
\t\t<meta property=\"og:title\" content=\"POPINA ORDER, popina order, V2\" />
\t\t<meta property=\"og:url\" content=\"https://www.popinaorder.fr\" />
\t\t<meta property=\"og:site_name\" content=\"POPINA ORDER\" />
\t\t<link rel=\"canonical\" href=\"https://www.popinaorder.fr\" />
\t\t<link rel=\"shortcut icon\" href=\"{{ asset('foxorders/media/logos/favicon.ico') }}\" />
\t\t<!--begin::Fonts(mandatory for all pages)-->
\t\t<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700\" />
\t\t<link href=\"{{ asset('foxorders/css/style.css' )}}\" rel=\"stylesheet\" type=\"text/css\"/>
\t\t<!--end::Fonts-->
\t\t{% block stylesheets %}{% endblock %}
\t\t<!--begin::Global Stylesheets Bundle(mandatory for all pages)-->
\t\t<link href=\"{{ asset('metronic/v8.1.5/plugins/global/plugins.bundle.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
\t\t<link href=\"{{ asset('metronic/v8.1.5/css/style.bundle.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
\t\t<!--end::Global Stylesheets Bundle-->
\t\t{% if role() in ['manager', 'shop_owner'] and false == is_granted('ROLE_PREVIOUS_ADMIN')%}
\t\t\t<script id=\"ze-snippet\" src=\"https://static.zdassets.com/ekr/snippet.js?key=1b6086bc-27aa-467b-92da-38268b74a8fa\"></script>
\t\t{% endif %}
\t</head>
\t<body {% block body_params %}id=\"kt_app_body\" data-kt-app-layout=\"dark-sidebar\" data-kt-app-header-fixed=\"true\" data-kt-app-sidebar-enabled=\"true\" data-kt-app-sidebar-fixed=\"true\" data-kt-app-sidebar-hoverable=\"true\" data-kt-app-sidebar-push-header=\"true\" data-kt-app-sidebar-push-toolbar=\"true\" data-kt-app-sidebar-push-footer=\"true\" data-kt-app-toolbar-enabled=\"true\" class=\"app-default\"{% endblock %}>
\t\t<!--begin::Theme mode setup on page load-->
\t\t{% set orderTypeProspective = constant('APP\\\\Entity\\\\Order\\\\OrderInterface::TYPE_PROSPECTIVE') ?? null %}
\t\t{% set timeSlotBlockingTypeProduct = constant('APP\\\\Entity\\\\Shop\\\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_PRODUCT') ?? null %}
\t\t{% set timeSlotBlockingTypeOrder = constant('APP\\\\Entity\\\\Shop\\\\ShopSettingsInterface::TIME_SLOT_BLOCKING_TYPE_ORDER') ?? null %}
\t\t{% set defaultImageMaxSize = constant('APP\\\\Entity\\\\Franchise\\\\MediaInterface::DEFAULT_IMAGE_MAX_SIZE') ?? null %}
\t\t{% set defaultVideoMaxSize = constant('APP\\\\Entity\\\\Franchise\\\\MediaInterface::DEFAULT_VIDEO_MAX_SIZE') ?? null %}
\t\t{% set paymentMethodOnline = constant('App\\\\Entity\\\\Shop\\\\PaymentMethodInterface::TYPE_ONLINE' ?? null) %}
\t\t{% set paymentMethodOffline = constant('App\\\\Entity\\\\Shop\\\\PaymentMethodInterface::TYPE_OFFLINE' ?? null) %}
\t\t{% set imageTypeFile = constant('App\\\\Entity\\\\ImageInterface::IMAGE_TYPE_FILE' ?? null) %}
\t\t{% set imageTypeLink = constant('App\\\\Entity\\\\ImageInterface::IMAGE_TYPE_LINK' ?? null) %}
\t\t{% set isManager = ('manager' == role()) %}
\t\t{% set isShopManager = ('shop_owner' == role()) %}
\t\t{% set isAdministrator = ('administrator' == role()) %}
\t\t{% set isSupport = ('support' == role()) %}
\t\t{% set isPreviousAdmin = is_granted('ROLE_PREVIOUS_ADMIN') %}
\t\t{% set blankImageUrl = foxorders_media_directory ~ 'blank.png' %}
\t\t<script>
\t\t\tvar blankImageUrl = \"{{ '/' ~ blankImageUrl }}\";
\t\t\tvar defaultThemeMode = \"light\"
\t\t\tvar themeMode;
\t\t\tif ( document.documentElement ) {
\t\t\t\tif ( document.documentElement.hasAttribute(\"data-theme-mode\")) {
\t\t\t\t\tthemeMode = document.documentElement.getAttribute(\"data-theme-mode\");
\t\t\t\t} else {
\t\t\t\t\tif ( localStorage.getItem(\"data-theme\") !== null ) {
\t\t\t\t\t\tthemeMode = localStorage.getItem(\"data-theme\");
\t\t\t\t\t} else {
\t\t\t\t\t\tthemeMode = defaultThemeMode;
\t\t\t\t\t}
\t\t\t\t}
\t\t\t\tif (themeMode === \"system\") {
\t\t\t\t\tthemeMode = window.matchMedia(\"(prefers-color-scheme: dark)\").matches ? \"dark\" : \"light\";
\t\t\t\t}
\t\t\t\tdocument.documentElement.setAttribute(\"data-theme\", themeMode);
\t\t\t}
\t\t</script>
\t\t<!--end::Theme mode setup on page load-->
\t\t{% block main %}{% endblock %}
\t\t<!--begin::FOSJsRoutingBundle Javascript-->
\t\t<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\" integrity=\"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=\" crossorigin=\"anonymous\"> </script>
\t\t<script src=\"{{ asset('bundles/fosjsrouting/js/router.js') }}\"></script>
\t\t<script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
\t\t<!--end::FOSJsRoutingBundle Javascript-->
\t\t<script>var hostUrl = \"assets/\";</script>
\t\t<!--begin::Global Javascript Bundle(mandatory for all pages)-->
\t\t<script src=\"{{ asset('metronic/v8.1.5/plugins/global/plugins.bundle.js') }}\"></script>
\t\t<script src=\"{{ asset('metronic/v8.1.5/js/scripts.bundle.js') }}\"></script>
\t\t<!--end::Global Javascript Bundle-->
\t\t<script src=\"https://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>
\t\t<!--begin::Custom Javascript(used for this page only)-->
\t\t<script type=\"text/javascript\">
\t\t\t\tvar defaultImageMaxSize = '{{defaultImageMaxSize}}';
\t\t\t\tvar defaultVideoMaxSize = '{{defaultVideoMaxSize}}';
\t\t\t\tvar _validationRules = {};
\t\t\t\tvar orderTypeProspective = '{{orderTypeProspective}}';
\t\t\t\tvar timeSlotBlockingTypeProduct = '{{timeSlotBlockingTypeProduct}}';
\t\t\t\tvar timeSlotBlockingTypeOrder = '{{timeSlotBlockingTypeOrder}}';
\t\t\t\tvar imageTypeFile = '{{imageTypeFile}}';
\t\t\t\tvar imageTypeLink = '{{imageTypeLink}}';
\t\t\t\tvar baseTranslations = {
\t\t\t\t\t'image': {
\t\t\t\t\t\t'invalid': '{{ 'app.global.validation.imageFile.invalid'|trans({'%size%': defaultImageMaxSize/1000000}) }}',
\t\t\t\t\t},
\t\t\t\t\t'image_url': {
\t\t\t\t\t\t'invalid': '{{ 'app.global.validation.imageUrl.invalid'|trans }}',
\t\t\t\t\t},
\t\t\t\t\t'video': {
\t\t\t\t\t\t'invalid': '{{ 'app.global.validation.imageFile.invalid'|trans({'%size%': defaultVideoMaxSize/1000000}) }}',
\t\t\t\t\t},
\t\t\t\t};
\t\t\t\t// Modal translations
\t\t\t\tvar modalTranslations = {
\t\t\t\t\t'submit' : {
\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.submit.message' | trans }}',
\t\t\t\t\t\t'ok': '{{ 'app.global.validation.modal.submit.ok' | trans }}'
\t\t\t\t\t},
\t\t\t\t\t'delete' : {
\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.delete.message'|trans }}',
\t\t\t\t\t\t'yes': '{{ 'app.global.validation.modal.delete.yes' | trans }}',
\t\t\t\t\t\t'no': '{{ 'app.global.validation.modal.delete.no' | trans }}',
\t\t\t\t\t\t'cancel': {
\t\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.delete.cancel.message' | trans }}',
\t\t\t\t\t\t\t'ok': '{{ 'app.global.validation.modal.delete.cancel.ok' | trans }}'
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t\t'close' : {
\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.close.message' | trans }}',
\t\t\t\t\t\t'yes': '{{ 'app.global.validation.modal.close.yes' | trans }}',
\t\t\t\t\t\t'no': '{{ 'app.global.validation.modal.close.no' | trans }}',
\t\t\t\t\t\t'cancel': {
\t\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.close.cancel.message' | trans }}',
\t\t\t\t\t\t\t'ok': '{{ 'app.global.validation.modal.close.cancel.ok' | trans }}'
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t\t'reset' : {
\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.reset.message' | trans }}',
\t\t\t\t\t\t'yes': '{{ 'app.global.validation.modal.reset.yes' | trans }}',
\t\t\t\t\t\t'no': '{{ 'app.global.validation.modal.reset.no' | trans }}',
\t\t\t\t\t\t'cancel': {
\t\t\t\t\t\t\t'message': '{{ 'app.global.validation.modal.reset.cancel.message' | trans }}',
\t\t\t\t\t\t\t'ok': '{{ 'app.global.validation.modal.reset.cancel.ok' | trans }}',
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t}
\t\t\t\tvar swalTranslations = {
\t\t\t\t\t'update' :{
\t\t\t\t\t\t'success':{
\t\t\t\t\t\t\t'title' : '{{ 'app.global.swal_messages.update.success.title'|trans }}',
\t\t\t\t\t\t\t'message' : '{{ 'app.global.swal_messages.update.success.message'|trans }}',
\t\t\t\t\t\t},
\t\t\t\t\t\t'fail':{
\t\t\t\t\t\t\t'title' : '{{ 'app.global.swal_messages.update.fail.title'|trans }}',
\t\t\t\t\t\t\t'message' : '{{ 'app.global.swal_messages.update.fail.message'|trans }}'
\t\t\t\t\t\t},
\t\t\t\t\t},
\t\t\t\t\t'continue' : {
\t\t\t\t\t\t'yes': '{{ 'app.global.validation.modal.continue.yes' | trans }}',
\t\t\t\t\t\t'no': '{{ 'app.global.validation.modal.continue.no' | trans }}'
\t\t\t\t\t},
\t\t\t\t}
\t\t\t</script>
\t\t{% block javascripts %}{% endblock %}
\t\t<script src=\"{{ asset('foxorders/js/validation/form-validation.js') }}\"></script>
\t\t<script src=\"{{ asset('foxorders/js/helper/string.js') }}\"></script>
\t\t<script src=\"{{ asset('foxorders/js/helper/search.js') }}\"></script>
\t\t<script src=\"{{asset('foxorders/js/vich/delete.js') }}\"></script>
\t\t<script src=\"{{ asset('foxorders/js/franchise/pragma-actions-disabler.js') }}\"></script>
\t\t{% if true == is_granted('ROLE_ADMIN')%}
\t\t\t<script src=\"{{asset('foxorders/js/ajax/check-menu-clone-command.js') }}\"></script>
\t\t{% endif %}
\t\t<!--end::Custom Javascript-->
\t</body>
</html>
", "Layouts/base.html.twig", "/var/www/html/templates/Layouts/base.html.twig");
}
}