Skip to content

Commit a1718b5

Browse files
committed
payment now done
1 parent 20747ae commit a1718b5

File tree

8 files changed

+253
-177
lines changed

8 files changed

+253
-177
lines changed

app/Http/Controllers/Backend/OrderController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class OrderController extends Controller
1616
{
1717
public function index(Request $request)
1818
{
19-
$payments = Purchase::where('approved', $request->status)->latest()->paginate(paginateCount());
19+
$payments = Purchase::where('approved', $request->status)->latest('updated_at')->paginate(paginateCount());
2020
return view('backend.payment.approved', compact('payments'));
2121
}
2222

0 commit comments

Comments
 (0)