/
home
/
obinna
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
31
/
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; /* Users/receipt.html.twig */ class __TwigTemplate_803a6b56176ccce2b9955d506ddf93a1c089a43ac83c22cc5cef5270ac5e547d extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo " <!doctype html> <html> <head> <meta charset=\"utf-8\"> <title>A simple, clean, and responsive HTML invoice template</title> <style> .invoice-box { max-width: 800px; margin: auto; padding: 30px; border: 1px solid #eee; box-shadow: 0 0 10px rgba(0, 0, 0, .15); font-size: 16px; line-height: 24px; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; color: #555; } .invoice-box table { width: 100%; line-height: inherit; text-align: left; } .invoice-box table td { padding: 5px; vertical-align: top; } .invoice-box table tr td:nth-child(2) { text-align: right; } .invoice-box table tr.top table td { padding-bottom: 20px; } .invoice-box table tr.top table td.title { font-size: 45px; line-height: 45px; color: #333; } .invoice-box table tr.information table td { padding-bottom: 40px; } .invoice-box table tr.heading td { background: #eee; border-bottom: 1px solid #ddd; font-weight: bold; } .invoice-box table tr.details td { padding-bottom: 20px; } .invoice-box table tr.item td{ border-bottom: 1px solid #eee; } .invoice-box table tr.item.last td { border-bottom: none; } .invoice-box table tr.total td:nth-child(2) { border-top: 2px solid #eee; font-weight: bold; } @media only screen and (max-width: 600px) { .invoice-box table tr.top table td { width: 100%; display: block; text-align: center; } .invoice-box table tr.information table td { width: 100%; display: block; text-align: center; } } /** RTL **/ .rtl { direction: rtl; font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; } .rtl table { text-align: right; } .rtl table tr td:nth-child(2) { text-align: left; } </style> </head> <body> <div class=\"invoice-box\"> <table cellpadding=\"0\" cellspacing=\"0\"> <tr class=\"top\"> <td colspan=\"2\"> <table> <tr> <td class=\"title\"> <h6 style=\"margin-top: 5px; margin-bottom: 5px;\">"; // line 111 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, false, false, 111), "company", [], "any", false, false, false, 111), "html", null, true); echo "</h6> <img src=\"\" style=\"width:100%; max-width:300px;\"> </td> <td> Invoice #: 000"; // line 116 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["order"] ?? null), "id", [], "any", false, false, false, 116), "html", null, true); echo "<br> "; // line 117 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["order"] ?? null), "date", [], "any", false, false, false, 117), "d-m-Y H:i:s"), "html", null, true); echo " </td> </tr> </table> </td> </tr> <tr class=\"information\"> <td colspan=\"2\"> <table> <tr> <td> "; // line 129 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, false, false, 129), "company", [], "any", false, false, false, 129), "html", null, true); echo "<br> "; // line 130 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, false, false, 130), "address", [], "any", false, false, false, 130), "html", null, true); echo " </td> "; // line 138 echo " </tr> </table> </td> </tr> <tr class=\"heading\"> <td> Payment Method </td> <td> </td> </tr> <tr class=\"details\"> <td> "; // line 155 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["order"] ?? null), "payment", [], "any", false, false, false, 155), "html", null, true); echo " </td> <td> </td> </tr> <tr class=\"heading\"> <td> Item </td> <td> Price </td> </tr> "; // line 173 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["item"]) { // line 174 echo " <tr class=\"item\"> <td> "; // line 176 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 176), "html", null, true); echo " ("; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "quantity", [], "any", false, false, false, 176), "html", null, true); echo ") </td> <td> "; // line 180 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "price", [], "any", false, false, false, 180), "html", null, true); echo " </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 184 echo " <tr class=\"total\"> <td> <strong>Total</strong> </td> <td> <strong>"; // line 191 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["order"] ?? null), "amount", [], "any", false, false, false, 191), "html", null, true); echo "</strong> </td> </tr> </table> </div> </body> </html>"; } public function getTemplateName() { return "Users/receipt.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 262 => 191, 253 => 184, 243 => 180, 234 => 176, 230 => 174, 226 => 173, 205 => 155, 186 => 138, 180 => 130, 176 => 129, 161 => 117, 157 => 116, 149 => 111, 37 => 1,); } public function getSourceContext() { return new Source("", "Users/receipt.html.twig", "/var/www/html/amply/templates/Users/receipt.html.twig"); } }