Created
January 18, 2020 05:12
-
-
Save parzibyte/9c708b20cb6670f3a1b65e0461b5782d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
private function enviarCorreoFalta($idAlumno, $fecha) | |
{ | |
$alumno = Alumno::find($idAlumno); | |
$tutor = Tutor::find($alumno->id_tutor); | |
$mailable = new NotificacionAsistenciaAlumno($alumno, $fecha); | |
Mail::to($tutor->correo)->send($mailable); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment