diff --git a/routes/web.php b/routes/web.php
index 79d4f53a..8a3e3f46 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -29,7 +29,7 @@ Route::get('/po-approval', function(){
echo "".$invoice->invoice->booking->id."
";
}
$oldCompletedInvoices = Invoice::where('invoice_path', '!=', '')->orWhereNotNull('invoice_path')->get();
- $newCompletedInvoices = Invoice::whereIn('invoice_id', $approvedInvoices)->get();
+ $newCompletedInvoices = Invoice::whereIn('id', $approvedInvoices)->get();
$total = count($oldCompletedInvoices) + count($newCompletedInvoices);
echo "