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.217.117
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 /
src /
MemberBundle /
Form /
Delete
Unzip
Name
Size
Permission
Date
Action
DataTransformer
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Model
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Type
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
TransformationReportingChoices.php
2.54
KB
-rwxrwxr-x
2026-05-18 12:51
Save
Rename
<?php namespace App\MemberBundle\Form; /** * Values recognised by MemberFirmManager::processStats() for turnover / ownership charts. */ final class TransformationReportingChoices { /** @return array<string, string> label => stored value */ public static function smmeCategories(): array { $codes = [ 'Not specified', 'EME1', 'EME2', 'QSE1', 'QSE2', 'QSE3', 'QSE4', 'GEN1', 'GEN2', 'GEN3', 'GEN4', 'GEN5', 'GEN6', 'GEN7', 'GEN8', ]; $out = []; foreach ($codes as $c) { $out[$c] = $c === 'Not specified' ? 'NotSpecified' : $c; } return $out; } /** @return array<string, string> */ public static function blackOwnership(): array { return [ 'Less than 10%' => 'Less than 10%', 'Equal to or greater than 10 and less than 25%' => 'Equal to or greater than 10 and less than 25%', 'Equal to or greater than 25 and less than 51%' => 'Equal to or greater than 25 and less than 51%', 'Equal to or greater than 51 and less than 100%' => 'Equal to or greater than 51 and less than 100%', '100% / fully black-owned' => '100%', 'Black Owned' => 'Black Owned', ]; } /** @return array<string, string> */ public static function blackWomenOwnership(): array { return [ 'Less than 10%' => 'Less than 10%', 'Less than 30%' => 'Less than 30%', 'Equal to or greater than 10 and less than 30%' => 'Equal to or greater than 10 and less than 30%', 'Equal to or greater than 30 and less than 51%' => 'Equal to or greater than 30 and less than 51%', 'Equal to or greater than 51 and less than 100%' => 'Equal to or greater than 51 and less than 100%', '100%' => '100%', 'Equal to 100' => 'Equal to 100', ]; } /** @return array<string, int> */ public static function bbbeeLevels(): array { $r = []; for ($i = 1; $i <= 8; ++$i) { $r['Level '.$i] = $i; } return $r; } /** * @param array<string, string|int> $choices label => stored value */ public static function mergeStoredValue(array $choices, string $stored): array { if ($stored === '') { return $choices; } $vals = array_values($choices); if (in_array($stored, $vals, true)) { return $choices; } $choices[$stored.' (on file)'] = $stored; return $choices; } }