Fix broken opt-in notifications

This commit is contained in:
2022-02-11 00:51:16 +00:00
parent 025f69f622
commit 294c678283
157 changed files with 39 additions and 18 deletions

0
app/Services/AccountSuspensionService.php Normal file → Executable file
View File

0
app/Services/ApplicationService.php Normal file → Executable file
View File

3
app/Services/AppointmentService.php Normal file → Executable file
View File

@@ -9,6 +9,7 @@ use App\Appointment;
use App\Exceptions\InvalidAppointmentStatusException;
use App\Notifications\ApplicationMoved;
use App\Notifications\AppointmentCancelled;
use App\Notifications\AppointmentFinished;
use App\Notifications\AppointmentScheduled;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
@@ -104,7 +105,7 @@ class AppointmentService
if ($updateApplication)
{
$application->setStatus('STAGE_PEERAPPROVAL');
$application->user->notify(new ApplicationMoved());
$application->user->notify(new AppointmentFinished($application->appointment));
}
}
else

0
app/Services/CommentService.php Normal file → Executable file
View File

0
app/Services/ConfigurationService.php Normal file → Executable file
View File

0
app/Services/ContactService.php Normal file → Executable file
View File

0
app/Services/DemoService.php Normal file → Executable file
View File

0
app/Services/FormManagementService.php Normal file → Executable file
View File

0
app/Services/MeetingNoteService.php Normal file → Executable file
View File

0
app/Services/ProfileService.php Normal file → Executable file
View File

0
app/Services/SecuritySettingsService.php Normal file → Executable file
View File

0
app/Services/TeamFileService.php Normal file → Executable file
View File

0
app/Services/TeamService.php Normal file → Executable file
View File