mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04: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