/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
prod
/
twig
/
ff
/
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/itemSupplies.html.twig */ class __TwigTemplate_0e9ff07e812ced3ac09ab1c9bd3f85ff4ad857ad4d947d04a4734e9b9ddd5bfa 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/itemSupplies.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-body\"> \t\t\t\t"; // line 8 echo " \t\t\t\t<div class=\"rows\"> \t\t\t\t\t<div class=\"cols pull-right\"> \t\t\t\t\t\t<a class=\"btn btn-danger action-icon\" href=\""; // line 11 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("deletesupply", ["id" => twig_get_attribute($this->env, $this->source, ($context["supply"] ?? null), "id", [], "any", false, false, false, 11)]), "html", null, true); echo "\"><i class=\"fa fa-trash\"></i>Delete Supply</a> \t\t\t\t\t\t<a class=\"btn btn-primary pull-right-push\" href=\""; // line 12 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("editsupply", ["id" => twig_get_attribute($this->env, $this->source, ($context["supply"] ?? null), "id", [], "any", false, false, false, 12)]), "html", null, true); echo "\">Edit Supply</a> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t\t<div class=\"row\" style=\"padding: 50px 50px 0;\"> \t\t\t\t\t<div class=\"col-md-6\"> \t\t\t\t\t\t<h1>"; // line 17 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["supply"] ?? null), "supplier", [], "any", false, false, false, 17), "name", [], "any", false, false, false, 17), "html", null, true); echo "</h1> \t\t\t\t\t</div> \t\t\t\t\t<div class=\"col-md-6 text-right\"> \t\t\t\t\t\t<h4>"; // line 20 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["supply"] ?? null), "date", [], "any", false, false, false, 20), "D, d M Y"), "html", null, true); echo "</h4> \t\t\t\t\t</div> \t\t\t\t\t"; // line 39 echo " \t\t\t\t</div> \t\t\t\t<br> \t\t\t\t \t\t\t\t<br><br> \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>Name</th> \t\t\t\t\t\t\t<th>Quantity</th> \t\t\t\t\t\t\t<th>Amount</th> \t\t\t\t\t\t\t"; // line 51 echo "\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 54 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["supplies"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 55 echo "\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t<td>"; // line 56 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "item_name", [], "any", false, false, false, 56), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t<td>"; // line 57 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "quantity", [], "any", false, false, false, 57), "html", null, true); echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "unit", [], "any", false, false, false, 57), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t<td>"; // line 58 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "amount", [], "any", false, false, false, 58)), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t"; // line 64 echo "\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 66 echo "\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t<td></td><td><strong>Total</strong></td><td><strong>"; // line 67 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["supply"] ?? null), "total", [], "any", false, false, false, 67)), "html", null, true); echo "</strong></td> \t\t\t\t\t\t</tr> \t\t\t\t\t</tbody> \t\t\t\t</table> \t\t\t\t<a class=\"btn btn-danger\" href=\""; // line 71 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("supplies"); echo "\"> \t\t\t\t\t<i class=\"fa fa-arrow-left\"></i> \t\t\t\t\tSupplies \t\t\t\t</a> \t\t\t</div> \t\t</div> \t</div> "; } // 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> "; } public function getTemplateName() { return "Stock/itemSupplies.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 161 => 82, 156 => 81, 152 => 80, 140 => 71, 133 => 67, 130 => 66, 123 => 64, 119 => 58, 113 => 57, 109 => 56, 106 => 55, 102 => 54, 97 => 51, 84 => 39, 79 => 20, 73 => 17, 65 => 12, 61 => 11, 56 => 8, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "Stock/itemSupplies.html.twig", "/var/www/html/mixchief_app/templates/Stock/itemSupplies.html.twig"); } }