Set new payphone enabled
This commit is contained in:
@@ -82,6 +82,7 @@ function createPayPhone(position, number, addedBy = defaultNoAccountId) {
|
|||||||
tempPayPhoneData.whenAdded = getCurrentUnixTimestamp();
|
tempPayPhoneData.whenAdded = getCurrentUnixTimestamp();
|
||||||
tempPayPhoneData.whoDeleted = defaultNoAccountId;
|
tempPayPhoneData.whoDeleted = defaultNoAccountId;
|
||||||
tempPayPhoneData.whenDeleted = 0;
|
tempPayPhoneData.whenDeleted = 0;
|
||||||
|
tempPayPhoneData.enabled = true;
|
||||||
|
|
||||||
getServerData().payPhones.push(tempPayPhoneData);
|
getServerData().payPhones.push(tempPayPhoneData);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user