Enhance CardOrder model and SMS functionality

- Added unique ID generation and SMS notification upon CardOrder creation.
- Updated CardOrdersTable to default sort by creation date.
- Implemented logging for SMS sending in SmsRepository for better debugging.
This commit is contained in:
Mekan1206
2025-12-21 05:05:28 +05:00
parent c0bfe974ad
commit 59548a486f
4 changed files with 17 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ class SmsRepository
public static function sendSMS(string|int $phone, string|int $message): mixed
{
if (app()->environment('local')) {
info('Sending SMS to ' . $phone . ' with message: ' . $message);
return true;
}