Minor fixes

This commit is contained in:
harshjagad20
2022-03-03 13:25:12 +05:30
parent ea9748ca68
commit 69d8c95557
6 changed files with 36 additions and 15 deletions

View File

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