Fix: accoutType -> accountType
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
"<div class='form-group player-list row mx-2 mb-1'>"
|
"<div class='form-group player-list row mx-2 mb-1'>"
|
||||||
+ " <input type='text' class='maestro_id d-none' value='" + jsonList[i].maestroID + "'>"
|
+ " <input type='text' class='maestro_id d-none' value='" + jsonList[i].maestroID + "'>"
|
||||||
+ " <input type='text' class='col-sm' value='" + jsonList[i].maestroName + "'>"
|
+ " <input type='text' class='col-sm' value='" + jsonList[i].maestroName + "'>"
|
||||||
+ " <input type='text' class='col-sm' value='" + accoutType(jsonList[i].accountType) + "'>"
|
+ " <input type='text' class='col-sm' value='" + accountType(jsonList[i].accountType) + "'>"
|
||||||
+ " <input type='text' class='col-sm' value='" + jsonList[i].acceptClausesDateTime.substring(0, 10) + "'>"
|
+ " <input type='text' class='col-sm' value='" + jsonList[i].acceptClausesDateTime.substring(0, 10) + "'>"
|
||||||
+ " <input type='button' class='col-sm-1' value='+' onClick='register(this)'>"
|
+ " <input type='button' class='col-sm-1' value='+' onClick='register(this)'>"
|
||||||
+ " <input type='button' class='col-sm-1' disabled value='-'>"
|
+ " <input type='button' class='col-sm-1' disabled value='-'>"
|
||||||
|
|||||||
@@ -91,8 +91,8 @@
|
|||||||
+ " <input type='text' class='maestro_upgrade_id d-none' disabled value='" + jsonList[i].maestroUpgradeID + "'>"
|
+ " <input type='text' class='maestro_upgrade_id d-none' disabled value='" + jsonList[i].maestroUpgradeID + "'>"
|
||||||
+ " <input type='text' class='maestro_id d-none' disabled value='" + jsonList[i].maestroID + "'>"
|
+ " <input type='text' class='maestro_id d-none' disabled value='" + jsonList[i].maestroID + "'>"
|
||||||
+ " <input type='text' class='col-sm' disabled value='" + jsonList[i].maestroName + "'>"
|
+ " <input type='text' class='col-sm' disabled value='" + jsonList[i].maestroName + "'>"
|
||||||
+ " <input type='text' class='registered_account_type col-sm' disabled value='" + accoutType(jsonList[i].registeredAccountType) + "'>"
|
+ " <input type='text' class='registered_account_type col-sm' disabled value='" + accountType(jsonList[i].registeredAccountType) + "'>"
|
||||||
+ " <input type='text' class='new_account_type col-sm' disabled value='" + accoutType(jsonList[i].requestedAccountType) + "'>"
|
+ " <input type='text' class='new_account_type col-sm' disabled value='" + accountType(jsonList[i].requestedAccountType) + "'>"
|
||||||
+ " <input type='text' class='col-sm' disabled value='" + NumberUtil.numberWithCommas(price(jsonList[i].requestedAccountType, jsonList[i].registeredAccountType)) + "'>"
|
+ " <input type='text' class='col-sm' disabled value='" + NumberUtil.numberWithCommas(price(jsonList[i].requestedAccountType, jsonList[i].registeredAccountType)) + "'>"
|
||||||
+ " <input type='text' class='col-sm' disabled value='" + jsonList[i].requestedDateTime + "'>"
|
+ " <input type='text' class='col-sm' disabled value='" + jsonList[i].requestedDateTime + "'>"
|
||||||
+ " <input type='text' class='col-sm' disabled value='" + status(jsonList[i].status) + "'>"
|
+ " <input type='text' class='col-sm' disabled value='" + status(jsonList[i].status) + "'>"
|
||||||
@@ -105,8 +105,8 @@
|
|||||||
+ " <input type='text' class='maestro_upgrade_id d-none' disabled value='" + jsonList[i].maestroUpgradeID + "'>"
|
+ " <input type='text' class='maestro_upgrade_id d-none' disabled value='" + jsonList[i].maestroUpgradeID + "'>"
|
||||||
+ " <input type='text' class='maestro_id d-none' disabled value='" + jsonList[i].maestroID + "'>"
|
+ " <input type='text' class='maestro_id d-none' disabled value='" + jsonList[i].maestroID + "'>"
|
||||||
+ " <input type='text' class='col-sm text-success' disabled value='" + jsonList[i].maestroName + "'>"
|
+ " <input type='text' class='col-sm text-success' disabled value='" + jsonList[i].maestroName + "'>"
|
||||||
+ " <input type='text' class='registered_account_type col-sm text-success' disabled value='" + accoutType(jsonList[i].registeredAccountType) + "'>"
|
+ " <input type='text' class='registered_account_type col-sm text-success' disabled value='" + accountType(jsonList[i].registeredAccountType) + "'>"
|
||||||
+ " <input type='text' class='new_account_type col-sm text-success' disabled value='" + accoutType(jsonList[i].requestedAccountType) + "'>"
|
+ " <input type='text' class='new_account_type col-sm text-success' disabled value='" + accountType(jsonList[i].requestedAccountType) + "'>"
|
||||||
+ " <input type='text' class='col-sm text-success' disabled value='" + NumberUtil.numberWithCommas(price(jsonList[i].requestedAccountType, jsonList[i].registeredAccountType)) + "'>"
|
+ " <input type='text' class='col-sm text-success' disabled value='" + NumberUtil.numberWithCommas(price(jsonList[i].requestedAccountType, jsonList[i].registeredAccountType)) + "'>"
|
||||||
+ " <input type='text' class='col-sm text-success' disabled value='" + jsonList[i].requestedDateTime + "'>"
|
+ " <input type='text' class='col-sm text-success' disabled value='" + jsonList[i].requestedDateTime + "'>"
|
||||||
+ " <input type='text' class='col-sm text-success' disabled value='" + status(jsonList[i].status) + "'>"
|
+ " <input type='text' class='col-sm text-success' disabled value='" + status(jsonList[i].status) + "'>"
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
// var maestroID = $(inputButton).siblings(".maestro_id");
|
// var maestroID = $(inputButton).siblings(".maestro_id");
|
||||||
// var id = maestroID.text();
|
// var id = maestroID.text();
|
||||||
// var accountType = $(inputButton).siblings(".requested_account_type");
|
// var accountType = $(inputButton).siblings(".requested_account_type");
|
||||||
// var upgradeAccountType = accoutTypeValue(accountType.val());
|
// var upgradeAccountType = accountTypeValue(accountType.val());
|
||||||
|
|
||||||
var children = inputButton.parentElement.childNodes;
|
var children = inputButton.parentElement.childNodes;
|
||||||
var maestroUpgradeID;
|
var maestroUpgradeID;
|
||||||
@@ -151,11 +151,11 @@
|
|||||||
continue;
|
continue;
|
||||||
} else if (children[i].className == "registered_account_type col-sm") {
|
} else if (children[i].className == "registered_account_type col-sm") {
|
||||||
// upgradeAccountType = children[i].value;
|
// upgradeAccountType = children[i].value;
|
||||||
registeredAccountType = accoutTypeValue(children[i].value);
|
registeredAccountType = accountTypeValue(children[i].value);
|
||||||
continue;
|
continue;
|
||||||
} else if (children[i].className == "new_account_type col-sm") {
|
} else if (children[i].className == "new_account_type col-sm") {
|
||||||
// upgradeAccountType = children[i].value;
|
// upgradeAccountType = children[i].value;
|
||||||
upgradeAccountType = accoutTypeValue(children[i].value);
|
upgradeAccountType = accountTypeValue(children[i].value);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user