mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 16:56:28 +00:00
Merge remote-tracking branch 'origin/develop_v1.5.2' into develop
This commit is contained in:
@@ -91,8 +91,8 @@ const cardHistory = async (req, res) => {
|
||||
new Date((parseInt(element.slice(0, 8), 16) + 946684800) * 1000)
|
||||
).format('YYYY-MM-DD HH:mm:ss');
|
||||
nominal = parseInt(element.slice(8, 16), 16);
|
||||
mid = element.slice(16, 20);
|
||||
tid = element.slice(20, 24);
|
||||
mid = element.slice(16, 20).toUpperCase();
|
||||
tid = element.slice(20, 24).toUpperCase();
|
||||
|
||||
// blok yang menandakan konten untuk reska
|
||||
checkReskaFormat = element.slice(14, 20);
|
||||
@@ -198,6 +198,14 @@ const history = async (req, res) => {
|
||||
// param
|
||||
let { mid, tid, card_number, start_date, end_date } = req.body;
|
||||
|
||||
if (mid) {
|
||||
mid = mid.toUpperCase();
|
||||
}
|
||||
|
||||
if (tid) {
|
||||
tid = tid.toUpperCase();
|
||||
}
|
||||
|
||||
// log info
|
||||
winston.logger.info(
|
||||
`${uniqueCode} [ REQUEST CARD-HISTORY-FROM-CMS ]: ${JSON.stringify(
|
||||
|
||||
Reference in New Issue
Block a user