Simplify recipient emails and add live upload progress on create.
Deploy Ladill Transfer / deploy (push) Successful in 47s
Deploy Ladill Transfer / deploy (push) Successful in 47s
Recipients always get the download link immediately when an email is set. Large files upload in the background with per-file and overall progress bars. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,7 +4,6 @@ namespace App\Console\Commands;
|
||||
|
||||
use App\Services\Transfer\TransferBillingService;
|
||||
use App\Services\Transfer\TransferOwnerMailService;
|
||||
use App\Services\Transfer\TransferRecipientMailService;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class ProcessTransferBillingCommand extends Command
|
||||
@@ -15,19 +14,16 @@ class ProcessTransferBillingCommand extends Command
|
||||
|
||||
public function handle(
|
||||
TransferBillingService $billing,
|
||||
TransferRecipientMailService $recipients,
|
||||
TransferOwnerMailService $owners,
|
||||
): int {
|
||||
$result = $billing->processDueRenewals();
|
||||
$recipientEmails = $recipients->processDueMilestones();
|
||||
$ownerEmails = $owners->processGraceReminders();
|
||||
|
||||
$this->info(sprintf(
|
||||
'Transfer billing: %d renewed, %d entered grace, %d deleted, %d recipient reminders, %d owner grace reminders.',
|
||||
'Transfer billing: %d renewed, %d entered grace, %d deleted, %d owner grace reminders.',
|
||||
$result['renewed'],
|
||||
$result['graced'],
|
||||
$result['deleted'],
|
||||
$recipientEmails,
|
||||
$ownerEmails,
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user