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:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user