<?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;

/* export/renderer/default-budget.pdf.twig */
class __TwigTemplate_30c1a8987b7bc754c0eff02d708f50771fe545d0f36d96f2486f6b2b69c21990 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "export/pdf-layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        $context["showRateBudget"] = false;
        // line 3
        $context["showTimeBudget"] = false;
        // line 4
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["budgets"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["budget"]) {
            // line 5
            if (1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["budget"], "money_left", [], "any", false, false, false, 5), 0)) {
                // line 6
                $context["showRateBudget"] = true;
            }
            // line 8
            if (1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["budget"], "time_left", [], "any", false, false, false, 8), 0)) {
                // line 9
                $context["showTimeBudget"] = true;
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['budget'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 1
        $this->parent = $this->loadTemplate("export/pdf-layout.html.twig", "export/renderer/default-budget.pdf.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    public function getTemplateName()
    {
        return "export/renderer/default-budget.pdf.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  63 => 1,  56 => 9,  54 => 8,  51 => 6,  49 => 5,  45 => 4,  43 => 3,  41 => 2,  34 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "export/renderer/default-budget.pdf.twig", "/var/www/html/kimai2/templates/export/renderer/default-budget.pdf.twig");
    }
}
