/
home
/
obinna
/
html
/
boazapp
/
var
/
cache
/
dev
/
twig
/
db
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; 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; /* release/filtered.html.twig */ class __TwigTemplate_eab25ca18df8831921fa0a3447d5b27e3422075d084b3b5fead47f10d62cd842 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "base1.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "release/filtered.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "release/filtered.html.twig")); $this->parent = $this->loadTemplate("base1.html.twig", "release/filtered.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 4 public function block_content($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); // line 5 yield "\t<div class=\"content\"> \t <div class=\"container-fluid\"> \t <div class=\"row\"> \t <div class=\"col-md-12\"> \t <div class=\"card\"> \t <div class=\"header\"> \t <h4 class=\"title\">Release Orders from "; // line 11 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf((isset($context["from"]) || array_key_exists("from", $context) ? $context["from"] : (function () { throw new RuntimeError('Variable "from" does not exist.', 11, $this->source); })()), "d-m-Y"), "html", null, true); yield " to "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 11, $this->source); })()), "d-m-Y"), "html", null, true); yield "</h4> \t </div> \t <div class=\"content table-responsive table-full-width\"> <table class=\"table table-hover\"> <thead> \t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t<th>Release Order Name</th> \t\t\t\t\t\t\t\t\t\t\t<th>Actions</th> \t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t\t</thead> <tbody> \t\t\t\t\t\t\t\t\t\t"; // line 22 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["release"]) || array_key_exists("release", $context) ? $context["release"] : (function () { throw new RuntimeError('Variable "release" does not exist.', 22, $this->source); })())); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 23 yield "\t\t\t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t\t\t<td>"; // line 24 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 24), "html", null, true); yield "</td> \t\t\t\t\t\t\t\t\t\t\t\t\t<td><a href=\""; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewRelease", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 25)]), "html", null, true); yield "\">View Release Order</a></td> \t\t\t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\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 yield "\t\t\t\t\t\t\t\t\t</tbody> </table> </div> \t </div> \t </div> \t </div> \t </div> \t</div> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "release/filtered.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 113 => 28, 104 => 25, 100 => 24, 97 => 23, 93 => 22, 77 => 11, 69 => 5, 59 => 4, 36 => 1,); } public function getSourceContext() { return new Source("{% extends 'base1.html.twig' %} {% block content %} \t<div class=\"content\"> \t <div class=\"container-fluid\"> \t <div class=\"row\"> \t <div class=\"col-md-12\"> \t <div class=\"card\"> \t <div class=\"header\"> \t <h4 class=\"title\">Release Orders from {{ from|format('d-m-Y') }} to {{ to|format('d-m-Y') }}</h4> \t </div> \t <div class=\"content table-responsive table-full-width\"> <table class=\"table table-hover\"> <thead> \t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t<th>Release Order Name</th> \t\t\t\t\t\t\t\t\t\t\t<th>Actions</th> \t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t\t</thead> <tbody> \t\t\t\t\t\t\t\t\t\t{% for item in release %} \t\t\t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ item.name }}</td> \t\t\t\t\t\t\t\t\t\t\t\t\t<td><a href=\"{{ path('viewRelease', {'id': item.id}) }}\">View Release Order</a></td> \t\t\t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t\t\t{% endfor %} \t\t\t\t\t\t\t\t\t</tbody> </table> </div> \t </div> \t </div> \t </div> \t </div> \t</div> {% endblock %} ", "release/filtered.html.twig", "/var/www/html/boazapp/templates/release/filtered.html.twig"); } }