Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
var /
cache /
prod /
twig /
ae /
Delete
Unzip
Name
Size
Permission
Date
Action
ae2d938a0b2aad82d214ac67a4b150b7.php
10.1
KB
-rw-r--r--
2026-08-20 10:16
Save
Rename
<?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; use Twig\TemplateWrapper; /* @MemberBundle/Portal/transformation_embed.html.twig */ class __TwigTemplate_b7da347e8bb7e1e10a84a0703ddfee69 extends Template { private Source $source; /** * @var array<string, Template> */ private array $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 = []): iterable { $macros = $this->macros; // line 2 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "flashes", ["success"], "method", false, false, false, 2)); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 3 yield " <div class=\"alert alert-success\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true); yield "</div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 5 yield " <p class=\"lead\">"; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["firmName"] ?? null), "html", null, true); yield "</p> "; // line 7 if ((($tmp = Twig\Extension\CoreExtension::trim(($context["contactName"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 8 yield " <p class=\"text-muted\">Signed in as: "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["contactName"] ?? null), "html", null, true); yield "</p> "; } // line 10 yield " "; // line 11 if ((($tmp = ($context["prefilledFromYear"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 12 yield " <div class=\"alert alert-info\"> No transformation statistics were found for "; // line 13 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["declarationYear"] ?? null), "html", null, true); yield ". The form has been pre-filled from your "; // line 14 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["prefilledFromYear"] ?? null), "html", null, true); yield " declaration. Please review and update before saving. </div> "; } elseif ((($tmp = ! // line 16 ($context["hasCurrentYearDeclaration"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 17 yield " <p class=\"alert alert-secondary\"> No previous annual declaration was found. Please complete the transformation statistics for "; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["declarationYear"] ?? null), "html", null, true); yield ". </p> "; } // line 21 yield " <p class=\"mb-4\"> These fields match the data used on the transformation reporting dashboards (firm profile, three-year turnover, B-BBEE level, and staff counts by occupational band and demographic column). </p> "; // line 27 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_start', ["attr" => ["class" => "well cesa-mp-transformation-form", "novalidate" => "novalidate", "id" => "cesa-mp-transformation-form"]]); yield " "; // line 28 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors'); yield " <h4 class=\"mt-4\">Firm summary</h4> <div class=\"row\"> <div class=\"col-md-6\">"; // line 32 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "smme", [], "any", false, false, false, 32), 'row'); yield "</div> <div class=\"col-md-6\">"; // line 33 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "bbbeeLevel", [], "any", false, false, false, 33), 'row'); yield "</div> <div class=\"col-md-6\">"; // line 34 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "blackOwned", [], "any", false, false, false, 34), 'row'); yield "</div> <div class=\"col-md-6\">"; // line 35 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "blackWomenOwned", [], "any", false, false, false, 35), 'row'); yield "</div> <div class=\"col-md-6\">"; // line 36 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "totalStaff", [], "any", false, false, false, 36), 'row'); yield "</div> <div class=\"col-md-6\">"; // line 37 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, ($context["form"] ?? null), "threeYearsAverageTurnover", [], "any", false, false, false, 37), 'row'); yield "</div> </div> <h4 class=\"mt-5\">Staff headcount by occupational band</h4> <p class=\"small text-muted mb-3\"> For each band below, enter headcount per demographic category (same columns as the management reporting graphs). </p> "; // line 45 $context["demos"] = ["ma", "mc", "mi", "mw", "mn", "fa", "fc", "fi", "fw", "fn"]; // line 46 $context["bands"] = ["trans_top" => "Top management", "trans_senior" => "Senior management", "trans_prof" => "Professionally qualified", "trans_skilled" => "Skilled", "trans_semi" => "Semi-skilled", "trans_unskill" => "Unskilled", "trans_temp" => "Temporary"]; // line 55 yield " "; // line 56 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["bands"] ?? null)); foreach ($context['_seq'] as $context["prefix"] => $context["bandTitle"]) { // line 57 yield " <h5 class=\"mt-4 mb-2\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["bandTitle"], "html", null, true); yield "</h5> <div class=\"row\"> "; // line 59 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["demos"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["d"]) { // line 60 yield " "; $context["fname"] = (($context["prefix"] . "_") . $context["d"]); // line 61 yield " <div class=\"col-6 col-md-4 col-lg-3 mb-2\">"; yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((($_v0 = ($context["form"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0[($context["fname"] ?? null)] ?? null) : null), 'row'); yield "</div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['d'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 63 yield " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['prefix'], $context['bandTitle'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 65 yield " <div class=\"row mt-4\"> <div class=\"col-12\"> <button type=\"submit\" class=\"btn btn-primary\">Save transformation data</button> </div> </div> "; // line 72 yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_end'); yield " "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@MemberBundle/Portal/transformation_embed.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 197 => 72, 188 => 65, 181 => 63, 172 => 61, 169 => 60, 165 => 59, 159 => 57, 155 => 56, 152 => 55, 150 => 46, 148 => 45, 137 => 37, 133 => 36, 129 => 35, 125 => 34, 121 => 33, 117 => 32, 110 => 28, 106 => 27, 98 => 21, 92 => 18, 89 => 17, 87 => 16, 82 => 14, 78 => 13, 75 => 12, 73 => 11, 70 => 10, 64 => 8, 62 => 7, 58 => 6, 55 => 5, 46 => 3, 42 => 2,); } public function getSourceContext(): Source { return new Source("", "@MemberBundle/Portal/transformation_embed.html.twig", "/var/www/v3.cesa.co.za/src/MemberBundle/Resources/views/Portal/transformation_embed.html.twig"); } }