Fix for reminders

This commit is contained in:
Hillel Coren 2017-03-20 10:20:51 +02:00
parent 2c32590da9
commit 6788147bd1

View File

@ -142,7 +142,7 @@ trait SendsEmails
* *
* @return bool|string * @return bool|string
*/ */
public function getInvoiceReminder(Invoice $invoice) public function getInvoiceReminder($invoice)
{ {
for ($i = 1; $i <= 3; $i++) { for ($i = 1; $i <= 3; $i++) {
if ($date = $this->getReminderDate($i)) { if ($date = $this->getReminderDate($i)) {