update marketing
All checks were successful
All checks were successful
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\MarketingAddon\App\Http\Controllers;
|
||||
|
||||
use App\Models\Party;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class PaymentReminderController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index(string $party_id)
|
||||
{
|
||||
$party = Party::with('business')->findOrFail($party_id);
|
||||
|
||||
$this->paymentReminderMessage($party->business, $party);
|
||||
|
||||
return redirect()->back()->with('message', 'Payment reminder sent successfully.');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user