mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-18 02:34:08 +00:00
Minor fixes
This commit is contained in:
@@ -12,7 +12,7 @@ class ChangeOverDueStatusToSent extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
$overdueInvoices = Invoice::where('status', Invoice::STATUS_OVERDUE)->get();
|
||||
$overdueInvoices = Invoice::where('status', 'OVERDUE')->get();
|
||||
|
||||
if ($overdueInvoices) {
|
||||
$overdueInvoices->map(function ($overdueInvoice) {
|
||||
|
||||
Reference in New Issue
Block a user