added messages list, new client form, logic for client Apps plus others

This commit is contained in:
Kwesi Banson Jnr
2026-03-22 22:29:28 +00:00
parent c68c007945
commit 4ab0fda326
858 changed files with 242393 additions and 337 deletions

View File

@@ -9,4 +9,15 @@ use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesRequests, ValidatesRequests;
function validate_11_or_12_digits($string) {
// Check if the string contains only digits
if (ctype_digit($string)) {
// Check if the length is 11 or 12
$length = strlen($string);
if ($length === 11 || $length === 12) {
return true;
}
}
return false;
}
}