diff --git a/app/commands/SendRecurringInvoices.php b/app/commands/SendRecurringInvoices.php index 86061b14ba6e..29b0cc41b3bf 100755 --- a/app/commands/SendRecurringInvoices.php +++ b/app/commands/SendRecurringInvoices.php @@ -51,7 +51,7 @@ class SendRecurringInvoices extends Command { } $invoice->save(); - + foreach ($recurInvoice->invoice_items as $recurItem) { $item = InvoiceItem::createNew($recurItem); diff --git a/app/models/Invoice.php b/app/models/Invoice.php index 3a7c88c97164..2bf16e81d876 100755 --- a/app/models/Invoice.php +++ b/app/models/Invoice.php @@ -109,7 +109,7 @@ class Invoice extends EntityModel return false; } } - + switch ($this->frequency_id) { case FREQUENCY_WEEKLY: