ab0e1f3f028c3ed7783167024652c12a.php
2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* extension/dashboard/sale_info.twig */
class __TwigTemplate_c1447253c420b4175648a20d461c39d7 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
yield "<div class=\"tile tile-primary\">
<div class=\"tile-heading\">";
// line 2
yield ($context["heading_title"] ?? null);
yield " <span class=\"pull-right\">
";
// line 3
if ((($context["percentage"] ?? null) > 0)) {
// line 4
yield " <i class=\"fa fa-caret-up\"></i>
";
} elseif (( // line 5
($context["percentage"] ?? null) < 0)) {
// line 6
yield " <i class=\"fa fa-caret-down\"></i>
";
}
// line 8
yield " ";
yield ($context["percentage"] ?? null);
yield "%</span></div>
<div class=\"tile-body\"><i class=\"fa fa-credit-card\"></i>
<h2 class=\"pull-right\">";
// line 10
yield ($context["total"] ?? null);
yield "</h2>
</div>
<div class=\"tile-footer\"><a href=\"";
// line 12
yield ($context["sale"] ?? null);
yield "\">";
yield ($context["text_view"] ?? null);
yield "</a></div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/sale_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 47 => 4, 45 => 3, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/sale_info.twig", "");
}
}