{# Fragment for WordPress / cesa-main embed (no base layout). Expects: form, firmName, contactName, declarationYear, prefilledFromYear, hasCurrentYearDeclaration #} {% for message in app.flashes('success') %}
{{ message }}
{% endfor %}

{{ firmName }}

{% if contactName|trim %}

Signed in as: {{ contactName }}

{% endif %} {% if prefilledFromYear %}
No transformation statistics were found for {{ declarationYear }}. The form has been pre-filled from your {{ prefilledFromYear }} declaration. Please review and update before saving.
{% elseif not hasCurrentYearDeclaration %}

No previous annual declaration was found. Please complete the transformation statistics for {{ declarationYear }}.

{% endif %}

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).

{{ form_start(form, { attr: { class: 'well cesa-mp-transformation-form', novalidate: 'novalidate', id: 'cesa-mp-transformation-form' } }) }} {{ form_errors(form) }}

Firm summary

{{ form_row(form.smme) }}
{{ form_row(form.bbbeeLevel) }}
{{ form_row(form.blackOwned) }}
{{ form_row(form.blackWomenOwned) }}
{{ form_row(form.totalStaff) }}
{{ form_row(form.threeYearsAverageTurnover) }}

Staff headcount by occupational band

For each band below, enter headcount per demographic category (same columns as the management reporting graphs).

{% set demos = ['ma', 'mc', 'mi', 'mw', 'mn', 'fa', 'fc', 'fi', 'fw', 'fn'] %} {% set 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' } %} {% for prefix, bandTitle in bands %}
{{ bandTitle }}
{% for d in demos %} {% set fname = prefix ~ '_' ~ d %}
{{ form_row(form[fname]) }}
{% endfor %}
{% endfor %}
{{ form_end(form) }}