/
var
/
www
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
3d
/
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; /* Stock/supplier.html.twig */ class __TwigTemplate_4097da2c6a6ae1cc763ee6987f433967fa13ce3fee8cbfe1ea74928c2068864d 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", "Stock/supplier.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 \t\t<div class=\"row\"> \t\t\t<div class=\"col-sm-12\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-header\"> \t\t\t\t\t\t<h3 class=\"pull-left\">Suppliers</h3> \t\t\t\t\t\t<a href=\""; // line 11 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ajax", ["page" => "supplier"]); echo "\" rel=\"modal:open\" class=\"btn btn-primary pull-right\">New</a> \t\t\t\t\t</div> \t\t\t\t\t<div class=\"card-body\"> \t\t\t\t\t\t<table class=\"table table-default\"> \t\t\t\t\t\t\t<thead> \t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t<th>Name</th> \t\t\t\t\t\t\t\t\t<th class=\"col-sm-hidden\">Address</th> \t\t\t\t\t\t\t\t\t<th>Telephone</th> \t\t\t\t\t\t\t\t\t<th class=\"col-sm-hidden\">Email</th> \t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t</thead> \t\t\t\t\t\t\t<tbody> \t\t\t\t\t\t\t\t"; // line 24 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["suppliers"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["supplier"]) { // line 25 echo "\t\t\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("supplier", ["id" => twig_get_attribute($this->env, $this->source, $context["supplier"], "id", [], "any", false, false, false, 25)]), "html", null, true); echo "\" style=\"cursor: pointer;\"> \t\t\t\t\t\t\t\t\t\t<td>"; // line 26 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["supplier"], "name", [], "any", false, false, false, 26), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t<td class=\"col-sm-hidden\">"; // line 27 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["supplier"], "address", [], "any", false, false, false, 27), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t<td>"; // line 28 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["supplier"], "telephone", [], "any", false, false, false, 28), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t<td class=\"col-sm-hidden\">"; // line 29 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["supplier"], "email", [], "any", false, false, false, 29), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['supplier'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 32 echo "\t\t\t\t\t\t\t</tbody> \t\t\t\t\t\t</table> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t</div> \t\t \t</div> \t"; } // line 80 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 81 echo "\t"; $this->displayParentBlock("javascripts", $context, $blocks); echo " \t<script src=\""; // line 82 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/admin.js"), "html", null, true); echo "\"></script> \t<script> \t\t\$('#confirmdelete').on('click', confirmDelete); \t</script> "; } public function getTemplateName() { return "Stock/supplier.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 127 => 82, 122 => 81, 118 => 80, 106 => 32, 97 => 29, 93 => 28, 89 => 27, 85 => 26, 80 => 25, 76 => 24, 60 => 11, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "Stock/supplier.html.twig", "/var/www/html/amply/templates/Stock/supplier.html.twig"); } }