fix update

This commit is contained in:
Afiq
2022-03-03 13:19:36 +08:00
parent 4a8d10b7a9
commit 09a2302579
@@ -254,7 +254,7 @@ class TransactionOnlineController extends Controller
}
public function getListUnsuccessful(){
$list = TransactionOnline::on('mysql7')->whereIn('status',['NOT PAID','UNSUCCESSFUL'])->get();
$list = TransactionOnline::on('mysql7')->where('status','NOT PAID')->orderBy('id', 'desc')->take(10)->get();
return response()->json($list);
}