Clarify cron output
This commit is contained in:
parent
8e37d063fa
commit
9cf72b5f0c
1 changed files with 3 additions and 1 deletions
|
|
@ -116,8 +116,10 @@ class SendRecurringInvoices extends Command
|
|||
try {
|
||||
$invoice = $this->invoiceRepo->createRecurringInvoice($recurInvoice);
|
||||
if ($invoice && ! $invoice->isPaid()) {
|
||||
$this->info('Sending Invoice');
|
||||
$this->info('Not billed - Sending Invoice');
|
||||
$this->mailer->sendInvoice($invoice);
|
||||
} elseif ($invoice) {
|
||||
$this->info('Successfully billed invoice');
|
||||
}
|
||||
} catch (Exception $exception) {
|
||||
$this->info('Error: ' . $exception->getMessage());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue