{"version":3,"sources":["Resource/image/icons/img_logo_pc.png","Resource/image/icons/img_logo_mobile.png","Resource/image/icons/ic_printer.png","Resource/image/icons/ic_menu_selected_new.png","Resource/image/icons/img_no_image.png","Api/GetUiLang.js","Share/Tools/switchLang.js","Components/GlobalSetting/LangSelector.jsx","Components/GlobalSetting/ChangeFontSize.jsx","Api/GetLangOption.js","Components/Header/Header.jsx","Components/Footer/Footer.jsx","Components/Tools/Tool_step.jsx","Components/OrderStep/OrderStepFrame.jsx","Components/Tools/Tool_tabs.jsx","Components/From/Button.jsx","Components/From/Input.jsx","Components/AsyncModel/AsyncModel.jsx","Api/GetStore.js","Api/VerifyQueue.js","Components/Tools/Tool_storeName.jsx","Components/OrderStep/OrderStep_1.jsx","Api/GetCountry.js","Components/OrderStep/OrderStep_2.jsx","Api/GetOrder.js","Components/Tools/Tool_CusFilter.jsx","Api/GetProduct.js","Components/Tools/Tool_circulatingTab.jsx","Components/Tools/Tool_CusCategory.jsx","Components/Common/ScrollTabs.jsx","Share/Tools/Share.js","Share/Tools/calcTotal.js","Components/OrderStep/OrderStep_3.jsx","Components/Tools/Tool_CusSp.jsx","Components/Tools/Tool_counter.jsx","Components/From/Switch.jsx","Components/Tools/Tool_mealListWithoutSplit.jsx","Components/Tools/Tool_ServeBeforeMeal.jsx","Components/OrderStep/OrderStep_3_mealInfo.jsx","Components/From/Checkbox.jsx","Components/Tools/Tool_mealList.jsx","Components/Tools/Tool_CusOtherNeed.jsx","Components/From/Radio.jsx","Components/Tools/Tool_extraNeedLIst.jsx","Components/Tools/Tool_needStaffCheck.jsx","Pages/Error/Error.jsx","Contexts/Error.js","Components/OrderStep/OrderStep_4.jsx","Components/OrderStep/OrderStep_5.jsx","Components/OrderStep/OrderStep_5_verifyEmail.jsx","Pages/TakeOrder/TakeOrder.jsx","Components/QrOrderStep/OrderStepFrame.jsx","Pages/QrTakeOrder/QrTakeOrder.jsx","Components/From/StoreSelector.jsx","Pages/ShowMenu/ShowMenu.jsx","Pages/QRCodeSuccessPage/QRCodeSuccessPage.jsx","Pages/OpenOrDownloadApp/OpenOrDownloadApp.jsx","Pages/OpenOrDownloadApp/IosDownloadPage.jsx","Pages/TermsOfUse/TermsOfUse.jsx","Pages/PrivacyPolicy/PrivacyPolicy.jsx","Components/Tools/Tool_showExtraDataList.jsx","Pages/ShowOrderDetail/ShowOrderDetail.jsx","Components/StaffCheckStep/StaffCheckStepFrame.jsx","Api/staff/GetStaffInfo.js","Components/StaffCheckStep/StaffCheckStep_1.jsx","Components/From/StaffFrom.jsx","Components/From/CheckboxOne.jsx","Api/staff/GetOrderInfo.js","Components/StaffCheckStep/StaffCheckStep_2.jsx","Components/Tools/Tool_dropDown.jsx","Components/Tools/Tool_extraNeedLIst_forStaff.jsx","Components/Tools/Tool_extraNeedStaff.jsx","Components/Tools/Tool_CusOtherNeed_staff.jsx","Components/StaffCheckStep/StaffCheckStep_3.jsx","Components/StaffCheckStep/StaffCheckStep_3_mealOverview.jsx","Components/Tools/Tool_mealListWithoutSplit_staff.jsx","Api/staff/GetSecificProduct.js","Components/StaffCheckStep/StaffCheckStep_3_mealInfo.jsx","Pages/StaffCheckOrder/StaffCheckOrder.jsx","Pages/StaffSearchOrder/StaffSearchOrder.jsx","Components/StaffOrderStep/StaffOrderStepFrame.jsx","Components/StaffOrderStep/StaffOrderStep_2.jsx","Components/StaffOrderStep/StaffOrderStep_3.jsx","Components/StaffOrderStep/StaffOrderStep_4.jsx","Components/StaffOrderStep/StaffOrderStep_4_mealInfo.jsx","Components/StaffOrderStep/StaffOrderStep_5.jsx","Pages/StaffTakeOrder/StaffTakeOrder.jsx","Pages/StaffOrderDetail/StaffOrderDetail.jsx","Pages/StaffMenu/StaffMenu.jsx","Pages/StaffMenu/StaffMenuDetail.jsx","Pages/staffReminder/staffReminder.jsx","Components/Loading/Loading.jsx","Components/Header/NewHeader.jsx","App.js","serviceWorker.js","index.js"],"names":["module","exports","__webpack_require__","p","apiUrl","langCodeToString","langCode","Error","concat","langStringToCode","langString","langStringToFullLangName","getUiLang","window","env","REACT_APP_API_DEVELOPMENT_HOST","axios","create","baseURL","REACT_APP_API_HOST","getUiLangContent","_ref","Object","asyncToGenerator","regenerator_default","a","mark","_callee","langId","userType","wrap","_context","prev","next","get","params","languageID","abrupt","sent","stop","_x","_x2","apply","this","arguments","LangSelector","options","mode","onClose","onToggleLang","_useContext","useContext","Global","globalState","dispatchGlobal","_useState","useState","_useState2","slicedToArray","toggle","setToggle","react_default","createElement","Dropdown","className","isOpen","size","curr","DropdownToggle","caret","style","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","backgroundColor","border","borderRadius","handleMode","langType","DropdownMenu","right","device","left","map","e","DropdownItem","key","onClick","type","payload","val","title","ChangeFontSize","Fragment","cls","color","fontSize","children","lib","id","getLang","url","checkEnvironment","_basic","getLangOption","Components_Header_Header","Footer","marginBottom","textAlign","marginLeft","href","Tool_step","showStep","Number","withRouter","objectWithoutProperties","ordermode","split","index","Tools_Tool_step","customer","currentStep","Tool_tabs","items","selected","onChangeItems","info","CusButton","props","disable","Button","assign","disabled","icon","White","_ref2","esm_extends","Red","_ref3","CusInput","readonly","label","Input","maxLength","innerRef","onKeyPress","Popup","msg","footerMsg","content","_ref$showCancelBtn","showCancelBtn","_ref$showConfirmBtn","showConfirmBtn","_ref$cancelBtnText","cancelBtnText","_ref$confirmBtnText","confirmBtnText","onConfirm","autoClose","autoCloseTime","onCancel","titleClass","unsetModel","ReactDOM","unmountComponentAtNode","remove","createWrap","Id","document","getElementById","body","appendChild","AsyncModelClose","AsyncModel","option","Component","Promise","response","reject","render","setTimeout","then","promiseHOC","getStore","getAllStore","verifyQueue","postManualVerifyQueue","manualData","post","postQRCodeVerifyQueue","_callee2","QRCodeData","_context2","getQRCodeVerifyOrder","_ref4","_callee4","QRCodeID","_context4","_x6","postRequireVerifyCode","_ref5","_callee5","requireVerifyData","_context5","_x7","postCheckVerify","_ref6","_callee6","checkVerifyData","_context6","_x8","Tool_storeName","storeId","onError","storeData","isLoading","state","setState","locale","IntlContext","useMemo","useEffect","storeID","undefined","res","data","errCode","branch","name","reducer","newState","OrderStep_1_objectSpread","forEach","i","_useReducer","useReducer","useQRCode","selectedTab","queueNumber","queueCode","branchList","_useReducer2","dispatch","nextInput","useRef","clickBtn","verifyItems","isScan","_apiAllStore","_callee3","_res$data","newList","_context3","branchName","branchCode","openTime","closeTime","console","log","history","push","t0","error","apiManualVerifyQueue","_apiManualVerifyQueue","requireData","_res$data$response","childCount","adultsCount","countryID","countryName","storeName","orderCode","createAt","posStatus","posCode","tableNo","mainOrderCode","react_loading_default","height","width","verify","orderInfo","country","numberOfAdult","numberOfChild","tempOrderCode","tempOrderGroupID","tempOrderID","selectedBranch","String","t1","apiVerifyQRCode","_x3","_apiVerifyQRCode","par","apiAllStore","showBranchOption","lib_default","now","moment","Date","open","close","isAfter","isBefore","showQRCode","isIOS","isSafari","isAndroid","isChrome","isFirefox","react_qr_reader_lib_default","delay","err","onScan","qrcode","_qrcode$data$response","current","qs","parse","orderTime","format","_x4","showInputFrom","pcStyle","minWidth","value","ev","focus","placeholder","onChange","event","target","click","Tools_Tool_tabs","Tools_Tool_storeName","getCountry","getAllCountry","getSpecificCountry","cancelShareOrderDetail","countryList","countrySelected","apiAllCountry","_apiAllCountry","newCountryList","apiSpecificCountry","_apiSpecificCountry","_res$data2","newSelectedCountry","countryCode","selectedCountry","OrderStep_2_objectSpread","updateCountryList","_state$countrySelecte","Array","isArray","length","maxWidth","showForm","order","CancelToken","postTranslationOrder","orderData","postCreateOrder","getShareOrderDetail","cancelToken","cancellation","catch","isCancel","_x5","saveTempOrder","saveData","GetTempOrderDetail","_x9","_x10","_x11","_x12","postCreateAddOrder","_x13","Tool_CusFilter_objectSpread","Tool__CusFilter","selectedItems","selectedVeganItems","onSelectItem","tagGroup","selectedItem","allergen","vegan","allergenList","allergenMenu","veganList","vegetarian","Modal","fade","backdrop","float","marginTop","find","f","newVal","toConsumableArray","findIndex","splice","sort","Tool_circulatingTab","getProduct","getAllProduct","getBranchProduct","getSpecificProductItem","productId","productID","getTagList","GetStaffMenu","GetStaffMenuDetail","Tool__CusCategory","categoryGroup","Timer","ScrollTabs","tabs","allTabs","renderItem","searchOnChange","_ref$isSwipe","isSwipe","searchPlaceholder","itemOnSelected","menuType","renderTab","menuTypeSwitch","openFilter","isFillFilter","slickRef","itemsRef","bodyRef","stateRef","categoryPopupToggle","searchMsg","nextIdx","settings","swipeToSlide","centerMode","centerPadding","infinite","slidesToShow","focusOnSelect","accessibility","arrows","responsive","breakpoint","onSwipe","beforeChange","oldIdx","tab","itemIdx","item","$tab","y","getBoundingClientRect","scrollTop","timer","handleScroll","clearTimeout","findTabIndex","slickGoTo","addEventListener","removeEventListener","slickPrev","btn_menu_pre__pc","btn_menu_pre__mobile","react_slick_lib_default","ref","count","slickNext","btn_menu_next__pc","btn_menu_next__mobile","ScrollTabs_objectSpread","trim","maxHeight","idx","Tool_CusCategory","calcItemTotal","_ref$specification","specification","_ref$stayInTaste","stayInTaste","_ref$takeoutTaste","takeoutTaste","inTasteById","_","keyBy","outTasteById","specSumList","price","_ref2$combination","combination","combinSumList","_ref3$taste","taste","quantity","takeout","tasteSum","sum","tasteId","total","tasteTotal","sumBy","calcListTotal","list","listSum","TimeOutSet","fun","time","TimeOutRemove","OrderStep_3_objectSpread","currentCategory","searchInput","categoryList","filterCategoryList","mealList","dineIn","tagList","tagSelected","veganSelected","tagPopupToggle","_menuListRef","handleTotalPrice","mealOrderDetail","totalMealQuantity","dineInTotalPrice","reduce","currProduct","itemProduct","currSpec","itemSpec","filter","combi","currCombi","itemCombi","dineInSpecPrice","currTaste","itemTaste","combiQuantity","takeoutInTotalPrice","takeoutInSpecPrice","formatNumber","pos","Math","pow","round","toFixed","apiBranchProduct","_apiBranchProduct","_callee7","backToStep2","productList","_categoryList","_mealList","_context7","mealDetail","orderDetail","typeName","product","_product","description","flatten","langFile","apiGetTagList","_apiGetTagList","_callee8","_context8","apiSaveTempOrder","_apiSaveTempOrder","_callee9","_res$data3","_context9","GetTempOrder","_GetTempOrder","_callee10","_res$productList","deepCopy","_context10","apiGetTempOrderDetail","productIndex","Data","x","deepData","OrderTemp","_apiGetTempOrderDetail","_callee11","_context11","storeCode","_handler","isNew","userEmail","totalPrice","waiterID","AddTempOrder","veganTags","meal","mealTag","recommend","handler","_handler2","lastSelectedItemScrolltop","$tabs","filterArray","t","searchNum","toString","indexOf","toLowerCase","filterTag","every","m","includes","filterVegan","some","Set","filterTabs","id1","id2","result","cnt","$allTabs","$tabItems","getElementsByClassName","scrollTo","top","behavior","Common_ScrollTabs","itemInfo","product_status","currentQrStep","isFromOrderDetail","src","img","defaultImg","alt","findProduct","productQuantity","recommendInfo","es","placement","trigger","overlay","stopPropagation","translate","cursor","_globalState$customer","eachProduct","eachSpec","eachCombi","category","categoryName","variant","debug","selectedExtra","selectedExtraQ","selectedExtraA","dataLayer","ecommerce","checkout","actionField","step","products","Tool_CusFilter","tagIds","Tool_CusSp_objectSpread","Tool__CusSp","dineInTaste","productName","specName","takeoutState","disableTakeoutState","_ref2$disableTasteLis","disableTasteList","_ref2$disableConfirmB","disableConfirmBtn","applyModeState","whichTaste","defaultTaste","def","preset","pickDefaultTaste","selectDiningType","diningType","renderTaste","exclusion","Tool_counter","_ref$num","num","onChangeNum","onlyRemove","CusSwitch","offMessage","onMessage","checkVaule","Tool_mealListWithoutSplit","_ref$user","user","_ref$readOnly","readOnly","onDelete","onUpdate","onEditTaste","onAddNewSpec","setDesertToggle","isUniversalShow","setIsUniversalShow","_useState3","_useState4","isDineInShow","setIsDineInShow","_useState5","_useState6","isTakeOutShow","setIsTakeOutShow","isSub","isShow","d","takeOut","unshift","dineInNotZero","takeOutNotZero","applyMode","dineInSubNotZero","takeOutSubNotZero","staffInfo","veganType","isVegan","veganTypeBArray","n","array","reverse","newArray","added","convertBArray","s","specIndex","display","status","hasSpecTaste","specPopupSetting","isAddNew","currModify","specId","combiIndex","cloneDeep","newData","tasteIndex","tasteData","hasPrice","isLast","targetClone","Tool_mealListWithoutSplit_objectSpread","nextTaste","nextDefaultTaste","nextWithoutDefaultTaste","checkCanCurrentTaste","intersection","concatCheckAndDefault","showDineIn","showTakeout","c","Tools_Tool_counter","nextNum","checkOrderData","isAddOrder","Hold","holditems","JSON","stringify","productIdcombi","hold","bIsLock","lockTime","newHoldItem","LockTimeItem","JsonNewData","x1","saveLockTimetoLocal","viewBox","Tool_ServeBeforeMeal","setDTvalue","setDTtoggle","setisDTrecord","DTvalue","hadleDT","setDTModel","specificationData","isDTrecord","saveOrderAndGoBack","selectedVal","OrderStep_3_mealInfo_objectSpread","OrderStep_3_mealInfo","_useState7","_useState8","DTModel","_useState9","_useState10","splitDineType","handlePostOrder","outputFormat","b","merge","deep","spec","combin","item1","nextCurrent","slice","isLimit","recordECommerce","pushObj","findThisMeal","simplifySpecification","returnArray","comparer","otherArray","other","ecFormatSpecification","thisSimplify","stateSimplify","onlyInThis","onlyInState","addProduct","removeProduct","notAddProduct","eachOnlyInThis","diffQuantity","add","backToStep3","apiProductItem","_apiProductItem","newSpecData","MealTemp","originalQuantity","$haveSoldOut","_saveOrderAndGoBack","Goback","TempMealOrderDetail","NewDetail","gotoStep","gotoQrStep","newMealOrderDetail","orderBy","delegateYield","OlddineIn","Oldtakeout","NewdineIn","Newtakeout","_loop","New","Temp","Out","e1","e2","currentProductId","getProductItem","mergeData","index_esm","dangerouslySetInnerHTML","__html","tagItem","Tools_Tool_mealListWithoutSplit","newCurrModify","hasDTtaste","Tool_CusSp","HIDE_USER_TASTE","findCurrentSpec","_eachSp","findCurrentCombi","Tools_Tool_ServeBeforeMeal","newvalue","newTasteValue","comb","CusCheckbox","checked","_ref$onChange","Tool_mealList","showTitle","_ref$deleteButton","deleteButton","_ref$modifyButton","modifyButton","_ref$IsShowOrderDetai","IsShowOrderDetail","_ref$IsMultiLang","IsMultiLang","onModify","onSwitch","langName","fill","fillRule","clipRule","xmlns","stroke-width","stroke","class","stroke-linecap","stroke-linejoin","Tool_CusOtherNeed_objectSpread","Tool__CusOtherNeed","_ref2$needName","needName","_ref2$subArray","subArray","_ref2$needType","needType","needId","updateExtra","updateAddOrderExtra","refreshPage","setRefreshPage","sentOrder","isSentOrder","setIsOrderDisable","setIsSentOrder","setIsExtraCheck","selectedValue","setSelectedValue","multiSelectValue","setMultiSelectValue","disableValue","setDisableValue","selectedID","setSelectedID","isdropdown","setIsdropdown","handleSelection","dropdownToggle","extraDataList","matchingItems","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","done","selectedItemIDs","return","matchingItemIDs","addOrderSelectedIds","selectedMode","loadSelected","newDisableValue","extraOptionExclude","finditem","isSelected","isDisabled","buttonClasses","finish","CusRadio","cx","cy","r","Tool_extraNeedLIst","qId","isExtraCheck","onOpenToggle","removeExtraSelected","removeAddOrderExtraSelected","setIsNeedStaffCheckModel","setselectedExtra","isNeedStaffCheckModel","needStaffCheckID","setIsChecked","isSelectedOption","qusetionId","extraOptionList","extraOption","globalExtraData","hasSelectedModeOnNew","ansId","select","Tool_needStaffCheck","allData","setneedStaffCheckID","oldAns","setOldAns","handleClick","old","first","Tool_needStaffCheck_objectSpread","onBack","errMessage","$errCode","location","errMsg","menuItems","path","currentCheckOrderStep","Error_objectSpread","prevPath","goBack","Components_Footer_Footer","ErrorContext","React","createContext","ErrorProvider","useHistory","isError","useCallback","fp","__","Provider","Pages_Error_Error","set","OrderStep_4_objectSpread","isCheckTerms","needPopupSetting","extraDataAnsList","isOrderDisable","_useState11","_useState12","_useState13","_useState14","extraNeedListRef","_useState15","_useState16","_useState17","_useState18","takeoutTotals","calcTotal","dineInTotals","haveSoldOut","eachMeal","_apiAllProduct","apiTranslateOrder","_apiTranslateOrder","bAdd","selectedId","translation","extraAns","questions","apiCreateOrder","_apiCreateOrder","_globalState$customer2","orderExtra","orderExtraNew","_res$data$order","errorMessage","getExtraSelected","checkIsNeedStaff","emailAddress","orderExtraList","startOrderTime","scrollToExtraNeedList","_sentOrder","getOrderCode","purchase","revenue","tax","_removeExtraSelected","removeExtraIDs","updatedExtraDataList","extraId","flatMap","_removeAddOrderExtraSelected","_callee12","previousSelected","updateDelete","_context12","group","Boolean","temp","menuItem","selectedExtraOption","_updateAddOrderExtra","_callee13","_globalState$customer3","_context13","apiAllProduct","scrollIntoView","otherNeed","eachProductIndex","Tools_Tool_mealList","eachExraNeed","eachExraNeedIndex","Tools_Tool_extraNeedLIst","borderBottom","parseDineIn","parseTakeout","_first","Tools_Tool_needStaffCheck","ans","ansItem","OrderStep_5_objectSpread","hostname","protocol","host","BASENAME","qrcode_react_lib_default","renderAs","navigator","share","shareData","text","message","react_copy_to_clipboard_lib","OrderStep_5_verifyEmail_objectSpread","email","code","isEmailFormatCorrect","isEmailVerified","verifyCodeDeadline","countdownTime","encrypt","JSEncrypt","setPublicKey","REACT_APP_RSA_PUBLIC_KEY","defaultMessage","test","deadLine","values","variable","index_es","date","onComplete","renderer","minutes","seconds","zeroPad","isSaveEmail","emailVerifyCode","TakeOrder","checkURL","search","replace","verifyQRCode","_verifyQRCode$data$re","isReady","TakeOrder_objectSpread","renderStep","OrderStep_OrderStepFrame","OrderStep_OrderStep_1","OrderStep_OrderStep_2","OrderStep_OrderStep_3","OrderStep_OrderStep_3_mealInfo","OrderStep_OrderStep_4","OrderStep_OrderStep_5","OrderStep_OrderStep_5_verifyEmail","QrTakeOrder","guid","ckeckQrCode","_ckeckQrCode$orderCon","order_code","store_id","create_at","check","QrTakeOrder_objectSpread","orderContent","QrOrderStep_OrderStepFrame","StoreSelector","defaultOption","onSelect","ShowMenu_objectSpread","ShowMenu","toggleToolTips","storeMenuStore","getApi","menuStore","findStore","allergenTags","handle","From_StoreSelector","QRCodeSuccessPage","langID","OpenOrDownloadApp","os","REACT_APP_OPEN_APP_URL","checkDevice","osName","IosDownloadPage","TermsOfUse","localDescription","localTerms","subItem","subIndex","PrivacyPolicy","localPrivacy","Tool_showExtraDataList","extraData","extraItem","extraOptionItem","extraOptionItemIndex","ShowOrderDetail","isInit","handlerErr","promise","_apiShareOrderDetail","orderList","ShowOrderDetail_objectSpread","apiShareOrderDetail","totalPriceList","checkIsOrderValid","alive","txt","parserOrderState","orderState","queue_num","diningTime","edtAt","groupName","waiterWorkNum","waiterName","Tools_Tool_showExtraDataList","StaffCheckStepFrame","store","staff","getTranslationStaffInfo","staffId","LangId","getStoreAllStaff","getStaffInfo","workNum","work_num","postSetSupport","_ref7","currShow","_globalState$staffInf","checkOrderBranch","checkOrderGroup","checkOrderStaff","handleShow","currBranch","branchInfo","currGroup","groupInfo","currStaff","filterStaff","newStore","apiAllStaff","_apiAllStaff","groupList","newGroup","groupCode","waiterList","apiStaffInfo","_apiStaffInfo","apiStaffSetSupport","_apiStaffSetSupport","StaffCheckStep_1_objectSpread","functionType","currentTakeOrderStep","pathname","BranchList","eachBranch","loginTime","GroupList","eachGroup","StaffList","eachStaff","staffName","staffNum","FilterStaffList","isSupport","getWaiterId","staffCode","groupMap","findStaff","fil","staffGroup","waiter_name","getAllStaff","placeholderMsg","isNaN","StaffFrom","dflex","memo","CusCheckboxOne","getOrderInfo","posTableNo","updateOrderPreperationStatus","_x14","postSaveOrder","_x15","postAddSaveOrder","_x16","getOrderList","datetime","ClearTime","_x17","_x18","_x19","_x20","getOrderProductList","languageId","_x21","_x22","_x23","_x24","postChangeOrderStatus","orderStatus","_x25","getOrderDetail","_ref8","_x26","_x27","_x28","_x29","getOrderReprintPreOrder","_ref9","_x30","_x31","_x32","onClearCode","Tableno","TableNoOf","Posno","bTableno","bPosno","bOrderCode","Month","getMonth","day","getDate","PosNo","getFullYear","apiOrderInfo","StaffCode","TableNo","originOrderLanguageID","mainOrderID","orderType","countryId","remark","apiTranslationStaffInfo","_apiTranslationStaffInfo","StaffCheckStep_2_objectSpread","_res$data$response2","_res","_orderCode","_errCode","takeOrderData","_data$split","_data$split2","isCheckOrder","isTakeOrder","_qs$parse","_code","backToStaffList","translateStaff","browserName","browserVersion","posno","toUpperCase","Tool_dropDown_objectSpread","dropDownToggle","Tool_dropDown","onSelected","Tool_extraNeedLIst_forStaff","_ref$staffType","staffType","Tool_extraNeedStaff","Tool_extraNeedStaff_objectSpread","Tool_CusOtherNeed_staff_objectSpread","updateExtraSingle","skipInit","orderRemark","isCheckPrintDetail","haveTableNo","lineInTable","subTableNo","popup","popupRemark","_apiOrderInfo","_callee15","resStatus","errCodeStatus","resData","_resData$data","_context15","StaffCheckStep_3_objectSpread","_callee16","_context16","apiSaveOrder","_apiSaveOrder","_callee17","save","messagePOS","checkTime","_context17","_callee18","_context18","globalExtra","q","dispatchArray","changeOrderLang","lineInTableNo","orderLanguageID","branchProsuctList","mealListAll","orderAddProduct","v","getBranchProductList","sub","numSplit","parseInt","$totalPrice","newSpec","updateExtraID","updateExtraIDs","currentSelectedItems","itemIndex","updatedList","updatedData","updatedExtraOptionList","getExtraSelectedNew","findTarget","isSpecExist","isProductExist","spce","findOriginalProduct","findOriginalSpec","buildNewProduct","currMealDetail","process","Tools_Tool_extraNeedLIst_forStaff","translete","Tools_Tool_dropDown","handledOrderDineIn","handledOrderTakeout","startOf","diff","dineInTotal","takeoutTotal","calcTotalQuantity","rsData","tableNumber","checkAt","_ref14","resource","findCurrentProduct","originalSource","_originalSource","_findOriginalProduct","_findOriginalSpec","_findCurrentProduct","_findCurrentSpec","findCurrrentCombi","margin","ModalHeader","ModalBody","ModalFooter","_state$popupRemark","Tools_Tool_extraNeedStaff","_callee14","_context14","Tool_CusOtherNeed_staff","totalMealKind","apiOrderProductList","_apiOrderProductList","StaffCheckStep_3_mealOverview_objectSpread","orderProductList","orderQuantity","flexGrow","Tool_mealListWithoutSplit_staff","Tool_mealListWithoutSplit_staff_objectSpread","secificProduct","getSecificProduct","postOrderEditProduct","secificProductData","productData","apiSecificProduct","_apiSecificProduct","backToStep3_1","StaffCheckStep_3_mealInfo_objectSpread","parser","handlePostDate","originSpecification","Tools_Tool_mealListWithoutSplit_staff","haveMeal","$haveOriginMeal","_state$productData","updateResult","_state$productData2","StaffCheckOrder","errBackStep","prevState","StaffCheckOrder_objectSpread","$handleError","backStep","errorBackStep","StaffCheckStep_StaffCheckStepFrame","StaffCheckStep_StaffCheckStep_1","StaffCheckStep_StaffCheckStep_2","StaffCheckStep_StaffCheckStep_3","StaffCheckStep_3_mealOverview","StaffCheckStep_3_mealInfo","StaffSearchOrder","isLogin","isSearching","isShowBlock","dataPicker","selectTime","dropDown","selectItem","Type","apiOrderList","_apiOrderList","orderListItem","StaffSearchOrder_objectSpread","parserOrderList","customerInfo","adult","child","orderExtraOptionList","lineIntable","lineIntableNo","react_datepicker_min_default","_d","minDate","subtract","maxDate","customInput","eachState","stateIndex","flex","eachOrder","orderIndex","sign","numeral","StaffOrderStepFrame","StaffOrderStep_2_objectSpread","StaffOrderStep_3_objectSpread","isNonQueueNumber","StaffOrderStep_4_objectSpread","backToStep4","StaffOrderStep_4_mealInfo_objectSpread","_state$productData3","StaffOrderStep_5_objectSpread","getAllProductList","_updateExtra","extra","_ref13","Tool_CusOtherNeed","StaffTakeOrder","StaffTakeOrder_objectSpread","StaffOrderStep_StaffOrderStepFrame","StaffOrderStep_StaffOrderStep_2","StaffOrderStep_StaffOrderStep_3","StaffOrderStep_StaffOrderStep_4","StaffOrderStep_StaffOrderStep_4_mealInfo","StaffOrderStep_StaffOrderStep_5","StaffOrderDetail","StaffOrderDetail_objectSpread","apiOrderDetail","_apiOrderDetail","apiReprintPreOrder","_apiReprintPreOrder","isSuccess","checkedTime","isOrderValid","$disabledCheckInButton","isSame","$canReprint","StaffMenu_objectSpread","StaffMenu","apiGetStaffMenu","_apiGetStaffMenu","staffMenuLastSelectedItemScrolltop","staffProductId","StaffMenuDetail_objectSpread","StaffMenuDetail","apiGetStaffMenuDetail","_apiGetStaffMenuDetail","productCode","back","RedSeconds","GreenSeconds","StaffReminder","selectStore","Store","staffReminder_objectSpread","GetStore","DateTime","TotalSecond","getHours","getMinutes","getSeconds","BackColor","CreateAt","CreateTotal","orderExtraOption","setInterval","clearInterval","StoreColl","parserStore","tableText","addText","position","zIndex","Loading","show","isFixed","isOpenLang","langOption","$toggleMenu","update","$closeMenu","apiChangeOrderStatus","_apiChangeOrderStatus","_apiLangOption","language","newLangOption","original_name","apiLangOption","$logout","$reset","$goToIndex","$renderedPopupMain","_globalState$staffInf2","isShowLogout","subPaths","arr","isActive","active","_globalState$staffInf3","opacity","GlobalSetting_LangSelector","GlobalSetting_ChangeFontSize","backgroundImage","logo_pc","logo_mobile","Transition","in","appear","timeout","onEntering","onExited","PortalCompat","createBrowserHistory","basename","App_objectSpread","localStorage","getItem","innerWidth","lastTimeUsed","setItem","setInitGlobalState","handleFontSize","App","checkWindow","localFontSize","apiUiLangContent","_apiUiLangContent","jsonString","uiLangContent","local","global","_handleChangeLang","uiContent","handleChangeLang","$checkReset","messages","react_router","Header_NewHeader","Error_ErrorProvider","exact","component","Components_Loading_Loading","changingLangType","match","src_App","serviceWorker","ready","registration","unregister"],"mappings":"mGAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,2DCAxCH,EAAAC,QAAA,k6VCAAD,EAAAC,QAAiBC,EAAAC,EAAuB,0DCAxCH,EAAAC,QAAA,wuXCAAD,EAAAC,QAAA,qrDCC+BG,kICGlBC,iBAAmB,SAACC,GAC/B,OAAQA,GACN,KAAK,EACH,MAAO,KACT,KAAK,EACH,MAAO,KACT,KAAK,EACH,MAAO,KACT,KAAK,EACH,MAAO,KACT,QACE,MAAMC,MAAK,kBAAAC,OAAmBF,OAQvBG,EAAmB,SAACC,GAC/B,OAAQA,GACN,IAAK,KACH,OAAO,EACT,IAAK,KACH,OAAO,EACT,IAAK,KACH,OAAO,EACT,IAAK,KACH,OAAO,EACT,QACE,MAAMH,MAAK,kBAAAC,OAAmBE,MAQvBC,EAA2B,SAACD,GACvC,OAAQA,GACN,IAAK,KACH,MAAO,2BACT,IAAK,KACH,MAAO,UACT,IAAK,KACH,MAAO,qBACT,IAAK,KACH,MAAO,qBACT,QACE,MAAMH,MAAK,kBAAAC,OA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,OAAOm9B,SAASqG,SAAS+jB,MACvB,uFCNN/9C,IAASgB,OAAOxH,EAAApC,EAAAqC,cAACukD,GAAD,MAAS39C,SAASC,eAAe,SDqH3C,kBAAmBg6B,WACrBA,UAAU2jB,cAAcC,MAAMh9C,KAAK,SAAAi9C,GACjCA,EAAaC","file":"static/js/main.78baa4f9.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/img_logo_pc.94e7deb8.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAABQCAYAAACkjcFHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2MEIzM0E4QTNERjlFNDExOTUzMUJEMzI5MjAzMjNCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZ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5XPKARxQrkguCK5osuD9dUYrUP5EkMp1i+myKX8zKXg7JWSL1FTdyuieR1F0ZncCpiNKFC+ADYO15hRBkRE0XlDCSkVwWbl//+I5+3KaMGvxyrwgXrrIkEEBXmcNI4Bg7yGhdgPAqbhVCJBnHBXMpQ7NlJvQCl1pdSQe4pn+N4Hlj+CVoM09MUOTpo3fbW+s+09S+Hm28/EUJRz6uIZ8h3XldT+TWRQBxr48Ur8v8fuOFhaPlEfkNcukQ+n0OeNDfySidei3tqkopVbLyX/WGdboZEwcheRT2jFPVQcKo2iepTheEMtci+oLyg2jSUm4ec+BuVH63YijJfHhcSSe2DKVs71esg7lztyM8I36aSvIMURLHKHK5rG0ZE0CjcXooE55FbAoHbMp11JeXmi0mIoEN14DpADPpQ5jbEo38opnsyhOjgaiBynzGS1oE5lP9Hy/EJFIFm8GUrCJ7Euz2OkXmBmz+mcTZE94JQTpf/UV4SxYnn8V71aYABcdXf8daA+01PCd7Edb5Bzr2pMIaFnKDxGxFEcLRC5IGOIIIIGSKIIEKGCCKIkCGCCLzg/wUYAOPODJyGxPAJAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/ic_printer.1c504a4e.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABLCAYAAABp2kmJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHUmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiP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cEUKOCCFHhJAjQsgRIeSIEHJECDkihBwRQo4IIUeEkCNCyBEh5IgQcr8AzKrL5Nmie2oAAAAASUVORK5CYII=\"","import axios from \"axios\";\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _getUiLang = \"/UIContent\";\r\nconst getUiLang = axios.create({\r\n baseURL: checkEnvironment(_basic, _getUiLang)\r\n});\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n */\r\nexport const getUiLangContent = async (langId, userType) => {\r\n return await getUiLang.get(\"/GetUIContent\", {\r\n params: { languageID: langId, userType }\r\n });\r\n};\r\n","/**\r\n * 轉換 語言代號=>語言縮寫\r\n * @param {number} langCode\r\n */\r\nexport const langCodeToString = (langCode) => {\r\n switch (langCode) {\r\n case 1:\r\n return 'zh'\r\n case 2:\r\n return 'en'\r\n case 3:\r\n return 'ja'\r\n case 4:\r\n return 'ko'\r\n default:\r\n throw Error(`langCode error ${langCode}`)\r\n }\r\n}\r\n\r\n/**\r\n * 轉換 語言縮寫=>語言代號\r\n * @param {string} langString\r\n */\r\nexport const langStringToCode = (langString) => {\r\n switch (langString) {\r\n case 'zh':\r\n return 1\r\n case 'en':\r\n return 2\r\n case 'ja':\r\n return 3\r\n case 'ko':\r\n return 4\r\n default:\r\n throw Error(`langCode error ${langString}`)\r\n }\r\n}\r\n\r\n/**\r\n * 轉換 語言縮寫=>語言名稱\r\n * @param {string} langString\r\n */\r\nexport const langStringToFullLangName = (langString) => {\r\n switch (langString) {\r\n case 'zh':\r\n return '繁體中文'\r\n case 'en':\r\n return 'English'\r\n case 'ja':\r\n return '日本語'\r\n case 'ko':\r\n return '한국어'\r\n default:\r\n throw Error(`langCode error ${langString}`)\r\n }\r\n}\r\n\r\n/**\r\n * 轉換 國家代號=>語言名稱\r\n * @param {number} countryCode \r\n */\r\nexport const countryCodeToCode = (countryCode) => {\r\n switch (countryCode) {\r\n case 1:\r\n return 'zh';\r\n case 3:\r\n return 'ja';\r\n case 4:\r\n return 'ko';\r\n default:\r\n return 'en';\r\n }\r\n}\r\n\r\n","import React, { useContext, useState, memo } from 'react';\r\nimport _ from 'lodash';\r\nimport {\r\n Dropdown,\r\n DropdownToggle,\r\n DropdownMenu,\r\n DropdownItem\r\n} from 'reactstrap';\r\nimport { Global } from '../../App';\r\nimport './GlobalSetting.scss';\r\n// switch lang\r\nimport {\r\n langCodeToString,\r\n langStringToFullLangName\r\n} from '../../Share/Tools/switchLang';\r\n\r\n/**\r\n *\r\n * @typedef {{title: string, langType: number}} item\r\n */\r\n/**\r\n * @param {any} props\r\n * @param {item[]} props.options\r\n * @param {string} props.mode\r\n * @param {function} props.onClose\r\n *\r\n */\r\n\r\nfunction LangSelector({ options, mode, onClose, onToggleLang }) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [toggle, setToggle] = useState(false);\r\n function handleMode(mode) {\r\n switch (mode) {\r\n case 'pc':\r\n return {\r\n borderTopLeftRadius: 0,\r\n borderTopRightRadius: 0,\r\n borderBottomLeftRadius: '6px',\r\n borderBottomRightRadius: '6px',\r\n backgroundColor: '#B69E60',\r\n border: 'none'\r\n };\r\n case 'mobile':\r\n return {\r\n borderRadius: '6px',\r\n backgroundColor: '#B69E60',\r\n border: 'none'\r\n };\r\n default:\r\n return {};\r\n }\r\n }\r\n return (\r\n {\r\n setToggle(curr => !curr);\r\n if (onToggleLang) {\r\n onToggleLang();\r\n }\r\n }}\r\n >\r\n \r\n \r\n {langStringToFullLangName(globalState.langType)}\r\n \r\n \r\n \r\n {options.map(e => (\r\n {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n { key: 'langType', val: langCodeToString(e.langType) }\r\n ]\r\n });\r\n onClose();\r\n }}\r\n >\r\n {e.title}\r\n \r\n ))}\r\n \r\n \r\n );\r\n}\r\n\r\nexport default LangSelector;\r\n","import React, { useContext } from 'react';\r\nimport cls from 'classnames';\r\nimport { FormattedMessage, FormattedRelative, FormattedDate } from 'react-intl';\r\nimport { Global } from '../../App';\r\n\r\n/**\r\n * @param {object} props\r\n * @param {function} props.onClose\r\n */\r\nfunction ChangeFontSize({ onClose, userType }) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n return (\r\n <>\r\n }\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'fontSize', val: 'sm' }]\r\n });\r\n onClose();\r\n }}\r\n />\r\n }\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'fontSize', val: 'xl' }]\r\n });\r\n onClose();\r\n }}\r\n />\r\n \r\n );\r\n}\r\n\r\nexport default ChangeFontSize;\r\n","import axios from \"axios\";\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _getLang = \"/Language\";\r\nconst getLang = axios.create({\r\n baseURL: checkEnvironment(_basic, _getLang)\r\n});\r\n\r\nexport const getLangOption = async () => {\r\n return await getLang.get(\"/GetLanguage\");\r\n};\r\n","import React, { useContext, useReducer, useEffect } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { Collapse, Navbar } from 'reactstrap';\r\nimport { Global } from '../../App';\r\nimport LangSelector from '../GlobalSetting/LangSelector';\r\nimport ChangeFontSize from '../GlobalSetting/ChangeFontSize';\r\nimport cls from 'classnames';\r\nimport './Header.scss';\r\nimport '../../Resource/scss/icon.scss';\r\nimport logo_pc from '../../Resource/image/icons/img_logo_pc.png';\r\nimport logo_mobile from '../../Resource/image/icons/img_logo_mobile.png';\r\n// api\r\nimport { getLangOption } from '../../Api/GetLangOption';\r\nimport { useRef } from 'react';\r\nimport { useState } from 'react';\r\nimport { useMemo } from 'react';\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case 'UPDATE_STATE':\r\n payload.forEach(i => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\n/**\r\n * @param {object} props\r\n */\r\nfunction Header(props) {\r\n const headerRef = useRef()\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, dispatch] = useReducer(reducer, {\r\n menu: true,\r\n headerMode: userType(),\r\n langOption: []\r\n });\r\n\r\n function userType() {\r\n let pathname = props.location.pathname.replace(/<[^>]*>|/g, '');\r\n if (pathname.toLowerCase().indexOf('staff') > -1) {\r\n return 'staff';\r\n } else {\r\n return 'customer';\r\n }\r\n }\r\n const goToIndex = () => {\r\n if (state.headerMode === 'customer') {\r\n props.history.push('/');\r\n dispatchGlobal({ type: 'RESET' });\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: false }]\r\n });\r\n } else if (state.headerMode === 'staff') {\r\n props.history.push('/staffCheckOrder');\r\n dispatchGlobal({ type: 'LOGOUT' });\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: false }]\r\n });\r\n }\r\n };\r\n const resetStaff = () => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'staffInfo',\r\n val: {\r\n currentCheckOrderStep: '1',\r\n currentTakeOrderStep: '1',\r\n checkOrderBranch: globalState.staffInfo.checkOrderBranch,\r\n checkOrderGroup: globalState.staffInfo.checkOrderGroup,\r\n checkOrderStaff: globalState.staffInfo.checkOrderStaff,\r\n checkOrderData: null,\r\n takeOrderData: null\r\n }\r\n }\r\n ]\r\n });\r\n };\r\n async function apiLangOption() {\r\n try {\r\n let res = await getLangOption();\r\n const { errCode, language } = res.data;\r\n if (errCode == 200) {\r\n const newLangOption = language.map(e => ({\r\n title: e.original_name,\r\n langType: e.id\r\n }));\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'langOption', val: newLangOption }]\r\n });\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n props.history.push('/error');\r\n }\r\n } catch (err) {\r\n console.error('LangOption error.');\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 403 }]\r\n });\r\n props.history.push('/error');\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n apiLangOption();\r\n }, []);\r\n //\r\n const pcItems = () => {\r\n const { langType } = globalState;\r\n if (state.headerMode === 'customer')\r\n return (\r\n \r\n {\r\n props.history.push('/');\r\n dispatchGlobal({ type: 'RESET' });\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {\r\n props.history.push('/showMenu');\r\n dispatchGlobal({ type: 'RESET' });\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n );\r\n if (state.headerMode === 'staff')\r\n return (\r\n \r\n {\r\n props.history.push('/staffCheckOrder');\r\n resetStaff();\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {\r\n props.history.push('/staffSearchOrder');\r\n resetStaff();\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n );\r\n };\r\n const mobileItems = () => {\r\n if (state.headerMode === 'customer') {\r\n return (\r\n \r\n {\r\n props.history.push('/');\r\n dispatchGlobal({ type: 'RESET' });\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {\r\n props.history.push('/showMenu');\r\n dispatchGlobal({ type: 'RESET' });\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n );\r\n } else if (state.headerMode === 'staff') {\r\n return (\r\n \r\n {\r\n props.history.push('/staffCheckOrder');\r\n resetStaff();\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {\r\n props.history.push('/staffSearchOrder');\r\n resetStaff();\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n );\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (state.menu) {\r\n window.document.querySelector('body').style.overflow = 'hidden'\r\n return () => {\r\n window.document.querySelector('body').style.overflow = ''\r\n\r\n }\r\n }\r\n }, [state.menu])\r\n\r\n return (\r\n {\r\n // if (state.menu && e.target === headerRef.current) {\r\n // dispatch({\r\n // type: 'UPDATE_STATE',\r\n // payload: [{ key: 'menu', val: !state.menu }]\r\n // });\r\n // }\r\n // }}\r\n >\r\n {/* pc header */}\r\n
\r\n goToIndex()}\r\n />\r\n
\r\n {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: false }]\r\n });\r\n }}\r\n />\r\n {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: !state.menu }]\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n
\r\n {pcItems()}\r\n
\r\n {/* logout */}\r\n {(() => {\r\n const {\r\n checkOrderBranch,\r\n checkOrderGroup,\r\n checkOrderStaff\r\n } = globalState.staffInfo;\r\n if (\r\n state.headerMode === 'staff' &&\r\n checkOrderBranch &&\r\n checkOrderGroup &&\r\n checkOrderStaff\r\n ) {\r\n return (\r\n \r\n );\r\n }\r\n })()}\r\n
\r\n
\r\n
\r\n
\r\n {/* mobile header */}\r\n
\r\n \r\n goToIndex()}\r\n />\r\n {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: !state.menu }]\r\n });\r\n }}\r\n />\r\n \r\n
\r\n
\r\n \r\n {mobileItems()}\r\n
\r\n
\r\n {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: false }]\r\n });\r\n }}\r\n />\r\n
\r\n {/* logout */}\r\n {(() => {\r\n const {\r\n checkOrderBranch,\r\n checkOrderGroup,\r\n checkOrderStaff\r\n } = globalState.staffInfo;\r\n if (state.headerMode === 'customer') {\r\n return (\r\n
\r\n {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'menu', val: false }]\r\n });\r\n }}\r\n />\r\n
\r\n );\r\n } else if (\r\n state.headerMode === 'staff' &&\r\n checkOrderBranch &&\r\n checkOrderGroup &&\r\n checkOrderStaff\r\n ) {\r\n return (\r\n \r\n );\r\n }\r\n })()}\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\n// export default withRouter(NewHeader)\r\n// \r\nexport default () => null\r\n\r\n\r\n// export default withRouter(Header);\r\n","import React from 'react';\r\nimport Header from '../../Components/Header/Header';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport './Footer.scss';\r\n\r\nfunction Footer() {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n This site is protected by reCAPTCHA and the
Google\r\n Privacy Policy and\r\n Terms of Service apply.\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Footer","import React from 'react';\r\nimport cls from 'classnames';\r\nimport { FormattedMessage } from 'react-intl';\r\n\r\nimport './Tools.scss';\r\n/**\r\n * @param {object} props\r\n * @param {string} props.showStep\r\n *\r\n */\r\n\r\nfunction Tool_step({ showStep, mode }) {\r\n showStep = Number(showStep);\r\n return (\r\n
\r\n 1\r\n ? 'Tool__step__Item_checked'\r\n : ''\r\n )}\r\n >\r\n
\r\n ) :\r\n ()}\r\n />\r\n
\r\n 2\r\n ? 'Tool__step__Item_checked'\r\n : ''\r\n )}\r\n >\r\n
\r\n ) :\r\n ()}\r\n />\r\n
\r\n 3\r\n ? 'Tool__step__Item_checked'\r\n : ''\r\n )}\r\n >\r\n
\r\n ) :\r\n ()}\r\n />\r\n
\r\n {mode === 'verify' ? (\r\n <>\r\n 4\r\n ? 'Tool__step__Item_checked'\r\n : ''\r\n )}\r\n >\r\n
\r\n }\r\n />\r\n
\r\n 5\r\n ? 'Tool__step__Item_checked'\r\n : ''\r\n )}\r\n >\r\n
\r\n }\r\n />\r\n
\r\n \r\n ) : null}\r\n
\r\n );\r\n}\r\nexport default Tool_step;\r\n","import React, { useContext } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\nimport Tool_step from '../../Components/Tools/Tool_step';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { Global } from '../../App';\r\n\r\nfunction OrderStepFrame({ children, ...props }) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const { ordermode } = globalState;\r\n return (\r\n
\r\n
\r\n
\r\n {\r\n const { langType } = globalState;\r\n if (langType !== 'zh' && langType !== 'ja' && langType !== 'ko') {\r\n const splitString = e.split(' ');\r\n return splitString.map((e, index) => (\r\n
\r\n
{e}
\r\n
\r\n ));\r\n } else {\r\n const splitString = e.split('');\r\n return splitString.map((e, index) => (\r\n
\r\n
{e}
\r\n
\r\n ));\r\n }\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {children}\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default withRouter(OrderStepFrame);\r\n","import React from 'react';\r\nimport cls from 'classnames';\r\nimport './Tools.scss';\r\n\r\n/**\r\n *\r\n * @typedef {{title: string, info: string}} tabInfo\r\n */\r\n\r\n/**\r\n * @param {object} props\r\n * @param {tabInfo[]} props.items\r\n * @param {tabInfo} props.selected\r\n * @param {(tab: tabInfo) => void} props.onChangeItems\r\n *\r\n */\r\n\r\n\r\nfunction Tool_tabs({\r\n items,\r\n selected,\r\n onChangeItems\r\n}) {\r\n return (\r\n
\r\n {\r\n items.map((e, index) => (\r\n {\r\n onChangeItems(e)\r\n }}\r\n >\r\n {e.title}\r\n \r\n ))\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default Tool_tabs;\r\n","import React from 'react';\r\nimport cls from 'classnames';\r\nimport { Button } from 'reactstrap';\r\nimport './From.scss';\r\n\r\n/**\r\n * @param {object} props\r\n * @param {boolean} disabled\r\n */\r\n\r\nfunction CusButton({ className, children, disable, ...props }) {\r\n return (\r\n \r\n {props.icon ? () : null}\r\n {children}\r\n \r\n );\r\n}\r\n\r\nCusButton.White = ({ ...props }) => {\r\n return ;\r\n};\r\nCusButton.Red = ({ ...props }) => {\r\n return ;\r\n};\r\n\r\nexport { CusButton };\r\n","import React from 'react';\r\nimport cls from 'classnames';\r\nimport { Input } from 'reactstrap';\r\nimport './From.scss';\r\nimport { prop } from 'lodash/fp';\r\n\r\n/**\r\n * @param {object} props\r\n * @param {boolean} disabled\r\n */\r\n\r\nfunction CusInput({\r\n children,\r\n disable,\r\n readonly,\r\n ...props\r\n}) {\r\n return (\r\n
\r\n {props.label ? {props.label} : null}\r\n \r\n {children}\r\n \r\n {props.icon}\r\n
\r\n );\r\n}\r\n\r\nexport { CusInput };\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport './AsyncModel.scss';\r\n\r\nexport const Popup = ({\r\n title,\r\n msg,\r\n footerMsg,\r\n content,\r\n showCancelBtn = false,\r\n showConfirmBtn = true,\r\n cancelBtnText = '取消',\r\n confirmBtnText = '確認',\r\n autoClose = false,\r\n autoCloseTime = 3000,\r\n onConfirm,\r\n onCancel,\r\n titleClass\r\n}) => {\r\n return (\r\n
\r\n
\r\n {title &&
{title}
}\r\n
\r\n {msg &&
{msg}
}\r\n {content &&
{content}
}\r\n
\r\n
\r\n {showCancelBtn && (\r\n {\r\n onCancel();\r\n }}\r\n >\r\n {cancelBtnText}\r\n \r\n )}\r\n {showConfirmBtn && (\r\n {\r\n onConfirm();\r\n }}\r\n >\r\n {confirmBtnText}\r\n \r\n )}\r\n {footerMsg &&
{footerMsg}
}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\n// 移除先前動態產生的 Component、Element\r\nconst unsetModel = wrap => {\r\n ReactDOM.unmountComponentAtNode(wrap);\r\n wrap.remove();\r\n};\r\n// 動態產生div\r\nconst createWrap = Id => {\r\n let wrap = document.getElementById(Id);\r\n if (wrap === null) {\r\n wrap = document.body.appendChild(document.createElement('div'));\r\n wrap.id = Id;\r\n }\r\n return wrap;\r\n};\r\n// 組合component&promise\r\nconst promiseHOC = (Component, option) => {\r\n const wrap = createWrap('asyncModelWrap');\r\n const promise = new Promise((response, reject) => {\r\n ReactDOM.render(\r\n ,\r\n wrap\r\n );\r\n if(option.autoClose){\r\n setTimeout(()=>{\r\n response(); \r\n },option.autoCloseTime);\r\n }\r\n });\r\n return promise.then(\r\n // click confirm\r\n () => {\r\n unsetModel(wrap);\r\n return true;\r\n },\r\n // click cancel\r\n () => {\r\n unsetModel(wrap);\r\n return false;\r\n }\r\n );\r\n};\r\n\r\n// close\r\nexport const AsyncModelClose = function () {\r\n const wrap = createWrap('asyncModelWrap');\r\n return unsetModel(wrap)\r\n}\r\n// combine\r\nexport const AsyncModel = option => promiseHOC(Popup, option);\r\n","import axios from \"axios\";\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _getStore = \"/Store\";\r\nconst getStore = axios.create({\r\n baseURL: checkEnvironment(_basic, _getStore)\r\n});\r\n\r\n/**\r\n *\r\n * @param {number} langId 語系代號\r\n */\r\n\r\nexport const getAllStore = async langId => {\r\n return await getStore.get(\"/GetStoreAll\", { params: { languageID: langId } });\r\n};\r\n\r\nexport const getOnlyStore = ( storeID, languageID ) => {\r\n return getStore.get('/GetStoreOnly', { \r\n params: { \r\n storeID, \r\n languageID\r\n }\r\n })\r\n}","import axios from \"axios\";\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\n// const _basic = \"http://114.33.155.37:6080/DTF/API\";\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _verifyQueue = \"/Verify\";\r\nconst verifyQueue = axios.create({\r\n baseURL: checkEnvironment(_basic, _verifyQueue)\r\n});\r\n\r\n/**\r\n * 手動驗證\r\n * @typedef {{\r\n * queueNumber: string,\r\n * queueCode: string,\r\n * storeID: number,\r\n * languageID: number,\r\n * }} manualVerify\r\n *\r\n * QRCode驗證\r\n * @typedef {{\r\n * queueNumber: string,\r\n * queueCode: string,\r\n * storeID: number,\r\n * }} QRCodeVerify\r\n *\r\n * 手動驗證&QRcode會得到的結果\r\n * @typedef {{\r\n * verify: boolean,\r\n * childCount: number,\r\n * adultsCount: number,\r\n * countryID: number,\r\n * countryName: string,\r\n * storeID: number,\r\n * storeName: string\r\n * }} result\r\n *\r\n * 要求驗證碼\r\n * @typedef {{\r\n * email: string,\r\n * orderCode: string\r\n * }} requireVerifyCode\r\n *\r\n * 要求驗證碼\r\n * @typedef {{\r\n * email: string,\r\n * orderCode: string,\r\n * emailVerifyCode: string\r\n * }} checkVerify\r\n *\r\n *\r\n */\r\n\r\n/**\r\n * @param {manualVerify} manualData\r\n * @return {result}\r\n */\r\n\r\n// 手動驗證排隊驗證\r\nexport const postManualVerifyQueue = async manualData => {\r\n return await verifyQueue.post(\"/GetVerifyCode\", manualData);\r\n};\r\n\r\n/**\r\n * @param {QRCodeVerify} QRCodeData\r\n * @return {result}\r\n */\r\n\r\n// QRcode驗證排隊驗證\r\nexport const postQRCodeVerifyQueue = async QRCodeData => {\r\n return await verifyQueue.post(\"/GetQRCodeVerifyCode\", QRCodeData);\r\n};\r\n\r\n/**\r\n * @param {string} orderCode\r\n */\r\n\r\nexport const getSendEmail = async (orderCode, storeID, createAt) => {\r\n return await verifyQueue.get(\"/SendOrderEmail\", {\r\n params: { orderCode, storeID, createAt }\r\n });\r\n};\r\n\r\n\r\n/**\r\n * @param {string} QRCodeID\r\n */\r\n\r\nexport const getQRCodeVerifyOrder = async (QRCodeID) => {\r\n return await verifyQueue.get(\"/VerifyQRCodeStatus\", {\r\n // http://localhost:9527/takeOrderOnline?guid=06dd9eb089614939b0db7c7ad1f5cf96\r\n params: { QRCodeID }\r\n });\r\n};\r\n\r\n/**\r\n * @param {QRCodeVerify} requireVerifyData\r\n */\r\n\r\n// 要求驗證碼到指定信箱\r\nexport const postRequireVerifyCode = async requireVerifyData => {\r\n return await verifyQueue.post(\"/SetEmailVerifyCode\", requireVerifyData);\r\n};\r\n\r\n/**\r\n * @param {checkVerify} checkVerifyData\r\n */\r\n\r\n// 驗證\r\nexport const postCheckVerify = async checkVerifyData => {\r\n return await verifyQueue.post(\"/CheckEmailVerifyCode\", checkVerifyData);\r\n};\r\n","import React, { useEffect, useContext, useMemo, useState } from 'react'\r\nimport { IntlContext } from 'react-intl'\r\nimport { langStringToCode } from '../../Share/Tools/switchLang'\r\nimport { getOnlyStore } from '../../Api/GetStore'\r\nconst Tool_storeName = ({\r\n storeId,\r\n onError\r\n}) => {\r\n const [ state, setState ] = useState({\r\n storeData: null,\r\n isLoading: true\r\n })\r\n const { locale } = useContext(IntlContext)\r\n const langId = useMemo(() => {\r\n return langStringToCode(locale)\r\n }, [ locale ])\r\n\r\n useEffect(() => {\r\n if ( storeId !== undefined ) {\r\n setState({ isLoading: true })\r\n getOnlyStore(storeId, langId).then(res => {\r\n if ( res.data.errCode !== 200 ) {\r\n onError({ errCode: res.data.errCode })\r\n } else {\r\n setState({ isLoading: false, storeData: res.data.branch })\r\n }\r\n })\r\n }\r\n }, [ langId, storeId, onError ])\r\n return (\r\n { state.isLoading ? 'loading...' : state.storeData.name }\r\n )\r\n}\r\n\r\nexport default Tool_storeName","import React, {\r\n useReducer,\r\n useContext,\r\n useEffect,\r\n useRef,\r\n useMemo,\r\n} from \"react\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport Tool_tabs from \"../../Components/Tools/Tool_tabs\";\r\nimport cls from \"classnames\";\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport { CusInput } from \"../../Components/From/Input\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { Global } from \"../../App\";\r\nimport { AsyncModel, AsyncModelClose } from \"../AsyncModel/AsyncModel\";\r\nimport ReactLoading from \"react-loading\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport QrReader from \"react-qr-reader\";\r\nimport moment from \"moment\";\r\nimport {\r\n isIOS,\r\n isAndroid,\r\n isSafari,\r\n isChrome,\r\n isFirefox,\r\n} from \"react-device-detect\";\r\nimport qs from \"querystring\";\r\n// switch lang\r\nimport {\r\n langStringToCode,\r\n langCodeToString,\r\n} from \"../../Share/Tools/switchLang\";\r\n// api\r\nimport { getAllStore } from \"../../Api/GetStore\";\r\nimport {\r\n postManualVerifyQueue,\r\n postQRCodeVerifyQueue,\r\n} from \"../../Api/VerifyQueue\";\r\nimport Tool_storeName from \"../Tools/Tool_storeName\";\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case \"UPDATE_STATE\":\r\n payload.forEach((i) => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\n/**\r\n *\r\n * @param {object} props\r\n *\r\n * 本次步驟會影響的global state\r\n * 1-1\r\n * selectedBranch\r\n *\r\n * 1-2\r\n * queueNumber\r\n * queueCode\r\n * currentStep (1 + 1)\r\n *\r\n */\r\n\r\nfunction OrderStep_1(props) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, dispatch] = useReducer(reducer, {\r\n useQRCode: false, // 是否使用QRCode掃描\r\n selectedTab: null,\r\n queueNumber: \"\",\r\n queueCode: \"\",\r\n branchList: [],\r\n });\r\n\r\n const nextInput = useRef(null);\r\n function handleFocus() {\r\n nextInput.current.focus();\r\n }\r\n\r\n const clickBtn = useRef(null);\r\n function handleClick() {\r\n clickBtn.current.click();\r\n }\r\n\r\n // tabs的選項\r\n const verifyItems = [\r\n {\r\n title: ,\r\n info: \"code\",\r\n },\r\n {\r\n title: ,\r\n info: \"qr\",\r\n },\r\n ];\r\n // 是否使用qrcode掃描過\r\n const isScan = useRef(true);\r\n\r\n // 取得所有分店\r\n async function apiAllStore(langId) {\r\n try {\r\n let res = await getAllStore(langId);\r\n const { errCode, branch } = res.data;\r\n if (errCode === 200) {\r\n let newList = branch.map((e) => ({\r\n branchName: e.name,\r\n branchCode: e.id,\r\n openTime: e.openTime,\r\n closeTime: e.closeTime,\r\n }));\r\n console.log(newList);\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [{ key: \"branchList\", val: newList }],\r\n });\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errCode\", val: errCode }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n } catch (err) {\r\n console.error(\"AllStore error.\");\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errCode\", val: 404 }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n }\r\n // 驗證排隊號碼 & 取號驗證碼\r\n async function apiManualVerifyQueue(requireData) {\r\n const waittingAlert = AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n showConfirmBtn: false,\r\n });\r\n try {\r\n const res = await postManualVerifyQueue(requireData);\r\n const { errCode } = res.data;\r\n AsyncModelClose();\r\n // 驗證通過\r\n if (res) {\r\n let {\r\n verify,\r\n childCount,\r\n adultsCount,\r\n languageID,\r\n countryID,\r\n countryName,\r\n storeID,\r\n storeName,\r\n orderCode,\r\n createAt,\r\n posStatus,\r\n posCode,\r\n tableNo,\r\n mainOrderCode,\r\n } = res.data.response;\r\n switch (errCode) {\r\n case 200:\r\n if (orderCode !== null) {\r\n if (posStatus) {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n // 模式選擇\r\n { key: \"ordermode\", val: \"addorder\" },\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n { key: \"langType\", val: langCodeToString(languageID) },\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: countryID,\r\n posCode: posCode,\r\n tableNo: tableNo ? tableNo : \"\",\r\n mainOrderCode: mainOrderCode,\r\n countryName: countryName,\r\n queueNumber: requireData.queueNumber,\r\n queueCode: requireData.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n tempOrderCode: \"\",\r\n tempOrderGroupID: \"\",\r\n tempOrderID: \"\",\r\n //orderTime: moment().format(\"YYYY/MM/DD HH:mm:ss\"),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName,\r\n },\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n } else {\r\n props.history.push(\r\n `/showOrderDetail?orderCode=${orderCode}&storeID=${String(\r\n storeID\r\n )}&createAt=${createAt}`\r\n );\r\n }\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n // 模式選擇\r\n { key: \"ordermode\", val: \"order\" },\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n { key: \"langType\", val: langCodeToString(languageID) },\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"2\",\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n tableNo: tableNo ? tableNo : \"\",\r\n country: countryID,\r\n countryName: countryName,\r\n queueNumber: requireData.queueNumber,\r\n queueCode: requireData.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n tempOrderCode: \"\",\r\n tempOrderGroupID: \"\",\r\n tempOrderID: \"\",\r\n //orderTime: moment().format(\"YYYY/MM/DD HH:mm:ss\"),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName,\r\n },\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n break;\r\n case 420:\r\n case 4201:\r\n props.history.push(\r\n `/showOrderDetail?orderCode=${orderCode}&storeID=${String(\r\n storeID\r\n )}&createAt=${createAt}`\r\n );\r\n break;\r\n default:\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: res.data.errCode }],\r\n });\r\n props.history.push(\"/error\");\r\n break;\r\n }\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: res.data.errCode }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n } catch (err) {\r\n AsyncModelClose();\r\n console.error(\"LangOption error.\");\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: 405 }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n }\r\n // 驗證來店資訊\r\n async function apiVerifyQRCode(par) {\r\n try {\r\n const res = await postQRCodeVerifyQueue({\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n storeID: par.storeID,\r\n });\r\n const { errCode } = res.data;\r\n if (res && (errCode == 200 || errCode == 420 || errCode == 4201)) {\r\n return res;\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: errCode }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n } catch (err) {\r\n console.error(\"QRCodeVerifyQueue error.\");\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: 405 }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n }\r\n // call api\r\n useEffect(() => {\r\n const langCode = langStringToCode(globalState.langType);\r\n apiAllStore(langCode);\r\n }, [globalState.langType]);\r\n\r\n // 選擇分店\r\n const showBranchOption = useMemo(() => {\r\n // 已選過分店 => 隱藏\r\n if (\r\n globalState.customer.orderInfo.selectedBranch || // 已選擇分店 => 隱藏\r\n state.useQRCode // QRcode 模式開啟時 => 隱藏\r\n )\r\n return null;\r\n return (\r\n \r\n
\r\n {state.branchList.map((i, index) => (\r\n {\r\n const now = moment(new Date(), \"HH:mm\");\r\n const open = moment(i.openTime, \"HH:mm\");\r\n const close = moment(i.closeTime, \"HH:mm\");\r\n return !(now.isAfter(open) && now.isBefore(close));\r\n })()}\r\n className=\"Pages__branch p-3 store\"\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n selectedBranch: i,\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n children={i.branchName}\r\n />\r\n ))}\r\n
\r\n
\r\n );\r\n }, [\r\n globalState.customer.orderInfo.selectedBranch,\r\n globalState.device,\r\n state.useQRCode,\r\n state.branchList,\r\n ]);\r\n // QRcode掃描\r\n const showQRCode = useMemo(() => {\r\n if (\r\n !state.useQRCode || // 沒有選擇QRCode功能\r\n // globalState.device === 'pc' || // 非行動裝置\r\n (isIOS && !isSafari) || // ios系統但瀏覽器非safari\r\n (isAndroid && !(isChrome || isFirefox)) // android系統但瀏覽器非 chrome || firefox\r\n )\r\n return null;\r\n return (\r\n
\r\n {\r\n console.error(err);\r\n }}\r\n onScan={async (data) => {\r\n let par; //是否有合法的參數\r\n if (!data) return (isScan.current = true);\r\n if (data && isScan.current) {\r\n par = qs.parse(data.split(\"?\")[1]);\r\n isScan.current = false;\r\n const waittingAlert = AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n showConfirmBtn: false,\r\n });\r\n }\r\n if (par) {\r\n const qrcode = await apiVerifyQRCode(par);\r\n AsyncModelClose();\r\n if (qrcode) {\r\n const {\r\n verify,\r\n childCount,\r\n adultsCount,\r\n countryID,\r\n countryName,\r\n storeID,\r\n storeName,\r\n languageID,\r\n createAt,\r\n posStatus,\r\n posCode,\r\n tableNo,\r\n mainOrderCode,\r\n orderCode,\r\n } = qrcode.data.response;\r\n const { errCode } = qrcode.data;\r\n switch (errCode) {\r\n case 200:\r\n if (orderCode !== null) {\r\n if (posStatus) {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n // 模式選擇\r\n { key: \"ordermode\", val: \"addorder\" },\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n {\r\n key: \"langType\",\r\n val: langCodeToString(languageID),\r\n },\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: countryID,\r\n posCode: posCode,\r\n tableNo: tableNo ? tableNo : \"\",\r\n mainOrderCode: mainOrderCode,\r\n countryName: countryName,\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n tempOrderCode: \"\",\r\n tempOrderGroupID: \"\",\r\n tempOrderID: \"\",\r\n //orderTime: moment().format(\r\n // \"YYYY/MM/DD HH:mm:ss\"\r\n //),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName,\r\n },\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n } else {\r\n props.history.push(\r\n `/showOrderDetail?orderCode=${orderCode}&storeID=${String(\r\n storeID\r\n )}&createAt=${createAt}`\r\n );\r\n }\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n // 模式選擇\r\n { key: \"ordermode\", val: \"order\" },\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n {\r\n key: \"langType\",\r\n val: langCodeToString(languageID),\r\n },\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"2\",\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n tableNo: tableNo ? tableNo : \"\",\r\n country: countryID,\r\n countryName: countryName,\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n tempOrderCode: \"\",\r\n tempOrderGroupID: \"\",\r\n tempOrderID: \"\",\r\n orderTime: moment().format(\r\n \"YYYY/MM/DD HH:mm:ss\"\r\n ),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName,\r\n },\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n break;\r\n case 420:\r\n case 4201:\r\n props.history.push(\r\n `/showOrderDetail?orderCode=${orderCode}&storeID=${String(\r\n storeID\r\n )}&createAt=${createAt}`\r\n );\r\n break;\r\n default:\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: errCode }],\r\n });\r\n props.history.push(\"/error\");\r\n break;\r\n }\r\n /*\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n { key: 'langType', val: langCodeToString(languageID) },\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n isReady: true,\r\n currentStep: '2',\r\n mealDetail: '',\r\n mealOrderDetail: [],\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: countryID,\r\n countryName: countryName,\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n orderTime: moment().format('YYYY/MM/DD hh:mm:ss'),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName\r\n }\r\n },\r\n // orderDetail: {\r\n // totalMealQuantity: 0,\r\n // dineInTotalPrice: 0,\r\n // dineInSpecPrice: 0,\r\n // takeoutInTotalPrice: 0,\r\n // takeoutInSpecPrice: 0\r\n // }\r\n }\r\n }\r\n ]\r\n });\r\n */\r\n }\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: 419 }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n }}\r\n style={{ width: \"100%\" }}\r\n />\r\n
\r\n );\r\n }, [state.useQRCode, globalState.device]);\r\n // 輸入排隊號碼 & 取號驗證碼\r\n const showInputFrom = useMemo(() => {\r\n let pcStyle = globalState.device === \"pc\";\r\n if (\r\n !globalState.customer.orderInfo.selectedBranch || // 未選擇分店 => 隱藏\r\n state.useQRCode // QRcode 模式開啟時 => 隱藏\r\n )\r\n return null;\r\n return (\r\n
\r\n
\r\n {/* 排隊號碼 */}\r\n
\r\n {\r\n return (\r\n \r\n }\r\n value={state.queueNumber}\r\n onKeyPress={(ev) => {\r\n if (ev.key === \"Enter\") {\r\n handleFocus();\r\n }\r\n }}\r\n placeholder={msg}\r\n onChange={(event) => {\r\n let val = event.target.value;\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [{ key: \"queueNumber\", val: val }],\r\n });\r\n }}\r\n />\r\n );\r\n }}\r\n />\r\n
\r\n {/* 取號驗證碼 */}\r\n
\r\n {\r\n return (\r\n \r\n }\r\n innerRef={nextInput}\r\n value={state.queueCode}\r\n placeholder={msg}\r\n onKeyPress={(ev) => {\r\n if (ev.key === \"Enter\") {\r\n handleClick();\r\n }\r\n }}\r\n onChange={(event) => {\r\n let val = event.target.value;\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [{ key: \"queueCode\", val: val }],\r\n });\r\n }}\r\n />\r\n );\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n {/* button */}\r\n
\r\n \r\n }\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n selectedBranch: \"\",\r\n queueNumber: \"\",\r\n queueCode: \"\",\r\n numberOfAdult: \"\",\r\n numberOfChild: \"\",\r\n //orderTime: \"\",\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n />\r\n \r\n }\r\n innerRef={clickBtn}\r\n onClick={async () => {\r\n let { branchCode } =\r\n globalState.customer.orderInfo.selectedBranch;\r\n apiManualVerifyQueue({\r\n queueNumber: state.queueNumber,\r\n queueCode: state.queueCode,\r\n storeID: branchCode,\r\n languageID: langStringToCode(globalState.langType),\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n );\r\n }, [\r\n globalState.customer.orderInfo.selectedBranch,\r\n globalState.device,\r\n state.useQRCode,\r\n state.queueNumber,\r\n state.queueCode,\r\n ]);\r\n return (\r\n <>\r\n {/* 選擇驗證方式 tabs */}\r\n {(() => {\r\n // 禁止顯示 tabs\r\n if (\r\n // globalState.device === 'pc' || // 非行動裝置 // 消費者先不判斷寬度\r\n (isIOS && !isSafari) || // ios系統但瀏覽器非safari\r\n (isAndroid && !(isChrome || isFirefox)) // android系統但瀏覽器非 chrome || firefox\r\n ){\r\n return null;\r\n }\r\n\r\n return (\r\n {\r\n let useQRCode = selectedTab.info === \"qr\";\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n { key: \"selectedTab\", val: selectedTab },\r\n { key: \"useQRCode\", val: useQRCode },\r\n ],\r\n });\r\n }}\r\n />\r\n );\r\n })()}\r\n {/* QR code */}\r\n {globalState.device !== \"pc\" && !state.useQRCode ? (\r\n
\r\n {globalState.customer.orderInfo.selectedBranch ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n ) : null}\r\n
\r\n <>\r\n {showBranchOption}\r\n {showQRCode}\r\n {showInputFrom}\r\n \r\n
\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(OrderStep_1);\r\n","import axios from 'axios';\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _getCountry = '/Country';\r\nconst getCountry = axios.create({\r\n baseURL: checkEnvironment(_basic, _getCountry)\r\n})\r\n\r\n/**\r\n * 所有的國家\r\n * @param {number} langId 語系代號\r\n */\r\nexport const getAllCountry = async (langId) => {\r\n return await getCountry.get(\r\n '/GetCountryAll',\r\n { params: { languageID: langId } }\r\n )\r\n}\r\n\r\n/**\r\n * 指定的國家\r\n * @param {{languageID:number, countryID: number}} requireData\r\n */\r\n\r\nexport const getSpecificCountry = async (requireData) => {\r\n return await getCountry.get(\r\n '/GetCountryOnly',\r\n {\r\n params: {\r\n languageID: requireData.languageID,\r\n countryID: requireData.countryID\r\n }\r\n }\r\n )\r\n}\r\n","import React, { useState, useContext, useEffect } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { CusButton } from '../../Components/From/Button';\r\n// import { CusInput } from '../../Components/From/Input';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { Global } from '../../App';\r\n// import Tool_dropDown from '../../Components/Tools/Tool_dropDown';\r\n// switch lang\r\nimport { langStringToCode } from '../../Share/Tools/switchLang';\r\n// api\r\nimport { getAllCountry, getSpecificCountry } from '../../Api/GetCountry';\r\nimport Tool_storeName from '../Tools/Tool_storeName';\r\nimport moment from \"moment\";\r\n/**\r\n *\r\n * @param {object} props\r\n *\r\n * 本次步驟會影響的global state\r\n * country\r\n * currentStep (2 ± 1)\r\n */\r\n\r\nfunction OrderStep_2(props) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, setState] = useState({\r\n countryList: [],\r\n countrySelected: {\r\n country: null,\r\n countryName: null\r\n }\r\n });\r\n // 取得所有國家\r\n async function apiAllCountry(langId) {\r\n try {\r\n const res = await getAllCountry(langId);\r\n const { errCode, countryList } = res.data;\r\n if (errCode == 200) {\r\n const newCountryList = countryList.map(e => ({\r\n title: e.name,\r\n value: e.id\r\n }));\r\n\r\n return newCountryList;\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n\r\n props.history.push('/error');\r\n }\r\n } catch (err) {\r\n console.error('AllCountry error.');\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 406 }]\r\n });\r\n\r\n props.history.push('/error');\r\n }\r\n }\r\n // 取得指定的國家\r\n async function apiSpecificCountry(requireData) {\r\n try {\r\n const res = await getSpecificCountry(requireData);\r\n const { errCode, country } = res.data;\r\n if (errCode == 200) {\r\n const newSelectedCountry = {\r\n title: country.name,\r\n value: country.id\r\n };\r\n\r\n return newSelectedCountry;\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n\r\n props.history.push('/error');\r\n }\r\n } catch (err) {\r\n console.error('SpecificCountry error.');\r\n }\r\n }\r\n\r\n // get api\r\n useEffect(() => {\r\n const langCode = langStringToCode(globalState.langType);\r\n const countryCode = globalState.customer.orderInfo.country;\r\n const updateCountryList = async () => {\r\n let countryList = await apiAllCountry(langCode);\r\n let selectedCountry = await apiSpecificCountry({\r\n languageID: langCode,\r\n countryID: countryCode\r\n });\r\n if (countryList && selectedCountry) {\r\n setState(curr => {\r\n let newState = { ...curr };\r\n newState.countryList = countryList;\r\n newState.countrySelected = {\r\n country: selectedCountry.value,\r\n countryName: selectedCountry.title\r\n };\r\n\r\n return newState;\r\n });\r\n }\r\n };\r\n \r\n updateCountryList();\r\n }, [globalState.langType]);\r\n\r\n // 更新globalState country\r\n useEffect(() => {\r\n const { country, countryName } = state.countrySelected;\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: country ? country : null,\r\n countryName: countryName ? countryName : null\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n }, [state.countrySelected]);\r\n\r\n function showForm() {\r\n let pcStyle = globalState.device === 'pc';\r\n return (\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {globalState.customer.orderInfo.queueNumber}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {globalState.customer.orderInfo.numberOfAdult}\r\n
\r\n
\r\n \r\n
\r\n
\r\n {globalState.customer.orderInfo.numberOfChild}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {/*
\r\n
\r\n { }}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n { }}\r\n />\r\n \r\n \r\n \r\n
\r\n
*/}\r\n {/*
\r\n \r\n
*/}\r\n
\r\n {/*
\r\n
\r\n \r\n
\r\n
\r\n {state.countrySelected.countryName}\r\n
\r\n
\r\n
\r\n {/* {\r\n setState(curr => {\r\n let newState = { ...curr };\r\n newState.countrySelected = {\r\n country: e.value,\r\n countryName: e.title\r\n };\r\n return newState;\r\n });\r\n }}\r\n /> \r\n
*/}\r\n
\r\n \r\n
\r\n
\r\n {/* 返回 */}\r\n \r\n }\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n currentStep: '1',\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: '',\r\n queueNumber: '',\r\n queueCode: '',\r\n numberOfAdult: '',\r\n numberOfChild: '',\r\n orderTime: ''\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n }}\r\n />\r\n {/* 確認 */}\r\n \r\n }\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n orderTime: moment().format(\"YYYY/MM/DD HH:mm:ss\"),\r\n },\r\n currentStep: '3'\r\n }\r\n }\r\n ]\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n \r\n );\r\n }\r\n // 接收到countryList資料之前 不渲染畫面\r\n if (\r\n !state.countryList ||\r\n (Array.isArray(state.countryList) && state.countryList.length <= 0)\r\n ){\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n \r\n {/* {globalState.customer.orderInfo.selectedBranch.branchCode} */}\r\n
\r\n {showForm()}\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(OrderStep_2);\r\n","import axios from \"axios\";\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _order = \"/Order\";\r\nconst order = axios.create({\r\n baseURL: checkEnvironment(_basic, _order)\r\n});\r\nconst CancelToken = axios.CancelToken;\r\n\r\nexport const postTranslationOrder = async orderData => {\r\n return await order.post(\"/TranslationOrder\", orderData);\r\n};\r\n\r\nexport const postCreateOrder = async orderData => {\r\n return await order.post(\"/CreateOrder\", orderData);\r\n};\r\n\r\nlet cancelShareOrderDetail;\r\nexport const getShareOrderDetail = async (orderCode, langId, storeID, createAt) => {\r\n return await order\r\n .get(\"/ShareOrderDetail\", {\r\n params: {\r\n orderCode: orderCode,\r\n languageID: langId,\r\n storeID,\r\n createAt\r\n },\r\n cancelToken: new CancelToken(cancellation => {\r\n cancelShareOrderDetail = cancellation;\r\n })\r\n })\r\n .catch(err => {\r\n if (axios.isCancel(err)) {\r\n // throw err\r\n console.log(\"cancel\");\r\n } else {\r\n throw err;\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * 新增或更新暫存訂單\r\n * @param {*} saveData\r\n */\r\n export const saveTempOrder = async saveData => {\r\n return await order.post(\"/saveTempOrder\", saveData).catch(err => {\r\n throw err;\r\n });\r\n};\r\n\r\n/**\r\n * 重印預點單\r\n * @param {string} tempOrderGroupID\r\n * @param {string} languageID\r\n * @param {number} storeID\r\n * @param {string} createAt\r\n * @param {string} tableNo\r\n */\r\n export const GetTempOrderDetail = async (tempOrderGroupID, languageID, storeID, createAt, tableNo) => {\r\n return await order.get(\"/GetTempOrderDetail\", {\r\n params: {\r\n tempOrderGroupID,\r\n languageID,\r\n storeID,\r\n createAt,\r\n tableNo\r\n }\r\n });\r\n};\r\n\r\nexport const postCreateAddOrder = async orderData => {\r\n return await order.post(\"/CreateAddOrder\", orderData);\r\n};\r\n\r\nexport { cancelShareOrderDetail };\r\n","import React, { useReducer, useEffect } from 'react';\r\nimport { Modal, ModalBody } from 'reactstrap'\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\nimport cls from 'classnames';\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case 'UPDATE_STATE':\r\n payload.forEach(i => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\nfunction Tool__CusFilter({\r\n selectedItems,\r\n selectedVeganItems,\r\n onClose,\r\n onSelectItem,\r\n tagGroup\r\n}) {\r\n const [state, dispatch] = useReducer(reducer, {\r\n selectedItem:{\r\n allergen:pickDefaultTag(),\r\n vegan:pickDefaultVegan()\r\n }\r\n });\r\n\r\n function pickDefaultTag() {\r\n if (selectedItems) {\r\n return selectedItems;\r\n } else {\r\n // const whichTaste = takeoutState ? takeoutTaste : dineInTaste;\r\n // const defaultTaste = whichTaste.filter(def => def.preset).map(e => e.id);\r\n return [];\r\n }\r\n }\r\n\r\n function pickDefaultVegan() {\r\n if (selectedVeganItems) {\r\n return selectedVeganItems;\r\n } else {\r\n // const whichTaste = takeoutState ? takeoutTaste : dineInTaste;\r\n // const defaultTaste = whichTaste.filter(def => def.preset).map(e => e.id);\r\n return [];\r\n }\r\n }\r\n\r\n const allergenList = tagGroup.allergenMenu || [];\r\n const veganList = tagGroup.vegetarian || [];\r\n return (\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n }\r\n className=\"btn-block\"\r\n onClick={() => {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'selectedItem', val:{allergen:[],vegan:[]}}]\r\n });\r\n }}\r\n />\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {(() => {\r\n if (!allergenList) return null;\r\n return allergenList.map((e, index) => (\r\n f === e.id)\r\n ? 'Tool__CusFilter__option_select'\r\n : '',\r\n )}\r\n onClick={() => { \r\n let newVal = [...state.selectedItem.allergen];\r\n const isSelected = newVal.find(f => f === e.id);\r\n if (isSelected) {\r\n const findIndex = newVal.findIndex(f => f === e.id);\r\n newVal.splice(findIndex, 1);\r\n } else {\r\n newVal.push(e.id);\r\n }\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{key: 'selectedItem', val:{...state.selectedItem,allergen:newVal.sort()}}]\r\n });\r\n }}\r\n >\r\n {e.name}\r\n \r\n ));\r\n })()}\r\n
\r\n
\r\n
\r\n
\r\n {(() => {\r\n if (!veganList) return null;\r\n return veganList.map((e, index) => (\r\n f === e.id)\r\n ? 'Tool__CusFilter_Vegan_option_select'\r\n : '',\r\n )}\r\n onClick={() => { \r\n let newVal = [...state.selectedItem.vegan];\r\n const isSelected = newVal.find(f => f === e.id);\r\n if (isSelected) {\r\n newVal = [];\r\n } else {\r\n newVal = [];\r\n newVal.push(e.id);\r\n }\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{key: 'selectedItem', val:{...state.selectedItem,vegan:newVal.sort()}}]\r\n });\r\n }}\r\n >\r\n {e.name}\r\n \r\n ));\r\n })()}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n }\r\n className=\"btn-block py-2 addmeal-back\"\r\n onClick={() => {\r\n onClose();\r\n }}\r\n />\r\n
\r\n
\r\n \r\n }\r\n className=\"btn-block py-2 addmeal-confirm\"\r\n onClick={() => {\r\n onSelectItem(state.selectedItem);\r\n onClose();\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default Tool__CusFilter;\r\n","import axios from \"axios\";\r\nconst checkEnvironment = (url, apiUrl) => {\r\n const Environment = process.env.NODE_ENV;\r\n if (Environment === \"development\") return url + apiUrl;\r\n if (Environment === \"production\")\r\n return window.env.REACT_APP_API_HOST + apiUrl;\r\n};\r\nconst _basic = window.env.REACT_APP_API_DEVELOPMENT_HOST;\r\nconst _getProduct = \"/Product\";\r\n\r\nconst getProduct = axios.create({\r\n baseURL: checkEnvironment(_basic, _getProduct)\r\n});\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n * @param {number} storeId 店家代號\r\n */\r\nexport const getAllProduct = async (langId, storeId) => {\r\n return await getProduct.get(\"/GetProductAll\", {\r\n params: {\r\n languageID: langId,\r\n storeID: storeId\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n * @param {number} storeId 店家代號\r\n */\r\nexport const getBranchProduct = async (langId, storeId) => {\r\n return await getProduct.get(\"/GetProductStore\", {\r\n params: {\r\n languageID: langId,\r\n storeID: storeId\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n * @param {number} productId 語系代號\r\n */\r\nexport const getSpecificProductItem = async (langId, productId) => {\r\n return await getProduct.get(\"/GetProductTasteSpecification\", {\r\n params: {\r\n languageID: langId,\r\n productID: productId\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n */\r\nexport const getTagList = async (langId) => {\r\n return await getProduct.get(\"/GetTagList\", {\r\n params: {\r\n languageID: langId\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n * @param {number} storeId 門市代號\r\n */\r\nexport const GetStaffMenu = async (langId, storeId) => {\r\n return await getProduct.get(\"/GetStaffMenu\", {\r\n params: {\r\n languageID: langId,\r\n storeID: storeId\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * @param {number} langId 語系代號\r\n * @param {number} productId 產品代號\r\n */\r\nexport const GetStaffMenuDetail = async (langId, productId) => {\r\n return await getProduct.get(\"/GetStaffMenuDetail\", {\r\n params: {\r\n languageID: langId,\r\n productID: productId\r\n }\r\n });\r\n};\r\n","import React, { useContext, useRef } from \"react\";\r\nimport cls from \"classnames\";\r\nimport _ from \"lodash\";\r\nimport Slider from \"react-slick\";\r\nimport { Global } from \"../../App\";\r\n\r\nimport \"./Tools.scss\";\r\nimport \"../../Resource/scss/icon.scss\";\r\n\r\n/**\r\n * @typedef {{title: string, type: string}} item\r\n * @typedef {item[]} items\r\n */\r\n\r\n/**\r\n * @param {object} props\r\n * @param {items} props.items\r\n * @param {(item)=> void} props.onSelected\r\n * @param {item} props.currentCategory\r\n *\r\n */\r\n\r\nfunction Tool_circulatingTab({ items, onSelected, currentCategory, onRef }) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n let _tabRef = useRef(null);\r\n const settings = {\r\n centerMode: true,\r\n speed: 0,\r\n slidesToShow: 5,\r\n centerPadding: \"0\",\r\n arrows: false,\r\n swipe: false,\r\n responsive: [\r\n {\r\n breakpoint: 576,\r\n settings: {\r\n centerMode: true,\r\n slidesToShow: 3\r\n }\r\n }\r\n ],\r\n beforeChange: (curr, next) => {\r\n onSelected(items[next]);\r\n }\r\n };\r\n\r\n if (!items || items.length < 1) {\r\n return null;\r\n }\r\n \r\n // console.log(items);\r\n return (\r\n
\r\n _tabRef.slickPrev()}\r\n />\r\n {\r\n console.log(ref, 'ref');\r\n _tabRef = ref;\r\n onRef(_tabRef);\r\n }}\r\n >\r\n {items.map((e, index) => (\r\n {\r\n _tabRef.slickGoTo(index)\r\n }}\r\n >\r\n {e.title}\r\n
\r\n ))}\r\n \r\n _tabRef.slickNext()}\r\n />\r\n \r\n );\r\n}\r\n\r\nexport default Tool_circulatingTab;\r\n","import React, { useReducer, useEffect } from 'react';\r\nimport { Modal, ModalBody } from 'reactstrap'\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\nimport cls from 'classnames';\r\n\r\nfunction Tool__CusCategory({\r\n selectedItem,\r\n onClose,\r\n categoryGroup\r\n}) {\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n {(() => {\r\n if (!categoryGroup) return null;\r\n return categoryGroup.map((e, index) => (\r\n {\r\n if (selectedItem) {\r\n selectedItem(index);\r\n onClose();\r\n }\r\n }}\r\n >\r\n
{e.title}
\r\n \r\n ));\r\n })()}\r\n
\r\n
\r\n
\r\n \r\n }\r\n className=\"btn-block py-2 addmeal-back\"\r\n onClick={() => onClose()}\r\n />\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default Tool__CusCategory;\r\n","import React, { useContext } from 'react'\r\nimport Slider from \"react-slick\";\r\nimport cls from 'classnames'\r\nimport { Global } from \"../../App\";\r\nimport \"slick-carousel/slick/slick.css\";\r\nimport \"slick-carousel/slick/slick-theme.css\";\r\n\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { CusInput } from '../../Components/From/Input';\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport Tool_CusCategory from '../../Components/Tools/Tool_CusCategory';\r\n\r\nimport './style.scss';\r\nimport { useRef, useState } from 'react';\r\nimport { useEffect } from 'react';\r\n\r\n/**\r\n * \r\n * @param {object} props \r\n * @param {{ title: string, items: any[] }} props.items\r\n * @param {(item: any) => React.ReactNode} props.renderItem,\r\n * @param {() => React.ReactNode} props.renderTab\r\n */\r\nconst ScrollTabs = ({\r\n tabs,\r\n allTabs,\r\n items,\r\n renderItem,\r\n searchOnChange,\r\n isSwipe = false,\r\n searchPlaceholder,\r\n itemOnSelected,\r\n renderTab,\r\n menuType,\r\n menuTypeSwitch,\r\n openFilter,\r\n isFillFilter\r\n}) => {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const slickRef = useRef()\r\n /** @type {React.RefObject} */\r\n const itemsRef = useRef([])\r\n /** @type {React.RefObject} */\r\n const bodyRef = useRef()\r\n /** @type {React.RefObject<'CLICK' | 'SCROLL'> } */\r\n const stateRef = useRef('SCROLL')\r\n\r\n const [state, setState] = useState({\r\n categoryPopupToggle: false,\r\n searchMsg: '',\r\n nextIdx: null\r\n })\r\n\r\n const settings = {\r\n swipeToSlide: true,\r\n centerMode: true,\r\n centerPadding: '0px',\r\n infinite: true,\r\n // speed: 0,\r\n // initialSlide: 0,\r\n slidesToShow: tabs.length < 5 ? tabs.length : 5,\r\n // centerPadding: 0,\r\n // infinite: true,\r\n focusOnSelect: true,\r\n accessibility: false,\r\n arrows: false,\r\n // swipe: false,\r\n responsive: [\r\n {\r\n breakpoint: 576,\r\n settings: {\r\n centerMode: true,\r\n slidesToShow: tabs.length < 3 ? tabs.length : 3\r\n }\r\n }\r\n ],\r\n onSwipe: () => {\r\n isSwipe = true;\r\n },\r\n beforeChange: (oldIdx, nextIdx) => {\r\n if (stateRef.current === 'CLICK') {\r\n const tab = tabs[nextIdx]\r\n const itemIdx = items.findIndex(item => item.$tab === tab.value)\r\n console.log(nextIdx, tab, itemIdx)\r\n if (itemsRef.current[itemIdx] !== undefined) {\r\n const { y } = itemsRef.current[itemIdx].getBoundingClientRect()\r\n document.body.scrollTop = (document.body.scrollTop + y) - 60 - 42\r\n }\r\n setTimeout(() => {\r\n stateRef.current = 'SCROLL'\r\n })\r\n // 滑動分類標題列\r\n } else if (stateRef.current === 'SCROLL' && isSwipe) {\r\n const tab = tabs[nextIdx]\r\n const itemIdx = items.findIndex(item => item.$tab === tab.value)\r\n console.log(nextIdx, tab, itemIdx)\r\n if (itemsRef.current[itemIdx] !== undefined) {\r\n const { y } = itemsRef.current[itemIdx].getBoundingClientRect()\r\n document.body.scrollTop = (document.body.scrollTop + y) - 60 - 42\r\n }\r\n }\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (state.nextIdx !== null && (state.nextIdx < tabs.length)) {\r\n const tab = tabs[state.nextIdx]\r\n const itemIdx = items.findIndex(item => item.$tab === tab.value)\r\n console.log(state.nextIdx, tab, itemIdx)\r\n\r\n if (itemsRef.current[itemIdx] !== undefined) {\r\n const { y } = itemsRef.current[itemIdx].getBoundingClientRect()\r\n document.body.scrollTop = (document.body.scrollTop + y) - 60 - 42\r\n }\r\n\r\n setTimeout(() => {\r\n stateRef.current = 'SCROLL'\r\n })\r\n }\r\n\r\n let timer\r\n const handleScroll = () => {\r\n if (stateRef.current !== 'CLICK') {\r\n if (timer !== undefined) {\r\n clearTimeout(timer) \r\n timer = undefined\r\n }\r\n\r\n timer = setTimeout(() => {\r\n const findIndex = itemsRef.current.findIndex(item => {\r\n if (item) {\r\n const { y: targetY } = item.getBoundingClientRect()\r\n return targetY > 0\r\n }\r\n })\r\n\r\n if (items[findIndex] !== undefined) {\r\n const { $tab } = items[findIndex]\r\n const findTabIndex = tabs.findIndex(item => item.value === $tab)\r\n slickRef.current.slickGoTo(findTabIndex)\r\n }\r\n }, 200)\r\n }\r\n }\r\n window.document.body.addEventListener('scroll', handleScroll)\r\n\r\n return () => {\r\n window.document.body.removeEventListener('scroll', handleScroll)\r\n }\r\n }, [items, tabs, state.searchMsg, state.nextIdx])\r\n\r\n if (items.length === 0 && tabs.length === 0) {\r\n return null\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {\r\n stateRef.current = 'CLICK'\r\n slickRef.current.slickPrev()\r\n }}\r\n >\r\n \r\n
\r\n
\r\n \r\n {tabs.map((e, index) => (\r\n {\r\n stateRef.current = 'CLICK'\r\n slickRef.current.slickGoTo(index)\r\n }}\r\n >\r\n {(e.count > 0)?\r\n {e.title}({e.count})\r\n :\r\n {e.title}}\r\n
\r\n ))}\r\n \r\n
\r\n {\r\n stateRef.current = 'CLICK'\r\n slickRef.current.slickNext()\r\n }}\r\n >\r\n \r\n \r\n
\r\n
\r\n {\r\n setState(curr => {\r\n let newState = { ...curr };\r\n newState.categoryPopupToggle = true;\r\n return newState;\r\n })\r\n }}\r\n />\r\n
\r\n
\r\n }\r\n maxLength={6}\r\n placeholder={searchPlaceholder}\r\n value={state.searchMsg}\r\n onChange={event => {\r\n let val = event.target.value.trim();\r\n if (searchOnChange) {\r\n searchOnChange(val);\r\n }\r\n setState(curr => {\r\n return {\r\n ...curr,\r\n nextIdx: null,\r\n searchMsg: event.target.value\r\n };\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n {/* {\r\n if (openFilter) {\r\n openFilter();\r\n }\r\n }}\r\n /> */}\r\n
{\r\n if (openFilter) {\r\n openFilter();\r\n setState(curr => {\r\n return {\r\n ...curr,\r\n nextIdx: 0\r\n };\r\n });\r\n }\r\n }}\r\n className={isFillFilter? \"filter_button-on\":\"filter_button\"} style={{width:\"46.5px\", maxHeight:\"50px\"}}>\r\n \r\n
\r\n
\r\n
\r\n {\r\n if (menuTypeSwitch) {\r\n menuTypeSwitch();\r\n }\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n {items.map((item, idx) => (\r\n itemsRef.current[idx] = ref}\r\n >\r\n {renderItem && renderItem(item)}\r\n
\r\n ))}\r\n \r\n \r\n {/* 切換分類視窗 */}\r\n {(() => {\r\n if (!state.categoryPopupToggle) return null;\r\n return (\r\n {\r\n setState(curr => {\r\n return {\r\n ...curr,\r\n categoryPopupToggle: false\r\n };\r\n });\r\n }}\r\n selectedItem={nextIdx => {\r\n itemOnSelected();\r\n setState(curr => {\r\n return {\r\n ...curr,\r\n searchMsg: '',\r\n nextIdx\r\n };\r\n });\r\n }}\r\n />\r\n );\r\n })()}\r\n \r\n )\r\n}\r\n\r\n\r\nexport default ScrollTabs","\r\nlet Timer;\r\nexport let TimeOutSet = (fun, time = 3000) => {\r\n TimeOutRemove();\r\n Timer = setTimeout(() => {\r\n fun();\r\n }\r\n , time)\r\n};\r\n\r\nexport let TimeOutRemove = () => {\r\n if (Timer) {\r\n clearTimeout(Timer);\r\n }\r\n}; ","import _ from 'lodash'\r\n\r\nconst calcItemTotal = ({ specification = [], stayInTaste = [], takeoutTaste = [] }) => {\r\n const inTasteById = _.keyBy(stayInTaste, 'id')\r\n const outTasteById = _.keyBy(takeoutTaste, 'id')\r\n const specSumList = specification.map(({ price, combination = []}) => {\r\n const combinSumList = combination.map(({ taste = [], quantity, takeout }) => {\r\n const tasteSum = _.sum(taste.map(tasteId => {\r\n if ( takeout ) {\r\n return _.get(outTasteById, [tasteId, 'price'], 0)\r\n } else {\r\n return _.get(inTasteById, [tasteId, 'price'], 0)\r\n }\r\n }))\r\n\r\n return {\r\n total: price * quantity,\r\n tasteTotal: tasteSum * quantity\r\n }\r\n })\r\n\r\n return {\r\n total: _.sumBy(combinSumList, 'total'),\r\n tasteTotal: _.sumBy(combinSumList, 'tasteTotal')\r\n }\r\n })\r\n\r\n return {\r\n total: _.sumBy(specSumList, 'total'),\r\n tasteTotal: _.sumBy(specSumList, 'tasteTotal')\r\n }\r\n\r\n}\r\nconst calcListTotal = (list) => {\r\n const listSum = list.map(calcItemTotal)\r\n return {\r\n total: _.sumBy(listSum, 'total'),\r\n tasteTotal: _.sumBy(listSum, 'tasteTotal')\r\n }\r\n}\r\n\r\nexport default calcListTotal","import React, {\r\n useReducer,\r\n useContext,\r\n useRef,\r\n useEffect,\r\n useMemo\r\n} from 'react';\r\nimport moment from 'moment';\r\nimport { saveTempOrder, GetTempOrderDetail } from '../../Api/GetOrder';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport Tool_CusFilter from '../../Components/Tools/Tool_CusFilter';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { Global } from '../../App';\r\nimport { browserName } from 'react-device-detect';\r\nimport { AsyncModel, AsyncModelClose } from '../AsyncModel/AsyncModel';\r\n\r\nimport _ from 'lodash';\r\nimport cls from 'classnames'\r\nimport Tooltip from 'rc-tooltip';\r\nimport Tool_circulatingTab from '../../Components/Tools/Tool_circulatingTab';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\nimport '../../Pages/pages.scss';\r\n// switch lang\r\nimport { langStringToCode } from '../../Share/Tools/switchLang';\r\n// api\r\nimport { getBranchProduct } from '../../Api/GetProduct';\r\nimport { getTagList } from '../../Api/GetProduct';\r\n\r\nimport defaultImg from '../../Resource/image/icons/img_no_image.png';\r\nimport ScrollTabs from '../../Components/Common/ScrollTabs'\r\nimport { updateOrderDetail } from '../../Share/Tools/updateOrderDetail';\r\nimport calcListTotal from '../../Share/Tools/calcTotal';\r\nimport { splitData } from '../../Share/Tools/splitData';\r\nimport ReactLoading from 'react-loading';\r\nimport { TimeOutSet, TimeOutRemove } from '../../Share/Tools/Share'\r\n\r\nlet pageTimer = {};\r\nlet bUpdate = false;\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case 'UPDATE_STATE':\r\n payload.forEach(i => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\n/**\r\n *\r\n * @param {object} props\r\n *\r\n * 本次步驟會影響的global state\r\n *\r\n * currentStep (3 => 3.1 || 4)\r\n * currentQrStep (1 => 1.1 || 2)\r\n * mealDetail\r\n * mealOrderDetail\r\n */\r\n\r\nfunction OrderStep_3(props) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, dispatch] = useReducer(reducer, {\r\n currentCategory: null,\r\n searchInput: '',\r\n categoryList: [], // tab\r\n filterCategoryList: [],\r\n mealList: [], // meals,\r\n dineIn: [],\r\n takeout: [],\r\n tagList: {}, //tags\r\n tagSelected: [],\r\n veganSelected:[],\r\n tagPopupToggle: false,\r\n });\r\n const _menuListRef = useRef([]);\r\n \r\n\r\n // 計算餐點數量&總金額(餐點單價*數量 + 特口價格*數量)\r\n const handleTotalPrice = useMemo(() => {\r\n const { mealOrderDetail } = globalState.customer;\r\n const totalQuantity = mealOrderDetail.length;\r\n // 內用總單價\r\n const dineInTotal = mealOrderDetail.reduce((currProduct, itemProduct) => {\r\n const total = itemProduct.specification.reduce((currSpec, itemSpec) => {\r\n return (\r\n currSpec +\r\n itemSpec.combination\r\n .filter(combi => !combi.takeout)\r\n .reduce((currCombi, itemCombi) => {\r\n return currCombi + itemCombi.quantity * itemSpec.price;\r\n }, 0)\r\n );\r\n }, 0);\r\n return currProduct + total;\r\n }, 0);\r\n // 內用特口總價\r\n const dineInSpecPrice = mealOrderDetail.reduce(\r\n (currProduct, itemProduct) => {\r\n let spec = itemProduct.specification.reduce((currSpec, itemSpec) => {\r\n return (\r\n currSpec +\r\n itemSpec.combination\r\n .filter(combi => !combi.takeout)\r\n .reduce((currCombi, itemCombi) => {\r\n const specTotalPrice = itemCombi.taste.reduce(\r\n (currTaste, itemTaste) => {\r\n let index = itemProduct.stayInTaste.findIndex(\r\n f => f.id === itemTaste\r\n );\r\n // 各個組合的數量\r\n let combiQuantity = itemCombi.quantity;\r\n // 對應特口需求的價格\r\n let tastePrice = itemProduct.stayInTaste[index].price;\r\n return currTaste + tastePrice * combiQuantity;\r\n },\r\n 0\r\n );\r\n return currCombi + specTotalPrice;\r\n }, 0)\r\n );\r\n }, 0);\r\n return currProduct + spec;\r\n },\r\n 0\r\n );\r\n // 外帶總單價\r\n const takeoutTotal = mealOrderDetail.reduce((currProduct, itemProduct) => {\r\n const total = itemProduct.specification.reduce((currSpec, itemSpec) => {\r\n return (\r\n currSpec +\r\n itemSpec.combination\r\n .filter(combi => combi.takeout)\r\n .reduce((currCombi, itemCombi) => {\r\n return currCombi + itemCombi.quantity * itemSpec.price;\r\n }, 0)\r\n );\r\n }, 0);\r\n return currProduct + total;\r\n }, 0);\r\n // 外帶特口總價\r\n const takeoutSpecPrice = mealOrderDetail.reduce(\r\n (currProduct, itemProduct) => {\r\n let spec = itemProduct.specification.reduce((currSpec, itemSpec) => {\r\n return (\r\n currSpec +\r\n itemSpec.combination\r\n .filter(combi => combi.takeout)\r\n .reduce((currCombi, itemCombi) => {\r\n const specTotalPrice = itemCombi.taste.reduce(\r\n (currTaste, itemTaste) => {\r\n let index = itemProduct.takeoutTaste.findIndex(\r\n f => f.id === itemTaste\r\n );\r\n // 各個組合的數量\r\n let combiQuantity = itemCombi.quantity;\r\n // 對應特口需求的價格\r\n let tastePrice = itemProduct.takeoutTaste[index].price;\r\n return currTaste + tastePrice * combiQuantity;\r\n },\r\n 0\r\n );\r\n return currCombi + specTotalPrice;\r\n }, 0)\r\n );\r\n }, 0);\r\n return currProduct + spec;\r\n },\r\n 0\r\n );\r\n return {\r\n totalMealQuantity: totalQuantity,\r\n dineInTotalPrice: dineInTotal,\r\n dineInSpecPrice: dineInSpecPrice,\r\n takeoutInTotalPrice: takeoutTotal,\r\n takeoutInSpecPrice: takeoutSpecPrice\r\n };\r\n }, [globalState.customer.mealOrderDetail]);\r\n\r\n // 四捨五入至小數點第n位\r\n const formatNumber = (value, pos) => {\r\n const float = Math.pow(10, pos);\r\n return (Math.round(value * float) / float).toFixed(pos);\r\n };\r\n\r\n // 處理特口、外帶狀態相同的組合要合併成同一欄\r\n function merge(data, specificationData) {\r\n let deep;\r\n if (!data) {\r\n deep = _.cloneDeep(specificationData);\r\n } else {\r\n deep = _.cloneDeep(data);\r\n }\r\n let isEquals = (a, b) => {\r\n return (\r\n a.takeout === b.takeout &&\r\n a.taste.sort().toString() === b.taste.sort().toString()\r\n );\r\n };\r\n const { specification } = deep;\r\n specification.map(spec => {\r\n const combin = spec.combination.reduce((current, item) => {\r\n const findIndex = current.findIndex(item1 => isEquals(item, item1));\r\n if (findIndex === -1) {\r\n return [...current, item];\r\n } else {\r\n const nextCurrent = current.slice(0);\r\n const isLimit =\r\n item.quantity + nextCurrent[findIndex].quantity >= 99\r\n ? 99\r\n : item.quantity + nextCurrent[findIndex].quantity;\r\n if (item.quantity + nextCurrent[findIndex].quantity > 99)\r\n AsyncModel({\r\n title: globalState.langFile['popup.itemLimit'],\r\n cancelBtnText: globalState.langFile['popup.buttonCancel'],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n\r\n nextCurrent[findIndex] = {\r\n ...nextCurrent[findIndex],\r\n quantity: isLimit\r\n };\r\n return nextCurrent;\r\n }\r\n }, []);\r\n spec.combination = combin;\r\n });\r\n return deep;\r\n }\r\n\r\n async function apiBranchProduct(langId, storeId) {\r\n const backToStep2 = () => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n currentStep: '2',\r\n mealDetail: '',\r\n mealOrderDetail: [],\r\n orderDetail: {\r\n totalMealQuantity: 0,\r\n dineInTotalPrice: 0,\r\n dineInSpecPrice: 0,\r\n takeoutInTotalPrice: 0,\r\n takeoutInSpecPrice: 0\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n };\r\n try {\r\n const waittingAlert = AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n showConfirmBtn: false\r\n });\r\n const res = await getBranchProduct(langId, storeId);\r\n AsyncModelClose();\r\n const { errCode, productList } = res.data;\r\n if (errCode === 200) {\r\n // 分類tabs\r\n let _categoryList = [];\r\n // let _categoryList = productList.map(e => ({\r\n // title: e.name,\r\n // type: e.id\r\n // }));\r\n // let _categoryList = productList.filter(e =>\r\n // // 只顯示user可用\r\n // (e.type_order_mode === 1 || e.type_order_mode === 2)\r\n // ).map(e => ({\r\n // title: e.name,\r\n // type: e.id\r\n // }));\r\n\r\n // 餐點總攬\r\n let _mealList = productList.map(e => {\r\n let type = e.id;\r\n let typeName = e.name;\r\n // 分類同時push進去\r\n _categoryList.push({\r\n title: typeName,\r\n type\r\n });\r\n let newArr = e.product.map(_product => ({\r\n type: type,\r\n typeName: typeName,\r\n title: _product.name,\r\n description: _product.description,\r\n ..._product\r\n }));\r\n // let newArr = e.product.filter(_product =>\r\n // // 只顯示user可用\r\n // (_product.order_mode === 1 || _product.order_mode === 2)\r\n // ).map(_product => ({\r\n // type: type,\r\n // typeName: typeName,\r\n // title: _product.name,\r\n // description: _product.description,\r\n // ..._product\r\n // }));\r\n return newArr;\r\n });\r\n \r\n _mealList = _.flatten(_mealList);\r\n\r\n return { _categoryList, _mealList };\r\n } else {\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${errCode}`],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n\r\n if (Alert) return backToStep2();\r\n }\r\n } catch (err) {\r\n console.error('Product error.');\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${407}`],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n\r\n if (Alert) return backToStep2();\r\n }\r\n }\r\n\r\n async function apiGetTagList(langId) {\r\n try {\r\n const res = await getTagList(langId);\r\n const { errCode, tagList } = res.data;\r\n \r\n if (errCode == 200) {\r\n return tagList;\r\n } else {\r\n console.error('GetTagList error.', errCode);\r\n }\r\n } catch (err) {\r\n console.error('GetTagList error.');\r\n }\r\n }\r\n\r\n // 加點API\r\n async function apiSaveTempOrder(saveData) {\r\n let res\r\n\r\n try {\r\n res = await saveTempOrder(saveData);\r\n } catch (err) {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 405 }]\r\n });\r\n\r\n props.history.push('/error');\r\n }\r\n\r\n let { errCode, order } = res.data;\r\n\r\n if (res && errCode === 200) {\r\n // const deepCopy = await GetTempOrder(order.tempOrderGroupID);\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n tempOrderCode: order.tempOrderCode,\r\n tempOrderGroupID: order.tempOrderGroupID,\r\n tempOrderID: order.tempOrderID\r\n },\r\n mealDetail: '',\r\n //mealOrderDetail: deepCopy,\r\n }\r\n }\r\n ]\r\n });\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n\r\n props.history.push('/error');\r\n }\r\n\r\n }\r\n\r\n async function GetTempOrder(tempOrderGroupID) {\r\n const res = await apiGetTempOrderDetail(\r\n tempOrderGroupID,\r\n langStringToCode(globalState.langType),\r\n globalState.customer.orderInfo.selectedBranch.branchCode,\r\n moment().format('YYYY/MM/DD'),\r\n globalState.customer.orderInfo.tableNo\r\n );\r\n\r\n if (res.errCode === 414) {\r\n TimeOutRemove();\r\n\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`pages.takeOrder.AddOrderMsg`],\r\n confirmBtnText: globalState.langFile['pages.takeOrder.step5.buttonDetail']\r\n });\r\n //AsyncModelClose();\r\n\r\n if (Alert) {\r\n props.history.push(`/showOrderDetail?orderCode=${globalState.customer.orderInfo.mainOrderCode}&storeID=${String(globalState.customer.orderInfo.selectedBranch.branchCode)}&createAt=${moment().format('YYYY/MM/DD')}`);\r\n }\r\n }\r\n else {\r\n let { dineIn, takeout } = res.productList;\r\n let deepCopy = [];\r\n\r\n dineIn.map(e => {\r\n let productIndex = deepCopy.findIndex(f => f.id === e.id);\r\n\r\n if (productIndex > -1) {\r\n const Data = e.specification[0];\r\n deepCopy[productIndex].specification.push(Data);\r\n }\r\n else {\r\n deepCopy.push(e);\r\n }\r\n })\r\n\r\n takeout.map(e => {\r\n let productIndex = deepCopy.findIndex(f => f.id === e.id);\r\n\r\n if (productIndex > -1) {\r\n console.log(e.id, e.specification)\r\n e.specification.map(x => {\r\n let deepData = deepCopy[productIndex].specification.filter(e => { return e.id === x.id });\r\n if (deepData.length > 0) {\r\n //console.log(\"deepData\", deepData[0].combination)\r\n // console.log(\"Data.combination\", Data.combination)\r\n x.combination.map(y => {\r\n\r\n deepData[0].combination.push(y);\r\n })\r\n } else {\r\n deepCopy[productIndex].specification.push(x);\r\n }\r\n\r\n })\r\n //const Data = e.specification[0];\r\n\r\n deepCopy[productIndex].takeoutTaste = e.takeoutTaste;\r\n }\r\n else {\r\n deepCopy.push(e);\r\n }\r\n })\r\n TimeOutSet(OrderTemp);\r\n\r\n return deepCopy;\r\n }\r\n }\r\n // 取得加點明細\r\n async function apiGetTempOrderDetail(tempOrderGroupID, languageID, storeID, createAt, tableNo) {\r\n let res\r\n\r\n try {\r\n res = await GetTempOrderDetail(tempOrderGroupID, languageID, storeID, createAt, tableNo);\r\n } catch (err) {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 405 }]\r\n });\r\n props.history.push('/error');\r\n }\r\n\r\n let { errCode } = res.data;\r\n\r\n if (res && (errCode === 200 || errCode === 414)) {\r\n return res.data;\r\n }\r\n else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n props.history.push('/error');\r\n }\r\n }\r\n\r\n\r\n // get api 當lang改變時重call api\r\n useEffect(() => {\r\n const langCode = langStringToCode(globalState.langType);\r\n const storeCode = globalState.customer.orderInfo.selectedBranch.branchCode;\r\n async function handler() {\r\n const getProduct = await apiBranchProduct(langCode, storeCode);\r\n const tagList = await apiGetTagList(langCode);\r\n\r\n if (getProduct && tagList) {\r\n // 加點步驟1 先建立暫存單\r\n if (globalState.ordermode === \"addorder\" && !globalState.customer.orderInfo.tempOrderID) {\r\n const AddTempOrder = async () => {\r\n\r\n console.log(globalState.customer.orderInfo.tempOrderGroupID);\r\n return await apiSaveTempOrder(\r\n {\r\n isNew: true,\r\n queueNumber: globalState.customer.orderInfo.queueNumber,\r\n queueCode: globalState.customer.orderInfo.queueCode,\r\n countryID: globalState.customer.orderInfo.country,\r\n storeID: globalState.customer.orderInfo.selectedBranch.branchCode,\r\n adultsCount: globalState.customer.orderInfo.numberOfAdult,\r\n childCount: globalState.customer.orderInfo.numberOfChild,\r\n userEmail: null,\r\n totalPrice: 0,\r\n waiterID: null,\r\n languageID: langStringToCode(globalState.langType),\r\n QRCodeID: null,\r\n mainOrderCode: globalState.customer.orderInfo.mainOrderCode,//加點模式要傳\r\n posCode: globalState.customer.orderInfo.posCode,//加點模式要傳\r\n tableNo: globalState.customer.orderInfo.tableNo,//加點模式要傳\r\n tempOrderID: globalState.customer.orderInfo.tempOrderID,\r\n tempOrderGroupID: globalState.customer.orderInfo.tempOrderGroupID,\r\n dineIn: [],\r\n takeout: []\r\n });\r\n };\r\n AddTempOrder();\r\n } \r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n veganTags:tagList.vegetarian\r\n },\r\n },\r\n ],\r\n });\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'categoryList', val: getProduct._categoryList },\r\n {\r\n key: 'mealList', val: getProduct._mealList.map(meal => {\r\n meal.mealTag = meal.allergen.concat(meal.recommend);\r\n return meal;\r\n })\r\n },\r\n { key: 'tagList', val: tagList },\r\n {\r\n key: 'currentCategory',\r\n val: state.currentCategory || getProduct._categoryList[0]\r\n }\r\n ]\r\n });\r\n }\r\n\r\n if (globalState.ordermode === \"addorder\" && globalState.customer.orderInfo.tempOrderGroupID) {\r\n await OrderTemp();\r\n }\r\n }\r\n\r\n handler();\r\n }, [globalState.langType]);\r\n\r\n useEffect(() => {\r\n async function handler() {\r\n // 取得用同一號碼其他人的點單\r\n if (globalState.ordermode === \"addorder\" && globalState.customer.orderInfo.tempOrderGroupID) {\r\n \r\n TimeOutSet(OrderTemp);\r\n }\r\n }\r\n handler();\r\n }, [globalState.customer.orderInfo.tempOrderGroupID])\r\n\r\n const OrderTemp = async () => {\r\n const deepCopy = await GetTempOrder(globalState.customer.orderInfo.tempOrderGroupID);\r\n const { mealOrderDetail } = globalState.customer;\r\n await dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n mealDetail: '',\r\n mealOrderDetail: deepCopy,\r\n orderDetail: {\r\n totalMealQuantity: mealOrderDetail.length,\r\n ...handleTotalPrice\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n\r\n // scroll定位在上次選取的項目\r\n useEffect(() => {\r\n window.document.body.scrollTop = globalState.customer.lastSelectedItemScrolltop || 0;\r\n }, [state.mealList]);\r\n\r\n const $tabs = useMemo(() => {\r\n if (state.categoryList !== undefined) {\r\n let filterArray = [];\r\n // 有輸入關鍵字\r\n if (state.searchInput || state.tagSelected || state.veganSelected) {\r\n\r\n let t = state.mealList\r\n // 關鍵字篩選\r\n .filter(f => {\r\n const target = state.searchInput;\r\n\r\n return (\r\n f.searchNum.toString().indexOf(target) > -1 ||\r\n f.name.toLowerCase().indexOf(target.toLowerCase()) > -1\r\n );\r\n })\r\n // 標籤篩選\r\n .filter(f => {\r\n // 沒有全選標籤時\r\n if (globalState.customer.filterTag && globalState.customer.filterTag.length) { \r\n // 有篩選條件\r\n if (globalState.customer.filterTag.length) {\r\n return globalState.customer.filterTag.every(i => (\r\n f.allergenMenu.map(m => (m.id)).includes(i)\r\n ))\r\n } else {\r\n return f.allergenMenu.length === 0;\r\n }\r\n } else {\r\n return true;\r\n }\r\n })\r\n .filter(f => {\r\n if(globalState.customer.filterVegan && globalState.customer.filterVegan.length &&\r\n globalState.customer.filterVegan.length !== state.tagList.vegetarian.length) {\r\n if(globalState.customer.filterVegan.length){\r\n return globalState.customer.filterVegan.some(i => (\r\n f.vegetarian.map(m=> (m.id)).includes(i)\r\n ))\r\n } else {\r\n return f.vegetarian.length === 0;\r\n }\r\n } else {\r\n return true;\r\n } \r\n });\r\n \r\n // 找出有該關鍵字的分類type\r\n filterArray = [...new Set(t.map(item => (item.type)))];\r\n \r\n // 轉換回文字\r\n const filterTabs = state.categoryList\r\n .filter(({ type: id1 }) =>\r\n filterArray.some((id2) =>\r\n id2 === id1\r\n ));\r\n\r\n // 有結果\r\n if (filterTabs.length) { \r\n let result = filterTabs.map(item => ({\r\n title: item.title,\r\n value: item.type,\r\n count: (filterTabs.length === state.categoryList.length) ? 0 : t.filter(cnt => { return cnt.type === item.type}).length\r\n }));\r\n\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'filterCategoryList', val: result },\r\n ]\r\n });\r\n\r\n return result \r\n } else { \r\n // 查無結果,顯示全分類\r\n return state.categoryList.map(item => ({\r\n title: item.title,\r\n value: item.type,\r\n count: 0\r\n }))\r\n }\r\n } else {\r\n if(state.filterCategoryList !== undefined){\r\n return state.filterCategoryList.map(item => ({\r\n title: item.title,\r\n value: item.type,\r\n count: (state.filterCategoryList.length == state.categoryList.length)? 0 : item.count\r\n })) \r\n } \r\n\r\n return state.categoryList.map(item => ({\r\n title: item.title,\r\n value: item.type,\r\n count: 0\r\n }))\r\n }\r\n }\r\n return []\r\n }, [state.categoryList, state.searchInput, state.tagSelected, state.veganSelected])\r\n\r\n const $allTabs = useMemo(() => {\r\n if (state.categoryList !== undefined) {\r\n return state.categoryList.map(item => ({\r\n title: item.title,\r\n value: item.type,\r\n count: 0\r\n }))\r\n }\r\n return []\r\n }, [state.categoryList])\r\n\r\n const $tabItems = useMemo(() => {\r\n if (state.mealList !== undefined) {\r\n if (state.searchInput || (state.tagSelected && state.tagSelected.length > 0) || (state.veganSelected && state.veganSelected.length > 0)) {\r\n // 輸入關鍵字移動到上方\r\n const { y } = document.getElementsByClassName('ScrollTabs')[0].getBoundingClientRect()\r\n document.body.scrollTo({\r\n top: document.body.scrollTop + y,\r\n behavior: 'smooth'\r\n })\r\n\r\n return state.mealList\r\n // 標籤篩選\r\n .filter(f => {\r\n // 沒有全選標籤時\r\n if (globalState.customer.filterTag && globalState.customer.filterTag.length) {\r\n // 有篩選條件\r\n if (globalState.customer.filterTag.length) {\r\n return globalState.customer.filterTag.every(i => (\r\n f.allergenMenu.map(m => (m.id)).includes(i)\r\n ))\r\n } else {\r\n return f.allergenMenu.length === 0;\r\n }\r\n } else {\r\n return true;\r\n }\r\n })\r\n .filter(f => {\r\n if(globalState.customer.filterVegan && globalState.customer.filterVegan.length &&\r\n globalState.customer.filterVegan.length !== state.tagList.vegetarian.length) {\r\n if(globalState.customer.filterVegan.length){\r\n return globalState.customer.filterVegan.some(i => (\r\n f.vegetarian.map(m=> (m.id)).includes(i)\r\n ))\r\n } else {\r\n return f.vegetarian.length === 0;\r\n }\r\n } else {\r\n return true;\r\n } \r\n })\r\n // 關鍵字篩選\r\n .filter(f => {\r\n const target = state.searchInput;\r\n return (\r\n f.searchNum.toString().indexOf(target) > -1 ||\r\n f.name.toLowerCase().indexOf(target.toLowerCase()) > -1\r\n );\r\n })\r\n .map(item => ({\r\n $tab: item.type,\r\n ...item\r\n }))\r\n } else {\r\n return state.mealList\r\n // 標籤篩選\r\n .filter(f => {\r\n // 沒有全選標籤時\r\n if (globalState.customer.filterTag && globalState.customer.filterTag.length) {\r\n // 有篩選條件\r\n if (globalState.customer.filterTag.length) {\r\n return globalState.customer.filterTag.every(i => (\r\n f.allergenMenu.map(m => (m.id)).includes(i)\r\n ))\r\n } else {\r\n return f.allergenMenu.length === 0;\r\n }\r\n } else {\r\n return true;\r\n }\r\n })\r\n .filter(f => {\r\n if(globalState.customer.filterVegan && globalState.customer.filterVegan.length &&\r\n globalState.customer.filterVegan.length !== state.tagList.vegetarian.length) {\r\n if(globalState.customer.filterVegan.length){\r\n return globalState.customer.filterVegan.some(i => (\r\n f.vegetarian.map(m=> (m.id)).includes(i)\r\n ))\r\n } else {\r\n return f.vegetarian.length === 0;\r\n }\r\n } else {\r\n return true;\r\n } \r\n })\r\n .map(item => ({\r\n $tab: item.type,\r\n ...item\r\n }))\r\n }\r\n }\r\n return []\r\n }, [state.mealList, state.searchInput, state.tagSelected, state.veganSelected])\r\n\r\n\r\n return (\r\n <>\r\n {\r\n return (\r\n <>\r\n {\r\n globalState.ordermode === \"addorder\" ?\r\n
\r\n
\r\n
\r\n

{globalState.customer.orderInfo.tableNo}{globalState.langFile['header.menuItems.tableorder']}

\r\n \r\n {globalState.langFile['header.menuItems.serialnumber']}{globalState.customer.orderInfo.posCode}\r\n \r\n
\r\n
\r\n
: null\r\n }\r\n 0) || (globalState.customer.filterVegan && globalState.customer.filterVegan.length > 0)}\r\n itemOnSelected={() => {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'searchInput', val: '' }\r\n ]\r\n });\r\n }}\r\n openFilter={() => {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'tagPopupToggle', val: true }\r\n ]\r\n });\r\n }}\r\n searchOnChange={(val) => {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'searchInput', val }\r\n ]\r\n });\r\n }}\r\n menuTypeSwitch={() => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n menuType: globalState.customer.menuType === 1 ? 2 : 1\r\n }\r\n }\r\n ]\r\n });\r\n }}\r\n renderItem={(itemInfo, index) => (\r\n {\r\n if (ref && _menuListRef.current.filter(e => e === ref) < 1) {\r\n _menuListRef.current.push(ref);\r\n }\r\n }}\r\n onClick={async () => {\r\n // 正常銷售才可進入\r\n if (itemInfo.product_status === 2) {\r\n TimeOutRemove();\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n lastSelectedItemScrolltop: window.document.body.scrollTop,\r\n currentStep: '3.1',\r\n currentQrStep: '1.1',\r\n mealDetail: itemInfo,\r\n isFromOrderDetail: false\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n }}\r\n >\r\n
\r\n
\r\n \"\"\r\n {/* 單一產品總數 */}\r\n {(() => {\r\n let findProduct = globalState.customer.mealOrderDetail.find(\r\n f => f.id === itemInfo.id\r\n );\r\n if (findProduct) {\r\n let productQuantity = findProduct.specification.reduce(\r\n (currSpec, itemSpec) => {\r\n return (\r\n currSpec +\r\n itemSpec.combination.reduce(\r\n (currCombi, itemCombi) => {\r\n return currCombi + itemCombi.quantity;\r\n },\r\n 0\r\n )\r\n );\r\n },\r\n 0\r\n );\r\n return (\r\n
\r\n {productQuantity}\r\n
\r\n );\r\n } else {\r\n // return null\r\n }\r\n })()}\r\n
\r\n
\r\n
\r\n \r\n {itemInfo.title}\r\n \r\n
\r\n {itemInfo.recommend.map((recommendInfo, index) => (\r\n }\r\n >\r\n {\r\n e.stopPropagation();\r\n }}\r\n alt=\"\"\r\n />\r\n \r\n ))}\r\n
\r\n {\r\n globalState.customer.menuType === 1 ? (\r\n
\r\n \r\n $ {itemInfo.price}\r\n \r\n {\r\n itemInfo.product_status === 3 ? (\r\n \r\n \r\n \r\n ) : null\r\n }\r\n \r\n $ {itemInfo.price}\r\n \r\n
\r\n ) : null\r\n }\r\n
\r\n {\r\n globalState.customer.menuType === 1 ? null : (\r\n
\r\n \r\n $ {itemInfo.price}\r\n \r\n {\r\n itemInfo.product_status === 3 ? (\r\n \r\n \r\n \r\n ) : null\r\n }\r\n \r\n $ {itemInfo.price}\r\n \r\n
\r\n )\r\n }\r\n
\r\n
\r\n \r\n )}\r\n />\r\n \r\n )\r\n }}\r\n />\r\n {/* notes */}\r\n {\r\n if (\r\n !globalState.customer.mealOrderDetail ||\r\n globalState.customer.mealOrderDetail.length <= 0 ||\r\n state.mealList.length <= 0\r\n ) {\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n lastSelectedItemScrolltop: null,\r\n currentStep: '4',\r\n currentQrStep: '2'\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n }}\r\n >\r\n
\r\n
\r\n
\r\n \r\n \r\n {handleTotalPrice.totalMealQuantity}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n $\r\n {handleTotalPrice.dineInSpecPrice +\r\n handleTotalPrice.dineInTotalPrice +\r\n handleTotalPrice.takeoutInSpecPrice +\r\n handleTotalPrice.takeoutInTotalPrice}\r\n {(() => {\r\n const {\r\n dineInSpecPrice,\r\n dineInTotalPrice,\r\n takeoutInSpecPrice,\r\n takeoutInTotalPrice\r\n } = globalState.customer.orderDetail;\r\n })()}\r\n \r\n
\r\n
\r\n \r\n }\r\n onClick={async () => {\r\n TimeOutRemove();\r\n let productList = [];\r\n globalState.customer.mealOrderDetail.map(eachProduct => {\r\n eachProduct.specification.map(eachSpec => {\r\n eachSpec.combination.map(eachCombi => {\r\n productList.push({\r\n 'name': `${eachProduct.name}${eachSpec.name ? ` ${eachSpec.name}` : ''}`,\r\n 'id': String(eachSpec.id),\r\n 'price': formatNumber(eachSpec.price, 2),\r\n 'category': eachProduct.categoryName,\r\n 'variant': eachCombi.takeout ? 'Takeout' : 'DineIn',\r\n 'quantity': eachCombi.quantity\r\n });\r\n })\r\n });\r\n });\r\n console.debug(globalState.selectedExtra);\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [ \r\n {\r\n key:\"selectedExtra\",\r\n val: {\r\n ...globalState.selectedExtra, \r\n selectedExtraQ: {},\r\n selectedExtraA:[]\r\n } \r\n },\r\n ],\r\n });\r\n\r\n window.dataLayer = window.dataLayer || [];\r\n window.dataLayer.push({\r\n 'event': 'checkout',\r\n 'ecommerce': {\r\n 'checkout': {\r\n 'actionField': { 'step': 2 },\r\n 'products': productList\r\n }\r\n }\r\n });\r\n }}\r\n />\r\n
\r\n \r\n {/* 標籤篩選視窗 */}\r\n {(() => {\r\n if (!state.tagPopupToggle) return null;\r\n return (\r\n {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'tagPopupToggle', val: false }\r\n ]\r\n });\r\n }}\r\n onSelectItem={tagIds => {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'tagSelected', val: tagIds.allergen },\r\n { key: 'veganSelected', val: tagIds.vegan }\r\n ]\r\n });\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n filterTag: tagIds.allergen,\r\n filterVegan: tagIds.vegan,\r\n }\r\n }\r\n ]\r\n });\r\n }} \r\n />\r\n );\r\n })()}\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(OrderStep_3);\r\n","import React, { useReducer, useEffect } from 'react';\r\nimport { Modal, ModalBody } from 'reactstrap'\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\nimport cls from 'classnames';\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case 'UPDATE_STATE':\r\n payload.forEach(i => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\nfunction Tool__CusSp({\r\n takeoutTaste,\r\n dineInTaste,\r\n productName,\r\n specName,\r\n takeoutState,\r\n disableTakeoutState,\r\n disableTasteList = false,\r\n disableConfirmBtn = false,\r\n selectedItems,\r\n onClose,\r\n onSelectItem,\r\n applyModeState\r\n}) {\r\n console.log(takeoutTaste);\r\n const [state, dispatch] = useReducer(reducer, {\r\n selected: pickDefaultTaste(),\r\n takeoutState: takeoutState\r\n });\r\n\r\n function pickDefaultTaste() {\r\n if (selectedItems) {\r\n return selectedItems;\r\n } else {\r\n const whichTaste = takeoutState ? takeoutTaste : dineInTaste;\r\n const defaultTaste = whichTaste.filter(def => def.preset).map(e => e.id);\r\n return defaultTaste;\r\n }\r\n }\r\n\r\n function selectDiningType(diningType) {\r\n let defaultTaste;\r\n switch (diningType) {\r\n case 'dineIn':\r\n defaultTaste = dineInTaste.filter(def => def.preset).map(e => e.id);\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'takeoutState', val: false },\r\n { key: 'selected', val: defaultTaste }\r\n ]\r\n });\r\n break;\r\n case 'takeout':\r\n defaultTaste = takeoutTaste.filter(def => def.preset).map(e => e.id);\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [\r\n { key: 'takeoutState', val: true },\r\n { key: 'selected', val: defaultTaste }\r\n ]\r\n });\r\n break;\r\n default:\r\n console.error('defaultTaste error');\r\n }\r\n }\r\n\r\n return (\r\n \r\n
\r\n
\r\n
{productName}
\r\n
{specName}
\r\n
\r\n {!disableTakeoutState && (\r\n
\r\n {\r\n selectDiningType('dineIn');\r\n }}\r\n >\r\n \r\n \r\n {\r\n selectDiningType('takeout');\r\n }}\r\n >\r\n \r\n \r\n
\r\n )}\r\n
\r\n \r\n {(() => {\r\n if (disableTasteList) return null;\r\n let renderTaste;\r\n if (state.takeoutState) renderTaste = takeoutTaste;\r\n if (!state.takeoutState) renderTaste = dineInTaste;\r\n return renderTaste.map((e, index) => (\r\n f === e.id)\r\n ? 'Tool__CusSp__option_select'\r\n : '',\r\n state.selected.length >= 7\r\n ? 'Tool__CusSp__option_disabled'\r\n : ''\r\n )}\r\n onClick={() => {\r\n let newVal = [...state.selected];\r\n const isSelected = newVal.find(f => f === e.id);\r\n if (isSelected) {\r\n const findIndex = newVal.findIndex(f => f === e.id);\r\n newVal.splice(findIndex, 1);\r\n } else {\r\n e.exclusion.forEach(i => {\r\n const findIndex = newVal.findIndex(f => f === i);\r\n if (findIndex > -1) newVal.splice(findIndex, 1);\r\n });\r\n newVal.push(e.id);\r\n }\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'selected', val: newVal.sort() }]\r\n });\r\n }}\r\n >\r\n
{e.name}
\r\n
\r\n {e.price === 0 ? '' : `+ $ ${e.price}`}\r\n
\r\n \r\n ));\r\n })()}\r\n
\r\n
\r\n
\r\n
\r\n \r\n }\r\n className=\"btn-block py-2 addmeal-back\"\r\n onClick={() => onClose(false)}\r\n />\r\n
\r\n {disableConfirmBtn ? null : (\r\n
\r\n \r\n }\r\n className=\"btn-block py-2 addmeal-confirm\"\r\n onClick={() => {\r\n onSelectItem({\r\n taste: state.selected,\r\n takeoutState: state.takeoutState\r\n });\r\n }}\r\n />\r\n
\r\n )}\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default Tool__CusSp;\r\n","import React from 'react';\r\nimport cls from 'classnames';\r\nimport './Tools.scss';\r\n\r\nfunction Tool_counter({ num = 0, onChangeNum, onlyRemove }) {\r\n return (\r\n
\r\n {\r\n let newVal = num - 1;\r\n newVal = newVal < 0 ? 0 : newVal;\r\n //console.log(newVal);\r\n onChangeNum(newVal);\r\n }}\r\n >\r\n {/* */}\r\n -\r\n \r\n \r\n {num}\r\n \r\n {\r\n if (!onlyRemove) {\r\n let result = num + 1;\r\n result = result >= 99 ? 99 : result;\r\n //console.log(result);\r\n // >= 99 ? 99 : num + 1;\r\n onChangeNum(result);\r\n }\r\n }}\r\n >\r\n {/* */}\r\n +\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default Tool_counter;\r\n","import React from 'react';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport cls from 'classnames';\r\nimport './From.scss';\r\n\r\n/**\r\n * @param {object} props\r\n * @param {boolean} value true => 外帶; false => 內用\r\n * @param {()=> {}} onClick\r\n * @param {boolean} disabled\r\n * @param {string} offMessage\r\n * @param {string} onMessage\r\n */\r\n\r\nfunction CusSwitch({ value, children, onClick, disabled, offMessage, onMessage, ...props }) {\r\n offMessage = offMessage || 'switchButton.takeout';\r\n onMessage = onMessage || 'switchButton.dineIn';\r\n\r\n let checkVaule = val => {\r\n if (val === true) return true;\r\n if (val === false) return false;\r\n throw 'val error';\r\n };\r\n return (\r\n {\r\n if (!disabled) {\r\n onClick(!checkVaule(value))\r\n }\r\n }}\r\n >\r\n {checkVaule(value) ? (\r\n
\r\n \r\n
\r\n ) : null}\r\n
\r\n {!checkVaule(value) ? (\r\n
\r\n \r\n
\r\n ) : null}\r\n \r\n );\r\n}\r\n\r\nexport { CusSwitch };\r\n","import React, { useContext, useState, useEffect } from \"react\";\r\nimport { Global } from \"../../App\";\r\nimport Tool_counter from \"./Tool_counter\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { CusSwitch } from \"../From/Switch\";\r\nimport _ from \"lodash\";\r\nimport cls from \"classnames\";\r\n\r\n/**\r\n *\r\n * @param {object} props\r\n * @param {string} props.type\r\n * @param {string} props.device\r\n * @param {object} props.data\r\n * @param {()=>data} props.onDelete\r\n * @param {()=>data} props.onUpdate\r\n * @param {()=>data} props.onEditTaste\r\n * @param {()=>data} props.onAddNewSpec\r\n *\r\n *\r\n */\r\n\r\n// 規格component\r\nfunction Tool_mealListWithoutSplit({\r\n user = \"staff\",\r\n readOnly = false,\r\n device,\r\n data,\r\n onDelete,\r\n onUpdate,\r\n onEditTaste,\r\n onAddNewSpec,\r\n setDesertToggle,\r\n}) {\r\n // function totalPrice(originalPrice, quantity, extraPrice) {\r\n // return originalPrice * quantity + extraPrice() * quantity;\r\n // }\r\n // [外帶]開啟特口選單\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [isUniversalShow, setIsUniversalShow] = useState(false);\r\n const [isDineInShow, setIsDineInShow] = useState(false);\r\n const [isTakeOutShow, setIsTakeOutShow] = useState(false);\r\n const addTakeoutWithTaste = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: true,\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: specDate.name,\r\n itemList: data.takeoutTaste,\r\n selectedItem: data.takeoutTaste\r\n .filter((f) => f.preset)\r\n .map((e) => e.id),\r\n },\r\n isAddNew: true,\r\n currModify: {\r\n specId: specDate.id,\r\n takeout: true,\r\n taste: data.takeoutTaste.filter((f) => f.preset).map((e) => e.id),\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n // [外帶]直接新增一筆預設特口\r\n const addTakeoutDefault = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: false,\r\n currModify: {\r\n specId: specDate.id,\r\n takeout: true,\r\n taste: [],\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n // [內用]開啟特口選單\r\n const addDiningInWithTaste = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: true,\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: specDate.name,\r\n itemList: data.stayInTaste,\r\n selectedItem: data.stayInTaste.filter((f) => f.preset).map((e) => e.id),\r\n },\r\n isAddNew: true,\r\n currModify: {\r\n specId: specDate.id,\r\n takeout: false,\r\n taste: data.stayInTaste.filter((f) => f.preset).map((e) => e.id),\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n // [內用]直接新增一筆預設特口\r\n const addDineInDefault = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: false,\r\n currModify: {\r\n specId: specDate.id,\r\n takeout: false,\r\n taste: [],\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n const showDineInIcon = (user, device) => {\r\n if (user === \"staff\" && device === \"pc\") {\r\n return \"btn_o_require_white__pc\";\r\n } else if (user === \"staff\" && device !== \"pc\") {\r\n return \"btn_o_require_white__mobile\";\r\n } else if (user === \"customer\" && device === \"pc\") {\r\n return \"btn_o_dinein_white__pc\";\r\n } else if (user === \"customer\" && device !== \"pc\") {\r\n return \"btn_o_dinein_white__mobile\";\r\n }\r\n };\r\n \r\n //進入頁面時判斷附屬品顯示狀態\r\n useEffect(() =>{\r\n if(data){\r\n let temp = data.specification.filter(x => !x.isSub);\r\n temp.forEach(function(item){\r\n if(item.combination.some(x => x.quantity > 0)){\r\n setIsUniversalShow(true);\r\n }\r\n\r\n if(item.combination.some(x => x.takeout && x.quantity > 0)){\r\n setIsTakeOutShow(true); \r\n }\r\n\r\n if(item.combination.some(x => !x.takeout && x.quantity > 0)){\r\n setIsDineInShow(true);\r\n } \r\n }); \r\n }\r\n }, [data]);\r\n\r\n //附屬品是否顯示\r\n const isShow = (eachSpec) =>{\r\n if(!eachSpec.isSub){\r\n return true;\r\n }\r\n else{ \r\n let dineIn = new Array(); \r\n data.specification.filter(x => !x.isSub).forEach(function(d){\r\n dineIn.push(d.combination.filter(y => !y.takeout));\r\n })\r\n\r\n let takeOut = new Array();\r\n data.specification.filter(x => !x.isSub).forEach(function(d){\r\n takeOut.push(d.combination.filter(y => y.takeout));\r\n })\r\n\r\n dineIn.unshift();\r\n takeOut.unshift();\r\n\r\n let dineInNotZero = dineIn.some(x=>x.quantity > 0);\r\n let takeOutNotZero = takeOut.some(x=>x.quantity > 0);\r\n\r\n if(eachSpec.applyMode == 1){\r\n if(!isUniversalShow){ \r\n if(dineInNotZero || takeOutNotZero){\r\n setIsUniversalShow(true);\r\n }\r\n\r\n return isUniversalShow;\r\n }\r\n else{\r\n return isUniversalShow;\r\n }\r\n }\r\n else if(eachSpec.applyMode == 2){\r\n //內用\r\n if(!isDineInShow){ \r\n let dineInSub = eachSpec.combination.filter(x => !x.takeout);\r\n let dineInSubNotZero = dineInSub.some(x => x.quantity > 0);\r\n \r\n if(dineInNotZero && dineInSubNotZero){\r\n setIsDineInShow(true); \r\n }\r\n\r\n return isDineInShow;\r\n } \r\n else{\r\n return isDineInShow;\r\n }\r\n }\r\n else if(eachSpec.applyMode == 3){\r\n //外帶\r\n if(!isTakeOutShow){\r\n let takeOutSub = eachSpec.combination.filter(x => x.takeout);\r\n let takeOutSubNotZero = takeOutSub.some(x => x.quantity > 0);\r\n \r\n if(takeOutNotZero && takeOutSubNotZero){\r\n setIsTakeOutShow(true); \r\n }\r\n\r\n return isTakeOutShow;\r\n }\r\n else{\r\n return isTakeOutShow;\r\n }\r\n } \r\n }\r\n }\r\n\r\n const convertBArray = (n) =>{\r\n let transValue = Number(n); \r\n let array = (transValue+'').split('').map(Number).reverse();\r\n let newArray = [];\r\n let added = 1;\r\n array.forEach((i) => {\r\n newArray.push((i*added).toString());\r\n added = added*10;\r\n });\r\n return newArray;\r\n };\r\n\r\n if (!data) return null;\r\n else if((globalState.customer.filterVegan && globalState.customer.filterVegan.length > 0) || \r\n (globalState.staffInfo.filterVegan && globalState.staffInfo.filterVegan.length > 0)){ \r\n let veganType = (globalState.customer.filterVegan && globalState.customer.filterVegan.length > 0) ? \r\n globalState.customer.veganTags.filter(t => t.id === globalState.customer.filterVegan[0]).map(e => e.isVegan)\r\n : globalState.staffInfo.veganTags.filter(t => t.id === globalState.staffInfo.filterVegan[0]).map(e => e.isVegan);\r\n let veganTypeBArray = convertBArray(Number(veganType).toString(2));\r\n data.specification = data.specification.filter(i=>{ \r\n if(data.specification.some(s=>s.veganType !== null)){ \r\n return (veganTypeBArray.includes(Number(i.veganType).toString(2))); \r\n }\r\n else{\r\n return true;\r\n } \r\n })\r\n }\r\n\r\n return ( \r\n
\r\n {data.specification.map((eachSpec, specIndex) => (\r\n
\r\n \r\n

\r\n {eachSpec.name}\r\n $ {eachSpec.price}\r\n

\r\n {eachSpec.status === 3 || eachSpec.status === 4 ? (\r\n // 售畢\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n ) : readOnly ? (\r\n
\r\n ) : (\r\n // 新增\r\n
\r\n {/* 新增外帶組合 */}\r\n
\r\n {/* {\r\n let isTasteExist = data.takeoutTaste.length > 0;\r\n // 新增外帶時可以選擇特口\r\n if (isTasteExist && user === 'staff') {\r\n addTakeoutWithTaste(eachSpec);\r\n }\r\n // 新增外帶時不能選擇特口\r\n else {\r\n addTakeoutDefault(eachSpec);\r\n }\r\n }}\r\n /> */}\r\n
\r\n {/* 新增內用組合 */}\r\n
\r\n {/* {\r\n let isTasteExist = data.stayInTaste.length > 0;\r\n // 新增外帶時可以選擇特口\r\n if (isTasteExist && user === 'staff') {\r\n addDiningInWithTaste(eachSpec);\r\n } // 新增外帶時不能選擇特口\r\n else {\r\n addDineInDefault(eachSpec);\r\n }\r\n }}\r\n /> */}\r\n
\r\n {\r\n onAddNewSpec({\r\n hasSpecTaste: true,\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: eachSpec.name,\r\n dineInTaste: data.stayInTaste,\r\n takeoutTaste: data.takeoutTaste,\r\n disableTakeoutState: false,\r\n applyMode: eachSpec.applyMode,\r\n },\r\n isAddNew: true,\r\n currModify: {\r\n specId: eachSpec.id,\r\n takeout: false,\r\n taste: data.stayInTaste\r\n .filter((f) => f.preset)\r\n .map((e) => e.id),\r\n quantity: 1,\r\n },\r\n });\r\n }}\r\n />\r\n {\r\n onAddNewSpec({\r\n hasSpecTaste: true,\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: eachSpec.name,\r\n dineInTaste: data.stayInTaste,\r\n takeoutTaste: data.takeoutTaste,\r\n disableTakeoutState: false,\r\n applyMode: eachSpec.applyMode,\r\n },\r\n isAddNew: true,\r\n currModify: {\r\n specId: eachSpec.id,\r\n takeout: false,\r\n taste: data.stayInTaste\r\n .filter((f) => f.preset)\r\n .map((e) => e.id),\r\n quantity: 1,\r\n },\r\n });\r\n }}\r\n >\r\n \r\n
\r\n \r\n )}\r\n \r\n {\r\n // 特口的組合\r\n eachSpec.combination.map((eachCombi, combiIndex) => (\r\n <>\r\n {((eachSpec.status === 3 || eachSpec.status === 4) &&\r\n eachCombi.quantity === 0) ||\r\n readOnly ? null : (\r\n \r\n
\r\n {device === \"pc\" ? (\r\n <>\r\n
\r\n {/*
*/}\r\n
\r\n {/* 刪除組合按鈕 */}\r\n
\r\n {/* 當組合超過一個的時候 => 顯示刪除按鈕 */}\r\n {/* 當售完且數量不為零的時候 => 顯示刪除按紐 */}\r\n {(eachSpec.combination.length !== 1 &&\r\n user === \"staff\") ||\r\n ((eachSpec.status === 3 ||\r\n eachSpec.status === 4) &&\r\n eachCombi.quantity !== 0) ? (\r\n {\r\n let newState = _.cloneDeep(data);\r\n newState.specification[specIndex].combination.splice(combiIndex, 1);\r\n onDelete({\r\n newData: newState,\r\n });\r\n }}\r\n />\r\n ) : null}\r\n
\r\n {/* 顯示特口 */}\r\n \r\n {\r\n // 當組合不可設定特口 => 隱藏特口顯示\r\n (() => {\r\n return (\r\n \r\n {eachCombi.taste.map(\r\n (taste, tasteIndex) => {\r\n let whichTaste;\r\n if (eachCombi.takeout) {\r\n whichTaste = data.takeoutTaste;\r\n } else {\r\n whichTaste = data.stayInTaste;\r\n }\r\n return whichTaste\r\n .filter((tasteData) => {\r\n return tasteData.id === taste;\r\n })\r\n .map((e, index) => (\r\n \r\n {(() => {\r\n let hasPrice = e.price > 0;\r\n let isLast = eachCombi.taste.length === tasteIndex + 1;\r\n return (\r\n <>\r\n \r\n {hasPrice\r\n ? `${e.name}($+${e.price})`\r\n : (//隨餐上\r\n e.id === 41\r\n ?(\r\n \r\n )\r\n :(e.id === 411\r\n ?(\r\n \r\n )\r\n :(`${e.name}`)))\r\n }\r\n \r\n {isLast ? (\r\n \"\"\r\n ) : (\r\n \r\n /\r\n \r\n )}\r\n \r\n );\r\n })()}\r\n
\r\n ));\r\n }\r\n )}\r\n \r\n );\r\n })()\r\n }\r\n \r\n {/* 編輯特口按鈕 */}\r\n
\r\n {/* 當組合不可設定特口 => 隱藏編輯按鈕*/}\r\n {(() => {\r\n let whichTaste;\r\n eachCombi.takeout\r\n ? (whichTaste = data.takeoutTaste)\r\n : (whichTaste = data.stayInTaste);\r\n if (\r\n !whichTaste ||\r\n whichTaste.length <= 0 ||\r\n user !== \"staff\"\r\n )\r\n return null;\r\n return (\r\n {\r\n onEditTaste({\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: eachSpec.name,\r\n dineInTaste: data.stayInTaste,\r\n takeoutTaste: data.takeoutTaste,\r\n disableTakeoutState: true,\r\n },\r\n // productName: data.name,\r\n // specName:\r\n // data.specification[specIndex].name,\r\n // itemList: whichTaste,\r\n // selectedItem: eachCombi.taste,\r\n currModify: {\r\n specId: eachSpec.id,\r\n taste: eachCombi.taste,\r\n takeout: eachCombi.takeout,\r\n quantity: eachCombi.quantity,\r\n },\r\n });\r\n }}\r\n />\r\n );\r\n })()}\r\n
\r\n
\r\n
\r\n {/* 內用/外帶 */}\r\n
\r\n {\r\n let newState = _.cloneDeep(data);\r\n let targetClone = { ...eachCombi };\r\n let nextTaste = eachCombi.takeout ? data.stayInTaste : data.takeoutTaste;\r\n // 當前要轉變的產品 -> 規格 -> 組合的預設特口\r\n let nextDefaultTaste = nextTaste\r\n .filter((def) => def.preset)\r\n .map((e) => e.id);\r\n\r\n // 20200318 每次切換時,重選預設特口\r\n // 20221019 移除上面規則\r\n // 當前要轉變的產品 -> 規格 -> 組合的非預設特口\r\n let nextWithoutDefaultTaste = nextTaste\r\n .filter((def) => !def.preset)\r\n .map((e) => e.id);\r\n // 當前組合更變成外帶/內用時 => 輸出原本與非預設特口的交集(已選擇的非預設共用特口)\r\n let checkCanCurrentTaste = _.intersection(\r\n targetClone.taste,\r\n nextWithoutDefaultTaste\r\n );\r\n // 當前組合更變成外帶/內用時 => 輸出合併預設特口與已選擇的非預設共用特口\r\n let concatCheckAndDefault = _.concat(\r\n nextDefaultTaste,\r\n checkCanCurrentTaste\r\n ).sort();\r\n targetClone.taste = concatCheckAndDefault;\r\n targetClone.takeout = !targetClone.takeout;\r\n newState.specification[specIndex].combination[combiIndex] = targetClone;\r\n //判斷是否為主商品\r\n if(!newState.specification[specIndex].isSub){ \r\n //判斷附屬品是否顯示\r\n if(targetClone.quantity > 0){ \r\n setIsUniversalShow(true);\r\n \r\n let showDineIn = newState.specification[specIndex].combination.some(x => !x.takeout && x.quantity > 0 );\r\n let showTakeout = newState.specification[specIndex].combination.some(x => x.takeout && x.quantity > 0 );\r\n \r\n setIsTakeOutShow(showTakeout);\r\n setIsDineInShow(showDineIn)\r\n if((showDineIn && !showTakeout) || (!showDineIn && showTakeout)){\r\n newState.specification.forEach(function(s){\r\n if(s.isSub && s.applyMode == 1){\r\n s.combination.forEach(c => c.takeout = targetClone.takeout);\r\n }\r\n }\r\n );\r\n } \r\n }\r\n \r\n if(targetClone.takeout){\r\n setIsDineInShow(false);\r\n //清空內用 \r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && (s.applyMode == 2)){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n ) \r\n }\r\n else{\r\n setIsTakeOutShow(false);\r\n //清空外帶\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 3){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n } \r\n }\r\n onUpdate(newState);\r\n }}\r\n />\r\n
\r\n\r\n {/* 計數器 */}\r\n
\r\n {\r\n let newState = { ...data };\r\n newState.specification[specIndex].combination[combiIndex].quantity =\r\n nextNum;\r\n if(!newState.specification[specIndex].isSub){ \r\n if(nextNum >= 1){ \r\n setIsUniversalShow(true); \r\n\r\n if(newState.specification[specIndex].combination.every(d => !d.takeout)){\r\n setIsDineInShow(true);\r\n setIsTakeOutShow(false);\r\n }\r\n else if(newState.specification[specIndex].combination.every(t => t.takeout)){ \r\n setIsDineInShow(false);\r\n setIsTakeOutShow(true);\r\n\r\n }\r\n else{\r\n setIsDineInShow(true);\r\n setIsTakeOutShow(true);\r\n }\r\n\r\n let showDineIn = newState.specification[specIndex].combination.some(x => !x.takeout && x.quantity > 0 );\r\n let showTakeout = newState.specification[specIndex].combination.some(x => x.takeout && x.quantity > 0 );\r\n \r\n if((showDineIn && !showTakeout) || (!showDineIn && showTakeout)){\r\n newState.specification.forEach(function(s){\r\n if(s.isSub && s.applyMode == 1){\r\n s.combination.forEach(c => c.takeout = eachCombi.takeout);\r\n }\r\n }\r\n );\r\n } \r\n }\r\n else{ \r\n if(newState.specification[specIndex].combination.every(x => x.quantity == 0)){\r\n setIsUniversalShow(false);\r\n\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 1){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n }\r\n\r\n if(!newState.specification[specIndex].combination[combiIndex].takeout){\r\n setIsDineInShow(false);\r\n\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 2){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n } \r\n else{\r\n setIsTakeOutShow(false);\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 3){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n } \r\n }\r\n }\r\n \r\n onUpdate(newState);\r\n }}\r\n />\r\n
\r\n {/* 單個組合單價 * 數量 */}\r\n
\r\n \r\n ${\" \"}\r\n {(() => {\r\n let whichTaste;\r\n if (eachCombi.takeout) {\r\n whichTaste = data.takeoutTaste;\r\n } else {\r\n whichTaste = data.stayInTaste;\r\n }\r\n let price = eachSpec.price;\r\n let quantity = eachCombi.quantity;\r\n let tastePrice = eachCombi.taste.map(\r\n (e) => {\r\n let findTaste = whichTaste.find(\r\n (f) => f.id === e\r\n );\r\n return findTaste.price;\r\n }\r\n );\r\n let combiTastePrice = tastePrice.reduce(\r\n (curr, item) => {\r\n return curr + item;\r\n },\r\n 0\r\n );\r\n return (\r\n price * quantity +\r\n combiTastePrice * quantity\r\n );\r\n })()}\r\n \r\n
\r\n
\r\n
\r\n \r\n ) : (\r\n <>\r\n
\r\n
\r\n {/*
*/}\r\n {/* 刪除組合按鈕 */}\r\n
\r\n {/* 當組合超過一個的時候 => 顯示刪除按鈕 */}\r\n {/* 當售完且數量不為零的時候 => 顯示刪除按紐 */}\r\n {(eachSpec.combination.length !== 1 &&\r\n user === \"staff\") ||\r\n ((eachSpec.status === 3 ||\r\n eachSpec.status === 4) &&\r\n eachCombi.quantity !== 0) ? (\r\n {\r\n let newState = _.cloneDeep(data);\r\n newState.specification[specIndex].combination.splice(combiIndex, 1);\r\n onDelete({\r\n newData: newState,\r\n });\r\n }}\r\n />\r\n ) : null}\r\n
\r\n \r\n {/* 顯示特口 原本這裡有顯示特口 如果有需要去Tool_mealListWithoutSplit_staff拿 */}\r\n \r\n {\r\n // 當組合不可設定特口 => 隱藏特口顯示\r\n (() => {\r\n return (\r\n \r\n {eachCombi.taste.map(\r\n (taste, tasteIndex) => {\r\n let whichTaste;\r\n if (eachCombi.takeout) {\r\n whichTaste = data.takeoutTaste;\r\n } else {\r\n whichTaste = data.stayInTaste;\r\n }\r\n return whichTaste\r\n .filter((tasteData) => {\r\n return tasteData.id === taste;\r\n })\r\n .map((e, index) => (\r\n \r\n {(() => { \r\n let hasPrice = e.price > 0;\r\n let isLast = eachCombi.taste.length === tasteIndex + 1;\r\n return (\r\n <> \r\n \r\n {hasPrice\r\n ? `${e.name}($+${e.price})`\r\n : (//隨餐上\r\n e.id === 41\r\n ?(\r\n \r\n )\r\n :(e.id === 411\r\n ?(\r\n \r\n )\r\n :(`${e.name}`)))\r\n }\r\n \r\n {isLast ? (\r\n \"\"\r\n ) : (\r\n \r\n /\r\n \r\n )}\r\n \r\n );\r\n }\r\n )()}\r\n
\r\n ));\r\n }\r\n )}\r\n \r\n );\r\n })()\r\n }\r\n \r\n \r\n {/* 隨餐上\r\n \r\n {(() => {\r\n const taste = eachSpec.combination[0].taste;\r\n if (taste.includes(41)) {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n if (taste.includes(411)) {\r\n return (\r\n \r\n \r\n \r\n );\r\n } else {\r\n return \"\";\r\n }\r\n })()}\r\n */}\r\n {/* 編輯特口按鈕 */}\r\n
\r\n \r\n {/* 當組合不可設定特口 => 隱藏編輯按鈕*/}\r\n {(() => {\r\n let whichTaste;\r\n eachCombi.takeout\r\n ? (whichTaste = data.takeoutTaste)\r\n : (whichTaste = data.stayInTaste);\r\n if (\r\n !whichTaste ||\r\n whichTaste.length <= 0 ||\r\n user !== \"staff\"\r\n )\r\n return null;\r\n return (\r\n {\r\n onEditTaste({\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: eachSpec.name,\r\n dineInTaste: data.stayInTaste,\r\n takeoutTaste: data.takeoutTaste,\r\n },\r\n // productName: data.name,\r\n // specName:\r\n // data.specification[specIndex].name,\r\n // itemList: whichTaste,\r\n // selectedItem: eachCombi.taste,\r\n currModify: {\r\n specId: eachSpec.id,\r\n taste: eachCombi.taste,\r\n takeout: eachCombi.takeout,\r\n quantity: eachCombi.quantity,\r\n },\r\n });\r\n }}\r\n />\r\n );\r\n })()}\r\n
\r\n
\r\n {/* 計數器 */}\r\n \r\n
\r\n {\r\n let newState = { ...data };\r\n newState.specification[specIndex].combination[combiIndex].quantity = nextNum;\r\n \r\n if(!newState.specification[specIndex].isSub){ \r\n if(nextNum >= 1){ \r\n setIsUniversalShow(true); \r\n if(!newState.specification[specIndex].combination[combiIndex].takeout){\r\n setIsDineInShow(true);\r\n setIsTakeOutShow(false);\r\n }\r\n else{ \r\n setIsTakeOutShow(true);\r\n setIsDineInShow(false);\r\n } \r\n }\r\n else{ \r\n if(newState.specification[specIndex].combination.every(x => x.quantity == 0)){\r\n setIsUniversalShow(false);\r\n\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 1){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n }\r\n\r\n if(!newState.specification[specIndex].combination[combiIndex].takeout){\r\n setIsDineInShow(false);\r\n\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 2){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n }\r\n else{\r\n setIsTakeOutShow(false);\r\n\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 3){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n } \r\n }\r\n } \r\n\r\n onUpdate(newState);\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n {/* 內用/外帶 */}\r\n
\r\n {\r\n let newState = _.cloneDeep(data);\r\n let targetClone = { ...eachCombi };\r\n let nextTaste = eachCombi.takeout ? data.stayInTaste : data.takeoutTaste;\r\n // 當前要轉變的產品 -> 規格 -> 組合的預設特口\r\n let nextDefaultTaste = nextTaste\r\n .filter((def) => def.preset)\r\n .map((e) => e.id);\r\n // 當前要轉變的產品 -> 規格 -> 組合的非預設特口\r\n let nextWithoutDefaultTaste = nextTaste\r\n .filter((def) => !def.preset)\r\n .map((e) => e.id);\r\n // 當前組合更變成外帶/內用時 => 輸出原本與非預設特口的交集(已選擇的非預設共用特口)\r\n let checkCanCurrentTaste = _.intersection(\r\n targetClone.taste,\r\n nextWithoutDefaultTaste\r\n );\r\n // 當前組合更變成外帶/內用時 => 輸出合併預設特口與已選擇的非預設共用特口\r\n let concatCheckAndDefault = _.concat(\r\n nextDefaultTaste,\r\n checkCanCurrentTaste\r\n ).sort();\r\n targetClone.taste = concatCheckAndDefault;\r\n targetClone.takeout = !targetClone.takeout;\r\n newState.specification[specIndex].combination[combiIndex] = targetClone;\r\n //判斷是否為主商品\r\n if(!newState.specification[specIndex].isSub){ \r\n //判斷附屬品是否顯示\r\n if(targetClone.quantity > 0){ \r\n setIsUniversalShow(true);\r\n\r\n let showDineIn = newState.specification[specIndex].combination.some(x => !x.takeout && x.quantity > 0 );\r\n let showTakeout = newState.specification[specIndex].combination.some(x => x.takeout && x.quantity > 0 );\r\n \r\n setIsTakeOutShow(showTakeout);\r\n setIsDineInShow(showDineIn)\r\n \r\n if((showDineIn && !showTakeout) || (!showDineIn && showTakeout)){\r\n newState.specification.forEach(function(s){\r\n if(s.isSub && s.applyMode == 1){\r\n s.combination.forEach(c => c.takeout = targetClone.takeout);\r\n }\r\n }\r\n );\r\n } \r\n }\r\n \r\n if(targetClone.takeout){\r\n setIsDineInShow(false);\r\n //清空內用 \r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && (s.applyMode == 2)){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n ) \r\n }\r\n else{\r\n setIsTakeOutShow(false);\r\n //清空外帶\r\n newState.specification.forEach(\r\n function(s){\r\n if(s.isSub && s.applyMode == 3){\r\n s.combination.forEach(c => c.quantity = 0)\r\n } \r\n }\r\n )\r\n } \r\n }\r\n onUpdate(newState);\r\n }}\r\n />\r\n
\r\n {/*鎖菜*/} \r\n {globalState.staffInfo.checkOrderData &&\r\n globalState.staffInfo.checkOrderData.isAddOrder ? (\r\n
\r\n {(() => {\r\n let isCheck;\r\n // 整張單有鎖菜\r\n if (globalState.Hold) {\r\n isCheck = globalState.Hold.holditems.find(\r\n (item) => {\r\n const combination = data.specification[specIndex].combination[combiIndex];\r\n const Data = {\r\n id: data.specification[specIndex].id,\r\n taste: combination.taste,\r\n takeout: combination.takeout,\r\n quantity: combination.quantity,\r\n };\r\n\r\n return (\r\n JSON.stringify(item.productIdcombi) === JSON.stringify(Data) && item.hold > 0\r\n );\r\n }\r\n );\r\n }\r\n // 單品項有鎖菜\r\n return (\r\n <>\r\n
\r\n {\r\n let newState = { ...data };\r\n newState.specification[specIndex].combination[combiIndex].bIsLock = !eachCombi.bIsLock;\r\n\r\n if (eachCombi.bIsLock === false) {\r\n newState.specification[specIndex].combination[combiIndex].lockTime = 0;\r\n }\r\n\r\n onUpdate(newState);\r\n\r\n const { staffInfo } = globalState;\r\n // {本次輸入的值}\r\n //有沒有組合\r\n const combination = newState.specification[specIndex].combination[combiIndex];\r\n const newHoldItem = {\r\n // productId: data.id,\r\n productIdcombi: {\r\n id: newState.specification[specIndex].id,\r\n taste: combination.taste,\r\n takeout: combination.takeout,\r\n quantity: combination.quantity,\r\n },\r\n hold: 0,\r\n };\r\n\r\n const saveLockTimetoLocal = () => {\r\n if (globalState.Hold) {\r\n let LockTimeItem = globalState.Hold.holditems;\r\n // {新增一筆-----------}\r\n const JsonNewData = JSON.stringify(newHoldItem.productIdcombi);\r\n\r\n let data = LockTimeItem.find(\r\n (x1) => {\r\n const JsonData =\r\n JSON.stringify(x1.productIdcombi);\r\n return (\r\n JsonData === JsonNewData\r\n );\r\n }\r\n );\r\n\r\n if (data) {\r\n data.hold = 0;\r\n } else {\r\n LockTimeItem.push(newHoldItem);\r\n }\r\n\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"Hold\",\r\n val: {\r\n orderCode: staffInfo.orderCode,\r\n holditems: LockTimeItem,\r\n },\r\n },\r\n ],\r\n });\r\n } else {\r\n // {換單刷新的時候跑這個------------}\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"Hold\",\r\n val: {\r\n orderCode: staffInfo.orderCode,\r\n holditems: [\r\n newHoldItem,\r\n ],\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n };\r\n\r\n saveLockTimetoLocal();\r\n }}\r\n >\r\n {eachCombi.quantity > 0 ? eachCombi.bIsLock ||\r\n eachCombi.lockTime > 0 \r\n ? (\r\n \r\n \r\n \r\n ) : null : null}\r\n \r\n \r\n \r\n \r\n
\r\n {eachCombi.bIsLock && eachCombi.quantity > 0 || eachCombi.lockTime > 0 ? (\r\n <>\r\n
\r\n
\r\n
\r\n {/* {準備撈出鎖菜} */}\r\n {\r\n let newState = { ...data };\r\n newState.specification[\r\n specIndex\r\n ].combination[\r\n combiIndex\r\n ].lockTime = e.target.value;\r\n\r\n onUpdate(newState);\r\n\r\n const { staffInfo } = globalState;\r\n // {本次輸入的值}\r\n //有沒有組合\r\n const combination = newState.specification[specIndex].combination[combiIndex];\r\n const newHoldItem = {\r\n // productId: data.id,\r\n productIdcombi: {\r\n id: newState.specification[specIndex].id,\r\n taste: combination.taste,\r\n takeout: combination.takeout,\r\n quantity: combination.quantity,\r\n },\r\n hold: e.target.value,\r\n };\r\n\r\n const saveLockTimetoLocal =\r\n () => {\r\n if (globalState.Hold) {\r\n let LockTimeItem =\r\n globalState.Hold\r\n .holditems;\r\n // {新增一筆-----------}\r\n const JsonNewData =\r\n JSON.stringify(newHoldItem.productIdcombi);\r\n\r\n let data =\r\n LockTimeItem.find(\r\n (x1) => {\r\n const JsonData =\r\n JSON.stringify(x1.productIdcombi);\r\n return (\r\n JsonData ===JsonNewData\r\n );\r\n }\r\n );\r\n\r\n if (data) {\r\n data.hold = e.target.value;\r\n } else {\r\n LockTimeItem.push(newHoldItem);\r\n }\r\n \r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"Hold\",\r\n val: {\r\n orderCode: staffInfo.orderCode,\r\n holditems: LockTimeItem,\r\n },\r\n },\r\n ],\r\n });\r\n } else {\r\n // {換單刷新的時候跑這個------------}\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"Hold\",\r\n val: {\r\n orderCode: staffInfo.orderCode,\r\n holditems: [\r\n newHoldItem,\r\n ],\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n };\r\n\r\n saveLockTimetoLocal();\r\n }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n ) : null}\r\n \r\n );\r\n })()}\r\n
\r\n ) : null}\r\n {/* 單個組合單價 * 數量 */}\r\n
\r\n \r\n ${\" \"}\r\n {(() => {\r\n let whichTaste;\r\n if (eachCombi.takeout) {\r\n whichTaste = data.takeoutTaste;\r\n } else {\r\n whichTaste = data.stayInTaste;\r\n }\r\n let price = eachSpec.price;\r\n let quantity = eachCombi.quantity;\r\n let tastePrice = eachCombi.taste.map((e) => {\r\n let findTaste = whichTaste.find(\r\n (f) => f.id === e\r\n );\r\n return findTaste.price;\r\n });\r\n let combiTastePrice = tastePrice.reduce(\r\n (curr, item) => {\r\n return curr + item;\r\n },\r\n 0\r\n );\r\n return (\r\n price * quantity +\r\n combiTastePrice * quantity\r\n );\r\n })()}\r\n \r\n
\r\n
\r\n \r\n )}\r\n
\r\n \r\n )}\r\n \r\n ))\r\n }\r\n \r\n ))}\r\n \r\n );\r\n}\r\n\r\nexport default Tool_mealListWithoutSplit;\r\n","import React from \"react\";\r\n\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { Modal, ModalBody } from \"reactstrap\";\r\n\r\nfunction Tool_ServeBeforeMeal({\r\n data,\r\n setDTtoggle,\r\n setisDTrecord,\r\n onEditTaste,\r\n setDTvalue,\r\n DTvalue,\r\n hadleDT,\r\n setDTModel,\r\n isDTrecord,\r\n saveOrderAndGoBack\r\n}) { \r\n\r\n let specificationData = data.specification.filter((x)=>x.combination[0].taste.length > 0);\r\n let selectedVal = null;\r\n\r\n if(specificationData.length > 0){\r\n selectedVal = specificationData[0].combination[0].taste[0];\r\n }\r\n\r\n return ( \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {\" \"}\r\n \r\n
\r\n
\r\n
\r\n
\r\n {\r\n setDTvalue(41);\r\n }}\r\n className={\r\n DTvalue == 41 ? \"need_button-on w-45\" : (selectedVal == 41 \r\n ? \"need_button-selected w-45\" :\"need_button w-45\")\r\n }\r\n >\r\n \r\n
\r\n {\r\n setDTvalue(411);\r\n }}\r\n className={\r\n DTvalue == 411 ? \"need_button-on w-45\" : (selectedVal == 411 \r\n ? \"need_button-selected w-45\" :\"need_button w-45\")\r\n }\r\n >\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n className=\"btn-block py-2\"\r\n onClick={() => {\r\n setDTModel(false);\r\n }}\r\n />\r\n
\r\n
\r\n }\r\n className=\"btn-block py-2\"\r\n disabled={!DTvalue}\r\n onClick={async () => {\r\n try {\r\n await hadleDT(DTvalue); // Wait for hadleDT to finish\r\n setDTModel(false); // Set DTModel to false\r\n // await saveOrderAndGoBack();\r\n } catch (error) {\r\n // Handle errors if any of the async functions fail\r\n console.error(\"An error occurred:\", error);\r\n }\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default Tool_ServeBeforeMeal;\r\n","import React, { useReducer, useContext, useEffect, useState } from \"react\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport DynamicFont from \"react-dynamic-font\";\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport { AsyncModel } from \"../AsyncModel/AsyncModel\";\r\nimport Tool_CusSp from \"../../Components/Tools/Tool_CusSp\";\r\nimport Tool_mealListWithoutSplit from \"../Tools/Tool_mealListWithoutSplit\";\r\nimport Tool_ServeBeforeMeal from \"../Tools/Tool_ServeBeforeMeal\";\r\nimport { Global } from \"../../App\";\r\nimport _ from \"lodash\";\r\nimport { saveTempOrder } from \"../../Api/GetOrder\";\r\n// switch lang\r\nimport { langStringToCode } from \"../../Share/Tools/switchLang\";\r\n// api\r\nimport { getSpecificProductItem } from \"../../Api/GetProduct\";\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case \"UPDATE_STATE\":\r\n payload.forEach((i) => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\n/**\r\n *\r\n * @param {object} props\r\n *\r\n * 本次步驟會影響的global state\r\n *\r\n * currentStep (3.1 => 3 )\r\n * currentQrStep (1.1 => 1 )\r\n * mealDetail\r\n * mealOrderDetail\r\n */\r\n\r\nfunction OrderStep_3_mealInfo(props) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, dispatch] = useReducer(reducer, {\r\n specificationData: null,\r\n currModify: {},\r\n isAddNew: false,\r\n specPopupSetting: {\r\n toggle: false,\r\n productName: \"\",\r\n specName: \"\",\r\n dineInTaste: [],\r\n takeoutTaste: [],\r\n disableTakeoutState: false,\r\n },\r\n });\r\n const [desertToggle, setDesertToggle] = useState(false);\r\n \r\n const [DTtoggle, setDTtoggle] = useState(false);\r\n const [isDTrecord, setisDTrecord] = useState(false);\r\n const [DTModel, setDTModel] = useState(false);\r\n const [DTvalue, setDTvalue] = useState(0);\r\n\r\n // 解析物件\r\n function splitDineType(data) {\r\n //data = _.cloneDeep(data);\r\n // 外帶\r\n let takeout = data.reduce((currProduct, itemProduct) => {\r\n itemProduct = {\r\n ...itemProduct,\r\n specification: itemProduct.specification.reduce(\r\n (currSpec, itemSpec) => {\r\n // 只取特性為[外帶]的組合\r\n itemSpec = {\r\n ...itemSpec,\r\n combination: itemSpec.combination.filter((f) => f.takeout),\r\n };\r\n // 此組合都沒有[外帶]特性時\r\n if (itemSpec.combination.length <= 0) {\r\n // 找出此組合在此的index標號\r\n // let findIndex = itemProduct.specification.findIndex(f=>f.id === itemSpec.id)\r\n // 刪除此規格下index標號的規格\r\n // itemProduct.specification.splice(findIndex, 1);\r\n return [...currSpec];\r\n } else {\r\n return [...currSpec, itemSpec];\r\n }\r\n },\r\n []\r\n ),\r\n };\r\n if (itemProduct.specification.length <= 0) {\r\n return [...currProduct];\r\n } else {\r\n return [...currProduct, itemProduct];\r\n }\r\n }, []);\r\n // 內用\r\n // console.log(data);\r\n let dineIn = data.reduce((currProduct, itemProduct) => {\r\n itemProduct = {\r\n ...itemProduct,\r\n specification: itemProduct.specification.reduce(\r\n (currSpec, itemSpec) => {\r\n // 只取特性為[內用]的組合\r\n itemSpec = {\r\n ...itemSpec,\r\n combination: itemSpec.combination.filter((f) => !f.takeout),\r\n };\r\n // console.log(itemSpec.combination);\r\n // 此組合都沒有[內用]特性時\r\n // console.log(itemSpec);\r\n if (itemSpec.combination.length <= 0) {\r\n // 找出此組合在此的index標號\r\n // let findIndex = itemProduct.specification.findIndex(f=>f.id === itemSpec.id)\r\n // 刪除此規格下index標號的規格\r\n // itemProduct.specification.splice(findIndex, 1);\r\n return [...currSpec];\r\n } else {\r\n return [...currSpec, itemSpec];\r\n }\r\n },\r\n []\r\n ),\r\n };\r\n if (itemProduct.specification.length <= 0) {\r\n return [...currProduct];\r\n } else {\r\n return [...currProduct, itemProduct];\r\n }\r\n }, []);\r\n //console.log('takeout', takeout);\r\n //console.log('dineIn', dineIn);\r\n return { takeout: takeout, dineIn: dineIn };\r\n }\r\n\r\n // 處理要回傳的資料格式\r\n function handlePostOrder(data) {\r\n let outputFormat = data.map((eachProduct) => ({\r\n id: eachProduct.id,\r\n specification: eachProduct.specification.map((eachSpec) => ({\r\n id: eachSpec.id,\r\n status: eachSpec.status,\r\n combination: eachSpec.combination.map((eachCombi) => ({\r\n ...eachCombi,\r\n })),\r\n })),\r\n }));\r\n // 照id排序\r\n outputFormat.sort((a, b) => {\r\n return a.id > b.id ? 1 : -1;\r\n });\r\n return outputFormat;\r\n }\r\n\r\n // 處理特口、外帶狀態相同的組合要合併成同一欄\r\n function merge(data) {\r\n let deep;\r\n if (!data) {\r\n deep = _.cloneDeep(state.specificationData);\r\n } else {\r\n deep = _.cloneDeep(data);\r\n }\r\n\r\n let isEquals = (a, b) => {\r\n return (\r\n a.takeout === b.takeout &&\r\n a.taste.sort().toString() === b.taste.sort().toString()\r\n );\r\n };\r\n const { specification } = deep;\r\n specification.map((spec) => {\r\n const combin = spec.combination.reduce((current, item) => {\r\n const findIndex = current.findIndex((item1) => isEquals(item, item1));\r\n if (findIndex === -1) {\r\n return [...current, item];\r\n } else {\r\n const nextCurrent = current.slice(0);\r\n const isLimit =\r\n item.quantity + nextCurrent[findIndex].quantity >= 99\r\n ? 99\r\n : item.quantity + nextCurrent[findIndex].quantity;\r\n if (item.quantity + nextCurrent[findIndex].quantity > 99)\r\n AsyncModel({\r\n title: globalState.langFile[\"popup.itemLimit\"],\r\n cancelBtnText: globalState.langFile[\"popup.buttonCancel\"],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n\r\n nextCurrent[findIndex] = {\r\n ...nextCurrent[findIndex],\r\n quantity: isLimit,\r\n };\r\n return nextCurrent;\r\n }\r\n }, []);\r\n spec.combination = combin;\r\n });\r\n return deep;\r\n }\r\n\r\n // 四捨五入至小數點第n位\r\n const formatNumber = (value, pos) => {\r\n const float = Math.pow(10, pos);\r\n return (Math.round(value * float) / float).toFixed(pos);\r\n };\r\n\r\n // 紀錄電子商務\r\n function recordECommerce() {\r\n window.dataLayer = window.dataLayer || [];\r\n let productList = [];\r\n let pushObj = {\r\n event: \"changeCart\",\r\n ecommerce: {},\r\n };\r\n // 找出當前的餐點是否有記錄在 globalState.customer.mealOrderDetail\r\n let findThisMeal = globalState.customer.mealOrderDetail.find(\r\n (f) => f.id === globalState.customer.mealDetail.id\r\n );\r\n\r\n if (findThisMeal) {\r\n function simplifySpecification(specification) {\r\n let returnArray = [];\r\n specification.map((eachSpec) => {\r\n eachSpec.combination.map((eachCombi) => {\r\n returnArray.push({\r\n id: eachSpec.id,\r\n name: eachSpec.name,\r\n quantity: eachCombi.quantity,\r\n takeout: eachCombi.takeout,\r\n taste: eachCombi.taste,\r\n });\r\n });\r\n });\r\n return returnArray;\r\n }\r\n\r\n // 簡化後\r\n const thisSimplify = simplifySpecification(findThisMeal.specification),\r\n stateSimplify = simplifySpecification(\r\n state.specificationData.specification\r\n );\r\n\r\n function comparer(otherArray) {\r\n return function (current) {\r\n return (\r\n otherArray.filter((other) => {\r\n return (\r\n other.id === current.id &&\r\n other.name === current.name &&\r\n other.takeout === current.takeout &&\r\n JSON.stringify(other.taste) === JSON.stringify(current.taste) &&\r\n other.quantity === current.quantity\r\n );\r\n }).length === 0\r\n );\r\n };\r\n }\r\n\r\n const onlyInThis = thisSimplify\r\n .filter(comparer(stateSimplify))\r\n .filter((f) => f.quantity !== 0),\r\n onlyInState = stateSimplify\r\n .filter(comparer(thisSimplify))\r\n .filter((f) => f.quantity !== 0);\r\n let addProduct = [],\r\n removeProduct = [],\r\n notAddProduct = [];\r\n\r\n if (onlyInThis.length === 0 && onlyInState.length !== 0) {\r\n // 僅新增\r\n addProduct = onlyInState;\r\n } else if (onlyInThis.length !== 0 && onlyInState.length === 0) {\r\n // 僅移除\r\n removeProduct = onlyInThis;\r\n } else {\r\n // 新增移除皆有\r\n onlyInThis.map((eachOnlyInThis) => {\r\n let diffQuantity = onlyInState.find(\r\n (f) =>\r\n f.id === eachOnlyInThis.id &&\r\n f.name === eachOnlyInThis.name &&\r\n f.takeout === eachOnlyInThis.takeout &&\r\n JSON.stringify(f.taste) === JSON.stringify(eachOnlyInThis.taste)\r\n );\r\n\r\n if (diffQuantity) {\r\n // 不須發送新增的商品\r\n notAddProduct.push(diffQuantity);\r\n } else {\r\n removeProduct.push(eachOnlyInThis);\r\n }\r\n });\r\n addProduct = onlyInState.filter(comparer(notAddProduct));\r\n }\r\n\r\n function ecFormatSpecification(specification) {\r\n let returnArray = [];\r\n specification.map((eachSpec) => {\r\n returnArray.push({\r\n name: `${state.specificationData.name}${\r\n eachSpec.name ? ` ${eachSpec.name}` : \"\"\r\n }`,\r\n id: String(eachSpec.id),\r\n category: state.specificationData.categoryName,\r\n variant: eachSpec.takeout ? \"Takeout\" : \"DineIn\",\r\n });\r\n });\r\n return returnArray;\r\n }\r\n // 有增加商品\r\n if (addProduct.length) {\r\n pushObj.ecommerce.add = {\r\n actionField: { step: 1 },\r\n products: ecFormatSpecification(addProduct),\r\n };\r\n }\r\n // 有移除商品\r\n if (removeProduct.length) {\r\n pushObj.ecommerce.remove = {\r\n actionField: { step: 1 },\r\n products: ecFormatSpecification(removeProduct),\r\n };\r\n }\r\n } else {\r\n // 原本不在清單,增加購物車\r\n state.specificationData.specification.map((eachSpec) => {\r\n eachSpec.combination.map((eachCombi) => {\r\n // 有數量才紀錄\r\n if (eachCombi.quantity) {\r\n productList.push({\r\n name: `${state.specificationData.name}${\r\n eachSpec.name ? ` ${eachSpec.name}` : \"\"\r\n }`,\r\n id: String(eachSpec.id),\r\n // 'price': formatNumber(eachSpec.price, 2),\r\n category: state.specificationData.categoryName,\r\n variant: eachCombi.takeout ? \"Takeout\" : \"DineIn\",\r\n // 'quantity': eachCombi.quantity\r\n });\r\n }\r\n });\r\n });\r\n pushObj.ecommerce.add = {\r\n actionField: { step: 1 },\r\n products: productList,\r\n };\r\n }\r\n // 有紀錄才push\r\n if (pushObj.ecommerce.add || pushObj.ecommerce.remove) {\r\n window.dataLayer.push(pushObj);\r\n }\r\n\r\n console.log(\"update end\");\r\n }\r\n\r\n // 加點API\r\n async function apiSaveTempOrder(saveData) {\r\n const backToStep3 = () => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n currentQrStep: \"1\",\r\n mealDetail: \"\",\r\n },\r\n },\r\n ],\r\n });\r\n };\r\n let res;\r\n try {\r\n res = await saveTempOrder(saveData);\r\n console.log(\"save\");\r\n } catch (err) {\r\n return backToStep3();\r\n }\r\n\r\n let { errCode } = res.data;\r\n if (res && errCode === 200) {\r\n } else {\r\n return backToStep3();\r\n }\r\n }\r\n\r\n // 搜尋當前要尋找的產品\r\n async function apiProductItem(langId, productId) {\r\n const backToStep3 = () => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n currentQrStep: \"1\",\r\n mealDetail: \"\",\r\n },\r\n },\r\n ],\r\n });\r\n };\r\n try {\r\n const res = await getSpecificProductItem(langId, productId);\r\n const { errCode, product } = res.data;\r\n const newSpecData = {\r\n ...product,\r\n };\r\n\r\n if (errCode == 200) {\r\n newSpecData.mealTag = newSpecData.allergen.concat(\r\n newSpecData.recommend\r\n );\r\n // 找出當前的餐點是否有記錄在 globalState.customer.mealOrderDetail\r\n let findThisMeal = globalState.customer.mealOrderDetail.find(\r\n (f) => f.id === globalState.customer.mealDetail.id\r\n );\r\n if (!findThisMeal) {\r\n \r\n // 試用模式=3 僅限外帶 預設給外帶\r\n newSpecData.specification = product.specification.map((e) => ({\r\n ...e,\r\n combination: [\r\n {\r\n takeout: e.applyMode === 3,\r\n taste: (e.applyMode === 3\r\n ? product.takeoutTaste\r\n : product.stayInTaste\r\n )\r\n .filter((def) => def.preset)\r\n .map((e) => e.id),\r\n quantity: 0,\r\n originalQuantity: 0,\r\n },\r\n ],\r\n }));\r\n } else {\r\n \r\n newSpecData.specification = product.specification.map(\r\n (eachSpec, specIndex) => {\r\n const currSpec = eachSpec;\r\n \r\n let MealTemp = findThisMeal.specification.find((e) => {\r\n return e.id === eachSpec.id;\r\n });\r\n \r\n if (MealTemp && MealTemp.combination.length > 0) {\r\n return { ...MealTemp };\r\n } else {\r\n // takeout: 可能需要改 e.applyMode === 3\r\n return {\r\n ...currSpec,\r\n // 保留新的status\r\n // status: newSpecData.specification[specIndex].status,\r\n \r\n combination: [\r\n {\r\n takeout: eachSpec.applyMode === 3,\r\n taste: newSpecData.stayInTaste\r\n .filter((def) => def.preset)\r\n .map((e) => e.id),\r\n quantity: 0,\r\n originalQuantity: 0,\r\n },\r\n ],\r\n };\r\n }\r\n }\r\n );\r\n }\r\n return { product, newSpecData };\r\n } else {\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${errCode}`],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n if (Alert) return backToStep3();\r\n }\r\n } catch (err) {\r\n console.error(\"ProductItem error.\");\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${407}`],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n if (Alert) return backToStep3();\r\n }\r\n }\r\n\r\n // get api\r\n useEffect(() => {\r\n let langCode = langStringToCode(globalState.langType);\r\n \r\n let currentProductId = globalState.customer.mealDetail.id;\r\n\r\n async function handler() {\r\n const getProductItem = await apiProductItem(langCode, currentProductId);\r\n \r\n if (getProductItem) {\r\n const mergeData = {\r\n ...merge(getProductItem.newSpecData),\r\n specification: merge(getProductItem.newSpecData).specification.map(\r\n (item, index) => {\r\n return {\r\n ...item,\r\n status: getProductItem.product.specification[index].status,\r\n };\r\n }\r\n ),\r\n };\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specificationData\",\r\n val: mergeData,\r\n // val: merge(getProductItem.newSpecData)\r\n },\r\n ],\r\n });\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n mealDetail: {\r\n ...globalState.customer.mealDetail,\r\n description: getProductItem.product.description,\r\n mealTag: getProductItem.product.allergen.concat(\r\n getProductItem.product.recommend\r\n ),\r\n name: getProductItem.product.name,\r\n typeName: getProductItem.product.categoryName,\r\n stayInTaste: getProductItem.product.stayInTaste,\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n //判斷有沒有隨餐上\r\n const hasItemWithId41 = getProductItem.product.stayInTaste.some(\r\n (item) => item.id === 41\r\n );\r\n if (hasItemWithId41) {\r\n setDTtoggle(true);\r\n }\r\n }\r\n }\r\n handler();\r\n }, [globalState.langType]);\r\n\r\n function $haveSoldOut() {\r\n return state.specificationData.specification.some((eachSpec) => {\r\n // 狀態是售畢\r\n return (\r\n eachSpec.status === 3 &&\r\n eachSpec.combination.some((eachCombi) => {\r\n // 且數量不為零\r\n return eachCombi.quantity > 0;\r\n })\r\n );\r\n });\r\n }\r\n function $atLeastOne() {\r\n return state.specificationData.specification.some((eachSpec) => {\r\n return eachSpec.combination.some((eachCombi) => {\r\n // 至少有一個商品大於0\r\n return eachCombi.quantity > 0;\r\n });\r\n });\r\n }\r\n function $haveOriginMeal() {\r\n return globalState.customer.mealOrderDetail.find((e) => {\r\n return e.id === state.specificationData.id;\r\n });\r\n }\r\n async function saveOrderAndGoBack() {\r\n let Goback;\r\n let deepCopy = _.cloneDeep(globalState.customer.mealOrderDetail);\r\n\r\n let TempMealOrderDetail = globalState.customer.mealOrderDetail;\r\n let NewDetail;\r\n let currProduct = _.cloneDeep(state.specificationData);\r\n let productIndex = deepCopy.findIndex((f) => f.id === currProduct.id);\r\n currProduct.specification.reduce((currSpec, itemSpec) => {\r\n itemSpec.combination = itemSpec.combination.filter((f) => f.quantity > 0);\r\n return [...currSpec, itemSpec];\r\n }, []);\r\n // 此餐點的組合加總\r\n let count = currProduct.specification.reduce((currSpec, itemSpec) => {\r\n itemSpec = itemSpec.combination.length;\r\n return currSpec + itemSpec;\r\n }, 0);\r\n //判斷有沒有選餐上餐時間\r\n\r\n // if(isDTrecord===false && DTtoggle == true){\r\n // setDTModel(true)\r\n // return\r\n // }\r\n\r\n // 判斷要回去的步驟頁面\r\n let gotoStep = globalState.customer.isFromOrderDetail ? \"4\" : \"3\";\r\n let gotoQrStep = globalState.customer.isFromOrderDetail ? \"2\" : \"1\";\r\n // globalState 原本有此餐點的訂單\r\n if (productIndex > -1) {\r\n deepCopy[productIndex] = currProduct;\r\n\r\n if (count === 0) {\r\n deepCopy.splice(productIndex, 1);\r\n\r\n Goback = () =>\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: gotoStep,\r\n currentQrStep: gotoQrStep,\r\n mealDetail: \"\",\r\n mealOrderDetail: deepCopy,\r\n // mealOrderDetail: UpdateDetail\r\n },\r\n },\r\n ],\r\n });\r\n } else {\r\n Goback = () =>\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: gotoStep,\r\n currentQrStep: gotoQrStep,\r\n mealDetail: \"\",\r\n mealOrderDetail: deepCopy,\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n NewDetail = deepCopy;\r\n recordECommerce(deepCopy);\r\n } else {\r\n // globalState 原本沒有此餐點的訂單\r\n let newMealOrderDetail = [...deepCopy, currProduct];\r\n _.orderBy(\r\n newMealOrderDetail,\r\n [\"category_sequence\", \"sequence\"],\r\n [\"asc\", \"asc\"]\r\n );\r\n // 此餐點的總數量 = 0 (沒有點餐)\r\n if (count === 0) {\r\n //TempMealOrderDetail = '';\r\n // 直接返回上一頁\r\n\r\n Goback = () =>\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n //currentStep: gotoStep,\r\n //currentQrStep: gotoQrStep,\r\n mealDetail: \"\",\r\n },\r\n },\r\n ],\r\n });\r\n } else {\r\n TempMealOrderDetail = newMealOrderDetail;\r\n // 此餐點的總數量 != 0 (有點餐)\r\n // 新增[...原有餐點, 現在的餐點]\r\n Goback = () =>\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: gotoStep,\r\n currentQrStep: gotoQrStep,\r\n mealDetail: \"\",\r\n mealOrderDetail: newMealOrderDetail,\r\n },\r\n },\r\n ],\r\n });\r\n NewDetail = newMealOrderDetail;\r\n recordECommerce(newMealOrderDetail);\r\n }\r\n }\r\n\r\n // 加點模式 點單即存資料\r\n if (\r\n globalState.ordermode === \"addorder\" &&\r\n globalState.customer.orderInfo.tempOrderID\r\n ) {\r\n // if (globalState.customer.orderInfo.tempOrderID) {\r\n\r\n let OlddineIn = splitDineType(TempMealOrderDetail).dineIn.filter((e) => {\r\n return e.id === state.specificationData.id;\r\n });\r\n let Oldtakeout = splitDineType(TempMealOrderDetail).takeout.filter(\r\n (e) => {\r\n return e.id === state.specificationData.id;\r\n }\r\n );\r\n let NewdineIn = splitDineType(NewDetail).dineIn.filter((e) => {\r\n return e.id === state.specificationData.id;\r\n });\r\n let Newtakeout = splitDineType(NewDetail).takeout.filter((e) => {\r\n return e.id === state.specificationData.id;\r\n });\r\n let dineIn = [];\r\n let takeout = [];\r\n NewdineIn = handlePostOrder(NewdineIn);\r\n Newtakeout = handlePostOrder(Newtakeout);\r\n OlddineIn = handlePostOrder(OlddineIn);\r\n Oldtakeout = handlePostOrder(Oldtakeout);\r\n // 比對新舊單 合併差異部分\r\n for (let i = 0; i < state.specificationData.specification.length; i++) {\r\n if (NewdineIn[0]) {\r\n let New = NewdineIn[0].specification.filter((e) => {\r\n return e.id === state.specificationData.specification[i].id;\r\n });\r\n let Temp = dineIn.filter((e) => {\r\n return e.id === NewdineIn[0].id;\r\n });\r\n if (New.length > 0) {\r\n if (Temp.length === 0) {\r\n dineIn.push(NewdineIn[0]);\r\n }\r\n } /*\r\n else {\r\n\r\n dineIn.push(\r\n {\r\n id: state.specificationData.id,\r\n specification: [\r\n {\r\n id: state.specificationData.specification[i].id,\r\n status: 2,\r\n combination: [{\r\n taste: [],\r\n tastestr: \"\",\r\n takeout: false,\r\n quantity: 0\r\n }]\r\n }\r\n ]\r\n })\r\n }*/\r\n }\r\n\r\n if (Newtakeout[0]) {\r\n let Out = Newtakeout[0].specification.filter((e) => {\r\n return e.id === state.specificationData.specification[i].id;\r\n });\r\n let Temp = takeout.filter((e) => {\r\n return e.id === Newtakeout[0].id;\r\n });\r\n if (Out.length > 0) {\r\n if (Temp.length === 0) {\r\n takeout.push(Newtakeout[0]);\r\n }\r\n }\r\n /*\r\n else {\r\n takeout.push(\r\n {\r\n id: state.specificationData.id,\r\n specification: [\r\n {\r\n id: state.specificationData.specification[i].id,\r\n status: 2,\r\n combination: [{\r\n taste: [],\r\n tastestr: \"\",\r\n takeout: true,\r\n quantity: 0\r\n }]\r\n }\r\n ]\r\n })\r\n }*/\r\n }\r\n }\r\n\r\n // 如找到內用暫存但新單沒有該品項即歸0\r\n if (dineIn.length > 0) {\r\n OlddineIn.map((e) => {\r\n e.specification.map((e1) => {\r\n let Data = dineIn[0].specification.filter((x) => {\r\n return x.id == e1.id;\r\n });\r\n if (Data.length == 0) {\r\n e1.combination[0].quantity = 0;\r\n dineIn[0].specification.push(e1);\r\n }\r\n });\r\n });\r\n } else {\r\n OlddineIn.map((e) => {\r\n e.specification.map((e1) =>\r\n e1.combination.map((e2) => (e2.quantity = 0))\r\n );\r\n dineIn.push(e);\r\n });\r\n }\r\n\r\n // 如找到外帶暫存但新單沒有該品項即歸0\r\n if (takeout.length > 0) {\r\n Oldtakeout.map((e) => {\r\n e.specification.map((e1) => {\r\n let Data = takeout[0].specification.filter((x) => {\r\n return x.id == e1.id;\r\n });\r\n if (Data.length == 0) {\r\n e1.combination[0].quantity = 0;\r\n takeout[0].specification.push(e1);\r\n }\r\n });\r\n });\r\n } else {\r\n Oldtakeout.map((e) => {\r\n e.specification.map((e1) =>\r\n e1.combination.map((e2) => (e2.quantity = 0))\r\n );\r\n takeout.push(e);\r\n });\r\n }\r\n await apiSaveTempOrder({\r\n isNew: false,\r\n queueNumber: globalState.customer.orderInfo.queueNumber,\r\n queueCode: globalState.customer.orderInfo.queueCode,\r\n countryID: globalState.customer.orderInfo.country,\r\n storeID: globalState.customer.orderInfo.selectedBranch.branchCode,\r\n adultsCount: globalState.customer.orderInfo.numberOfAdult,\r\n childCount: globalState.customer.orderInfo.numberOfChild,\r\n userEmail: null,\r\n totalPrice: 0,\r\n waiterID: null,\r\n languageID: 1,\r\n QRCodeID: null,\r\n tempOrderID: globalState.customer.orderInfo.tempOrderID,\r\n tempOrderGroupID: globalState.customer.orderInfo.tempOrderGroupID,\r\n mainOrderCode: globalState.customer.orderInfo.mainOrderCode, //加點模式要傳\r\n posCode: globalState.customer.orderInfo.posCode, //加點模式要傳\r\n tableNo: globalState.customer.orderInfo.tableNo, //加點模式要傳\r\n dineIn: dineIn,\r\n takeout: takeout,\r\n });\r\n Goback();\r\n } else {\r\n Goback();\r\n }\r\n }\r\n //監聽餐前餐後彈窗\r\n useEffect(() => {\r\n if (isDTrecord === true) {\r\n saveOrderAndGoBack();\r\n }\r\n }, [DTModel]);\r\n \r\n\r\n if (\r\n !globalState.customer.mealDetail ||\r\n !state.specificationData ||\r\n !globalState.customer.mealDetail.mealTag\r\n )\r\n return null;\r\n return (\r\n
\r\n
\r\n {/* {globalState.customer.mealDetail.name} */}\r\n \r\n
\r\n
\r\n {globalState.customer.mealDetail.typeName}\r\n
\r\n
\r\n
\r\n {/*
\r\n {globalState.customer.mealDetail.description}\r\n 這段寫在後端 樣式可以調整mealInfo_desc_note的css\r\n
\r\n
※製餐時間較長,請耐心等候
\r\n
\r\n
*/}\r\n\r\n
\r\n {globalState.customer.mealDetail.mealTag.map((tagItem, index) => (\r\n
\r\n \r\n {tagItem.description}\r\n
\r\n ))}\r\n
\r\n
\r\n\r\n
\r\n
\r\n {console.log(\"state.specificationData 3.1\",state.specificationData)}\r\n {/* 特口的規格 */}\r\n {\r\n const alert = await AsyncModel({\r\n title: globalState.langFile[\"popup.msgDelete\"],\r\n showCancelBtn: true,\r\n cancelBtnText: globalState.langFile[\"popup.buttonCancel\"],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n if (alert) {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [{ key: \"specificationData\", val: newData.newData }],\r\n });\r\n }\r\n }}\r\n onUpdate={(newData) => {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specificationData\",\r\n val: merge(newData),\r\n },\r\n ],\r\n });\r\n }}\r\n onEditTaste={(newData) => {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specPopupSetting\",\r\n val: newData.specPopupSetting,\r\n },\r\n {\r\n key: \"currModify\",\r\n val: newData.currModify,\r\n },\r\n ],\r\n });\r\n }}\r\n onAddNewSpec={(newCurrModify) => {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specPopupSetting\",\r\n val: newCurrModify.specPopupSetting,\r\n },\r\n {\r\n key: \"isAddNew\",\r\n val: newCurrModify.isAddNew,\r\n },\r\n {\r\n key: \"currModify\",\r\n val: newCurrModify.currModify,\r\n },\r\n ],\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n \r\n }\r\n onClick={() => {\r\n // 判斷要回去的步驟頁面\r\n let gotoStep = globalState.customer.isFromOrderDetail ? \"4\" : \"3\";\r\n let gotoQrStep = globalState.customer.isFromOrderDetail ? \"2\" : \"1\";\r\n let deepCopy = _.cloneDeep(globalState.customer.mealOrderDetail);\r\n let currProduct = _.cloneDeep(state.specificationData);\r\n let productIndex = deepCopy.findIndex(\r\n (f) => f.id === currProduct.id\r\n );\r\n if (productIndex > -1) {\r\n deepCopy[productIndex].specification.reduce(\r\n (currSpec, itemSpec) => {\r\n itemSpec.combination = itemSpec.combination.filter(\r\n (f) => f.quantity > 0\r\n );\r\n return [...currSpec, itemSpec];\r\n },\r\n []\r\n );\r\n }\r\n\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: gotoStep,\r\n currentQrStep: gotoQrStep,\r\n mealDetail: \"\",\r\n mealOrderDetail: deepCopy,\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n />\r\n \r\n }\r\n disabled={!$haveOriginMeal() && ($haveSoldOut() || !$atLeastOne())}\r\n onClick={() => {\r\n //檢查有沒有餐前餐後特口\r\n const hasDTtaste = globalState.customer.mealDetail.stayInTaste.some(\r\n (taste) => taste.id == 41\r\n );\r\n\r\n //檢查室是內用且數量大於0\r\n const hasItems = state.specificationData.specification.some(\r\n (item) =>\r\n item.combination.some(\r\n (combination) =>\r\n combination.takeout === false && combination.quantity > 0\r\n )\r\n );\r\n\r\n // if (isDTrecord === false && DTtoggle == true && hasItems)\r\n if (hasItems && hasDTtaste) {\r\n setDTModel(true);\r\n // saveOrderAndGoBack();\r\n return;\r\n } else {\r\n saveOrderAndGoBack();\r\n }\r\n }}\r\n //舊的\r\n // onClick={async () => {\r\n // let Goback;\r\n // let deepCopy = _.cloneDeep(globalState.customer.mealOrderDetail);\r\n\r\n // let TempMealOrderDetail = globalState.customer.mealOrderDetail;\r\n // let NewDetail;\r\n // let currProduct = _.cloneDeep(state.specificationData);\r\n // let productIndex = deepCopy.findIndex(\r\n // (f) => f.id === currProduct.id\r\n // );\r\n // currProduct.specification.reduce((currSpec, itemSpec) => {\r\n // itemSpec.combination = itemSpec.combination.filter(\r\n // (f) => f.quantity > 0\r\n // );\r\n // return [...currSpec, itemSpec];\r\n // }, []);\r\n // // 此餐點的組合加總\r\n // let count = currProduct.specification.reduce(\r\n // (currSpec, itemSpec) => {\r\n // itemSpec = itemSpec.combination.length;\r\n // return currSpec + itemSpec;\r\n // },\r\n // 0\r\n // );\r\n // //判斷有沒有選餐上餐時間\r\n // // if (\r\n // // globalState.customer.mealDetail.type === 11 &&\r\n // // productIndex > -1 \r\n \r\n // // ) {\r\n // // setDesertToggle(true)\r\n // // return\r\n // // }\r\n\r\n // // 判斷要回去的步驟頁面\r\n // let gotoStep = globalState.customer.isFromOrderDetail ? \"4\" : \"3\";\r\n // let gotoQrStep = globalState.customer.isFromOrderDetail ? \"2\" : \"1\";\r\n // // globalState 原本有此餐點的訂單\r\n // if (productIndex > -1) {\r\n // deepCopy[productIndex] = currProduct;\r\n\r\n // if (count === 0) {\r\n // deepCopy.splice(productIndex, 1);\r\n\r\n // Goback = () =>\r\n // dispatchGlobal({\r\n // type: \"UPDATE\",\r\n // payload: [\r\n // {\r\n // key: \"customer\",\r\n // val: {\r\n // ...globalState.customer,\r\n // currentStep: gotoStep,\r\n // currentQrStep: gotoQrStep,\r\n // mealDetail: \"\",\r\n // mealOrderDetail: deepCopy,\r\n // // mealOrderDetail: UpdateDetail\r\n // },\r\n // },\r\n // ],\r\n // });\r\n // } else {\r\n // Goback = () =>\r\n // dispatchGlobal({\r\n // type: \"UPDATE\",\r\n // payload: [\r\n // {\r\n // key: \"customer\",\r\n // val: {\r\n // ...globalState.customer,\r\n // currentStep: gotoStep,\r\n // currentQrStep: gotoQrStep,\r\n // mealDetail: \"\",\r\n // mealOrderDetail: deepCopy,\r\n // },\r\n // },\r\n // ],\r\n // });\r\n // }\r\n // NewDetail = deepCopy;\r\n // recordECommerce(deepCopy);\r\n // } else {\r\n // // globalState 原本沒有此餐點的訂單\r\n // let newMealOrderDetail = [...deepCopy, currProduct];\r\n // _.orderBy(\r\n // newMealOrderDetail,\r\n // [\"category_sequence\", \"sequence\"],\r\n // [\"asc\", \"asc\"]\r\n // );\r\n // // 此餐點的總數量 = 0 (沒有點餐)\r\n // if (count === 0) {\r\n // //TempMealOrderDetail = '';\r\n // // 直接返回上一頁\r\n\r\n // Goback = () =>\r\n // dispatchGlobal({\r\n // type: \"UPDATE\",\r\n // payload: [\r\n // {\r\n // key: \"customer\",\r\n // val: {\r\n // ...globalState.customer,\r\n // //currentStep: gotoStep,\r\n // //currentQrStep: gotoQrStep,\r\n // mealDetail: \"\",\r\n // },\r\n // },\r\n // ],\r\n // });\r\n // } else {\r\n // TempMealOrderDetail = newMealOrderDetail;\r\n // // 此餐點的總數量 != 0 (有點餐)\r\n // // 新增[...原有餐點, 現在的餐點]\r\n // Goback = () =>\r\n // dispatchGlobal({\r\n // type: \"UPDATE\",\r\n // payload: [\r\n // {\r\n // key: \"customer\",\r\n // val: {\r\n // ...globalState.customer,\r\n // currentStep: gotoStep,\r\n // currentQrStep: gotoQrStep,\r\n // mealDetail: \"\",\r\n // mealOrderDetail: newMealOrderDetail,\r\n // },\r\n // },\r\n // ],\r\n // });\r\n // NewDetail = newMealOrderDetail;\r\n // recordECommerce(newMealOrderDetail);\r\n // }\r\n // }\r\n\r\n // // 加點模式 點單即存資料\r\n // if (\r\n // globalState.ordermode === \"addorder\" &&\r\n // globalState.customer.orderInfo.tempOrderID\r\n // ) {\r\n // // if (globalState.customer.orderInfo.tempOrderID) {\r\n\r\n // let OlddineIn = splitDineType(TempMealOrderDetail).dineIn.filter(\r\n // (e) => {\r\n // return e.id === state.specificationData.id;\r\n // }\r\n // );\r\n // let Oldtakeout = splitDineType(\r\n // TempMealOrderDetail\r\n // ).takeout.filter((e) => {\r\n // return e.id === state.specificationData.id;\r\n // });\r\n // let NewdineIn = splitDineType(NewDetail).dineIn.filter((e) => {\r\n // return e.id === state.specificationData.id;\r\n // });\r\n // let Newtakeout = splitDineType(NewDetail).takeout.filter((e) => {\r\n // return e.id === state.specificationData.id;\r\n // });\r\n // let dineIn = [];\r\n // let takeout = [];\r\n // NewdineIn = handlePostOrder(NewdineIn);\r\n // Newtakeout = handlePostOrder(Newtakeout);\r\n // OlddineIn = handlePostOrder(OlddineIn);\r\n // Oldtakeout = handlePostOrder(Oldtakeout);\r\n // // 比對新舊單 合併差異部分\r\n // for (\r\n // let i = 0;\r\n // i < state.specificationData.specification.length;\r\n // i++\r\n // ) {\r\n // if (NewdineIn[0]) {\r\n // let New = NewdineIn[0].specification.filter((e) => {\r\n // return e.id === state.specificationData.specification[i].id;\r\n // });\r\n // let Temp = dineIn.filter((e) => {\r\n // return e.id === NewdineIn[0].id;\r\n // });\r\n // if (New.length > 0) {\r\n // if (Temp.length === 0) {\r\n // dineIn.push(NewdineIn[0]);\r\n // }\r\n // } /*\r\n // else {\r\n\r\n // dineIn.push(\r\n // {\r\n // id: state.specificationData.id,\r\n // specification: [\r\n // {\r\n // id: state.specificationData.specification[i].id,\r\n // status: 2,\r\n // combination: [{\r\n // taste: [],\r\n // tastestr: \"\",\r\n // takeout: false,\r\n // quantity: 0\r\n // }]\r\n // }\r\n // ]\r\n // })\r\n // }*/\r\n // }\r\n\r\n // if (Newtakeout[0]) {\r\n // let Out = Newtakeout[0].specification.filter((e) => {\r\n // return e.id === state.specificationData.specification[i].id;\r\n // });\r\n // let Temp = takeout.filter((e) => {\r\n // return e.id === Newtakeout[0].id;\r\n // });\r\n // if (Out.length > 0) {\r\n // if (Temp.length === 0) {\r\n // takeout.push(Newtakeout[0]);\r\n // }\r\n // }\r\n // /*\r\n // else {\r\n // takeout.push(\r\n // {\r\n // id: state.specificationData.id,\r\n // specification: [\r\n // {\r\n // id: state.specificationData.specification[i].id,\r\n // status: 2,\r\n // combination: [{\r\n // taste: [],\r\n // tastestr: \"\",\r\n // takeout: true,\r\n // quantity: 0\r\n // }]\r\n // }\r\n // ]\r\n // })\r\n // }*/\r\n // }\r\n // }\r\n\r\n // // 如找到內用暫存但新單沒有該品項即歸0\r\n // if (dineIn.length > 0) {\r\n // OlddineIn.map((e) => {\r\n // e.specification.map((e1) => {\r\n // let Data = dineIn[0].specification.filter((x) => {\r\n // return x.id == e1.id;\r\n // });\r\n // if (Data.length == 0) {\r\n // e1.combination[0].quantity = 0;\r\n // dineIn[0].specification.push(e1);\r\n // }\r\n // });\r\n // });\r\n // } else {\r\n // OlddineIn.map((e) => {\r\n // e.specification.map((e1) =>\r\n // e1.combination.map((e2) => (e2.quantity = 0))\r\n // );\r\n // dineIn.push(e);\r\n // });\r\n // }\r\n\r\n // // 如找到外帶暫存但新單沒有該品項即歸0\r\n // if (takeout.length > 0) {\r\n // Oldtakeout.map((e) => {\r\n // e.specification.map((e1) => {\r\n // let Data = takeout[0].specification.filter((x) => {\r\n // return x.id == e1.id;\r\n // });\r\n // if (Data.length == 0) {\r\n // e1.combination[0].quantity = 0;\r\n // takeout[0].specification.push(e1);\r\n // }\r\n // });\r\n // });\r\n // } else {\r\n // Oldtakeout.map((e) => {\r\n // e.specification.map((e1) =>\r\n // e1.combination.map((e2) => (e2.quantity = 0))\r\n // );\r\n // takeout.push(e);\r\n // });\r\n // }\r\n // await apiSaveTempOrder({\r\n // isNew: false,\r\n \r\n // queueNumber: globalState.customer.orderInfo.queueNumber,\r\n // queueCode: globalState.customer.orderInfo.queueCode,\r\n // countryID: globalState.customer.orderInfo.country,\r\n // storeID:\r\n // globalState.customer.orderInfo.selectedBranch.branchCode,\r\n // adultsCount: globalState.customer.orderInfo.numberOfAdult,\r\n // childCount: globalState.customer.orderInfo.numberOfChild,\r\n // userEmail: null,\r\n // totalPrice: 0,\r\n // waiterID: null,\r\n // languageID: 1,\r\n // QRCodeID: null,\r\n // tempOrderID: globalState.customer.orderInfo.tempOrderID,\r\n // tempOrderGroupID: globalState.customer.orderInfo.tempOrderGroupID,\r\n // mainOrderCode: globalState.customer.orderInfo.mainOrderCode, //加點模式要傳\r\n // posCode: globalState.customer.orderInfo.posCode, //加點模式要傳\r\n // tableNo: globalState.customer.orderInfo.tableNo, //加點模式要傳\r\n // dineIn: dineIn,\r\n // takeout: takeout,\r\n // });\r\n // Goback();\r\n // } else {\r\n // Goback();\r\n // }\r\n // }}\r\n />\r\n
\r\n\r\n {/* 特口彈跳視窗 */}\r\n {(() => {\r\n if (!state.specPopupSetting.toggle) return null;\r\n return (\r\n {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specPopupSetting\",\r\n val: {\r\n toggle: false,\r\n productName: \"\",\r\n specName: \"\",\r\n dineInTaste: [],\r\n takeoutTaste: [],\r\n },\r\n },\r\n { key: \"currModify\", val: {} },\r\n { key: \"isAddNew\", val: false },\r\n ],\r\n });\r\n }}\r\n onSelectItem={(e) => {\r\n e.taste.sort();\r\n let deep = _.cloneDeep(state.specificationData);\r\n let { specification } = deep;\r\n // 是否為新增組合\r\n if (state.isAddNew) {\r\n let findCurrentSpec = specification.find(\r\n (f) => f.id === state.currModify.specId\r\n );\r\n\r\n // takeout: 可能需要改 e.applyMode === 3\r\n findCurrentSpec.combination = [\r\n ...findCurrentSpec.combination,\r\n {\r\n takeout: e.takeoutState,\r\n taste: e.taste,\r\n quantity: 1,\r\n },\r\n ];\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specificationData\",\r\n val: merge(deep),\r\n },\r\n {\r\n key: \"specPopupSetting\",\r\n val: {\r\n toggle: false,\r\n productName: \"\",\r\n specName: \"\",\r\n dineInTaste: [],\r\n takeoutTaste: [],\r\n },\r\n },\r\n { key: \"currModify\", val: {} },\r\n { key: \"isAddNew\", val: false },\r\n ],\r\n });\r\n } else {\r\n specification.map((_eachSp) => {\r\n if (_eachSp.id === state.currModify.specId) {\r\n // 找到當前要修改的combination\r\n let findCurrentCombi = _eachSp.combination.find((f) => {\r\n return (\r\n f.takeout === state.currModify.takeout &&\r\n f.taste.sort().toString() ===\r\n state.currModify.taste.sort().toString() &&\r\n f.quantity === state.currModify.quantity\r\n );\r\n });\r\n\r\n // 更新當前要修改的combination的特口\r\n if (\r\n findCurrentCombi.taste.sort().toString() !==\r\n e.taste.sort().toString() ||\r\n findCurrentCombi.takeout !== e.takeoutState\r\n ) {\r\n findCurrentCombi.taste = e.taste;\r\n findCurrentCombi.takeout = e.takeoutState;\r\n\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specificationData\",\r\n val: merge(deep),\r\n },\r\n {\r\n key: \"specPopupSetting\",\r\n val: {\r\n toggle: false,\r\n productName: \"\",\r\n specName: \"\",\r\n dineInTaste: [],\r\n takeoutTaste: [],\r\n },\r\n },\r\n { key: \"currModify\", val: {} },\r\n { key: \"isAddNew\", val: false },\r\n ],\r\n });\r\n }\r\n }\r\n });\r\n }\r\n }}\r\n />\r\n );\r\n })()}\r\n {/* 餐前餐後彈跳視窗 */}\r\n {DTModel == true ? (\r\n {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specPopupSetting\",\r\n val: newData.specPopupSetting,\r\n },\r\n {\r\n key: \"currModify\",\r\n val: newData.currModify,\r\n },\r\n ],\r\n });\r\n }}\r\n saveOrderAndGoBack={saveOrderAndGoBack}\r\n hadleDT={async (newvalue) => {\r\n const newTasteValue = [newvalue]; // New taste value to be added\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"specificationData\",\r\n val: {\r\n ...state.specificationData,\r\n specification: state.specificationData.specification.map(\r\n (spec, index) => {\r\n if (\r\n spec.combination.some(\r\n (comb) => comb.quantity > 0 && !comb.takeout\r\n )\r\n ) {\r\n return {\r\n ...spec,\r\n combination: spec.combination.map((comb) => {\r\n if (comb.quantity > 0 && !comb.takeout) {\r\n return {\r\n ...comb,\r\n taste: newTasteValue,\r\n };\r\n }\r\n return comb;\r\n }),\r\n };\r\n }\r\n return spec;\r\n }\r\n ),\r\n },\r\n },\r\n ],\r\n });\r\n setisDTrecord(true);\r\n }}\r\n />\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n );\r\n}\r\n\r\nexport default OrderStep_3_mealInfo;\r\n","import React from 'react';\r\nimport cls from 'classnames';\r\nimport './From.scss';\r\n\r\n/**\r\n * @param {object} props\r\n * @param {boolean} checked\r\n * @param {boolean} disabled\r\n */\r\n\r\nfunction CusCheckbox({\r\n checked,\r\n title,\r\n disable,\r\n onChange = () => { },\r\n ...props\r\n}) {\r\n return (\r\n
\r\n \r\n {title}\r\n
\r\n );\r\n}\r\n\r\nexport { CusCheckbox };\r\n","import React, { useContext } from \"react\";\r\nimport { Global } from \"../../App\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { CusSwitch } from \"../From/Switch\";\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport Tool_counter from \"./Tool_counter\";\r\nimport cls from \"classnames\";\r\nimport _ from \"lodash\";\r\n/**\r\n *\r\n * @param {object} props\r\n * @param {boolean} props.showTitle\r\n * @param {boolean} props.delete\r\n * @param {string} props.type\r\n * @param {string} props.device\r\n * @param {object} props.data\r\n * @param {()=>data} props.onDelete\r\n * @param {()=>data} props.onUpdate\r\n * @param {()=>data} props.onEditTaste\r\n * @param {()=>data} props.onAddNewSpec\r\n *\r\n *\r\n */\r\n\r\nconst Tool_mealList = ({\r\n showTitle = true,\r\n deleteButton = true,\r\n modifyButton = true,\r\n IsShowOrderDetail = false,\r\n IsMultiLang = false,\r\n type,\r\n device,\r\n data,\r\n onDelete,\r\n onUpdate,\r\n onEditTaste,\r\n onAddNewSpec,\r\n onSwitch,\r\n onModify,\r\n}) => {\r\n const { globalState } = useContext(Global);\r\n\r\n // if (!data) return null;\r\n\r\n // 鎖菜暫存處理 start\r\n if (!data) {\r\n return null;\r\n } else {\r\n const { staffInfo } = globalState;\r\n const orderCode = staffInfo.orderCode;\r\n if (globalState.Hold && globalState.Hold.orderCode === orderCode) {\r\n data.specification.map((e) => {\r\n e.combination.map((e1) => {\r\n const Data = {\r\n id: e.id,\r\n taste: e1.taste,\r\n takeout: e1.takeout,\r\n quantity: e1.quantity,\r\n };\r\n globalState.Hold.holditems.map((e2) => {\r\n if (JSON.stringify(e2.productIdcombi) === JSON.stringify(Data)) {\r\n e1.bIsLock = e2.hold > 0 || e1.bIsLock;\r\n e1.lockTime = e2.hold;\r\n }\r\n });\r\n });\r\n });\r\n }\r\n }\r\n // 鎖菜暫存處理 end\r\n\r\n // [外帶]開啟特口選單\r\n const addTakeoutWithTaste = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: true,\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: specDate.name,\r\n itemList: data.takeoutTaste,\r\n selectedItem: data.takeoutTaste\r\n .filter((f) => f.preset)\r\n .map((e) => e.id),\r\n },\r\n isAddNew: true,\r\n currModify: {\r\n productId: data.id,\r\n specId: specDate.id,\r\n takeout: true,\r\n taste: data.takeoutTaste.filter((f) => f.preset).map((e) => e.id),\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n // [外帶]直接新增一筆預設特口\r\n const addTakeoutDefault = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: false,\r\n currModify: {\r\n productId: data.id,\r\n specId: specDate.id,\r\n takeout: true,\r\n taste: [],\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n // [內用]開啟特口選單\r\n const addDiningInWithTaste = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: true,\r\n specPopupSetting: {\r\n toggle: true,\r\n productName: data.name,\r\n specName: specDate.name,\r\n itemList: data.stayInTaste,\r\n selectedItem: data.stayInTaste.filter((f) => f.preset).map((e) => e.id),\r\n },\r\n isAddNew: true,\r\n currModify: {\r\n productId: data.id,\r\n specId: specDate.id,\r\n takeout: false,\r\n taste: data.stayInTaste.filter((f) => f.preset).map((e) => e.id),\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n // [內用]直接新增一筆預設特口\r\n const addDineInDefault = (specDate) => {\r\n onAddNewSpec({\r\n hasSpecTaste: false,\r\n currModify: {\r\n productId: data.id,\r\n specId: specDate.id,\r\n takeout: false,\r\n taste: [],\r\n quantity: 1,\r\n },\r\n });\r\n };\r\n\r\n return (\r\n <> \r\n \r\n {data.specification.map((eachSpec, specIndex) => (\r\n
\r\n
\r\n
\r\n {/* 外語時的顯示方式 */}\r\n
\r\n {(() => {\r\n if(specIndex === 0){\r\n if(globalState.langType != \"zh\" && IsMultiLang){\r\n return (\r\n <>\r\n
\r\n {data.langName}\r\n
\r\n \r\n {data.name}\r\n \r\n \r\n );\r\n }\r\n else{\r\n return (\r\n <>\r\n
\r\n {data.langName}\r\n
\r\n \r\n );\r\n }\r\n }\r\n })()}\r\n
\r\n {/* 一個品項只有第一個規格旁邊顯示修改 */}\r\n {specIndex === 0 && modifyButton? (\r\n
\r\n {\r\n onModify();\r\n }}\r\n >\r\n \r\n

\r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n {/* 只有一個規格卻沒特口時 */}\r\n {eachSpec.combination.length === 1\r\n ? eachSpec.combination.map((eachCombi, combiIndex) => (\r\n \r\n
\r\n {/* 沒有特口的時候刪除按鈕在外面 */}\r\n {eachSpec.combination[0].taste.length === 0 ? (\r\n (deleteButton)?(\r\n {\r\n let newState = _.cloneDeep(data);\r\n newState.specification[\r\n specIndex\r\n ].combination.splice(combiIndex, 1);\r\n onDelete({\r\n newData: newState,\r\n });\r\n }}\r\n >\r\n \r\n \r\n \r\n ):(null)\r\n ) : (\r\n \"\"\r\n )}\r\n {/* 規格雙語 */}\r\n {eachSpec ? (\r\n (globalState.langType != \"zh\" && IsMultiLang) ? (\r\n \r\n \r\n {eachSpec.name}\r\n {\" \"}\r\n {eachSpec.langName}\r\n \r\n ) : (\r\n {eachSpec.langName}\r\n )\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n $ {eachSpec.price}\r\n \r\n
\r\n
\r\n {/* 沒有特口的時候價格數量在外面 */}\r\n {eachSpec.combination[0].taste.length === 0 ? (\r\n
\r\n {/*鎖菜*/}\r\n {globalState.staffInfo.checkOrderData &&\r\n globalState.staffInfo.checkOrderData.isAddOrder ? (\r\n
\r\n {eachCombi.bIsLock ? (\r\n <>\r\n
\r\n \r\n {\" \"}\r\n +{eachCombi.lockTime}\r\n \r\n \r\n \r\n \r\n
\r\n \r\n ) : null}\r\n
\r\n ) : null}\r\n {/* 計數器 */}\r\n \r\n {eachCombi.quantity}{\" \"}\r\n \r\n {/* 單個組合單價 * 數量 */}\r\n \r\n $\r\n {(() => {\r\n const { takeoutTaste, stayInTaste } = data;\r\n let whichTaste = eachCombi.takeout\r\n ? takeoutTaste\r\n : stayInTaste;\r\n let price = eachSpec.price;\r\n let quantity = eachCombi.quantity;\r\n let tastePrice =\r\n whichTaste.length <= 0\r\n ? whichTaste\r\n : eachCombi.taste.map((e) => {\r\n let findTaste = whichTaste.find(\r\n (f) => f.id === e\r\n );\r\n return findTaste.price;\r\n });\r\n let combiTastePrice = tastePrice.reduce(\r\n (curr, item) => {\r\n return curr + item;\r\n },\r\n 0\r\n );\r\n return (\r\n price * quantity + combiTastePrice * quantity\r\n );\r\n })()}\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n
\r\n ))\r\n : \"\"}\r\n {/* 售畢時 */}\r\n {(eachSpec.status === 3 || eachSpec.status === 4) && !IsShowOrderDetail? (\r\n
\r\n
\r\n \r\n
\r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n {/* 有規格時 */}\r\n {eachSpec.combination.length > 1 ? (\r\n
\r\n {/* 規格雙語 */}\r\n {eachSpec ? (\r\n globalState.langType === \"zh\" ? (\r\n {eachSpec.langName}\r\n ) : (\r\n \r\n \r\n {eachSpec.name}\r\n {\" \"}\r\n {eachSpec.langName}\r\n \r\n )\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n $ {eachSpec.price}\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n {eachSpec.combination.map((eachCombi, combiIndex) => (\r\n
\r\n {eachCombi.taste.length > 0 ||\r\n eachSpec.combination.length > 1 ? (\r\n
\r\n <>\r\n {/* 特口顯示條件 1.有不同規格 2.加點時有鎖菜 3.有特口 4.單品項大於1 5.特口數量大於1*/}\r\n \r\n
\r\n {deleteButton ? \r\n (\r\n {\r\n let newState = _.cloneDeep(data);\r\n newState.specification[\r\n specIndex\r\n ].combination.splice(combiIndex, 1);\r\n onDelete({\r\n newData: newState,\r\n });\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n ):(null)\r\n }\r\n {eachCombi.taste.length > 0\r\n ? (() => {\r\n return (\r\n \r\n {eachCombi.taste.map(\r\n (taste, tasteIndex) => {\r\n let whichTaste;\r\n if (eachCombi.takeout) {\r\n whichTaste = data.takeoutTaste;\r\n } else {\r\n whichTaste = data.stayInTaste;\r\n }\r\n return whichTaste\r\n .filter((tasteData) => {\r\n return tasteData.id === taste;\r\n })\r\n .map((e, index) => (\r\n
\r\n {(() => {\r\n let hasPrice = e.price > 0;\r\n let isLast =\r\n eachCombi.taste.length ===\r\n tasteIndex + 1;\r\n return (\r\n <>\r\n \r\n {hasPrice\r\n ? `${e.name}($+${e.price})`\r\n : (\r\n //隨餐上\r\n e.id === 41\r\n ?(\r\n \r\n \r\n \r\n )\r\n :(e.id === 411\r\n ?(\r\n \r\n \r\n )\r\n :(`${e.name}`)))\r\n }\r\n \r\n {isLast ? (\r\n \"\"\r\n ) : (\r\n \r\n /\r\n \r\n )}\r\n \r\n );\r\n })()}\r\n
\r\n ));\r\n }\r\n )}\r\n
\r\n );\r\n })()\r\n : \"\"}\r\n
\r\n
\r\n {/*鎖菜*/}\r\n {globalState.staffInfo.checkOrderData &&\r\n globalState.staffInfo.checkOrderData.isAddOrder ? (\r\n
\r\n {eachCombi.bIsLock ? (\r\n <>\r\n
\r\n \r\n {\" \"}\r\n +{eachCombi.lockTime}\r\n \r\n \r\n {\" \"}\r\n \r\n \r\n
\r\n \r\n ) : null}\r\n
\r\n ) : null}\r\n {/* 計數器 */}\r\n \r\n {eachCombi.quantity}{\" \"}\r\n \r\n {/* 單個組合單價 * 數量 */}\r\n \r\n $\r\n {(() => {\r\n const { takeoutTaste, stayInTaste } = data;\r\n let whichTaste = eachCombi.takeout\r\n ? takeoutTaste\r\n : stayInTaste;\r\n let price = eachSpec.price;\r\n let quantity = eachCombi.quantity;\r\n let tastePrice =\r\n whichTaste.length <= 0\r\n ? whichTaste\r\n : eachCombi.taste.map((e) => {\r\n let findTaste = whichTaste.find(\r\n (f) => f.id === e\r\n );\r\n return findTaste.price;\r\n });\r\n let combiTastePrice = tastePrice.reduce(\r\n (curr, item) => {\r\n return curr + item;\r\n },\r\n 0\r\n );\r\n return (\r\n price * quantity + combiTastePrice * quantity\r\n );\r\n })()}\r\n \r\n
\r\n
\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n ))}\r\n
\r\n \r\n \r\n ))}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Tool_mealList;\r\n","import React, { useState, useReducer, useEffect, useContext } from \"react\";\r\nimport { Modal, ModalBody } from \"reactstrap\";\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport { Global } from \"../../App\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport Tool_eachOtherQuiz from \"../../Components/Tools/Tool_eachOtherQuiz\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport cls from \"classnames\";\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case \"UPDATE_STATE\":\r\n payload.forEach((i) => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\nfunction Tool__CusOtherNeed({\r\n needName = \"\",\r\n subArray = [],\r\n needType = \"\",\r\n needId,\r\n onClose,\r\n updateExtra,\r\n updateAddOrderExtra,\r\n refreshPage,\r\n setRefreshPage,\r\n sentOrder,\r\n isSentOrder,\r\n setIsOrderDisable,\r\n setIsSentOrder,\r\n setIsExtraCheck\r\n}) {\r\n const [state, dispatch] = useReducer(reducer, {\r\n selected: pickDefaultTaste(),\r\n });\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [selectedValue, setSelectedValue] = useState(\"\");\r\n const [multiSelectValue, setMultiSelectValue] = useState([]);\r\n const [disableValue, setDisableValue] = useState([]);\r\n const [selectedID, setSelectedID] = useState(\"\");\r\n const [isdropdown, setIsdropdown] = useState(false);\r\n const handleChange = (event) => {\r\n setSelectedValue(event.target.value);\r\n };\r\n const handleSelection = (value) => {\r\n if (multiSelectValue.includes(value)) {\r\n setMultiSelectValue(multiSelectValue.filter((val) => val !== value));\r\n } else {\r\n setMultiSelectValue([...multiSelectValue, value]);\r\n }\r\n };\r\n const dropdownToggle = () => {\r\n setIsdropdown(!isdropdown);\r\n };\r\n\r\n function pickDefaultTaste() {}\r\n\r\n function loadSelected() {\r\n //比對資料有沒有在global裡\r\n if (\r\n globalState.customer.orderInfo.extraDataList &&\r\n globalState.ordermode != \"addorder\"\r\n ) {\r\n const matchingItems = subArray.filter((item) => {\r\n for (const globalItem of globalState.customer.orderInfo.extraDataList) {\r\n if (globalItem.selectedItemIDs.includes(item.id)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n });\r\n\r\n const matchingItemIDs = matchingItems.map((item) => item.id);\r\n\r\n if (matchingItems) {\r\n // console.log(\"matchingItemIDs\", matchingItemIDs);\r\n setMultiSelectValue(matchingItemIDs);\r\n setSelectedID(matchingItemIDs[0]);\r\n }\r\n }\r\n\r\n if (globalState.ordermode == \"addorder\") {\r\n const filteredItems = subArray.filter((item) => item.selectedMode === 1);\r\n const addOrderSelectedIds = filteredItems.map((item) => item.id);\r\n\r\n if (addOrderSelectedIds) {\r\n setMultiSelectValue(addOrderSelectedIds);\r\n setSelectedID(addOrderSelectedIds[0]);\r\n }\r\n }\r\n }\r\n\r\n //顯示之前選擇的數值\r\n useEffect(() => {\r\n loadSelected();\r\n }, [globalState.langType]);\r\n\r\n useEffect(() => {\r\n const newDisableValue = [];\r\n\r\n subArray.forEach((item) => {\r\n if (multiSelectValue.includes(item.id)) {\r\n newDisableValue.push(...item.extraOptionExclude);\r\n }\r\n });\r\n\r\n setDisableValue([...new Set(newDisableValue)]);\r\n }, [multiSelectValue, subArray]);\r\n\r\n useEffect(()=>{\r\n try {\r\n if (globalState.ordermode === \"addorder\") {\r\n if (needType === 3 && multiSelectValue) {\r\n updateAddOrderExtra(multiSelectValue, needType, needId);\r\n setRefreshPage(!refreshPage);\r\n }\r\n\r\n if ((needType === 2 || needType === 1) && selectedID) {\r\n updateAddOrderExtra([selectedID], needType, needId);\r\n }\r\n } else {\r\n if (needType === 3 && multiSelectValue) {\r\n updateExtra(multiSelectValue, needType, needId);\r\n }\r\n\r\n if ((needType === 2 || needType === 1) && selectedID) {\r\n updateExtra([selectedID], needType, needId);\r\n }\r\n }\r\n } catch (error) {\r\n } \r\n },[selectedID])\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n {console.log(\"selectedID\",selectedID)}\r\n
{needName}
\r\n
\r\n
\r\n {(() => {\r\n if (needType === 2) {\r\n // 下拉選單\r\n return (\r\n
\r\n \r\n {/* 顯示選擇或是之前選的 */}\r\n {(() => {\r\n if (selectedValue) {\r\n return (\r\n

{selectedValue}

\r\n );\r\n }\r\n if (selectedID) {\r\n const selectedItem = subArray.find(\r\n (finditem) => finditem.id === selectedID\r\n ).langName;\r\n return (\r\n

{selectedItem}

\r\n );\r\n } else {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n })()}\r\n
\r\n
\r\n {isdropdown ? (\r\n
\r\n {subArray.map((e, index) => (\r\n {\r\n setSelectedValue(e.langName);\r\n setSelectedID(e.id);\r\n handleSelection(e.id);\r\n }}\r\n >\r\n {e.langName}\r\n
\r\n ))}\r\n
\r\n ) : null}\r\n
\r\n
\r\n );\r\n }\r\n if (needType === 3) {\r\n // 多選\r\n return (\r\n //
\r\n
\r\n {subArray.map((e, index) => {\r\n const isSelected = multiSelectValue.includes(e.id);\r\n const isDisabled = disableValue.includes(e.id);\r\n const buttonClasses = `need_button w-45 ${\r\n isSelected ? \"need_button-on\" : \"\"\r\n } ${isDisabled ? \"need_button-disable\" : \"\"}`;\r\n\r\n return (\r\n {\r\n if (!isDisabled) {\r\n handleSelection(e.id);\r\n }\r\n }}\r\n >\r\n {e.langName}\r\n \r\n );\r\n })}\r\n
\r\n );\r\n }\r\n if (needType === 1) {\r\n return (\r\n
\r\n {subArray.map((e, index) => (\r\n {\r\n setSelectedValue(e.langName);\r\n setSelectedID(e.id);\r\n handleSelection(e.id);\r\n }}\r\n >\r\n {e.langName}\r\n \r\n ))}\r\n
\r\n );\r\n // return ;\r\n }\r\n })()}\r\n
\r\n
\r\n
\r\n
\r\n }\r\n className=\"btn-block py-2\"\r\n onClick={onClose}\r\n />\r\n
\r\n
\r\n }\r\n className=\"btn-block py-2\"\r\n onClick={async () => {\r\n try {\r\n if (globalState.ordermode === \"addorder\") {\r\n if (needType === 3 && multiSelectValue) {\r\n updateAddOrderExtra(multiSelectValue, needType, needId);\r\n setRefreshPage(!refreshPage);\r\n }\r\n\r\n if ((needType === 2 || needType === 1) && selectedID) {\r\n updateAddOrderExtra([selectedID], needType, needId);\r\n }\r\n } else {\r\n // if (needType === 3 && multiSelectValue) {\r\n // updateExtra(multiSelectValue, needType, needId);\r\n // }\r\n if ((needType === 2 || needType === 1) && selectedID) {\r\n updateExtra([selectedID], needType, needId);\r\n }\r\n }\r\n } catch (error) {\r\n } finally {\r\n if (isSentOrder === true) {\r\n await onClose();\r\n await sentOrder();\r\n setIsOrderDisable(false)\r\n } else {\r\n await onClose();\r\n }\r\n }\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default Tool__CusOtherNeed;\r\n","import React from 'react';\r\nimport cls from 'classnames';\r\nimport './From.scss';\r\n\r\n/**\r\n * @param {object} props\r\n * @param {boolean} checked\r\n * @param {string} name\r\n */\r\n\r\nfunction CusRadio({\r\n checked,\r\n title,\r\n name,\r\n onChange = () => { },\r\n ...props\r\n}) {\r\n return (\r\n
\r\n \r\n {title}\r\n
\r\n );\r\n}\r\n\r\nexport { CusRadio };\r\n","import React, { useEffect, useState, useContext } from \"react\";\r\nimport { CusSwitch } from \"../From/Switch\";\r\nimport { CusRadio } from \"../From/Radio\";\r\nimport CheckIcon from \"../From/CheckIcon\";\r\nimport { Global } from \"../../App\";\r\nimport { saveTempOrder } from \"../../Api/GetOrder\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { cond } from \"lodash\";\r\n\r\nfunction Tool_extraNeedLIst({\r\n data,\r\n qId,\r\n onOpenToggle,\r\n removeExtraSelected,\r\n removeAddOrderExtraSelected,\r\n isExtraCheck,\r\n setIsExtraCheck,\r\n setIsSentOrder,\r\n setIsNeedStaffCheckModel,\r\n isNeedStaffCheckModel,\r\n needStaffCheckID,\r\n setselectedExtra\r\n}) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [isChecked, setIsChecked] = useState(false);\r\n const [selectedExtraOptionList, setSelectedExtraOptionList] = useState([]);\r\n \r\n const handleModalOpen = (extraOptionList) => {\r\n setSelectedExtraOptionList(extraOptionList);\r\n\r\n setIsChecked(true);\r\n };\r\n const handleCheckboxChange = () => {\r\n setIsChecked(!isChecked);\r\n };\r\n // 如果有被選亮燈\r\n\r\n const hasSelectedModeOnNew = (extraOptionList) => {\r\n const selected = extraOptionList.some(\r\n (extraOption) => extraOption.selectedMode != 0\r\n );\r\n\r\n let hasItemInGlobal;\r\n if (globalState.customer.orderInfo.extraDataList) {\r\n hasItemInGlobal = extraOptionList.some((extraOption) =>\r\n globalState.customer.orderInfo.extraDataList.some((globalExtraData) =>\r\n globalExtraData.selectedItemIDs.includes(extraOption.id)\r\n )\r\n );\r\n }\r\n if (globalState.ordermode == \"addorder\") {\r\n if (selected) {\r\n return true;\r\n }\r\n } else {\r\n if (hasItemInGlobal) {\r\n return true;\r\n }\r\n }\r\n };\r\n\r\n const isSelectedOption = (data) =>{\r\n \r\n if(!globalState.selectedExtra ){\r\n return false;\r\n }\r\n console.log('bbbbbb')\r\n \r\n return globalState.selectedExtra.selectedExtraA.some(x=>x.qusetionId === qId) \r\n }\r\n\r\n const isSelectedOptionContent = (id)=>{\r\n if(!globalState.selectedExtra){\r\n return false;\r\n }\r\n\r\n return globalState.selectedExtra.selectedExtraA.some(x=>x.ansId === id);\r\n }\r\n\r\n useEffect(() => {\r\n // 給對單時 如果已經有選\r\n if (\r\n data.extraOptionList.some((extraOption) => extraOption.selectedMode === 1)\r\n ) {\r\n setIsChecked(true);\r\n }\r\n }, []);\r\n \r\n return (\r\n
\r\n
\r\n {data.selected == 1 ? (\r\n \r\n ) : (\r\n \r\n )}\r\n\r\n
{data.langName}
\r\n
\r\n
\r\n {isSelectedOption(data) ? (\r\n {\r\n hasSelectedModeOnNew(data.extraOptionList);\r\n setIsSentOrder(false);\r\n setIsNeedStaffCheckModel(true);\r\n setselectedExtra();\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n {data.extraOptionList\r\n .filter((item) => isSelectedOptionContent(item.id))\r\n .map((select, index) => (\r\n \r\n {select.langName}\r\n \r\n ))}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default Tool_extraNeedLIst;\r\n","import React, { useState, useReducer, useEffect, useContext } from \"react\";\r\nimport { Modal, ModalBody } from \"reactstrap\";\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport { Global } from \"../../App\";\r\nimport { FormattedMessage } from \"react-intl\";\r\n\r\n\r\n\r\nfunction Tool_needStaffCheck({\r\n allData,\r\n setIsNeedStaffCheckModel,\r\n needStaffCheckID,\r\n setneedStaffCheckID,\r\n isSentOrder,\r\n sentOrder,\r\n onClose,\r\n updateAddOrderExtra,\r\n \r\n}) {\r\n const [oldAns, setOldAns] = useState(0);\r\n const handleClick = async(option) => { \r\n setneedStaffCheckID(option.id);\r\n if (globalState.ordermode === \"addorder\") {\r\n updateAddOrderExtra(option.id) \r\n } \r\n };\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n\r\n const isSelect = (id)=>{\r\n if(!globalState.selectedExtra){\r\n return false;\r\n }\r\n return globalState.selectedExtra.selectedExtraA.some(x=>x.qusetionId === globalState.selectedExtra.selectedExtraQ.id && x.ansId === id);\r\n }\r\n\r\n const isDisable = () =>{\r\n if(!globalState.selectedExtra){\r\n return false;\r\n }\r\n return globalState.selectedExtra.selectedExtraA.some(x=>x.qusetionId === globalState.selectedExtra.selectedExtraQ.id);\r\n }\r\n\r\n useEffect(()=>{\r\n if(globalState.selectedExtra.selectedExtraA){ \r\n let old = globalState.selectedExtra.selectedExtraA.filter(x=>x.qusetionId === globalState.selectedExtra.selectedExtraQ.id)[0];\r\n if(old){ \r\n setOldAns(old.ansId);\r\n }\r\n } \r\n },[])\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n {globalState.selectedExtra.selectedExtraQ ? globalState.selectedExtra.selectedExtraQ.langName : \"\"}\r\n
\r\n
\r\n
\r\n
\r\n {globalState.selectedExtra.selectedExtraQ.extraOptionList.length > 0\r\n ? globalState.selectedExtra.selectedExtraQ.extraOptionList.map((option, index) => (\r\n {handleClick(option)}}\r\n >\r\n {option.langName}\r\n \r\n ))\r\n : \"\"}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n className=\"btn-block py-2\"\r\n onClick={\r\n () => {\r\n setneedStaffCheckID(oldAns) \r\n setIsNeedStaffCheckModel(false);\r\n }\r\n // onClose\r\n }\r\n />\r\n
\r\n
\r\n }\r\n className=\"btn-block py-2\"\r\n onClick={\r\n () => {\r\n if(isSentOrder==true){\r\n if(allData.filter(x=>x.selected === 1).length !== globalState.selectedExtra.selectedExtraA.length){\r\n let first = allData.filter(x=>x.selected === 1 && !globalState.selectedExtra.selectedExtraA.some(y=>y.qusetionId === x.id))[0];\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"selectedExtra\",\r\n val: {\r\n ...globalState.selectedExtra,\r\n selectedExtraQ:first\r\n },\r\n },\r\n ],\r\n });\r\n setIsNeedStaffCheckModel(false);\r\n setTimeout(function(){\r\n console.log(\"wait 0.5 second\");\r\n }, 500);\r\n setIsNeedStaffCheckModel(true);\r\n }\r\n else{\r\n if (globalState.ordermode === \"addorder\") {}\r\n setIsNeedStaffCheckModel(false);\r\n sentOrder();\r\n }\r\n }else{\r\n setIsNeedStaffCheckModel(false);\r\n }\r\n }\r\n // onClose\r\n }\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default Tool_needStaffCheck;\r\n","import React, { useContext } from 'react';\r\nimport Header from '../../Components/Header/Header';\r\nimport Footer from '../../Components/Footer/Footer';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport { Global } from '../../App';\r\n\r\nimport './Error.scss';\r\nimport { withRouter } from 'react-router';\r\nimport { useMemo } from 'react';\r\n\r\nfunction Error({\r\n onBack,\r\n errCode,\r\n errMessage,\r\n ...props\r\n}) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const { state } = props.location;\r\n // 防止直接進入此頁面\r\n // if (!state || !state.verify) {\r\n // dispatchGlobal({ type: 'RESET' });\r\n // props.history.replace('/');\r\n // return null\r\n // }\r\n\r\n const $errCode = useMemo(() => {\r\n if (errCode !== undefined) {\r\n return `${errCode}`\r\n }\r\n return `${globalState.errMsg}`\r\n }, [errCode, globalState.errMsg])\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n

\r\n \r\n

\r\n \r\n \r\n \r\n
\r\n
\r\n {errCode !== 999 ? (\r\n \r\n {/* {errCode ? ( */}\r\n \r\n {/* ) : null} */}\r\n {/*
{errMessage}
*/}\r\n
\r\n
\r\n ) : (\r\n //
{errMessage}
\r\n
\r\n )}\r\n\r\n }\r\n onClick={e => {\r\n if (onBack !== undefined) {\r\n console.debug(errCode);\r\n if(globalState.staffInfo.currentCheckOrderStep === \"3\" && errCode == 415){ \r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"staffInfo\",\r\n val: {\r\n ...globalState.staffInfo,\r\n checkOrderData:null,\r\n orderCode:null, \r\n currentCheckOrderStep: \"1\",\r\n prevPath:null\r\n },\r\n },\r\n ],\r\n });\r\n props.history.push(\"/staffSearchOrder\");\r\n }\r\n else{\r\n onBack();\r\n }\r\n } else {\r\n props.history.goBack();\r\n }\r\n\r\n // dispatchGlobal({\r\n // type: 'UPDATE',\r\n // payload: [{ key: 'errMsg', val: null }]\r\n // });\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(Error);\r\n","import React, { useState, useCallback } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport ErrorPage from '../Pages/Error/Error'\r\nimport fp from 'lodash/fp'\r\n/**\r\n * @type {React.Context<{ onError: (options: { errCode: any, errMessage: any, onBack: () => void }) => void }>}\r\n */\r\nconst ErrorContext = React.createContext()\r\n\r\nexport const ErrorProvider = ({ children }) => {\r\n const history = useHistory()\r\n const [ state, setState ] = useState({\r\n isError: false,\r\n errCode: null,\r\n errMessage: null,\r\n onBack: null,\r\n })\r\n\r\n const onError = useCallback(({ \r\n errCode, \r\n errMessage,\r\n onBack\r\n }) => {\r\n setState(fp.assign(fp.__, {\r\n isError: true,\r\n errCode,\r\n errMessage,\r\n onBack\r\n }))\r\n }, [])\r\n \r\n return (\r\n \r\n { state.isError ? (\r\n {\r\n if ( state.onBack !== undefined ) {\r\n state.onBack()\r\n } else {\r\n history.goBack()\r\n }\r\n setState(fp.set('isError', false))\r\n }}\r\n />\r\n ) : children } \r\n \r\n )\r\n}\r\n\r\nexport default ErrorContext","import React, {\r\n useReducer,\r\n useContext,\r\n useEffect,\r\n useMemo,\r\n useState,\r\n useRef,\r\n} from \"react\";\r\nimport moment from \"moment\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { CusButton } from \"../../Components/From/Button\";\r\nimport { CusCheckbox } from \"../../Components/From/Checkbox\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { Global } from \"../../App\";\r\nimport { AsyncModel, AsyncModelClose } from \"../AsyncModel/AsyncModel\";\r\nimport ReactLoading from \"react-loading\";\r\nimport Tool_mealList from \"../../Components/Tools/Tool_mealList\";\r\nimport Tool_otherNeedList from \"../../Components/Tools/Tool_otherNeedList\";\r\nimport Tool_CusOtherNeed from \"../../Components/Tools/Tool_CusOtherNeed\";\r\nimport Tool_CusOtherNeed_error from \"../../Components/Tools/Tool_CusOtherNeed\";\r\nimport Tool_extraNeedLIst from \"../Tools/Tool_extraNeedLIst\";\r\nimport Tool_needStaffCheck from \"../Tools/Tool_needStaffCheck\";\r\n\r\nimport _ from \"lodash\";\r\nimport \"../../Pages/pages.scss\";\r\n// switch lang\r\nimport { langStringToCode } from \"../../Share/Tools/switchLang\";\r\n// api\r\nimport { getBranchProduct } from \"../../Api/GetProduct\";\r\nimport {\r\n postTranslationOrder,\r\n postCreateOrder,\r\n postCreateAddOrder,\r\n GetTempOrderDetail,\r\n saveTempOrder,\r\n} from \"../../Api/GetOrder\";\r\nimport Tool_storeName from \"../Tools/Tool_storeName\";\r\nimport ErrorContext from \"../../Contexts/Error\";\r\n\r\nimport calcTotal from \"../../Share/Tools/calcTotal\";\r\n\r\nimport { TimeOutSet, TimeOutRemove } from \"../../Share/Tools/Share\";\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case \"UPDATE_STATE\":\r\n payload.forEach((i) => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n case \"UPDATE_CHECK_TERMS\":\r\n newState.isCheckTerms = !newState.isCheckTerms;\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\nlet Time;\r\n\r\nfunction OrderStep_4(props) {\r\n const [btnState, changeBtnStates] = useState(false);\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const { onError } = useContext(ErrorContext);\r\n const [state, dispatch] = useReducer(reducer, {\r\n takeout: [],\r\n dineIn: [],\r\n mealList: null,\r\n isCheckTerms: false,\r\n needPopupSetting: {\r\n toggle: false,\r\n needName: \"\",\r\n subArray: [],\r\n needId: null,\r\n },\r\n extraDataList: [],\r\n extraDataAnsList: []\r\n });\r\n const [refreshPage, setRefreshPage] = useState(false);\r\n const [tempToggle, setTempToggle] = useState(false);\r\n const [isExtraCheck, setIsExtraCheck] = useState(false);\r\n const [isOrderDisable, setIsOrderDisable] = useState(false);\r\n const [isSentOrder, setIsSentOrder] = useState(false);\r\n const [isExtraError, setIsExtraError] = useState(false);\r\n const extraNeedListRef = useRef(null);\r\n const [isNeedStaffCheckModel, setIsNeedStaffCheckModel] = useState(false);\r\n const [needStaffCheckID, setneedStaffCheckID] = useState(0);\r\n\r\n // 區隔takeout & dineIn\r\n function splitDineType(data) {\r\n data = _.cloneDeep(data);\r\n // 外帶\r\n let takeout = data.reduce((currProduct, itemProduct) => {\r\n itemProduct = {\r\n ...itemProduct,\r\n specification: itemProduct.specification.reduce(\r\n (currSpec, itemSpec) => {\r\n // 只取特性為[外帶]的組合\r\n itemSpec = {\r\n ...itemSpec,\r\n combination: itemSpec.combination.filter((f) => f.takeout),\r\n };\r\n // 此組合都沒有[外帶]特性時\r\n if (itemSpec.combination.length <= 0) {\r\n // 找出此組合在此的index標號\r\n // let findIndex = itemProduct.specification.findIndex(f=>f.id === itemSpec.id)\r\n // 刪除此規格下index標號的規格\r\n // itemProduct.specification.splice(findIndex, 1);\r\n return [...currSpec];\r\n } else {\r\n return [...currSpec, itemSpec];\r\n }\r\n },\r\n []\r\n ),\r\n };\r\n if (itemProduct.specification.length <= 0) {\r\n return [...currProduct];\r\n } else {\r\n return [...currProduct, itemProduct];\r\n }\r\n }, []);\r\n // 內用\r\n // console.log(data);\r\n let dineIn = data.reduce((currProduct, itemProduct) => {\r\n itemProduct = {\r\n ...itemProduct,\r\n specification: itemProduct.specification.reduce(\r\n (currSpec, itemSpec) => {\r\n // 只取特性為[內用]的組合\r\n itemSpec = {\r\n ...itemSpec,\r\n combination: itemSpec.combination.filter((f) => !f.takeout),\r\n };\r\n // console.log(itemSpec.combination);\r\n // 此組合都沒有[內用]特性時\r\n // console.log(itemSpec);\r\n if (itemSpec.combination.length <= 0) {\r\n // 找出此組合在此的index標號\r\n // let findIndex = itemProduct.specification.findIndex(f=>f.id === itemSpec.id)\r\n // 刪除此規格下index標號的規格\r\n // itemProduct.specification.splice(findIndex, 1);\r\n return [...currSpec];\r\n } else {\r\n return [...currSpec, itemSpec];\r\n }\r\n },\r\n []\r\n ),\r\n };\r\n if (itemProduct.specification.length <= 0) {\r\n return [...currProduct];\r\n } else {\r\n return [...currProduct, itemProduct];\r\n }\r\n }, []);\r\n // console.log('takeout', takeout);\r\n // console.log('dineIn', dineIn);\r\n return { takeout: takeout, dineIn: dineIn };\r\n }\r\n // 計算餐點數量&總金額(餐點單價*數量 + 特口價格*數量)\r\n const handleTotalPrice = useMemo(() => {\r\n const takeoutTotals = calcTotal(state.takeout);\r\n const dineInTotals = calcTotal(state.dineIn);\r\n const totalQuantity = state.takeout.length + state.dineIn.length;\r\n return {\r\n totalMealQuantity: totalQuantity,\r\n dineInTotalPrice: dineInTotals.total,\r\n dineInSpecPrice: dineInTotals.tasteTotal,\r\n takeoutInTotalPrice: takeoutTotals.total,\r\n takeoutInSpecPrice: takeoutTotals.tasteTotal,\r\n };\r\n }, [state.dineIn, state.takeout]);\r\n // 四捨五入至小數點第n位\r\n const formatNumber = (value, pos) => {\r\n const float = Math.pow(10, pos);\r\n return (Math.round(value * float) / float).toFixed(pos);\r\n };\r\n\r\n // 檢查是否有售畢商品\r\n function haveSoldOut(mealList) {\r\n return mealList.find((eachMeal) => {\r\n return eachMeal.specification.some((eachSpec) => {\r\n // 狀態是售畢\r\n return (\r\n eachSpec.status === 3 &&\r\n eachSpec.combination.some((eachCombi) => {\r\n // 且數量不為零\r\n return eachCombi.quantity > 0;\r\n })\r\n );\r\n });\r\n });\r\n }\r\n\r\n // 處理要回傳的資料格式\r\n function handlePostOrder(data) {\r\n let outputFormat = data.map((eachProduct) => ({\r\n id: eachProduct.id,\r\n specification: eachProduct.specification.map((eachSpec) => ({\r\n id: eachSpec.id,\r\n status: eachSpec.status,\r\n combination: eachSpec.combination.map((eachCombi) => ({\r\n ...eachCombi,\r\n })),\r\n })),\r\n }));\r\n // 照id排序\r\n outputFormat.sort((a, b) => {\r\n return a.id > b.id ? 1 : -1;\r\n });\r\n return outputFormat;\r\n }\r\n // 取得該店全部餐點\r\n async function apiAllProduct(langId, storeId) {\r\n const backToStep3 = () => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n currentQrStep: \"1\",\r\n },\r\n },\r\n ],\r\n });\r\n };\r\n try {\r\n const waittingAlert = AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n showConfirmBtn: false,\r\n });\r\n const res = await getBranchProduct(langId, storeId);\r\n AsyncModelClose();\r\n const { errCode, productList } = res.data;\r\n if (errCode == 200) {\r\n // 餐點總攬\r\n let _mealList = productList.map((e) => {\r\n let type = e.id;\r\n let typeName = e.name;\r\n let newArr = e.product.map((_product) => ({\r\n type: type,\r\n typeName: typeName,\r\n title: _product.name,\r\n description: _product.description,\r\n ..._product,\r\n }));\r\n return newArr;\r\n });\r\n _mealList = _.flatten(_mealList);\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [{ key: \"mealList\", val: _mealList }],\r\n });\r\n } else {\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${errCode}`],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n if (Alert) return backToStep3();\r\n }\r\n } catch {\r\n console.error(\"AllProduct error.\");\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${407}`],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n if (Alert) return backToStep3();\r\n }\r\n }\r\n async function apiGetTempOrderDetail(\r\n tempOrderGroupID,\r\n languageID,\r\n storeID,\r\n createAt,\r\n tableNo\r\n ) {\r\n let res;\r\n try {\r\n res = await GetTempOrderDetail(\r\n tempOrderGroupID,\r\n languageID,\r\n storeID,\r\n createAt,\r\n tableNo\r\n );\r\n } catch (err) {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: 405 }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n\r\n let { errCode } = res.data;\r\n if (res && (errCode === 200 || errCode === 414)) {\r\n return res.data;\r\n } else {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [{ key: \"errMsg\", val: errCode }],\r\n });\r\n props.history.push(\"/error\");\r\n }\r\n }\r\n\r\n\r\n async function GetTempOrder(tempOrderGroupID) {\r\n\r\n const res = await apiGetTempOrderDetail(\r\n tempOrderGroupID,\r\n langStringToCode(globalState.langType),\r\n globalState.customer.orderInfo.selectedBranch.branchCode,\r\n moment().format('YYYY/MM/DD'),\r\n globalState.customer.orderInfo.tableNo\r\n );\r\n if (res.errCode === 414) {\r\n TimeOutRemove();\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`pages.takeOrder.AddOrderMsg`],\r\n confirmBtnText: globalState.langFile['pages.takeOrder.step5.buttonDetail']\r\n });\r\n //AsyncModelClose();\r\n\r\n if (Alert) {\r\n props.history.push(`/showOrderDetail?orderCode=${globalState.customer.orderInfo.mainOrderCode}&storeID=${String(globalState.customer.orderInfo.selectedBranch.branchCode)}&createAt=${moment().format('YYYY/MM/DD')}`);\r\n }\r\n }\r\n else {\r\n let { dineIn, takeout } = res.productList;\r\n let deepCopy = [];\r\n dineIn.map(e => {\r\n let productIndex = deepCopy.findIndex(f => f.id === e.id);\r\n if (productIndex > -1) {\r\n const Data = e.specification[0];\r\n deepCopy[productIndex].specification.push(Data);\r\n }\r\n else {\r\n deepCopy.push(e);\r\n }\r\n })\r\n\r\n takeout.map(e => {\r\n let productIndex = deepCopy.findIndex(f => f.id === e.id);\r\n if (productIndex > -1) {\r\n console.log(e.id, e.specification)\r\n e.specification.map(x => {\r\n let deepData = deepCopy[productIndex].specification.filter(e => { return e.id === x.id });\r\n if (deepData.length > 0) {\r\n //console.log(\"deepData\", deepData[0].combination)\r\n // console.log(\"Data.combination\", Data.combination)\r\n x.combination.map(y => {\r\n\r\n deepData[0].combination.push(y);\r\n })\r\n } else {\r\n deepCopy[productIndex].specification.push(x);\r\n }\r\n\r\n })\r\n //const Data = e.specification[0];\r\n\r\n deepCopy[productIndex].takeoutTaste = e.takeoutTaste;\r\n }\r\n else {\r\n deepCopy.push(e);\r\n }\r\n })\r\n \r\n TimeOutSet(OrderTemp);\r\n return deepCopy;\r\n }\r\n }\r\n const OrderTemp = async () => {\r\n const deepCopy = await GetTempOrder(globalState.customer.orderInfo.tempOrderGroupID);\r\n const { mealOrderDetail } = globalState.customer;\r\n await dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n mealDetail: '',\r\n mealOrderDetail: deepCopy,\r\n orderDetail: {\r\n totalMealQuantity: mealOrderDetail.length,\r\n ...handleTotalPrice\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n \r\n // 翻譯訂單資訊\r\n async function apiTranslateOrder() {\r\n const backToStep3 = () => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n currentQrStep: \"1\",\r\n },\r\n },\r\n {\r\n key:\"selectedExtra\",\r\n val: {\r\n selectedExtraQ: {},\r\n selectedExtraA: []\r\n } \r\n },\r\n ],\r\n });\r\n };\r\n try {\r\n let bAdd = false;\r\n const { orderInfo, mealOrderDetail } = globalState.customer;\r\n let dineIn;\r\n let takeout;\r\n if (globalState.ordermode === \"addorder\") { \r\n const result = await apiGetTempOrderDetail(\r\n orderInfo.tempOrderGroupID,\r\n langStringToCode(globalState.langType),\r\n globalState.customer.orderInfo.selectedBranch.branchCode,\r\n moment().format(\"YYYY/MM/DD\"),\r\n globalState.customer.orderInfo.tableNo\r\n );\r\n\r\n if (result.errCode === 200) {\r\n bAdd = true;\r\n dineIn = result.productList.dineIn;\r\n takeout = result.productList.takeout;\r\n\r\n const extraDataList = result.productList.extraDataList;\r\n console.log(\"extraDataList\", extraDataList);\r\n console.log('aaaaa')\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n { key: \"takeout\", val: takeout },\r\n { key: \"dineIn\", val: dineIn },\r\n { key: \"extraDataList\", val: extraDataList },\r\n ],\r\n });\r\n console.log('cccc')\r\n //更新附加需求顯示\r\n let selectedId = null;\r\n extraDataList.map((item) => {\r\n item.extraOptionList.map((option) => {\r\n if (option.selectedMode === 1 && selectedId === null) {\r\n // Check if selectedId is not already set\r\n selectedId = option.id; // Set selectedId when a match is found\r\n }\r\n });\r\n return null; // Returning null since you're not using the array generated by map\r\n });\r\n setneedStaffCheckID(selectedId);\r\n await OrderTemp()\r\n } else if (result.errCode === 414) {\r\n TimeOutRemove();\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`pages.takeOrder.AddOrderMsg`],\r\n confirmBtnText:\r\n globalState.langFile[\"pages.takeOrder.step5.buttonDetail\"],\r\n });\r\n\r\n if (Alert) {\r\n props.history.push(\r\n `/showOrderDetail?orderCode=${\r\n globalState.customer.orderInfo.mainOrderCode\r\n }&storeID=${String(\r\n globalState.customer.orderInfo.selectedBranch.branchCode\r\n )}&createAt=${moment().format(\"YYYY/MM/DD\")}`\r\n );\r\n }\r\n }\r\n } else {\r\n dineIn = splitDineType(mealOrderDetail).dineIn;\r\n takeout = splitDineType(mealOrderDetail).takeout;\r\n\r\n const res = await postTranslationOrder({\r\n queueNumber: orderInfo.queueNumber,\r\n queueCode: orderInfo.queueCode,\r\n countryID: orderInfo.country,\r\n storeID: orderInfo.selectedBranch.branchCode,\r\n adultsCount: orderInfo.numberOfAdult,\r\n childCount: orderInfo.numberOfChild,\r\n languageID: langStringToCode(globalState.langType),\r\n dineIn: dineIn ? handlePostOrder(dineIn) : [],\r\n takeout: takeout ? handlePostOrder(takeout) : [],\r\n });\r\n\r\n const { errCode, translation } = res.data;\r\n if (errCode == 200) {\r\n let extraAns = [];\r\n if(translation.extraDataList.length != 0){\r\n if(globalState.selectedExtra.selectedExtraA){\r\n let questions = translation.extraDataList.map(x=>x.id); \r\n console.debug(questions);\r\n extraAns = globalState.selectedExtra.selectedExtraA.filter(x=> questions.includes(x.qusetionId));\r\n }\r\n } \r\n console.debug(extraAns);\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n // mealOrderDetail: updateMealOrderDetail(productList),\r\n orderDetail: {\r\n totalMealQuantity: handleTotalPrice.totalMealQuantity,\r\n dineInTotalPrice: handleTotalPrice.dineInTotalPrice,\r\n dineInSpecPrice: handleTotalPrice.dineInSpecPrice,\r\n takeoutInTotalPrice: handleTotalPrice.takeoutInTotalPrice,\r\n takeoutInSpecPrice: handleTotalPrice.takeoutInSpecPrice,\r\n },\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n countryName:translation.countryName,\r\n selectedBranch: {\r\n ...globalState.customer.orderInfo.selectedBranch,\r\n branchName: translation.storeName,\r\n },\r\n },\r\n selectedExtraA: extraAns\r\n },\r\n },\r\n {\r\n key:\"selectedExtra\",\r\n val: { \r\n selectedExtraQ: {},\r\n selectedExtraA: extraAns \r\n } \r\n },\r\n ],\r\n });\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n { key: \"takeout\", val: translation.takeout },\r\n { key: \"dineIn\", val: translation.dineIn },\r\n { key: \"extraDataList\", val: translation.extraDataList },\r\n ],\r\n });\r\n } else {\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${errCode}`],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n\r\n if (Alert) {\r\n return backToStep3();\r\n }\r\n }\r\n }\r\n // dispatch({\r\n // type: 'UPDATE_STATE',\r\n // payload: [\r\n // { key: 'takeout', val: takeout },\r\n // { key: 'dineIn', val: dineIn }\r\n // ]\r\n // });\r\n\r\n if (bAdd) {\r\n TimeOutSet(apiTranslateOrder);\r\n //IntervalAsync();\r\n }\r\n } catch (err) {\r\n console.error(\"TranslateOrder error.\");\r\n const Alert = await AsyncModel({\r\n title: globalState.langFile[`errorMsg.errorCode_${408}`],\r\n confirmBtnText: globalState.langFile[\"popup.buttonConfirm\"],\r\n });\r\n\r\n if (Alert) {\r\n return backToStep3();\r\n }\r\n }\r\n }\r\n // 建立訂單\r\n async function apiCreateOrder() {\r\n setIsOrderDisable(true);\r\n try {\r\n let res;\r\n const { orderInfo, mealOrderDetail, orderDetail, QRCodeID } =\r\n globalState.customer;\r\n const dineIn = splitDineType(mealOrderDetail).dineIn;\r\n const takeout = splitDineType(mealOrderDetail).takeout;\r\n const checkDineIn = handlePostOrder(dineIn);\r\n const orderExtra = getExtraSelected();\r\n const orderExtraNew = String(checkIsNeedStaff());\r\n\r\n if (globalState.ordermode === \"addorder\") {\r\n console.log(\"orderExtra\", orderExtra, \"orderExtraNew\", orderExtraNew);\r\n res = await postCreateAddOrder({\r\n queueNumber: orderInfo.queueNumber,\r\n queueCode: orderInfo.queueCode,\r\n countryID: orderInfo.country,\r\n storeID: orderInfo.selectedBranch.branchCode,\r\n adultsCount: orderInfo.numberOfAdult,\r\n childCount: orderInfo.numberOfChild,\r\n languageID: langStringToCode(globalState.langType),\r\n userEmail: globalState.customer.emailAddress || \"\",\r\n mainOrderCode: globalState.customer.orderInfo.mainOrderCode, //加點模式要傳\r\n posCode: globalState.customer.orderInfo.posCode, //加點模式要傳\r\n tableNo: globalState.customer.orderInfo.tableNo, //加點模式要傳\r\n tempOrderGroupID: globalState.customer.orderInfo.tempOrderGroupID, //加點模式要傳\r\n dineIn: handlePostOrder(dineIn),\r\n takeout: handlePostOrder(takeout),\r\n totalPrice:\r\n orderDetail.dineInTotalPrice + orderDetail.takeoutInTotalPrice,\r\n QRCodeID,\r\n // orderExtraList: [orderExtraNew],\r\n orderExtraList: globalState.selectedExtra.selectedExtraA,\r\n });\r\n } else {\r\n res = await postCreateOrder({\r\n queueNumber: orderInfo.queueNumber,\r\n queueCode: orderInfo.queueCode,\r\n countryID: orderInfo.country,\r\n storeID: orderInfo.selectedBranch.branchCode,\r\n adultsCount: orderInfo.numberOfAdult,\r\n childCount: orderInfo.numberOfChild,\r\n languageID: langStringToCode(globalState.langType),\r\n userEmail: globalState.customer.emailAddress || \"\",\r\n dineIn: handlePostOrder(dineIn),\r\n takeout: handlePostOrder(takeout),\r\n totalPrice:\r\n orderDetail.dineInTotalPrice + orderDetail.takeoutInTotalPrice,\r\n QRCodeID,\r\n // orderExtraList: orderExtra,\r\n orderExtraList: globalState.selectedExtra.selectedExtraA,\r\n startOrderTime: orderInfo.orderTime,\r\n });\r\n }\r\n\r\n const { orderCode, errorMessage } = res.data.order;\r\n const { errCode } = res.data;\r\n\r\n // AsyncModelClose();\r\n if (errCode === 200) {\r\n AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n footerMsg: globalState.langFile[\"pages.takeOrder.loading\"],\r\n showConfirmBtn: false,\r\n });\r\n \r\n AsyncModelClose();\r\n TimeOutRemove();\r\n\r\n return orderCode;\r\n } else {\r\n // 商品售畢,僅返回前一頁,測報168,錯誤訊息\r\n if (errCode === 5001) {\r\n onError({\r\n errCode,\r\n errMessage: errorMessage,\r\n onBack: () => {\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"4\",\r\n currentQrStep: \"2\",\r\n },\r\n },\r\n ],\r\n });\r\n },\r\n });\r\n\r\n TimeOutRemove();\r\n return;\r\n }\r\n if (errCode === 5002) {\r\n const items = errorMessage.split(\"%\").slice(0);\r\n\r\n await AsyncModel({\r\n title: globalState.langFile[\"erroMsg.erroeCode_5002\"],\r\n content: (\r\n
\r\n {items.map((item, index) => (\r\n
\r\n {\" \"}\r\n {item}\r\n
\r\n ))}\r\n
\r\n ),\r\n showConfirmBtn: true,\r\n });\r\n\r\n setRefreshPage(!refreshPage);\r\n TimeOutRemove();\r\n\r\n return;\r\n }\r\n if (errCode === 4601) {\r\n await AsyncModel({\r\n title: globalState.langFile[\"errorMsg.errorCode_4601.header\"],\r\n msg: errorMessage,\r\n content: (\r\n
\r\n \r\n {globalState.langFile[\"errorMsg.errorCode_4601.footer\"]}\r\n \r\n
\r\n ),\r\n showConfirmBtn: true,\r\n });\r\n\r\n setIsExtraCheck(true); \r\n await scrollToExtraNeedList();\r\n\r\n } else {\r\n onError({\r\n errCode,\r\n errMessage: errorMessage,\r\n onBack: () => {\r\n dispatchGlobal({\r\n type: \"RESET\",\r\n });\r\n },\r\n });\r\n }\r\n }\r\n } catch (err) {\r\n console.error(\"CreateOrder error.\");\r\n onError({\r\n errCode: 409,\r\n onBack: () => {\r\n dispatchGlobal({\r\n type: \"RESET\",\r\n });\r\n },\r\n });\r\n } finally {\r\n setIsOrderDisable(false);\r\n }\r\n }\r\n async function sentOrder() {\r\n let getOrderCode = await apiCreateOrder();\r\n if (getOrderCode) {\r\n let productList = [];\r\n globalState.customer.mealOrderDetail.map((eachProduct) => {\r\n eachProduct.specification.map((eachSpec) => {\r\n eachSpec.combination.map((eachCombi) => {\r\n productList.push({\r\n name: `${eachProduct.name}${\r\n eachSpec.name ? ` ${eachSpec.name}` : \"\"\r\n }`,\r\n id: String(eachSpec.id),\r\n price: formatNumber(eachSpec.price, 2),\r\n category: eachProduct.categoryName,\r\n variant: eachCombi.takeout ? \"Takeout\" : \"DineIn\",\r\n quantity: eachCombi.quantity,\r\n });\r\n });\r\n });\r\n });\r\n\r\n window.dataLayer = window.dataLayer || [];\r\n window.dataLayer.push({\r\n event: \"purchase\",\r\n ecommerce: {\r\n purchase: {\r\n actionField: {\r\n id: getOrderCode,\r\n revenue: formatNumber(\r\n (handleTotalPrice.dineInSpecPrice +\r\n handleTotalPrice.dineInTotalPrice) *\r\n 1.1 +\r\n handleTotalPrice.takeoutInSpecPrice +\r\n handleTotalPrice.takeoutInTotalPrice,\r\n 2\r\n ),\r\n tax: formatNumber(\r\n (handleTotalPrice.dineInSpecPrice +\r\n handleTotalPrice.dineInTotalPrice) *\r\n 0.1,\r\n 2\r\n ),\r\n step: 3,\r\n },\r\n // 'currencyCode': 'NTD',\r\n products: productList,\r\n },\r\n },\r\n });\r\n\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"5\",\r\n currentQrStep: \"3\",\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n orderCode: getOrderCode,\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n }\r\n //\r\n useEffect(() => {\r\n let langCode = langStringToCode(globalState.langType);\r\n let storeCode = globalState.customer.orderInfo.selectedBranch.branchCode;\r\n\r\n apiAllProduct(langCode, storeCode);\r\n apiTranslateOrder();\r\n }, [globalState.langType]);\r\n\r\n //useEffect(() => {\r\n // async function handler() {\r\n // apiTranslateOrder();\r\n // //TimeOutSet(apiTranslateOrder, 3000);\r\n // }\r\n // handler();\r\n //}, [globalState.langType, refreshPage]);\r\n\r\n //useEffect(() =>{\r\n // TimeOutSet(apiTranslateOrder);\r\n //});\r\n \r\n //const IntervalAsync = () => {\r\n // TimeOutSet(apiTranslateOrder, 3000);\r\n //};\r\n\r\n // 取消選擇整個附加條件題目\r\n async function removeExtraSelected(removeExtraIDs) {\r\n //讀global的\r\n const updatedExtraDataList =\r\n globalState.customer.orderInfo.extraDataList.filter(\r\n (item) => item.extraId !== removeExtraIDs\r\n );\r\n\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n extraDataList: updatedExtraDataList,\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n const updateDelete = updatedExtraDataList.flatMap(\r\n (item) => item.selectedItemIDs\r\n );\r\n }\r\n // 加點取消選擇整個附加條件題目\r\n async function removeAddOrderExtraSelected(removeExtraIDs) {\r\n //加點從api的回傳打資料\r\n const previousSelected = state.extraDataList\r\n .flatMap((group) => {\r\n const selectedItems = group.extraOptionList.filter(\r\n (item) => item.selectedMode === 1\r\n );\r\n if (selectedItems.length > 0) {\r\n return {\r\n extraId: group.id,\r\n selectedItemIDs: selectedItems.map((item) => item.id),\r\n };\r\n }\r\n return null;\r\n })\r\n .filter(Boolean);\r\n\r\n const updatedExtraDataList = previousSelected.filter(\r\n (item) => item.extraId !== removeExtraIDs\r\n );\r\n //讀global的\r\n // const updatedExtraDataList =\r\n // globalState.customer.orderInfo.extraDataList.filter(\r\n // (item) => item.extraId !== removeExtraIDs\r\n // );\r\n\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n extraDataList: updatedExtraDataList,\r\n },\r\n },\r\n },\r\n ],\r\n });\r\n const updateDelete = updatedExtraDataList.flatMap(\r\n (item) => item.selectedItemIDs\r\n );\r\n\r\n // 為了加點要再跑一次\r\n const { mealOrderDetail } = globalState.customer;\r\n const dineIn = splitDineType(mealOrderDetail).dineIn;\r\n const takeout = splitDineType(mealOrderDetail).takeout;\r\n\r\n if (globalState.ordermode === \"addorder\") {\r\n const mainOrderCode = globalState.customer.orderInfo.mainOrderCode;\r\n\r\n try {\r\n await saveTempOrder({\r\n isNew: false,\r\n queueNumber: globalState.customer.orderInfo.queueNumber,\r\n queueCode: globalState.customer.orderInfo.queueCode,\r\n countryID: globalState.customer.orderInfo.country,\r\n storeID: globalState.customer.orderInfo.selectedBranch.branchCode,\r\n adultsCount: globalState.customer.orderInfo.numberOfAdult,\r\n childCount: globalState.customer.orderInfo.numberOfChild,\r\n userEmail: null,\r\n totalPrice: 0,\r\n waiterID: null,\r\n languageID: 1,\r\n QRCodeID: null,\r\n tempOrderID: globalState.customer.orderInfo.tempOrderID,\r\n tempOrderGroupID: globalState.customer.orderInfo.tempOrderGroupID,\r\n mainOrderCode: globalState.customer.orderInfo.mainOrderCode, //加點模式要傳\r\n posCode: globalState.customer.orderInfo.posCode, //加點模式要傳\r\n tableNo: globalState.customer.orderInfo.tableNo, //加點模式要傳\r\n dineIn: dineIn,\r\n takeout: takeout,\r\n temp: \"temp\" + globalState.customer.currentStep,\r\n orderExtraList: updateDelete,\r\n }).then(() => {\r\n apiTranslateOrder();\r\n });\r\n // dispatch({\r\n // type: \"UPDATE_STATE\",\r\n // payload: [\r\n // {\r\n // key: \"extraDataList\",\r\n // val: updatedExtraDataList,\r\n // },\r\n // ],\r\n // });\r\n } catch (err) {}\r\n }\r\n }\r\n //新 判斷附加需求\r\n function checkIsNeedStaff() {\r\n const selectedItem = state.extraDataList.find(\r\n (menuItem) => menuItem.selected === 1\r\n );\r\n if (selectedItem) {\r\n const selectedExtraOption = selectedItem.extraOptionList.find(\r\n (extraOption) => extraOption.selectedMode === 1\r\n );\r\n return selectedExtraOption ? selectedExtraOption.id : null;\r\n }\r\n return null;\r\n }\r\n\r\n function getExtraSelected() {\r\n //把附加選項併一併\r\n if (globalState.customer.orderInfo.extraDataList) {\r\n const combinedSelectedItems =\r\n globalState.customer.orderInfo.extraDataList.flatMap(\r\n (item) => item.selectedItemIDs\r\n );\r\n\r\n return combinedSelectedItems;\r\n // console.log(\"combinedSelectedItems \",combinedSelectedItems)\r\n }\r\n }\r\n // 加點的附加選項\r\n async function updateAddOrderExtra(orderExtra) {\r\n const { orderInfo, mealOrderDetail, orderDetail, QRCodeID } =\r\n globalState.customer;\r\n const dineIn = splitDineType(mealOrderDetail).dineIn;\r\n const takeout = splitDineType(mealOrderDetail).takeout;\r\n\r\n await saveTempOrder({\r\n isNew: false,\r\n queueNumber: globalState.customer.orderInfo.queueNumber,\r\n queueCode: globalState.customer.orderInfo.queueCode,\r\n countryID: globalState.customer.orderInfo.country,\r\n storeID: globalState.customer.orderInfo.selectedBranch.branchCode,\r\n adultsCount: globalState.customer.orderInfo.numberOfAdult,\r\n childCount: globalState.customer.orderInfo.numberOfChild,\r\n userEmail: null,\r\n totalPrice: 0,\r\n waiterID: null,\r\n languageID: 1,\r\n QRCodeID: null,\r\n tempOrderID: globalState.customer.orderInfo.tempOrderID,\r\n tempOrderGroupID: globalState.customer.orderInfo.tempOrderGroupID,\r\n mainOrderCode: globalState.customer.orderInfo.mainOrderCode, //加點模式要傳\r\n posCode: globalState.customer.orderInfo.posCode, //加點模式要傳\r\n tableNo: globalState.customer.orderInfo.tableNo, //加點模式要傳\r\n dineIn: dineIn,\r\n takeout: takeout,\r\n temp: \"temp\" + globalState.customer.currentStep,\r\n orderExtraList: [orderExtra],\r\n });\r\n }\r\n\r\n /*\r\n useEffect(() => {\r\n apiTranslateOrder();\r\n }, [state.bUpdate]);\r\n */\r\n // Function to scroll to the position of the Tool_extraNeedList\r\n const scrollToExtraNeedList = async () => {\r\n if (extraNeedListRef.current) {\r\n extraNeedListRef.current.scrollIntoView({ behavior: \"smooth\" });\r\n }\r\n };\r\n\r\n state.otherNeed = [];\r\n\r\n if (!state.mealList) {\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n {globalState.ordermode === \"addorder\" ? (\r\n
\r\n
\r\n
\r\n

\r\n {globalState.customer.orderInfo.tableNo}\r\n {globalState.langFile[\"header.menuItems.tableorder\"]}\r\n

\r\n \r\n {globalState.langFile[\"header.menuItems.serialnumber\"]}\r\n {globalState.customer.orderInfo.posCode}\r\n \r\n
\r\n
\r\n
\r\n ) : null}\r\n {!globalState.customer.QRCodeID &&\r\n globalState.ordermode !== \"addorder\" ? (\r\n
\r\n
\r\n
\r\n \r\n \r\n {/* {globalState.customer.orderInfo.selectedBranch.branchName} */}\r\n \r\n \r\n {globalState.customer.orderInfo.numberOfAdult}\r\n \r\n \r\n \r\n {globalState.customer.orderInfo.numberOfChild}\r\n \r\n \r\n {/*\r\n {globalState.customer.orderInfo.countryName}\r\n */}\r\n
\r\n
\r\n \r\n \r\n {globalState.customer.orderInfo.queueNumber}\r\n \r\n
\r\n
\r\n \r\n \r\n {globalState.customer.orderInfo.queueCode}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {globalState.customer.orderInfo.orderTime}\r\n \r\n
\r\n
\r\n
\r\n ) : null}\r\n {/* 內用列表 */}\r\n
\r\n {state.dineIn.length > 0 ? (\r\n state.dineIn.map((eachProduct, eachProductIndex) => (\r\n // {\r\n // TimeOutRemove();\r\n // let findProduct = state.mealList.find(\r\n // (e) => e.id === eachProduct.id\r\n // );\r\n // dispatchGlobal({\r\n // type: \"UPDATE\",\r\n // payload: [\r\n // {\r\n // key: \"customer\",\r\n // val: {\r\n // ...globalState.customer,\r\n // currentStep: \"3.1\",\r\n // currentQrStep: \"1.1\",\r\n // isFromOrderDetail: true,\r\n // mealDetail: findProduct,\r\n // },\r\n // },\r\n // ],\r\n // });\r\n // }}\r\n ///>\r\n
\r\n {\r\n TimeOutRemove();\r\n let findProduct = state.mealList.find(\r\n (e) => e.id === eachProduct.id\r\n );\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3.1\",\r\n currentQrStep: \"1.1\",\r\n isFromOrderDetail: true,\r\n mealDetail: findProduct,\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n />\r\n
\r\n ))\r\n ) : (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n\r\n {/* 外帶列表 */}\r\n
\r\n {(() => {\r\n if (state.takeout.length <= 0) return null;\r\n return (\r\n <>\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {state.takeout.map((eachProduct, eachProductIndex) => ( \r\n
\r\n {\r\n TimeOutRemove();\r\n let findProduct = state.mealList.find(\r\n (e) => e.id === eachProduct.id\r\n );\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3.1\",\r\n currentQrStep: \"1.1\",\r\n isFromOrderDetail: true,\r\n mealDetail: findProduct,\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n />\r\n
\r\n ))}\r\n \r\n );\r\n })()}\r\n
\r\n {/* 其他需求 */}\r\n
\r\n {state.extraDataList.length > 0 ? (\r\n <>\r\n
\r\n {(() => {\r\n // if (state.otherNeed.length <= 0) return null;\r\n return (\r\n <>\r\n {/* 附加需求大分類標題之後有多個題目再加上去 */}\r\n
\r\n
\r\n

\r\n {\" \"}\r\n \r\n

\r\n
\r\n
\r\n \r\n );\r\n })()}\r\n
\r\n {state.extraDataList.map((eachExraNeed, eachExraNeedIndex) => (\r\n {\r\n dispatch({\r\n type: \"UPDATE_STATE\",\r\n payload: [\r\n {\r\n key: \"needPopupSetting\",\r\n val: newCurrModify,\r\n },\r\n ],\r\n });\r\n }}\r\n removeExtraSelected={removeExtraSelected}\r\n removeAddOrderExtraSelected={removeAddOrderExtraSelected}\r\n isExtraCheck={isExtraCheck}\r\n setIsExtraCheck={setIsExtraCheck}\r\n setIsSentOrder={setIsSentOrder}\r\n setIsNeedStaffCheckModel={setIsNeedStaffCheckModel}\r\n setselectedExtra = {()=>{\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"selectedExtra\",\r\n val: {\r\n ...globalState.selectedExtra,\r\n selectedExtraQ:eachExraNeed,\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n needStaffCheckID={needStaffCheckID}\r\n />\r\n ))}\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n {/* 價格 */}\r\n
\r\n
\r\n {/* 合計 */}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n $\r\n {formatNumber(\r\n handleTotalPrice.dineInSpecPrice +\r\n handleTotalPrice.dineInTotalPrice +\r\n handleTotalPrice.takeoutInSpecPrice +\r\n handleTotalPrice.takeoutInTotalPrice,\r\n 2\r\n )}\r\n
\r\n
\r\n
\r\n {/* 服務費 */}\r\n
\r\n
\r\n \r\n
\r\n \r\n (10%)\r\n
\r\n \r\n $\r\n {formatNumber(\r\n (handleTotalPrice.dineInSpecPrice +\r\n handleTotalPrice.dineInTotalPrice) *\r\n 0.1,\r\n 2\r\n )}\r\n
\r\n \r\n \r\n {/* 總計 */}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n $\r\n {formatNumber(\r\n (handleTotalPrice.dineInSpecPrice +\r\n handleTotalPrice.dineInTotalPrice) *\r\n 1.1 +\r\n handleTotalPrice.takeoutInSpecPrice +\r\n handleTotalPrice.takeoutInTotalPrice,\r\n 2\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {globalState.ordermode === \"addorder\" ? (\r\n

\r\n \r\n

\r\n ) : null}\r\n \r\n {\r\n event.stopPropagation();\r\n window.open(`${window.location.href}termsOfUse`, \"_blank\");\r\n }}\r\n children={\r\n \r\n }\r\n />\r\n \r\n {\r\n event.stopPropagation();\r\n window.open(`${window.location.href}privacyPolicy`, \"_blank\");\r\n }}\r\n children={\r\n \r\n }\r\n />\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n }\r\n onChange={() => {\r\n dispatch({\r\n type: \"UPDATE_CHECK_TERMS\",\r\n payload: [{ key: \"isCheckTerms\" }],\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n }\r\n onClick={async () => {\r\n TimeOutRemove();\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"customer\",\r\n val: {\r\n ...globalState.customer,\r\n currentStep: \"3\",\r\n currentQrStep: \"1\",\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n />\r\n {\r\n const { mealOrderDetail } = globalState.customer;\r\n const parseDineIn = handlePostOrder(\r\n splitDineType(mealOrderDetail).dineIn\r\n );\r\n const parseTakeout = handlePostOrder(\r\n splitDineType(mealOrderDetail).takeout\r\n );\r\n return (\r\n (parseDineIn.length <= 0 && parseTakeout.length <= 0) ||\r\n haveSoldOut(state.dineIn) ||\r\n haveSoldOut(state.takeout)\r\n );\r\n })()\r\n }\r\n children={\r\n {\r\n const { mealOrderDetail } = globalState.customer;\r\n const parseDineIn = handlePostOrder(\r\n splitDineType(mealOrderDetail).dineIn\r\n );\r\n const parseTakeout = handlePostOrder(\r\n splitDineType(mealOrderDetail).takeout\r\n );\r\n const result =\r\n haveSoldOut(state.dineIn) || haveSoldOut(state.takeout)\r\n ? \"buttonHaveSoldOut\"\r\n : !state.isCheckTerms ||\r\n (parseDineIn.length <= 0 && parseTakeout.length <= 0)\r\n ? \"buttonDisabled\"\r\n : \"buttonSave\";\r\n return `pages.takeOrder.step4.${result}`;\r\n })()}\r\n />\r\n }\r\n onClick={async () => {\r\n if(!globalState.selectedExtra.selectedExtraA || globalState.selectedExtra.selectedExtraA.length < 0){\r\n let first = state.extraDataList.filter(x=>x.selected === 1)[0];\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"selectedExtra\",\r\n val: {\r\n ...globalState.selectedExtra,\r\n selectedExtraQ:first\r\n },\r\n },\r\n ],\r\n });\r\n setIsSentOrder(true);\r\n setIsNeedStaffCheckModel(true);\r\n }\r\n else if(state.extraDataList.filter(x=>x.selected === 1).length !==globalState.selectedExtra.selectedExtraA.length){\r\n let first = state.extraDataList.filter(x=>x.selected === 1 && !globalState.selectedExtra.selectedExtraA.some(y=>y.qusetionId === x.id))[0];\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"selectedExtra\",\r\n val: {\r\n ...globalState.selectedExtra,\r\n selectedExtraQ:first\r\n },\r\n },\r\n ],\r\n });\r\n setIsSentOrder(true);\r\n setIsNeedStaffCheckModel(true); \r\n }\r\n else{\r\n await sentOrder();\r\n }\r\n }}\r\n />\r\n
\r\n\r\n {isNeedStaffCheckModel == true ? (\r\n { \r\n let ans = globalState.selectedExtra.selectedExtraA;\r\n\r\n if(!ans){ \r\n ans = [];\r\n }\r\n\r\n if(ansId !== 0){\r\n const ansItem = {\r\n qusetionId: globalState.selectedExtra.selectedExtraQ.id,\r\n ansId:ansId\r\n }\r\n\r\n if(!ans.some(x=>x.qusetionId === ansItem.qusetionId)){\r\n ans.push(ansItem);\r\n }\r\n else{\r\n if(!ans.some(x=>x.ansId === ansItem.ansId)){\r\n ans = ans.filter(x=>x.qusetionId != ansItem.qusetionId);\r\n ans.push(ansItem);\r\n }\r\n }\r\n }\r\n else{\r\n if(ans.some(x=>x.qusetionId === globalState.selectedExtra.selectedExtraQ.id)){\r\n ans = ans.filter(x=>x.qusetionId !== globalState.selectedExtra.selectedExtraQ.id);\r\n }\r\n }\r\n\r\n dispatchGlobal({\r\n type: \"UPDATE\",\r\n payload: [\r\n {\r\n key: \"selectedExtra\",\r\n val: {\r\n ...globalState.selectedExtra,\r\n selectedExtraA: ans,\r\n },\r\n },\r\n ],\r\n });\r\n }}\r\n isSentOrder={isSentOrder}\r\n sentOrder={sentOrder}\r\n updateAddOrderExtra={updateAddOrderExtra}\r\n />\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(OrderStep_4);\r\n","import React, { useReducer, useContext } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { AsyncModel, AsyncModelClose } from '../AsyncModel/AsyncModel';\r\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport { CusInput } from '../../Components/From/Input';\r\nimport { FormattedMessage, FormattedHTMLMessage } from 'react-intl';\r\nimport { Global } from '../../App';\r\nimport ReactLoading from 'react-loading';\r\nimport QRCode from 'qrcode.react';\r\nimport '../../Pages/pages.scss';\r\n// api\r\nimport { getSendEmail } from '../../Api/VerifyQueue';\r\nimport { useMemo } from 'react';\r\nimport moment from 'moment';\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case 'UPDATE_STATE':\r\n payload.forEach(i => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\nfunction OrderStep_5(props) {\r\n AsyncModelClose();\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, dispatch] = useReducer(reducer, {\r\n orderCode: globalState.customer.orderInfo.orderCode\r\n });\r\n\r\n let pcStyle = globalState.device === 'pc';\r\n\r\n const hostname = useMemo(() => {\r\n return `${window.location.protocol}//${window.location.host}${window.env.BASENAME}`\r\n }, [])\r\n\r\n console.log(state)\r\n return (\r\n
\r\n \r\n

\r\n \r\n

\r\n

\r\n \r\n

\r\n
\r\n \r\n
\r\n
\r\n { }}\r\n readonly\r\n label={}\r\n value={state.orderCode}\r\n />\r\n
\r\n
\r\n {/* 可使用 Web Share API */}\r\n {navigator.share ? (\r\n \r\n }\r\n onClick={async () => {\r\n // 當使用者點擊分享時要帶入的資訊\r\n const shareData = {\r\n title: `${globalState.langFile['pages.takeOrder.share.title']} ${state.orderCode}`, // 要分享的標題\r\n text: `${globalState.langFile['pages.takeOrder.share.content']}\\n${globalState.customer.orderInfo.selectedBranch.branchName || ''} ${globalState.customer.orderInfo.queueNumber ? `${globalState.langFile['pages.takeOrder.share.queueNumber']} ${globalState.customer.orderInfo.queueNumber}` : ''}\\n${hostname}/showOrderDetail?orderCode=${state.orderCode}&storeID=${String(globalState.customer.orderInfo.selectedBranch.branchCode)}&createAt=${moment(globalState.customer.orderInfo.orderTime).format('YYYY/MM/DD')}\\n${globalState.langFile['pages.takeOrder.share.note']}` // 要分享的文字內容\r\n };\r\n try {\r\n // 使用 Web Share API\r\n await navigator.share(shareData);\r\n // 分享成功\r\n console.log('share success');\r\n } catch (err) {\r\n // 使用者拒絕分享或發生錯誤\r\n const { name, message } = err;\r\n if (name === 'AbortError') {\r\n console.log('cancel share', err);\r\n } else {\r\n console.log('share error', err);\r\n }\r\n }\r\n }}\r\n />\r\n ) : (\r\n \r\n \r\n }\r\n onClick={async () => {\r\n const alert = await AsyncModel({\r\n title: globalState.langFile['popup.msgCopyToClipboard'],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n }}\r\n />\r\n \r\n )}\r\n \r\n }\r\n onClick={async () => {\r\n window.open(`/showOrderDetail?orderCode=${state.orderCode}&storeID=${String(globalState.customer.orderInfo.selectedBranch.branchCode)}&createAt=${(globalState.customer.orderInfo.orderTime) ? moment(globalState.customer.orderInfo.orderTime).format('YYYY/MM/DD'):moment().format('YYYY/MM/DD')}`)\r\n }}\r\n />\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(OrderStep_5);\r\n","import React, { useReducer, useContext } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { AsyncModel, AsyncModelClose } from '../AsyncModel/AsyncModel';\r\nimport { CusButton } from '../../Components/From/Button';\r\nimport { CusInput } from '../../Components/From/Input';\r\nimport { CusCheckbox } from '../../Components/From/Checkbox';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { Global } from '../../App';\r\nimport ReactLoading from 'react-loading';\r\nimport cls from 'classnames';\r\nimport Countdown, { zeroPad } from 'react-countdown-now';\r\nimport moment from 'moment';\r\nimport { JSEncrypt } from 'jsencrypt'\r\nimport '../../Pages/pages.scss';\r\n\r\n// api\r\nimport { postRequireVerifyCode, postCheckVerify } from '../../Api/VerifyQueue';\r\n\r\nconst reducer = (state, { type, payload }) => {\r\n let newState = { ...state };\r\n switch (type) {\r\n case 'UPDATE_STATE':\r\n payload.forEach(i => {\r\n newState[i.key] = i.val;\r\n });\r\n return newState;\r\n default:\r\n return newState;\r\n }\r\n};\r\n\r\nfunction OrderStep_5_verifyEmail(props) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n const [state, dispatch] = useReducer(reducer, {\r\n email: '',\r\n code: '',\r\n isEmailFormatCorrect: false,\r\n isEmailVerified: globalState.customer.verifyCodeDeadline ? true : false,\r\n countdownTime: 300\r\n });\r\n // 加密元件\r\n let encrypt = new JSEncrypt();\r\n encrypt.setPublicKey(window.env.REACT_APP_RSA_PUBLIC_KEY);\r\n let pcStyle = globalState.device === 'pc';\r\n\r\n return (\r\n
\r\n
\r\n {\r\n const splitString = e.split('');\r\n const { langType } = globalState;\r\n if (langType !== 'zh' && langType !== 'ja' && langType !== 'ko') {\r\n const splitString = e.split(' ');\r\n return splitString.map((e, index) => (\r\n \r\n
{e}
\r\n
\r\n ));\r\n } else {\r\n const splitString = e.split('');\r\n return splitString.map((e, index) => (\r\n \r\n
{e}
\r\n
\r\n ));\r\n }\r\n }}\r\n />\r\n \r\n
\r\n \r\n
\r\n {/* form */}\r\n \r\n
\r\n {/* Email */}\r\n
\r\n {\r\n return (\r\n \r\n }\r\n placeholder={msg}\r\n value={state.email}\r\n onChange={event => {\r\n let val = event.target.value;\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'email', val: val }]\r\n });\r\n // 錯誤Email格式\r\n if (\r\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(val)\r\n ) {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'isEmailFormatCorrect', val: false }]\r\n });\r\n } else {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'isEmailFormatCorrect', val: true }]\r\n });\r\n }\r\n }}\r\n />\r\n );\r\n }}\r\n />\r\n
\r\n {/* Email button */}\r\n
\r\n \r\n }\r\n onClick={\r\n async () => {\r\n const waittingAlert = AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n showConfirmBtn: false\r\n });\r\n try {\r\n const res = await postRequireVerifyCode({\r\n email: encrypt.encrypt(state.email),\r\n orderCode: globalState.customer.orderInfo.orderCode,\r\n storeID: globalState.customer.orderInfo.selectedBranch.branchCode,\r\n createAt: moment(globalState.customer.orderInfo.orderTime).format('YYYY/MM/DD')\r\n });\r\n const { errCode } = res.data;\r\n if (res && errCode == 200) {\r\n AsyncModelClose();\r\n // console.log(res.data.response.emailVerifyCode);\r\n let deadLine = moment()\r\n .add(5, 'm')\r\n .format('x');\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n verifyCodeDeadline: deadLine\r\n }\r\n }\r\n ]\r\n });\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'isEmailVerified', val: true }]\r\n });\r\n } else {\r\n console.error('email error.');\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n props.history.push('/error');\r\n }\r\n } catch (err) {\r\n console.error('email error.', err);\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 410 }]\r\n });\r\n props.history.push('/error');\r\n }\r\n }}\r\n />\r\n
\r\n {/* countdown */}\r\n {(() => {\r\n let deadline = globalState.customer.verifyCodeDeadline;\r\n if (!deadline) return null;\r\n return (\r\n
\r\n
\r\n \r\n {\r\n const verifyCodeDeadline =\r\n globalState.customer.verifyCodeDeadline;\r\n let deadLine = moment(verifyCodeDeadline, 'x').format(\r\n 'x'\r\n );\r\n let now = moment().format('x');\r\n let countdownTime = deadLine - now;\r\n if (countdownTime > 0) {\r\n return Date.now() + countdownTime;\r\n }\r\n })()}\r\n onComplete={() => {\r\n console.log('timeout');\r\n\r\n AsyncModel({\r\n title: globalState.langFile['popup.timeOver'],\r\n cancelBtnText: globalState.langFile['popup.buttonCancel'],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'isEmailFormatCorrect', val: true }]\r\n });\r\n\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n verifyCodeDeadline: ''\r\n }\r\n }\r\n ]\r\n });\r\n }}\r\n renderer={({ minutes, seconds }) => (\r\n \r\n {zeroPad(minutes, 2)}:{zeroPad(seconds, 2)}\r\n \r\n )}\r\n />\r\n
\r\n
\r\n );\r\n })()}\r\n {/* code */}\r\n
\r\n {\r\n return (\r\n \r\n }\r\n placeholder={msg}\r\n value={state.code}\r\n onChange={event => {\r\n let val = event.target.value;\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'code', val: val }]\r\n });\r\n }}\r\n />\r\n );\r\n }}\r\n />\r\n
\r\n {/* checkbox */}\r\n
\r\n \r\n }\r\n onChange={() => {\r\n dispatch({\r\n type: 'UPDATE_STATE',\r\n payload: [{ key: 'isSaveEmail', val: !state.isSaveEmail }]\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n \r\n }\r\n onClick={() => {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n currentStep: '5',\r\n currentQrStep: '3',\r\n verifyCodeDeadline: ''\r\n }\r\n }\r\n ]\r\n });\r\n }}\r\n />\r\n \r\n }\r\n onClick={async () => {\r\n // emailVerifyC@cos.co\r\n const { verifyCodeDeadline } = globalState.customer;\r\n // 驗證碼過期\r\n if (!verifyCodeDeadline) {\r\n return AsyncModel({\r\n title: globalState.langFile['errorMsg.errorCode_4103'],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n }\r\n // loading\r\n const waittingAlert = AsyncModel({\r\n content: (\r\n
\r\n \r\n
\r\n ),\r\n showConfirmBtn: false\r\n });\r\n\r\n try {\r\n const res = await postCheckVerify({\r\n email: encrypt.encrypt(state.email),\r\n orderCode: globalState.customer.orderInfo.orderCode,\r\n emailVerifyCode: state.code,\r\n storeID: globalState.customer.orderInfo.selectedBranch.branchCode,\r\n createAt: moment(globalState.customer.orderInfo.orderTime).format('YYYY/MM/DD')\r\n });\r\n const { errCode } = res.data;\r\n if (\r\n res &&\r\n errCode == 200 &&\r\n globalState.customer.verifyCodeDeadline\r\n ) {\r\n const alert = await AsyncModel({\r\n title: globalState.langFile['popup.mailSuccess'],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n if (!alert) return;\r\n if (state.isSaveEmail) {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n currentStep: '5',\r\n currentQrStep: '3',\r\n // emailAddress: state.email,\r\n emailAddress: encrypt.encrypt(state.email),\r\n verifyCodeDeadline: ''\r\n }\r\n }\r\n ]\r\n });\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n currentStep: '5',\r\n currentQrStep: '3',\r\n verifyCodeDeadline: ''\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n } else {\r\n const alert = await AsyncModel({\r\n title:\r\n globalState.langFile[`errorMsg.errorCode_${errCode}`],\r\n confirmBtnText: globalState.langFile['popup.buttonConfirm']\r\n });\r\n }\r\n } catch (err) {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 4101 }]\r\n });\r\n props.history.push('/error');\r\n }\r\n }}\r\n />\r\n
\r\n \r\n \r\n );\r\n}\r\n\r\nexport default withRouter(OrderStep_5_verifyEmail);\r\n","import React, { useContext, useEffect, useMemo } from 'react';\r\nimport Header from '../../Components/Header/Header';\r\nimport Footer from '../../Components/Footer/Footer';\r\nimport OrderStepFrame from '../../Components/OrderStep/OrderStepFrame';\r\nimport OrderStep_1 from '../../Components/OrderStep/OrderStep_1';\r\nimport OrderStep_2 from '../../Components/OrderStep/OrderStep_2';\r\nimport OrderStep_3 from '../../Components/OrderStep/OrderStep_3';\r\nimport OrderStep_3_mealInfo from '../../Components/OrderStep/OrderStep_3_mealInfo';\r\nimport OrderStep_4 from '../../Components/OrderStep/OrderStep_4';\r\nimport OrderStep_5 from '../../Components/OrderStep/OrderStep_5';\r\nimport OrderStep_5_verifyEmail from '../../Components/OrderStep/OrderStep_5_verifyEmail';\r\nimport { Global } from '../../App';\r\nimport moment from 'moment';\r\nimport qs from 'querystring';\r\nimport '../pages.scss';\r\n\r\n// switch lang\r\nimport { countryCodeToCode, langCodeToString } from '../../Share/Tools/switchLang';\r\n// api\r\nimport { postQRCodeVerifyQueue } from '../../Api/VerifyQueue';\r\n\r\nfunction TakeOrder(props) {\r\n const { globalState, dispatchGlobal } = useContext(Global);\r\n\r\n // 檢查get參數\r\n const checkURL = useMemo(() => {\r\n const { search } = props.location;\r\n if (search !== '' && search !== undefined && search !== null) {\r\n const par = qs.parse(search.split('?')[1]);\r\n return par;\r\n } else {\r\n return '';\r\n }\r\n }, [props.location.search]);\r\n\r\n // 驗證來店資訊\r\n async function apiVerifyQRCode() {\r\n const par = checkURL;\r\n try {\r\n const res = await postQRCodeVerifyQueue({\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n storeID: par.storeID\r\n });\r\n console.log('qrcode yes')\r\n const { errCode } = res.data;\r\n const { orderCode } = res.data.response\r\n if (res && ((errCode == 200 || errCode == 420 || errCode == 4201) || orderCode !== null)) {\r\n return res;\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: errCode }]\r\n });\r\n props.history.replace('/error');\r\n }\r\n } catch (err) {\r\n console.error('QRCodeVerifyQueue error.');\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [{ key: 'errMsg', val: 405 }]\r\n });\r\n props.history.push('/error');\r\n }\r\n }\r\n // 檢查是否有get參數(由QRcode進入網站)\r\n async function handler() {\r\n const par = checkURL;\r\n if (par) {\r\n let verifyQRCode = await apiVerifyQRCode();\r\n if (verifyQRCode) {\r\n const {\r\n verify,\r\n childCount,\r\n adultsCount,\r\n countryID,\r\n countryName,\r\n storeID,\r\n storeName,\r\n orderCode,\r\n createAt,\r\n languageID,\r\n posStatus,\r\n posCode,\r\n tableNo,\r\n mainOrderCode\r\n } = verifyQRCode.data.response;\r\n if (orderCode !== null) {\r\n // 2022-06-24 流程+判斷能否加點 flower\r\n if (posStatus) {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n { key: 'ordermode', val: 'addorder' },\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n { key: 'langType', val: langCodeToString(languageID) },\r\n {\r\n key: 'customer',\r\n val: {\r\n isReady: true,\r\n currentStep: '3',\r\n mealDetail: '',\r\n mealOrderDetail: [],\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n posCode: posCode,\r\n tableNo: (tableNo ? tableNo : \"\"),\r\n mainOrderCode: mainOrderCode,\r\n country: countryID,\r\n countryName: countryName,\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n tempOrderCode: \"\",\r\n tempOrderGroupID: \"\",\r\n tempOrderID: \"\",\r\n orderTime: moment().format('YYYY/MM/DD hh:mm:ss'),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName\r\n }\r\n },\r\n orderDetail: {\r\n totalMealQuantity: 0,\r\n dineInTotalPrice: 0,\r\n dineInSpecPrice: 0,\r\n takeoutInTotalPrice: 0,\r\n takeoutInSpecPrice: 0\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n else {\r\n props.history.push(`/showOrderDetail?orderCode=${orderCode}&storeID=${String(storeID)}&createAt=${createAt}`);\r\n }\r\n } else {\r\n // 新單(無餐點在內或與暫存不同張單)\r\n if (globalState.customer.mealOrderDetail.length === 0 || (\r\n par.queueNumber !== globalState.customer.orderInfo.queueNumber &&\r\n par.queueCode !== globalState.customer.orderInfo.queueCode) ||\r\n moment().format('YYYY/MM/DD') !== globalState.customer.orderInfo.orderTime.slice(0, 10)) {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n // 在這裡判斷 回傳的 countryID 需要遷換成哪種語言\r\n { key: 'langType', val: langCodeToString(languageID) },\r\n {\r\n key: 'customer',\r\n val: {\r\n isReady: true,\r\n currentStep: '2',\r\n mealDetail: '',\r\n mealOrderDetail: [],\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: countryID,\r\n countryName: countryName,\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n orderTime: moment().format('YYYY/MM/DD hh:mm:ss'),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName\r\n }\r\n },\r\n orderDetail: {\r\n totalMealQuantity: 0,\r\n dineInTotalPrice: 0,\r\n dineInSpecPrice: 0,\r\n takeoutInTotalPrice: 0,\r\n takeoutInSpecPrice: 0\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n isReady: true,\r\n currentStep: globalState.customer.currentStep,\r\n mealDetail: globalState.customer.mealDetail,\r\n mealOrderDetail: [\r\n ...globalState.customer.mealOrderDetail\r\n ],\r\n orderInfo: {\r\n ...globalState.customer.orderInfo,\r\n country: countryID,\r\n countryName: countryName,\r\n queueNumber: par.queueNumber,\r\n queueCode: par.queueCode,\r\n numberOfAdult: adultsCount,\r\n numberOfChild: childCount,\r\n orderTime: moment().format('YYYY/MM/DD hh:mm:ss'),\r\n selectedBranch: {\r\n branchCode: storeID,\r\n branchName: storeName\r\n }\r\n },\r\n orderDetail: {\r\n ...globalState.customer.orderDetail\r\n }\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n }\r\n\r\n // 驗證成功導向 => QRCodeSuccess\r\n // props.history.replace('/QRCodeSuccess');\r\n }\r\n } else {\r\n dispatchGlobal({\r\n type: 'UPDATE',\r\n payload: [\r\n {\r\n key: 'customer',\r\n val: {\r\n ...globalState.customer,\r\n isReady: true\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n }\r\n // render step\r\n const renderStep = useMemo(() => {\r\n const step = globalState.customer.currentStep;\r\n console.log(\"step\", step);\r\n switch (step) {\r\n case '1':\r\n return (\r\n <>\r\n
\r\n \r\n \r\n \r\n