Add: admin - maestro all list page
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
function accoutType(accountType) {
|
||||
function accountType(accountType) {
|
||||
switch(accountType) {
|
||||
case 1:
|
||||
return "20명 (1만원)";
|
||||
@@ -40,6 +40,58 @@ function accoutType(accountType) {
|
||||
return accountType + "? (N/A)";
|
||||
}
|
||||
|
||||
function accountStatus(accountType, activateStatus) {
|
||||
if(activateStatus == 0)
|
||||
return "입금대기";
|
||||
else if(activateStatus == 100)
|
||||
return "취소";
|
||||
|
||||
switch(accountType) {
|
||||
case 1:
|
||||
return "20명";
|
||||
|
||||
case 2:
|
||||
return "50명";
|
||||
|
||||
case 3:
|
||||
return "100명";
|
||||
|
||||
case 4:
|
||||
return "500명";
|
||||
|
||||
case 5:
|
||||
return "1,000명";
|
||||
|
||||
case 100:
|
||||
return "학생체험";
|
||||
|
||||
case 101:
|
||||
return "마에체험";
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
function accountStatusColorClass(status) {
|
||||
switch(status) {
|
||||
case "비활성화":
|
||||
return " text-muted";
|
||||
|
||||
case "취소":
|
||||
return " text-white bg-danger";
|
||||
|
||||
case "입금대기":
|
||||
return " bg-warning";
|
||||
|
||||
case "학생체험":
|
||||
case "마에체험":
|
||||
return " text-success";
|
||||
|
||||
default:
|
||||
return " text-primary";
|
||||
}
|
||||
}
|
||||
|
||||
function accountTypePrice(accountType) {
|
||||
switch(accountType) {
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user