feat(billing): renewals, coupons, VAT numbering, billing cycles and invoice payment tracking
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
ea9a53f742
commit
25f23d541e
@@ -44,6 +44,16 @@ final class MailSettings
|
||||
Config::set('mail', $config);
|
||||
}
|
||||
|
||||
public static function isConfigured(): bool
|
||||
{
|
||||
return filled(self::resolve()['mailer']['host'] ?? null);
|
||||
}
|
||||
|
||||
public static function isDelivering(): bool
|
||||
{
|
||||
return ! in_array(config('mail.default'), self::NON_DELIVERING_MAILERS, true);
|
||||
}
|
||||
|
||||
public static function transport(): ?string
|
||||
{
|
||||
return self::resolve()['transport'] ?? null;
|
||||
|
||||
Reference in New Issue
Block a user