File: D:/web/matomo.circ/tmp/templates_c/d3/d3c1fcddf0e178779d5361919b903c6d.php
<?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;
/* @Ecommerce/conversionOverview.twig */
class __TwigTemplate_b6527e85abfa74942010c8e262443ab4 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
vue-entry=\"Ecommerce.ConversionOverview\"
id-goal=\"";
// line 3
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("idGoal", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["idGoal"]) || array_key_exists("idGoal", $context) ? $context["idGoal"] : (function () { throw new RuntimeError('Variable "idGoal" does not exist.', 3, $this->source); })()), null)) : (null))), "html", null, true);
yield "\"
visitor-log-enabled=\"";
// line 4
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("visitorLogEnabled", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["visitorLogEnabled"]) || array_key_exists("visitorLogEnabled", $context) ? $context["visitorLogEnabled"] : (function () { throw new RuntimeError('Variable "visitorLogEnabled" does not exist.', 4, $this->source); })()), null)) : (null))), "html", null, true);
yield "\"
revenue=\"";
// line 5
(( !Twig\Extension\CoreExtension::testEmpty((isset($context["revenue"]) || array_key_exists("revenue", $context) ? $context["revenue"] : (function () { throw new RuntimeError('Variable "revenue" does not exist.', 5, $this->source); })()))) ? (yield \Piwik\piwik_escape_filter($this->env, json_encode($this->env->getFilter('money')->getCallable()((isset($context["revenue"]) || array_key_exists("revenue", $context) ? $context["revenue"] : (function () { throw new RuntimeError('Variable "revenue" does not exist.', 5, $this->source); })()), (isset($context["idSite"]) || array_key_exists("idSite", $context) ? $context["idSite"] : (function () { throw new RuntimeError('Variable "idSite" does not exist.', 5, $this->source); })()))), "html", null, true)) : (yield "null"));
yield "\"
revenue_subtotal=\"";
// line 6
(( !Twig\Extension\CoreExtension::testEmpty((isset($context["revenue_subtotal"]) || array_key_exists("revenue_subtotal", $context) ? $context["revenue_subtotal"] : (function () { throw new RuntimeError('Variable "revenue_subtotal" does not exist.', 6, $this->source); })()))) ? (yield \Piwik\piwik_escape_filter($this->env, json_encode($this->env->getFilter('money')->getCallable()((isset($context["revenue_subtotal"]) || array_key_exists("revenue_subtotal", $context) ? $context["revenue_subtotal"] : (function () { throw new RuntimeError('Variable "revenue_subtotal" does not exist.', 6, $this->source); })()), (isset($context["idSite"]) || array_key_exists("idSite", $context) ? $context["idSite"] : (function () { throw new RuntimeError('Variable "idSite" does not exist.', 6, $this->source); })()))), "html", null, true)) : (yield "null"));
yield "\"
revenue_tax=\"";
// line 7
(( !Twig\Extension\CoreExtension::testEmpty((isset($context["revenue_tax"]) || array_key_exists("revenue_tax", $context) ? $context["revenue_tax"] : (function () { throw new RuntimeError('Variable "revenue_tax" does not exist.', 7, $this->source); })()))) ? (yield \Piwik\piwik_escape_filter($this->env, json_encode($this->env->getFilter('money')->getCallable()((isset($context["revenue_tax"]) || array_key_exists("revenue_tax", $context) ? $context["revenue_tax"] : (function () { throw new RuntimeError('Variable "revenue_tax" does not exist.', 7, $this->source); })()), (isset($context["idSite"]) || array_key_exists("idSite", $context) ? $context["idSite"] : (function () { throw new RuntimeError('Variable "idSite" does not exist.', 7, $this->source); })()))), "html", null, true)) : (yield "null"));
yield "\"
revenue_shipping=\"";
// line 8
(( !Twig\Extension\CoreExtension::testEmpty((isset($context["revenue_shipping"]) || array_key_exists("revenue_shipping", $context) ? $context["revenue_shipping"] : (function () { throw new RuntimeError('Variable "revenue_shipping" does not exist.', 8, $this->source); })()))) ? (yield \Piwik\piwik_escape_filter($this->env, json_encode($this->env->getFilter('money')->getCallable()((isset($context["revenue_shipping"]) || array_key_exists("revenue_shipping", $context) ? $context["revenue_shipping"] : (function () { throw new RuntimeError('Variable "revenue_shipping" does not exist.', 8, $this->source); })()), (isset($context["idSite"]) || array_key_exists("idSite", $context) ? $context["idSite"] : (function () { throw new RuntimeError('Variable "idSite" does not exist.', 8, $this->source); })()))), "html", null, true)) : (yield "null"));
yield "\"
revenue_discount=\"";
// line 9
(( !Twig\Extension\CoreExtension::testEmpty((isset($context["revenue_discount"]) || array_key_exists("revenue_discount", $context) ? $context["revenue_discount"] : (function () { throw new RuntimeError('Variable "revenue_discount" does not exist.', 9, $this->source); })()))) ? (yield \Piwik\piwik_escape_filter($this->env, json_encode($this->env->getFilter('money')->getCallable()((isset($context["revenue_discount"]) || array_key_exists("revenue_discount", $context) ? $context["revenue_discount"] : (function () { throw new RuntimeError('Variable "revenue_discount" does not exist.', 9, $this->source); })()), (isset($context["idSite"]) || array_key_exists("idSite", $context) ? $context["idSite"] : (function () { throw new RuntimeError('Variable "idSite" does not exist.', 9, $this->source); })()))), "html", null, true)) : (yield "null"));
yield "\"
></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@Ecommerce/conversionOverview.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 66 => 9, 62 => 8, 58 => 7, 54 => 6, 50 => 5, 46 => 4, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("<div
vue-entry=\"Ecommerce.ConversionOverview\"
id-goal=\"{{ idGoal|default(null)|json_encode }}\"
visitor-log-enabled=\"{{ visitorLogEnabled|default(null)|json_encode }}\"
revenue=\"{{ revenue is not empty ? revenue|money(idSite)|json_encode : 'null' }}\"
revenue_subtotal=\"{{ revenue_subtotal is not empty ? revenue_subtotal|money(idSite)|json_encode : 'null' }}\"
revenue_tax=\"{{ revenue_tax is not empty ? revenue_tax|money(idSite)|json_encode : 'null' }}\"
revenue_shipping=\"{{ revenue_shipping is not empty ? revenue_shipping|money(idSite)|json_encode : 'null' }}\"
revenue_discount=\"{{ revenue_discount is not empty ? revenue_discount|money(idSite)|json_encode : 'null' }}\"
></div>
", "@Ecommerce/conversionOverview.twig", "D:\\web\\matomo.circ\\plugins\\Ecommerce\\templates\\conversionOverview.twig");
}
}