Fix: accoutType -> accountType

This commit is contained in:
2019-04-16 15:30:02 +09:00
parent d9945aeb10
commit a0766cd866
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
"<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='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='button' class='col-sm-1' value='+' onClick='register(this)'>"
+ " <input type='button' class='col-sm-1' disabled value='-'>"
+7 -7
View File
@@ -91,8 +91,8 @@
+ " <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='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='new_account_type col-sm' disabled value='" + accoutType(jsonList[i].requestedAccountType) + "'>"
+ " <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='" + 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='" + jsonList[i].requestedDateTime + "'>"
+ " <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_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='registered_account_type col-sm text-success' disabled value='" + accoutType(jsonList[i].registeredAccountType) + "'>"
+ " <input type='text' class='new_account_type col-sm text-success' disabled value='" + accoutType(jsonList[i].requestedAccountType) + "'>"
+ " <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='" + 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='" + jsonList[i].requestedDateTime + "'>"
+ " <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 id = maestroID.text();
// var accountType = $(inputButton).siblings(".requested_account_type");
// var upgradeAccountType = accoutTypeValue(accountType.val());
// var upgradeAccountType = accountTypeValue(accountType.val());
var children = inputButton.parentElement.childNodes;
var maestroUpgradeID;
@@ -151,11 +151,11 @@
continue;
} else if (children[i].className == "registered_account_type col-sm") {
// upgradeAccountType = children[i].value;
registeredAccountType = accoutTypeValue(children[i].value);
registeredAccountType = accountTypeValue(children[i].value);
continue;
} else if (children[i].className == "new_account_type col-sm") {
// upgradeAccountType = children[i].value;
upgradeAccountType = accoutTypeValue(children[i].value);
upgradeAccountType = accountTypeValue(children[i].value);
continue;
}
}