mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 22:26:27 +00:00
debug 2
This commit is contained in:
@@ -862,14 +862,18 @@ const getLastHistory = (cardNumber) => {
|
||||
|
||||
// INSERT FRAUD TRANSACTION
|
||||
const insertFraudTransaction = (reservationNumber) => {
|
||||
let rsv = ``;
|
||||
let rsv = '';
|
||||
if (reservationNumber.length > 0) {
|
||||
for (let index = 0; index < reservationNumber.length; index++) {
|
||||
if (index > 0) {
|
||||
rsv = rsv + `,`;
|
||||
rsv = rsv + ',';
|
||||
}
|
||||
|
||||
rsv = `'` + rsv + reservationNumber[index] + `'`;
|
||||
if (index == 0) {
|
||||
rsv = "'" + reservationNumber[index] + "'";
|
||||
} else {
|
||||
rsv = "'" + rsv + reservationNumber[index] + "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user