Add confirm dialog to reminder button.

Add a show function in alertStore so we can use alerts in a defined way everywhere.
#12 #33
This commit is contained in:
2025-10-30 10:15:02 +01:00
parent 9439d14b59
commit f688e3fb17
4 changed files with 100 additions and 39 deletions
+2 -2
View File
@@ -28,8 +28,8 @@
Route::get('/invoices/{id}/remind', function ($id) {
$invoice = InvoiceController::single($id);
// Mail::to('daniel@vollstock.de')->send(new Reminder($invoice));
return new Reminder($invoice);
Mail::to('daniel@vollstock.de')->send(new Reminder($invoice));
// return new Reminder($invoice);
});
Route::get('/offers/{id}/confirm', function ($id) {