/
var
/
www
/
html
/
mixchief_app
/
var
/
cache
/
prod
/
twig
/
dc
/
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; /* POS/index.html.twig */ class __TwigTemplate_dc85e8ca4918e7aa6e578994a3f9d3f2efa5f65c6648b0f95357aa5d564c4952 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> \t<title>Point of Sale</title> \t"; // line 6 echo "\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\"> \t<link rel=\"stylesheet\" href=\""; // line 7 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap3.css"), "html", null, true); echo "\" /> \t<link rel=\"stylesheet\" href=\""; // line 8 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/font-awesome.css"), "html", null, true); echo "\"> \t"; // line 10 echo "\t"; // line 11 echo "\t<link rel=\"stylesheet\" href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/featherlight.css"), "html", null, true); echo "\"> \t<link rel=\"stylesheet\" href=\""; // line 12 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/main2.css"), "html", null, true); echo "\" /> \t<link href=\""; // line 13 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/select2.css"), "html", null, true); echo "\" rel=\"stylesheet\" /> \t \t \t\t<!-- Stepper CSS --> \t<link href=\""; // line 17 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/jquery.fs.stepper.css"), "html", null, true); echo "\" rel=\"stylesheet\"> \t\t<!-- Main CSS --> \t<link href=\""; // line 20 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/style32.css"), "html", null, true); echo "\" rel=\"stylesheet\"> \t<link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 21 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/style.css"), "html", null, true); echo "\"> \t<script> \t\tconst items_url = \""; // line 24 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("positems"); echo "\"; \t\tconst order_url = \""; // line 25 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("order"); echo "\"; \t\tconst saved_orders = \""; // line 26 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("savedorders"); echo "\"; \t\tconst saved_order = \""; // line 27 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("savedorder"); echo "\"; \t\tconst delete_saved_order = \""; // line 28 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("deleteSavedOrder"); echo "\"; \t\tconst delete_saved_order_items = \""; // line 29 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("deletesavedorderitems"); echo "\"; \t</script> \t<style> \t\t.flash-message { \t\t\tposition: fixed; \t\t\ttop: 10px; \t\t\tright: 10px; \t\t\tz-index: 9999999; \t\t\tpadding: 12px; \t\t\tbackground: #28a745; \t\t\tcolor: #fff; \t\t\tmax-width: 500px; \t\t\tdisplay: none; \t\t\tfont-size: 18px; \t\t} \t\t.flash-message span.closes { \t\t\tposition: absolute; \t\t\ttop: 5px; \t\t\tright: 10px; \t\t\tcolor: #222; \t\t\tcursor: pointer; \t\t} \t\t@media (min-width: 1170px){ \t\t\t.flash-message { \t\t\t\tvisibility: hidden; \t\t\t} \t\t} \t\t#invoice-POS{ \t\t box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5); \t\t padding:5mm; \t\t margin: 0 auto; \t\t width: 100%; \t\t background: #FFF; \t\t padding-top: 15px; \t\t} \t\t@media screen and (min-width: 997px){ \t\t\t#invoice-POS { \t\t\t\twidth: 125mm; \t\t\t} \t\t} \t\t#invoice-POS::selection {background: #f31544; color: #FFF;} \t\t#invoice-POS::moz-selection {background: #f31544; color: #FFF;} \t\t#invoice-POS h1{ \t\t font-size: 1.5em; \t\t color: #222; \t\t} \t\t#invoice-POS h2{font-size: .9em;} \t\t#invoice-POS h3{ \t\t font-size: 1.2em; \t\t font-weight: 300; \t\t line-height: 2em; \t\t} \t\t#invoice-POS p{ \t\t font-size: .7em; \t\t color: #666; \t\t line-height: 1.2em; \t\t} \t\t \t\t#invoice-POS #top, #invoice-POS #mid,#invoice-POS #bot{ \t\t border-bottom: 1px solid #EEE; \t\t} \t\t#invoice-POS #top{min-height: 50px;} \t\t#invoice-POS #bot{ min-height: 50px;} \t\t#invoice-POS .info{ \t\t display: block; \t\t /*//float:left;*/ \t\t margin-left: 0; \t\t} \t\t#invoice-POS .title{ \t\t float: right; \t\t} \t\t#invoice-POS .title p{text-align: right;} \t\ttable{ \t\t width: 100%; \t\t border-collapse: collapse; \t\t} \t\t#invoice-POS td{ \t\t /*//padding: 5px 0 5px 15px;*/ \t\t /*//border: 1px solid #EEE*/ \t\t} \t\t#invoice-POS .tabletitle{ \t\t /*//padding: 5px;*/ \t\t font-size: .8em; \t\t background: #EEE; \t\t} \t\t#invoice-POS .service{border-bottom: 1px solid #EEE;} \t\t#invoice-POS .item{width: 24mm;} \t\t#invoice-POS .itemtext{font-size: .8em;} \t\t#invoice-POS #legalcopy{ \t\t margin-top: 5mm; \t\t} \t</style> </head> <body> \t <!-- <div class=\"app-wrap\"> --> <div class=\"flash-message\"> \t \t<span class=\"closes\">X</span> </div> \t<nav class=\"navbar navbar-default navbar-static-top\"> <div class=\"container-fluid\"> <div class=\"navbar-header\"> <button type=\"button\" class=\"navbar-toggle collapsed\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-expanded=\"false\" aria-controls=\"navbar\"> <span class=\"sr-only\">Toggle navigation</span> <span class=\"icon-bar\"></span> <span class=\"icon-bar\"></span> <span class=\"icon-bar\"></span>\t </button> <a class=\"navbar-brand\" href=\""; // line 147 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage"); echo "\"><img src=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo_trans_white.png"), "html", null, true); echo "\" class=\"logo\" alt=\"Amply Logo\" style=\"width: 150px; height: 45px;\"></a> </div> <div id=\"navbar\" class=\"navbar-collapse collapse\"> <ul class=\"nav navbar-nav navbar-right\"> <li class=\"load-orders-button\"><a href=\"#\">Load Orders</a></li> <li><a href=\""; // line 152 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin"); echo "\">Dashboard</a></li> <li><a href=\""; // line 153 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout"); echo "\">Logout</a></li> </ul> </div><!--/.nav-collapse --> </div> </nav> <!-- </div> --> <div class=\"wrapper\"> \t<div class=\"container-fluid\"> \t\t<div class=\"row pos-body\"> \t\t\t<div class=\"col-sm-6 cover\"> \t\t\t\t<div id=\"sale\"> \t\t\t\t\t<div class=\"ui-32\"> \t\t\t\t\t\t\t<div class=\"ui-view-cart\"> \t\t\t\t\t\t\t\t<div class=\"table-responsive\"> \t\t\t\t\t\t\t\t\t<table class=\"table\" id=\"saleList\"> \t\t\t\t\t\t\t\t\t\t<thead> \t\t\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">Item</th> \t\t\t\t\t\t\t\t\t\t\t\t<th class=\"col-sm-hidden\">Price</th> \t\t\t\t\t\t\t\t\t\t\t\t<th>Quantity</th> \t\t\t\t\t\t\t\t\t\t\t\t<th>Total</th> \t\t\t\t\t\t\t\t\t\t\t\t<th class=\"text-center\">Remove</th> \t\t\t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t\t\t</thead> \t\t\t\t\t\t\t\t\t\t<tbody> \t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t</tbody> \t\t\t\t\t\t\t\t\t</table> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t\t"; // line 205 echo "\t\t\t\t"; // line 213 echo "\t\t\t<div class=\"col-sm-12 footer-section\"> \t\t\t\t<div class=\"place-order\"> \t\t\t\t\t<button class=\"btn btn-default order-place order-button\" data-pay=\"place\">Pay</button> \t\t\t\t\t<button class=\"btn btn-default reset order-button\" data-pay=\"clear\">Clear</button> \t\t\t\t</div> \t\t\t\t<table class=\"table order-total\" style=\"width: 50%\"> \t\t\t\t\t<tr> \t\t\t\t\t\t<td>Total:</td> \t\t\t\t\t\t<td id=\"total\">0</td> \t\t\t\t\t</tr> \t\t\t\t</table> \t\t\t</div> \t\t\t</div> \t\t\t<div class=\"col-sm-6 buttons\"> \t\t\t\t<p>Category</p> \t\t\t\t<div class=\"mainmenu\"> \t\t\t\t</div> \t\t\t\t<hr> \t\t\t\t<p class=\"items-buttons\">Items</p> \t\t\t\t<div class=\"itemlist\"> \t\t\t\t</div> \t\t\t</div> \t\t\t \t\t</div> \t</div> </div> <script src=\""; // line 241 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery.js"), "html", null, true); echo "\"></script> <script src=\""; // line 242 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/popper.min.js"), "html", null, true); echo "\"></script> <script src=\""; // line 243 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.min.js"), "html", null, true); echo "\"></script> <script src=\""; // line 244 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/featherlight.js"), "html", null, true); echo "\"></script> <script src=\""; // line 245 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/moment.js"), "html", null, true); echo "\"></script> "; // line 247 echo "<script src=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/sweetalert.js"), "html", null, true); echo "\"></script> "; // line 249 echo "<script src=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/json-groupBy.js"), "html", null, true); echo "\"></script> <script src=\""; // line 250 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/script.js"), "html", null, true); echo "\"></script> <script src=\""; // line 251 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/placeholder.js"), "html", null, true); echo "\"></script> <script src=\""; // line 252 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/slimscroll.min.js"), "html", null, true); echo "\"></script> <script src=\""; // line 253 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/custom-scrollbar.js"), "html", null, true); echo "\"></script> <!-- Respond JS for IE8 --> <script src=\""; // line 255 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/respond.min.js"), "html", null, true); echo "\"></script> <!-- HTML5 Support for IE --> <script src=\""; // line 257 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/html5shiv.js"), "html", null, true); echo "\"></script> <script src=\""; // line 259 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery.fs.stepper.min.js"), "html", null, true); echo "\"></script> <script> \t\$('.closes').on('click', function(e){ \t\t\$(e.currentTarget).closest('.flash-message').fadeOut(400, function(){ \t\t\t\$(this).remove() \t\t}); \t}); </script> </body> </html> "; } public function getTemplateName() { return "POS/index.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 367 => 259, 362 => 257, 357 => 255, 352 => 253, 348 => 252, 344 => 251, 340 => 250, 335 => 249, 330 => 247, 326 => 245, 322 => 244, 318 => 243, 314 => 242, 310 => 241, 280 => 213, 278 => 205, 243 => 153, 239 => 152, 229 => 147, 108 => 29, 104 => 28, 100 => 27, 96 => 26, 92 => 25, 88 => 24, 82 => 21, 78 => 20, 72 => 17, 65 => 13, 61 => 12, 56 => 11, 54 => 10, 50 => 8, 46 => 7, 43 => 6, 37 => 1,); } public function getSourceContext() { return new Source("", "POS/index.html.twig", "/var/www/html/mixchief_app/templates/POS/index.html.twig"); } }