/
var
/
www
/
html
/
restaurants
/
var
/
cache
/
prod
/
twig
/
d1
/
Upload File
HOME
<?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; /* Orders/orders.html.twig */ class __TwigTemplate_c27408a929c6c07dbe7a987bb9988b460732d1c66a17c85f4d92c75add0b1dfe extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], 'javascripts' => [$this, 'block_javascripts'], ]; } protected function doGetParent(array $context) { // line 1 return "base1.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base1.html.twig", "Orders/orders.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo "\t<div class=\"content\"> \t\t<div class=\"card\"> \t\t\t<div class=\"card-header\"> \t\t\t\t<h3>Sales</h3> \t\t\t</div> \t\t\t<div class=\"card-body\"> \t\t\t\t<table class=\"table table-striped\" id=\"rowSelection\"> \t\t\t\t\t<thead> \t\t\t\t\t\t<tr> \t\t\t\t\t\t\t<th>Amount</th> \t\t\t\t\t\t\t<th>Status</th> \t\t\t\t\t\t\t<th>Date</th> \t\t\t\t\t\t</tr> \t\t\t\t\t</thead> \t\t\t\t\t<tbody> \t\t\t\t\t\t"; // line 19 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["orders"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 20 echo "\t\t\t\t\t\t\t<tr class=\"clickable-row\" data-href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vieworder", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 20)]), "html", null, true); echo "\"> \t\t\t\t\t\t\t\t<td> \t\t\t\t\t\t\t\t\t<a href=\""; // line 22 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vieworder", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 22)]), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "amount", [], "any", false, false, false, 22), "html", null, true); echo "</a></td> \t\t\t\t\t\t\t\t<td>"; // line 23 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "status", [], "any", false, false, false, 23), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t<td>"; // line 24 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "date", [], "any", false, false, false, 24), "d/m/Y h:i:s A"), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t \t\t\t\t\t\t\t</tr> \t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 28 echo "\t\t\t\t\t</tbody> \t\t\t\t</table> \t\t\t</div> \t\t</div> \t</div> "; } // line 35 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 36 echo "\t"; $this->displayParentBlock("javascripts", $context, $blocks); echo " \t<script> \t\t \t</script> "; } public function getTemplateName() { return "Orders/orders.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 111 => 36, 107 => 35, 98 => 28, 88 => 24, 84 => 23, 78 => 22, 72 => 20, 68 => 19, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "Orders/orders.html.twig", "/var/www/html/restaurants/templates/Orders/orders.html.twig"); } }