<?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_b1e9b0a3b92004216079ab36d3d9e6b4 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";
$context["userTypeManager"] = twig_constant("APP\\Entity\\Security\\UserInterface::TYPE_MANAGER");
// line 43
echo "\t\t";
$context["userTypeShopManager"] = twig_constant("APP\\Entity\\Security\\UserInterface::TYPE_SHOP_MANAGER");
// line 44
echo "\t\t";
$context["userTypeCustomer"] = twig_constant("APP\\Entity\\Security\\UserInterface::TYPE_CUSTOMER");
// line 45
echo "
\t\t";
// line 46
$context["isManager"] = ("manager" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 47
echo "\t\t";
$context["isShopManager"] = ("shop_owner" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 48
echo "\t\t";
$context["isAdministrator"] = ("administrator" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 49
echo "\t\t";
$context["isSupport"] = ("support" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 50
echo "\t\t";
$context["isDeveloper"] = ("developer" == $this->extensions['App\Twig\UserExtension']->getRoleFromAuthenticatedUser());
// line 51
echo "\t\t";
$context["isPreviousAdmin"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN");
// line 52
echo "
\t\t";
// line 53
$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.', 53, $this->source); })()) . "blank.png");
// line 54
echo "
\t\t<script>
\t\t\tvar blankImageUrl = \"";
// line 56
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.', 56, $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 77
$this->displayBlock('main', $context, $blocks);
// line 78
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 81
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 82
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 87
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 88
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 94
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.', 94, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar defaultVideoMaxSize = '";
// line 95
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.', 95, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar _validationRules = {};
\t\t\t\tvar orderTypeProspective = '";
// line 97
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.', 97, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar timeSlotBlockingTypeProduct = '";
// line 98
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.', 98, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar timeSlotBlockingTypeOrder = '";
// line 99
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.', 99, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar imageTypeFile = '";
// line 100
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.', 100, $this->source); })()), "html", null, true);
echo "';
\t\t\t\tvar imageTypeLink = '";
// line 101
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.', 101, $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 104
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.', 104, $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 107
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 110
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.', 110, $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 116
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 117
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 120
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 121
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 122
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 124
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 125
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 129
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 130
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 131
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 133
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 134
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 138
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 139
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 140
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 142
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 143
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 151
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 152
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 155
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 156
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 160
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 161
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 166
$this->displayBlock('javascripts', $context, $blocks);
// line 167
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 168
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 169
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 170
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 171
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 172
if ((true == $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN"))) {
// line 173
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 175
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 77
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 166
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 ( 546 => 166, 522 => 77, 497 => 30, 473 => 20, 449 => 4, 433 => 175, 427 => 173, 425 => 172, 421 => 171, 417 => 170, 413 => 169, 409 => 168, 404 => 167, 402 => 166, 394 => 161, 390 => 160, 383 => 156, 379 => 155, 373 => 152, 369 => 151, 358 => 143, 354 => 142, 349 => 140, 345 => 139, 341 => 138, 334 => 134, 330 => 133, 325 => 131, 321 => 130, 317 => 129, 310 => 125, 306 => 124, 301 => 122, 297 => 121, 293 => 120, 287 => 117, 283 => 116, 274 => 110, 268 => 107, 262 => 104, 256 => 101, 252 => 100, 248 => 99, 244 => 98, 240 => 97, 235 => 95, 231 => 94, 222 => 88, 218 => 87, 210 => 82, 206 => 81, 201 => 78, 199 => 77, 175 => 56, 171 => 54, 169 => 53, 166 => 52, 163 => 51, 160 => 50, 157 => 49, 154 => 48, 151 => 47, 149 => 46, 146 => 45, 143 => 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 userTypeManager = constant('APP\\\\Entity\\\\Security\\\\UserInterface::TYPE_MANAGER') %}
\t\t{% set userTypeShopManager = constant('APP\\\\Entity\\\\Security\\\\UserInterface::TYPE_SHOP_MANAGER') %}
\t\t{% set userTypeCustomer = constant('APP\\\\Entity\\\\Security\\\\UserInterface::TYPE_CUSTOMER') %}
\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 isDeveloper = ('developer' == 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");
}
}