From 01640e0b6aae8407d7a7c8161ecd55c5fae1a403 Mon Sep 17 00:00:00 2001 From: Thiago Gomes Verissimo Date: Thu, 10 Oct 2024 14:27:26 -0300 Subject: [PATCH] Update UspdevValidator.php --- src/UspdevValidator.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/UspdevValidator.php b/src/UspdevValidator.php index 98148d9..0bc5c4f 100755 --- a/src/UspdevValidator.php +++ b/src/UspdevValidator.php @@ -56,6 +56,13 @@ public function graduacao($attribute, $value, $parameters) { return Graduacao::verifica($value, $unidade); } + public function alunoconvenioint($attribute, $value, $parameters) { + if(empty(trim($value))) return true; + + $unidade = getenv('REPLICADO_CODUNDCLG'); + return Graduacao::verificarAlunoConvenioInt($value, $unidade); + } + public function patrimonio($attribute, $value, $parameters) { if(empty(trim($value))) return true;