This commit is contained in:
@@ -1485,7 +1485,6 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
case "enter": {
|
||||
if ( _str_curBtnID=='btn_ordernow' ){
|
||||
console.log("TODO::>> ORDERING NOW...");
|
||||
__ifxn_processAmCartOrder(
|
||||
function() {
|
||||
//Return to menu
|
||||
@@ -2024,7 +2023,6 @@ HotelTV.ui_appfull = (function() {
|
||||
if ( _aminfo_ctgy[__status_am_specific.category_sel.cur].name == "CARTS" ){
|
||||
console.log("TODO::> NOTIFY cannot enter item sel on CARTS");
|
||||
}else if ( _aminfo_ctgy[__status_am_specific.category_sel.cur].name == "ORDER" ){
|
||||
console.log("TODO::> NOTIFY cannot enter item sel on ORDER");
|
||||
let __str_notify_msg = _trTbl.ui.amenity.message.invalidCategory[_state.lang].replace('__MENU__', __uifxn_AppFull_getOrderMenuName(_aminfo_ctgy));
|
||||
HotelTV.ui_utils.ShowNotificationMsgBalloon(__str_notify_msg, 5);
|
||||
}else{
|
||||
@@ -2220,7 +2218,6 @@ HotelTV.ui_appfull = (function() {
|
||||
if ( _aminfo_ctgy[__status_am_specific.category_sel.cur].name == "CARTS" ){
|
||||
console.log("TODO::> Draw Carts");
|
||||
}else if ( _aminfo_ctgy[__status_am_specific.category_sel.cur].name == "ORDER" ){
|
||||
console.log("TODO::> Draw Order");
|
||||
__uifxn_AppFull_DrawAmOrderList('build');
|
||||
_state.menu.stage.prev = _state.menu.stage.cur;
|
||||
_state.menu.stage.cur = "amenity_ctgy_orderlists";
|
||||
@@ -3025,7 +3022,6 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
case "enter": {
|
||||
if ( _str_curBtnID=='btn_ordernow' ){
|
||||
console.log("TODO::>> ORDERING NOW...");
|
||||
__ifxn_processRsCartOrder(
|
||||
function() {
|
||||
//Return to menu
|
||||
@@ -3566,7 +3562,6 @@ HotelTV.ui_appfull = (function() {
|
||||
if ( _rsinfo_ctgy[__status_rs_specific.category_sel.cur].name == "CARTS" ){
|
||||
console.log("TODO::> NOTIFY cannot enter item sel on CARTS");
|
||||
}else if ( _rsinfo_ctgy[__status_rs_specific.category_sel.cur].name == "ORDER" ){
|
||||
console.log("TODO::> NOTIFY cannot enter item sel on ORDER");
|
||||
let __str_notify_msg = _trTbl.ui.roomservice.message.invalidCategory[_state.lang].replace('__MENU__', __uifxn_AppFull_getOrderMenuName(_rsinfo_ctgy));
|
||||
HotelTV.ui_utils.ShowNotificationMsgBalloon(__str_notify_msg, 5);
|
||||
}else{
|
||||
@@ -3761,7 +3756,6 @@ HotelTV.ui_appfull = (function() {
|
||||
if ( _rsinfo_ctgy[__status_rs_specific.category_sel.cur].name == "CARTS" ){
|
||||
console.log("TODO::> Draw Carts");
|
||||
}else if ( _rsinfo_ctgy[__status_rs_specific.category_sel.cur].name == "ORDER" ){
|
||||
console.log("TODO::> Draw Order");
|
||||
__uifxn_AppFull_DrawRsOrderList('build');
|
||||
_state.menu.stage.prev = _state.menu.stage.cur;
|
||||
_state.menu.stage.cur = "roomservice_ctgy_orderlists";
|
||||
@@ -5882,58 +5876,38 @@ HotelTV.ui_appfull = (function() {
|
||||
//KEY이벤트 발생이 8초 이내인경우
|
||||
//SHOW USER GUIDE TIPS
|
||||
let show_stages = ["hotkey_mm_red", "hotkey_mm_green", "hotkey_mm_yellow", "hotkey_mm_blue", "main", "sub", "ctzgen", "tvCtgShow", "tvCtgHide", "mypage_select_menu"];
|
||||
let sz_msg = null;
|
||||
if (show_stages.includes(_state.menu.stage.cur) == true) {
|
||||
const ___ifxn_updateGuideMsg = function(_szMsg) {
|
||||
if ($('.guide>.tips').attr("value") != _szMsg) {
|
||||
$('.guide>.tips').attr("value", _szMsg);
|
||||
$('.guide>.tips').html(_szMsg);
|
||||
}
|
||||
}
|
||||
switch (_state.menu.stage.cur) {
|
||||
case "hotkey_mm_red":
|
||||
sz_msg = _trTbl.ui.guide.navi_brochure[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_brochure[_state.lang]);
|
||||
break;
|
||||
case "hotkey_mm_green":
|
||||
sz_msg = _trTbl.ui.guide.navi_brochure[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_brochure[_state.lang]);
|
||||
break;
|
||||
case "hotkey_mm_yellow":
|
||||
sz_msg = _trTbl.ui.guide.navi_brochure[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_brochure[_state.lang]);
|
||||
break;
|
||||
case "hotkey_mm_blue":
|
||||
sz_msg = _trTbl.ui.guide.navi_brochure[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_brochure[_state.lang]);
|
||||
break;
|
||||
case "main":
|
||||
//sz_msg = _trTbl.ui.guide.navi_menu[_state.lang] || "";
|
||||
sz_msg = _trTbl.ui.guide.navi_menu[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_menu[_state.lang]);
|
||||
break;
|
||||
case "sub":
|
||||
sz_msg = _trTbl.ui.guide.navi_menu[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_menu[_state.lang]);
|
||||
break;
|
||||
case "ctzgen":
|
||||
sz_msg = _trTbl.ui.guide.navi_ctz[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_ctz[_state.lang]);
|
||||
break;
|
||||
case "tvCtgShow":
|
||||
case "tvCtgHide":
|
||||
sz_msg = _trTbl.ui.guide.navi_tvchannel[_state.lang];
|
||||
if ($('.guide>.tips').text() != sz_msg) {
|
||||
$('.guide>.tips').text(sz_msg);
|
||||
}
|
||||
___ifxn_updateGuideMsg(_trTbl.ui.guide.navi_tvchannel[_state.lang]);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -7149,9 +7123,9 @@ HotelTV.ui_appfull = (function() {
|
||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||
}
|
||||
});
|
||||
} else if (_evt == "GUEST-CHECKIN") {
|
||||
} else if (_evt == "COMMAND-GUEST-CHECKIN") {
|
||||
|
||||
} else if (_evt == "GUEST-CHECKOUT") {
|
||||
} else if (_evt == "COMMAND-GUEST-CHECKOUT") {
|
||||
let _tmval = 30;
|
||||
let _state = HotelTV.state;
|
||||
let _trTbl = HotelTV.translation;
|
||||
@@ -7174,9 +7148,9 @@ HotelTV.ui_appfull = (function() {
|
||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||
}
|
||||
});
|
||||
} else if (_evt == "GUEST-UPDATE") {
|
||||
} else if (_evt == "COMMAND-GUEST-UPDATE") {
|
||||
|
||||
} else if (_evt == "GUEST-ROOMCHANGE") {
|
||||
} else if (_evt == "COMMAND-GUEST-ROOMCHANGE") {
|
||||
let _tmval = 30;
|
||||
let _state = HotelTV.state;
|
||||
let _trTbl = HotelTV.translation;
|
||||
|
||||
Reference in New Issue
Block a user