Add Woo Manager email notification milestones with shared mail templates.
Deploy Ladill Woo Manager / deploy (push) Successful in 2m11s

New order, store connected, Pro expiry, and past-due alerts use the Ladill notification layout with woo branding; expiry reminders dedupe per threshold like hosting.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-07 02:59:45 +00:00
co-authored by Cursor
parent 1edf5aad43
commit cfdc8c7c09
22 changed files with 926 additions and 12 deletions
@@ -0,0 +1,21 @@
<?php
namespace App\Console\Commands;
use App\Services\Woo\WooProExpiryAlertService;
use Illuminate\Console\Command;
class NotifyProExpiringCommand extends Command
{
protected $signature = 'woo:pro-expiry-alerts';
protected $description = 'Send Woo Manager Pro/Business expiry milestone emails';
public function handle(WooProExpiryAlertService $alerts): int
{
$sent = $alerts->checkAll();
$this->info("Sent {$sent} pro expiry alert(s).");
return self::SUCCESS;
}
}