/
home
/
obinna
/
html
/
boaz2
/
var
/
cache
/
dev
/
twig
/
da
/
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; /* release/today.html.twig */ class __TwigTemplate_4be6352c2dd803233abea8a8e84be89588dbbeccd4c9facc4b6fd593193c8e00 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/today.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/today.html.twig")); $this->parent = $this->loadTemplate("base1.html.twig", "release/today.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 3 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 4 echo "\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\">Cargo List</h4> \t </div> \t <div class=\"content table-responsive table-full-width\"> <table class=\"table table-hover\" data-page-length='100'> <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>Date</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> \t\t\t\t\t\t\t\t\t<tbody> \t\t\t\t\t\t\t\t\t\t"; // line 22 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((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 echo "\t\t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t\t<td>"; // line 24 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 24), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t\t\t<td>"; // line 25 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "dates", [], "any", false, false, false, 25), "d-m-Y"), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t\t\t<td><a href=\""; // line 26 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewRelease", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 26)]), "html", null, true); echo "\">View Release Order</a></td> \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 29 echo "\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); } public function getTemplateName() { return "release/today.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 112 => 29, 103 => 26, 99 => 25, 95 => 24, 92 => 23, 88 => 22, 68 => 4, 58 => 3, 35 => 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\">Cargo List</h4> \t </div> \t <div class=\"content table-responsive table-full-width\"> <table class=\"table table-hover\" data-page-length='100'> <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>Date</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> \t\t\t\t\t\t\t\t\t<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<tr> \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<td>{{ item.dates|date('d-m-Y') }}</td> \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</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/today.html.twig", "/var/www/html/boaz2/templates/release/today.html.twig"); } }