api dashboard
This commit is contained in:
@@ -58,7 +58,7 @@ class TransactionOnlineController extends Controller
|
||||
}
|
||||
|
||||
public function updateTransactionOnline(){
|
||||
$transactions = TransactionOnline::on('mysql7')->where([['status','PAID'],['update_status',0]])->get();
|
||||
$transactions = TransactionOnline::on('mysql7')->where([['status','=','PAID'],['update_status',0]])->get();
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
foreach($transactions as $index=>$transaction){
|
||||
|
||||
Reference in New Issue
Block a user