fix bill and invoice reminders

This commit is contained in:
yusufkaya0
2018-12-05 14:50:36 +03:00
parent a5dc30e838
commit e8821f2db3
5 changed files with 172 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class Bill extends Model
public function scopeDue($query, $date)
{
return $query->where('due_at', '=', $date);
return $query->whereDate('due_at', '=', $date);
}
public function scopeLatest($query)