first commit

This commit is contained in:
Claudecio Martins
2026-06-16 10:04:10 -03:00
commit a951944997
4463 changed files with 419677 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace WorkbloomERP\Constants;
class SpedCRTConst {
public const CRT = [
"1" => "Simples Nacional",
"2" => "Simples Nacional - Excesso de Sublimite de Receita Bruta",
"3" => "Regime Normal",
"4" => "MEI - Microempreendedor Individual"
];
public static function getAll(): array {
return self::CRT;
}
public static function getDescription(string|int|null $code): string {
return self::CRT[$code] ?? 'Código de regime tributário desconhecido.';
}
public static function exists(string|int|null $code): bool {
return isset(self::CRT[$code]);
}
}