Fix for reminders

This commit is contained in:
Hillel Coren 2017-03-20 10:21:14 +02:00
parent 3bcba163c4
commit 1e575e50e9

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)) {