-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from VuthyVey/development
Development
- Loading branch information
Showing
5 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ module.exports.set = function(router, pool) { | |
var apartmentTransferBudget = 0; | ||
var emailsList = []; | ||
|
||
var emailToRemove = await pool.query("SELECT email FROM account WHERE role = 'senior_student' or role = 'apartment' or email = '[email protected]' or role = 'central_bank' ORDER BY role, username"); | ||
var emailToRemove = await pool.query("SELECT email FROM account WHERE role = 'senior_student' or role = 'apartment' or role = 'central_bank' ORDER BY role, username"); | ||
|
||
for(var i = 0; i < emailToRemove.rows.length; i++){ | ||
emailsList.push(emailToRemove.rows[i].email); | ||
|
@@ -146,7 +146,9 @@ module.exports.set = function(router, pool) { | |
budgetRemain = fix.fixROE(budgetRemain); | ||
|
||
apartmentTransferBudget = fix.fixROE(apartmentTransferBudget); | ||
|
||
for (var i = 0; i < dataTransferFinish.rows.length; i++){ | ||
// dataTransferFinish.rows[i].date = moment(dataTransferFinish.rows[i].date).tz("Asia/Bangkok"); | ||
} | ||
response.render('apartment/apartment_history', { | ||
user: request.user, | ||
data: personality.rows[0].role, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ module.exports.set = function(router, pool) { | |
var emailsList = []; | ||
|
||
|
||
var emailToRemove = await pool.query("SELECT email FROM account WHERE role = 'senior_student' or role = 'apartment' or email = '[email protected]' or role = 'central_bank' ORDER BY role, username"); | ||
var emailToRemove = await pool.query("SELECT email FROM account WHERE role = 'senior_student' or role = 'apartment' or role = 'central_bank' ORDER BY role, username"); | ||
|
||
for(var i = 0; i < emailToRemove.rows.length; i++){ | ||
emailsList.push(emailToRemove.rows[i].email); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters