Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Metodo para alterar o status da assistencia Recolhida
- *
- * @name alteraStatusRecolhimento
- * @access Public
- * @author Tássio Neri
- * @param integer $idAssistencia Codigo da Assistencia
- * @param integer $status Status
- * @return Array
- */
- public function alteraStatusRecolhimento($idAssistencia, $status)
- {
- //Verifica se foi informado o cod
- if(empty($idAssistencia))
- throw new Exception("Erro ao alterar Status da Assistência: Id da Assistência não informado.");
- //Verifica se foi informado o cod
- if(empty($status))
- throw new Exception("Erro ao alterar Status da Assistência: Status não informado.");
- //Objeto
- $oAssistencia = new Db_webpdv_Assistencia();
- //Busca Assistencias Recolhidas
- return $oAssistencia->buscaRecolhimentosRealizados($centralEntrega, $storeno, $status);
- }
Add Comment
Please, Sign In to add comment