Files
kulakpos_web/Modules/MarketingAddon/App/Http/Controllers/PaymentReminderController.php
eko54r 05fd3230b8
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped
update marketing
2026-05-14 11:55:22 +07:00

22 lines
515 B
PHP

<?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.');
}
}