{"version":3,"sources":["assets/images/icons/loading.gif","_components/PrivateRoute.jsx","_constants/matcher.js","_actions/reward.action.js","_actions/redeem.action.js","_actions/category.action.js","_actions/branch.action.js","_actions/banner.action.js","_actions/product.action.js","_actions/order.action.js","_actions/member.action.js","_actions/news.action.js","_actions/admin.action.js","_actions/ewallet.action.js","_actions/contact.action.js","_actions/point.action.js","_actions/staff.action.js","_actions/activity.action.js","_actions/backoffice.action.js","pages/Home/index.js","pages/General/Banner/List/banner_list.jsx","pages/General/Banner/Edit/banner_edit.jsx","pages/General/BannerPromotion/List/list.jsx","pages/General/BannerPromotion/Create/create.jsx","pages/General/BannerPromotion/Edit/edit.jsx","pages/General/Contact/List/list.jsx","pages/General/Contact/Edit/edit.jsx","pages/General/Contact/Create/create.jsx","pages/Preorder/PreorderOrder/List/order_list.jsx","pages/Preorder/PreorderOrder/Edit/order_edit.jsx","pages/Preorder/PreorderOrder/Info/info.jsx","pages/Preorder/PreorderReceiveOrder/List/receive_order_list.jsx","pages/Preorder/PreorderReceiveOrder/Edit/receive_order_edit.jsx","pages/Preorder/TakehomeOrder/List/order_list.jsx","pages/Preorder/PreorderReceiveOrder/Info/receive_info.jsx","pages/Preorder/TakehomeOrder/Edit/order_edit.jsx","pages/Preorder/PreorderCategory/List/category_list.jsx","pages/Preorder/TakehomeOrder/Info/info.jsx","pages/Preorder/PreorderCategory/Create/category_create.jsx","pages/Preorder/PreorderCategory/Edit/category_edit.jsx","pages/Preorder/PreorderCategory/EditShow/category_edit_show.jsx","pages/Preorder/PreorderProduct/List/product_list.jsx","pages/Preorder/PreorderProduct/Create/product_create.jsx","pages/Preorder/PreorderProduct/Edit/product_edit.jsx","pages/Preorder/PreorderProductBranch/List/product_list.jsx","pages/Preorder/PreorderProductBranch/Edit/product_edit.jsx","pages/Preorder/PreorderQueue/List/queue_list.jsx","pages/Preorder/PreorderBranch/List/branch_list.jsx","pages/Preorder/PreorderBranch/Create/branch_create.jsx","pages/Preorder/PreorderBranch/Edit/branch_edit.jsx","pages/OrderOnline/OrderOnlineOrder/List/order_list.jsx","pages/OrderOnline/OrderOnlineOrder/Edit/order_edit.jsx","pages/OrderOnline/OrderOnlineCategory/List/category_list.jsx","pages/OrderOnline/OrderOnlineOrder/Info/info.jsx","pages/OrderOnline/OrderOnlineCategory/Create/category_create.jsx","pages/OrderOnline/OrderOnlineCategory/Edit/category_edit.jsx","pages/OrderOnline/OrderOnlineCategory/EditShow/category_edit_show.jsx","pages/OrderOnline/OrderOnlineReciveOrder/List/receive_order_list.jsx","pages/OrderOnline/OrderOnlineReciveOrder/Edit/order_edit.jsx","pages/OrderOnline/OrderOnlineBranch/List/branch_list.jsx","pages/OrderOnline/OrderOnlineReciveOrder/Info/info.jsx","pages/OrderOnline/OrderOnlineBranch/Create/branch_create.jsx","pages/OrderOnline/OrderOnlineBranch/Edit/branch_edit.jsx","pages/OrderOnline/OrderOnlineTimelogs/List/timelogs_list.jsx","pages/OrderOnline/OrderOnlineTimelogs/Edit/timelogs_edit.jsx","pages/OrderOnline/OrderOnlineTimelogs/Create/timelogs_create.jsx","pages/OrderOnline/OrderOnlineTimelogs/Info/info.jsx","Components/OverlayLoading/index.jsx","pages/OrderOnline/OrderOnlineProduct/List/product_list.jsx","pages/OrderOnline/OrderOnlineProduct/Create/product_create.jsx","pages/OrderOnline/OrderOnlineProduct/Edit/product_edit.jsx","pages/OrderOnline/OrderOnlineProduct/ImportExcel/importexcel.jsx","pages/OrderOnline/ProductOnlineBranch/List/product_list.jsx","pages/OrderOnline/ProductOnlineBranch/Edit/product_edit.jsx","pages/OrderOnline/ProductOnlineBranch/Edit/product_edit_by_code.jsx","pages/OrderOnline/ProductOnlineAddOn/List/product_addon_list.jsx","pages/OrderOnline/ProductOnlineAddOn/Edit/product_addon_edit.jsx","pages/OrderOnline/ProductOnlineAddOn/Create/product_addon_create.jsx","pages/OrderOnline/Promotion/List/promo_list.jsx","_actions/promotion.action.js","pages/OrderOnline/Promotion/Create/create.jsx","pages/OrderOnline/Promotion/Edit/edit.jsx","pages/Point/PointEarn/earn_list.jsx","pages/Point/PointBurn/List/burn_list.jsx","pages/Point/PointManage/manage.jsx","pages/Rewards/RewardBurn/List/burn_list.jsx","pages/Point/PointBurn/Info/info.jsx","pages/Rewards/RewardBurn/Info/burn_info.jsx","pages/Rewards/RewardList/Create/create.jsx","pages/Rewards/RewardList/Edit/edit.jsx","pages/Rewards/RewardList/List/reward_list.jsx","pages/Rewards/RewardStaff/Create/create.jsx","pages/Rewards/RewardStaff/Edit/edit.jsx","pages/Rewards/RewardStaff/List/staff_list.jsx","pages/Rewards/RewardStaff/List/reward_staff_list.jsx","pages/Rewards/RewardCategory/Create/create.jsx","pages/Rewards/RewardCategory/Edit/edit.jsx","pages/Rewards/RewardCategory/List/reward_cate.jsx","pages/Rewards/RedeemList/Create/create.jsx","pages/Rewards/RedeemList/Edit/edit.jsx","pages/Rewards/RedeemList/List/redeem_list.jsx","pages/Rewards/RedeemCategory/Create/create.jsx","pages/Rewards/RedeemCategory/Edit/edit.jsx","pages/Rewards/RedeemCategory/List/redeem_cate.jsx","pages/News/News/List/news_list.jsx","pages/News/News/Create/news_create.jsx","pages/News/News/Edit/news_edit.jsx","pages/News/Promotion/Banner/promotionbanner_list.jsx","pages/News/Promotion/Banner/Edit/promotionbanner_edit.jsx","pages/News/Promotion/Banner/Create/promotionbanner_create.jsx","pages/News/Promotion/List/promotion_list.jsx","pages/News/Promotion/Create/promotion_create.jsx","pages/News/Promotion/Edit/promotion_edit.jsx","pages/Member/List/member_list.jsx","pages/Member/Create/member_create.jsx","pages/Member/Edit/member_edit.jsx","pages/Member/Point/point.jsx","pages/Admin/Admin/List/admin_list.jsx","pages/Admin/Admin/Create/admin_create.jsx","pages/Admin/Admin/Edit/admin_edit.jsx","pages/Admin/Admin/EditPassword/admin_edit_password.jsx","pages/Admin/Level/List/level_list.jsx","pages/Admin/Level/Create/level_create.jsx","pages/Admin/Level/Edit/level_edit.jsx","pages/Problem/ProblemSystem/List/list.jsx","pages/Ewallet/ProblemEwallet/List/list.jsx","pages/Ewallet/ProblemEwalletTitle/List/list.jsx","pages/Ewallet/ProblemEwalletTitle/Create/problem_title_create.jsx","pages/Ewallet/ProblemEwalletTitle/Edit/problem_title_edit.jsx","pages/Ewallet/Account/Overview/list.jsx","pages/Ewallet/Account/Overview/detail.jsx","pages/Ewallet/Account/Withdraw/list.jsx","pages/Ewallet/Account/Withdraw/withdraw_fund.jsx","pages/Ewallet/Account/History/list.jsx","pages/Ewallet/Transaction/List/list.jsx","pages/Ewallet/Transaction/Recent/list.jsx","pages/Ewallet/Transaction/Search/list.jsx","pages/Ewallet/Transaction/Void/list.jsx","pages/Ewallet/Transaction/Refund/list.jsx","pages/Ewallet/Topup/Create/create.jsx","pages/Ewallet/Topup/List/list.jsx","pages/Ewallet/Refund/Create/create.jsx","pages/Ewallet/Refund/List/list.jsx","pages/Ewallet/Report/DailySettlement/list.jsx","pages/Ewallet/Report/DailyRefund/list.jsx","pages/Ewallet/Report/MonthlySettlement/list.jsx","pages/Ewallet/Report/MonthlyRefund/list.jsx","pages/Payment/List/list.jsx","pages/Payment/Promotion/List/promo_list.jsx","pages/Payment/Promotion/Create/create.jsx","pages/Payment/Promotion/Edit/edit.jsx","pages/Staff/Staff/List/list.jsx","pages/Staff/Staff/Create/staff_create.jsx","pages/Staff/Staff/Edit/staff_edit.jsx","pages/Staff/EwalletStaff/Edit/ewallet_staff_edit.jsx","pages/Activity/Activity/ListAll/listall.jsx","pages/Activity/Activity/Edit/edit.jsx","pages/Activity/Flashsale/Time/List/list.jsx","pages/Activity/Flashsale/Time/Create/create.jsx","pages/Activity/Flashsale/Time/Edit/edit.jsx","pages/Activity/Flashsale/Product/List/list.jsx","pages/Activity/Flashsale/Product/Create/create.jsx","pages/Activity/Flashsale/Product/Edit/edit.jsx","pages/Activity/FriendGetFriend/Create/create.jsx","pages/Activity/FriendGetFriend/Edit/edit.jsx","pages/Activity/FriendGetFriend/List/list.jsx","pages/Activity/DiscountDelivery/Create/create.jsx","pages/Activity/DiscountDelivery/Edit/edit.jsx","pages/Activity/DiscountDelivery/List/list.jsx","pages/PaymentChannelStatus/edit.jsx","pages/LoginPage/index.js","pages/404/index.js","_actions/activities.action.js","pages/ActivitiesLog/List/overlayEvents/index.jsx","pages/ActivitiesLog/List/list.jsx","routes/index.js","_layout/login/LoginLayout.jsx","_pagebuilder/sidebar/sidebar.jsx","_pagebuilder/footer/footer.jsx","_pagebuilder/header/header.jsx","_layout/normal/NormalLayout.jsx","_pagebuilder/subheader/subheader.jsx","App.js","registerServiceWorker.js","index.js"],"names":["module","exports","__webpack_require__","p","PrivateRoute","_ref","Component","component","rest","Object","objectWithoutProperties","react_default","a","createElement","Route","assign","render","props","localStorage","getItem","Redirect","to","pathname","state","from","location","backendHost","urlPath","window","hostname","member","admin","general","category","product","branch","branch_preorder","order_online","banner","news","order","reward","reward_image","reward_category_image","point","queue","province","upload_img","ewallet","payment_gateway","backoffice","product_v2","pos","Base_API","rewardAction","getRewardCategoryList","axios","get","concat","then","res","data","createRewardCategory","FormData","post","activateRewardCategory","id","put","deleteRewardCategory","delete","getRewardCategoryDataByID","updateRewardCategory","listReward","createReward","deleteReward","getRewardDataByID","updateReward","activateReward","listBurnHistory","dataSearch","s_FirstName","s_LastName","s_Phone","s_RewardsCode","s_RewardsName","s_RedeemDate","s_RedeemDateTo","s_BurnDate","s_BurnDateTo","s_ExpiredDate","s_ExpiredDateTo","deleteBurnHistory","getLogsHistoryByID","activeLogsHistoryByID","updateTransaction","getRewardStaffByID","updateRewardStaffByID","getRedeemTypeLists","redeemAction","getRedeemCategoryList","createRedeemCategory","activateRedeemCategory","deleteRedeemCategory","getRedeemCategoryDataByID","updateRedeemCategory","createRedeem","deleteRedeem","getRedeemDataByID","updateRedeem","activateRedeem","categoryAction","updateEatinCategory","formData","cid","getEatinCategoryId","createEatinCategory","deleteEatinCategory","getEatinCategory","createOnlineCategory","updateOnlineCategory","getOnlineCategoryId","deleteOnlineCategory","branchAction","listBranchAll","updateBranchEatin","branch_id","getBranchEatinId","createBranchEatin","deleteBranchEatin","activateBranchEatin","getBranchEatinAll","updateBranchPreorder","getBranchPreorderId","createBranchPreorder","deleteBranchPreorder","activateBranchPreorder","listBranchOrderOnline","bannerAction","getBannerByID","banner_id","updateBanner","inputValue","productAction","updateEatinProduct","pid","activateProductEatin","getEatinProductId","createEatinProduct","deleteEatinProduct","getCategoryProductListAll","getEatinProductList","getEatinBranchByProduct","pr_id","ad_b_status","ad_b_id","getEatinBranchByProductID","pr_branch_id","updateEatinBranchByProductID","updatePreProduct","getPreProductId","createPreProduct","deletePreProduct","activateProductPre","getCategoryProductOnline","getProductOnlineById","updateProductOnline","console","log","getProductOnlineList","onlineListBranchByProduct","pr_online_id","onlineGetProductByProductBranchID","pr_online_branch_id","onlineUpdateProductByProductID","updateProductByBranchCode","listProductIsactive","importExcel","inputBody","createProductAttribute","reqData","deleteProductAttribute","updateProductAttribute","getProductAttributeByID","getProductAttributeList","getProductAttributeUsedByPrCode","product_code","updateProductAttributeDetail","createPreProductV2","deletePreProductV2","updateProductOnlineV2","importProductOnlineBySheet","setProgress","WebSocket","onmessage","event","JSON","parse","progress","orderAction","getEatinOrderId","getEatinOrderDetailId","updateEatinOrder","getOrderOnlineById","getOrderDetailId","updateOrderOnline","getStatus","getOrderOnlineListExcel","s_Order","s_Branch","s_Date","s_DateTo","s_Status","s_ReceiveChannel","getReceiveOrderOnlineListExcel","deleteDetail","DeleteEatinDetail","getTimelogsByBranch","getTimelogsByID","createTimelogs","updateTimelogs","getOrderEatinList","getOrderEatinListExcel","getOrderDeliveryList","getOrderDeliveryListExcel","sendSMS","getPaymentChannelStatus","updatePaymentChannelStatus","memberAction","update_Member","getMemberId","createMember","deleteMember","deleteTokenMember","activateMember","sentNotificationAll","inputData","getMemberList","exportMemberList","getProvince","getAmphoe","getDistrict","getZipcode","exportProblemList","updateProblemEwallet","logoutMember","deleteMemberV2","newsAction","updateNews","updateDeleteNews","activateNews","getNewsId","createNews","deleteNews","createPromotion","getPromotionId","updatePromotion","activatePromotion","createPromotionBanner","getRewardsList","getPromotionBanner","insertContent","deleteContent","getContent","updateContent","insertBannerPromotion","getBannerPromotion","updateBannerPromotion","deleteBannerPromotion","deletePromotionByID","deleteNewsContentByID","adminAction","createAdmin","updateAdmin","ActiveAdmin","getAdminId","deleteAdminById","resetPasswordAdmin","listLevelAdmin","getLevelById","createLevel","updateLevel","activateLevel","checkLogin","getCalc","getTop10","datenow","ewalletAction","createProblemEwalletTitle","getProblemEwalletTitle","updateProblemEwalletTitle","getAccountMerchant","getAccountEWallet","s_RegisDate","s_MemberNumber","s_Firstname","s_Lastname","s_IDCard","withdrawForAU","getDetailTransaction","deleteTransaction","transaction_id","getListChannelEwallet","getListStatusEwallet","getMemberByNumber","createTopup","createRefund","getRecentList","getSearchList","searchTransactionID","searchMemNumber","searchCardholderName","searchPaymentChannelID","searchTransactionStatus","searchTransactionFrom","searchTransactionTo","searchTransactionType","searchInvoiceNo","searchPhoneNo","getVoidList","searchApprovalCode","getRefundList","getTopupList","searchTransactionChannel","getHistoryList","Type","s_This_Month","s_Month","s_From","s_To","getWithdrawList","reportDailySettlement","reportDailyRefund","reportMonthlySettlement","searchTransactionMonthFrom","searchTransactionYearFrom","searchTransactionMonthTo","searchTransactionYearTo","reportMonthlyRefund","exportExcelEwalletAccounts","onDownloadProgress","contactAction","deleteContact","contact_id","method","url","response","catch","getContactByID","updateContact","activeContact","createContact","pointAction","getManagePoint","updateManagePoint","deleteManagePoint","exportExcelPointLog","staffAction","createStaff","listStaff","getStaff","updateStaff","deleteStaffById","getEwalletStaff","updateEwalletStaff","activityAction","listOrderType","flashsaleListTime","flashsaleGetTime","flashsaleUpdateTime","flashsaleInsertTime","flashsaleDeleteTime","flashsaleDeleteProduct","flashsaleInsertProduct","flashsaleUpdateProduct","flashsaleGetProduct","ActivityFriendGetByID","ActivityUpdate","FriendGetFriendList","FriendGetFriendGet","FriendGetFriendCreate","FriendGetFriendUpdate","FriendGetFriendDelete","DiscountDeliveryCreate","DiscountDeliveryGet","DiscountDeliveryUpdate","DiscountDeliveryDelete","flashsaleInsertTimeV2","BackofficeAction","getExcelMemberList","err","getExcelBranchList","getExcelStaffList","getExcelRewardRedeemHistory","getExcelRewardRedeemHistoryByFilter","filter","exportExcelActivitiesLog","body","exportExcelPointHistory","params","modalAlert","newDate","Date","month_short","getMonth","month","year","getFullYear","columns","dataField","text","headerAlign","align","month_name","Home","_React$Component","_this","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","tabIndex","show","modal","modalOption","reload","topEatin","inherits","createClass","key","value","_this2","e","isSuccess","setState","topTakehome","topOnline","onModalError","_this3","countOrderAll_count","countOrderAll","count","countOrderAll_total_price","total_price","countOnline_count","countPreorder","countOnline_total_price","countEatin_count","countEatin","countEatin_total_price","countTakehome_count","countTakehome","countTakehome_total_price","countLike_count_percent","countLike","count_percent","countLike_count_total","count_total","date_now","_this4","head","_this5","react_bootstrap_sweetalert_default","style","display","error","confirmBtnBsStyle","cancelBtnBsStyle","title","onConfirm","onCancel","ev","_this6","className","data-action","type","esm","selectedIndex","onSelect","lib_default","keyField","bordered","headerClasses","striped","hover","React","$","DataTable","require","Banner_List","context","closeModalHandler","isModal","openModalHandler","bind","assertThisInitialized","active","subactive","menu_general","refs","main","columnDefs","targets","createdCell","td","cellData","rowData","row","col","html","orderable","banner_name","ajax","dataType","class","serverSide","ordering","searching","processing","bLengthChange","language","setItem","ref","Banner_Edit","handleChange","_this$state","fields","errors","target","name","handleInputChange","isStatus","status","onChangeUploadHandler","_this$state2","files","handleSubmit","onConfirmCreate","match","objectSpread","banner_image","banner_image_old","banner_size","success","warning","info","showCancel","preventDefault","validateForm","onModalQuestion","href","formIsValid","_this7","append","onModalSuccess","message","_this8","onSubmit","src","alt","placeholder","onChange","readOnly","BannerPromotion_List","table","banner_promotion_id","on","fid","fval","is","mcid","data-content","BannerPromotion_Create","checked","banner_promotion_image","banner_promotion_sort","BannerPromotion_Edit","getBannerPromotionByID","is_active","banner_promotion_image_show","data-allowed-file-extensions","multiDataSet","Contact_List","contact_extend_phone","val","Contact_Edit","contact_title_th","contact_title_en","contact_address_th","contact_address_en","contact_code_phone","contact_phone","contact_code_fax","contact_fax","contact_extend_phone_fax","contact_email","width","Contact_Create","defineProperty","ExcelFile","ReactExport","ExcelSheet","date","dd","getDate","mm","yyyy","hh","getHours","mn","getMinutes","ss","getSeconds","ms","getMilliseconds","name_excel","toString","optionStatus","label","PreOrder_List","handleSearchStatus","selectedOption","handleSearchBranch","handleChangeSearch","clearSearch","selectRefBranch","select","clearValue","selectRefStatus","exportExcel","dataOrderEatin","branchList","searchStatus","searchBranch","showTable","mem_id","mem_lastname","status_payment","bt_manage","destroy","optionBranch","map","b_id","b_name","dataOrder","i","push","num","od_number","mem_firstname","sum_price","created_at","status_payment_name","wch","element","filename","dataSet","searchOrder","react_select_browser_esm","options","searchDate","onClick","PreOrder_Info","messageCreate","typeProgram","selectType","inputBodyDetail","getOrderDataByID","getOrderDetail","newObject","alert","setAttribute","process","listProduct","item","pr_name","price","od_product_count","total_product_price","colSpan","PreOrder_Edit","defaultValue","s_name","payment_id","od_comment","selectValue","selectLabel","detail_id","onConfirmDelete","_this9","_this10","od_detail_id","handleDelete","clearable","rows","optionType","s_Type","PreOrder_Receive_List","handleSearchType","searchType","status_receive","PreOrder_Receive_Info","note","PreOrder_Receive_Edit","Takehome_List","dataOrderDelivery","order_list_ExcelFile","order_list_ExcelSheet","Takehome_Info","Takehome_Edit","Category_List","memberid","resp","respid","Category_Create","cateName","cateNameEN","sort","Category_Edit","getCategoryDataByID","categoryid","pr_category_name","pr_category_name_en","cateId","listCateShow","Category_Edit_Show","cate","Product_List","dataProduct","dataExcel","pr_image","pr_code","pr_sort","pr_status","product_list_ExcelFile","product_list_ExcelSheet","Product_Create","handleSelectChange","action","_this$state3","pr_typebadge","optionsCate","pr_category_id","productImage","productCode","productName","productNameEN","step","productPrice","min","productPoint","cate_id","productSort","isStatus_preorder","Product_Edit","defaultCateValue","defaultTypebadgeValue","getProductDataByID","pr_name_en","pr_point","descriptProduct","pr_description","descriptProductEN","pr_description_en","priceProduct","pr_price","cate_name","String","Product_Branch_List","defaultContent","tr","closest","child","isShown","hide","removeClass","d","branch_by_product","color_status_branch_switch","status_branch","status_switch","color_status_switch","b_status","b_preorder_status","pr_branch_price","is_soldout","pr_branch_status","format","addClass","customStyles","content","top","left","height","padding","Product_Branch_Edit","data_product","showModal","pr_branch_eatin","pr_branch_takehome","handleOpenModal","handleCloseModal","getBranchByProduct","data_table","data_branch","btn_edit","isStatus_b_status","isStatus_pr_branch_status","isStatus_is_soldout","disabled","scope","parseInt","data_table_branch","getBranchByProductID","_this8$setState","b_code","react_modal_lib_default","isOpen","contentLabel","aria-hidden","Queue_List","q_numA","undefined","q_num","q_numB","countA","countB","created_atA","created_atB","Branch_List","excelUrl","cursor","Branch_Create","inputCheck","isStatus_orderonline","branch_time_monday_status","branch_time_tuesday_status","branch_time_wednesday_status","branch_time_thursday_status","branch_time_friday_status","branch_time_saturday_status","branch_time_sunday_status","branchImage","branchImagePin","branchCode","branchName","branchNameEN","branchAddress","branchAddressEN","branchTelephone","latName","longName","time_open","time_openEN","branch_time_monday_open","branch_time_monday_close","branch_time_tuesday_open","branch_time_tuesday_close","branch_time_wednesday_open","branch_time_wednesday_close","branch_time_thursday_open","branch_time_thursday_close","branch_time_friday_open","branch_time_friday_close","branch_time_saturday_open","branch_time_saturday_close","branch_time_sunday_open","branch_time_sunday_close","Branch_Edit","getBranchDataByID","branchid","b_name_en","b_address","b_address_en","b_telephone","b_lat","b_long","b_image","b_image_pin","time_open_en","b_orderonline_status","Order_Online_List","selectRefReceiveChannel","handlesearchReceiveChannel","status_receive_name","payment_name","od_online_number","receive_channel","mem_phone","mem_idcard","od_online_comment","List_order_list_ExcelFile","List_order_list_ExcelSheet","searchDateTo","Order_Online_Info","pageInit","_pageInit","asyncToGenerator","regenerator_default","mark","_callee","wrap","_context","prev","next","stop","apply","arguments","x","replace","Promise","_callee2","resolve","_context2","delivery_cost","discount_delievry_cost","discount_order_cost","totalPrice","net_shipping_price","net_price","toFixed","numberWithCommas","Number","toLocaleString","minimumFractionDigits","_x","newNetPrice","parseFloat","negPrice","length","index","Math","abs","pr_online_code","pr_online_name","is_free_product","od_online_product_count","Order_Online_Edit","od_online_detail_id","backgroundColor","Order_Online_Category_List","Order_Online_Category_Create","category_delivery","category_ems","category_pickup","category_snackbox","pr_online_category_name","pr_online_category_name_en","Order_Online_Category_Edit","pr_online_category_id","category_gift","Order_Online_Recive_List","handleSearchReceiveChannel","sessionStorage","type_order_id","bt_notification","tracking_number","dataSMS","phone_number","order_online_number","stringify","obj_data","searchReceiveChannel","payment_channel_name","receive_name","receive_order_list_ExcelFile","receive_order_list_ExcelSheet","Order_Online_Recive_Info","_componentDidMount","_callee3","_context3","driver_phone","Order_Online_Recive_Edit","receive_id","payment_channel_id","Order_Online_Branch_List","Order_Online_Branch_Create","Order_Online_Branch_Edit","Order_Online_Timelogs_List","Order_Online_Timelogs_Edit","isStatusAvailable","statusAvailable","getTimelogsDataByID","date_id","date_name","product_max","Order_Online_Timelogs_Info","searchMonth","searchYear","getDateOnline","branch_code","newObjectMonth","newObjectYear","optionsMonth","optionsYear","getTimelogsByMonth","avai_text","available_status","Order_Online_Timelogs_Create","_OverlayLoadingSwitch","css","fadeIn","fadeOut","OverlayLoading","Product_Online_List","prPromoTypeSelected","handleChangeRadio","setUpEventHandlers","hideAlert","handleImportProductBySheet","loadingImpotProduct","setProgressImportProduct","prPromoTypeOptions","prTypeRadio","prTypeRadioMobile","disabledImportProduct","sheetURL","percentage","initializeDataTable","apiUrl","fn","dataTable","isDataTable","test","isValidGoogleSpreadsheetUrl","payload","sheet_url","popupImportProduct","percent","pr_online_image","pr_online_price","pr_online_sort","defaultChecked","htmlFor","List_product_list_ExcelFile","List_product_list_ExcelSheet","Components_OverlayLoading","animatedComponents","makeAnimated","Product_Online_Create","handleSelectAttribute","list","newAttrSelected","itemAttr","pratr_cat_id","attrSelected","prPromotionTypeSelected","isRecommend","is_recommend","is_status_give_point","status_give_point","is_status_type_ems","status_type_ems","disabled_shipping_type","is_status_type_delivery","status_type_delivery","is_status_type_gift","status_type_gift","pr_online_discount_price","pr_online_dayreceive","shipping_type_id","pr_online_keywords","pr_online_typebadge","pr_online_promotion_type","attrOption","attrData","prPromotionTypeOptions","option","forEach","cate_name_th","_onConfirmCreate","dataAttr","reNewDataAttr","sent","_this8$state","moment","_x2","accept","productHeight","productWidth","productDepth","productWeight","isDisabled","closeMenuOnSelect","components","isMulti","Product_Online_Edit","defaultShippingValue","attrInit","is_status_type_snackbox","status_type_snackbox","getProductAttributeUsed","_ref2","_ref3","_callee4","_context4","attrSelectedInit","_x3","pr_online_name_en","pr_online_description","pr_online_description_en","pr_online_height","pr_online_width","pr_online_depth","pr_online_weight","pr_online_give_point","pr_online_type_ems","pr_online_type_gift","pr_online_type_delivery","pr_online_type_snackbox","pr_online_shipping_type_id","shipping_name","is_delete","pr_online_image_show","find","_callee5","_context5","_x4","_this11","_ref4","_callee6","_this11$state","_context6","_x5","_this12","_this$state4","options_category_id","Product_Online_ImportExcel","excel_file","Product_Online_Branch_List","pr_online_branch_type","pr_online_branch_price","Product_Online_Branch_Edit","status_is_active","status_is_soldout","isStatus_is_active","status_eatin","status_takehome","Product_Online_Branch_Edit_By_Code","isEMS","status_ems","isGift","status_gift","onConfirmUpdate","is_ems","is_gift","Product_AddOn_List","attrcate_id","Product_AddOn_Edit","handleChangeAttr","addonElem","attribute_name_th","attribute_name_en","attribute_price","attribute_sort","isRequired","required","onDragStart","dataTransfer","setData","onDragOver","onDrop","targetIndex","sourceIndex","getData","reorderedAddonElem","toConsumableArray","_reorderedAddonElem$s","splice","draggedItem","slicedToArray","attrID","attrDetail","handleIncreaseAddOn","handleDecreaseAddOn","attrCateData","cate_name_en","limit_select","is_required","newAddonElem","newAttrSet","attributeSetInit","slice","attribute_set","aria-valuemin","draggable","xmlns","fill","viewBox","fill-rule","Product_AddOn_Create","promotionAction","getPromotionList","updatePromotionById","promo_list_id","deletePromotionById","listPromoCategory","getPromotionById","listPaymentPromoCategory","listPaymentPromoFreeEarnCategory","getActiveRewardsDropdown","createPaymentPromotion","getPaymentPromotionById","updatePaymentPromotionById","updatePaymentPromotionWithoutGiftById","deletePaymentPromotionById","Promotion_List","Create_Promotion","getReqPayload","resData","promo_list_code","promo_cate_code","quantity","discount_price","start_date","end_date","purchase_price","discount_type","toUpperCase","promoCate","productCate","discountCate","promo_cate_name","reqPayload","Edit_Promotion","selectData","fetchInit","initialInputData","promoCategoryPromise","productCategoryPromise","promotionByIdPromise","_yield$Promise$all","_yield$Promise$all2","promoCategoryRes","productCategoryRes","promotionByIdRes","promoCateOptions","productCateOptions","fieldsData","all","discountCateOptions","Point_Earn_List","btn_manage","logsId","Id","Point_Burn_List","handleExport","buildParams","startDate","endDate","dateStartSearch","dateEndSearch","prevProps","prevState","getDataTableUrl","load","encodeURIComponent","_handleExport","downloadFileByURL","downloadUrl","link","document","download","appendChild","click","removeChild","msg","obj","prefix","str","hasOwnProperty","esm_typeof","join","react_datepicker_min_default","handleChangeDate","selected","dateFormat","placeholderText","Point_Burn_Info","rewardid","logsid","maxHeight","Point_Manage","manage_point_id","manage_point_cost","manage_point_number","updated_at","Reward_Burn_List","isExport","fileUrl","downloadFile","exportExcelByFilter","pageInfo","page","columnParams","start","every","columnData","dataSrc","header","textContent","trim","searchable","search","some","search[value]","search[regex]","orderParams","searchFirstName","searchLastName","searchPhone","searchRewardsCode","searchRewardsName","searchRedeemDate","searchRedeemDateTo","searchBurnDate","searchBurnDateTo","searchExpiredDate","searchExpiredDateTo","searchText","searchField","filterText","encodeURI","column","entries","fetch","blob","URL","createObjectURL","Blob","fileName","substring","lastIndexOf","rw_type_receive","rewards_name_th","rw_tracking","rw_rewardstatus","onConfirmCancel","dataRewardHistory","rw_transection_id","rw_rewardcode","mem_number","rw_count","rw_type_receive_name","rw_expired_at","orderno","rw_burn_date","Reward_Burn_Info","ddProvince","ddAmphoe","ddDistrict","ddZipcode","getDropdownAddress","rw_member_address","rw_member_province","rw_member_amphoe","rw_member_district","rw_member_zipcode","address","amphoe","district","zipcode","provinceInit","amphoeInit","districtInit","zipcodeInit","results","_e$target","_this13","data-toggle","data-target","data-backdrop","tabindex","role","aria-labelledby","data-dismiss","aria-label","handleChangeEditAddress","name_th","zip_code","submitEditAddress","checkbox_reward_type_receive","checkbox_rewards_showtype","Reward_Create","handleSelect","handleSelectRedeemType","selected_RedeemType_Option","handleCheckbox","itemName","itemValue","indexOf","checkboxItems_reward_type_receive","checkboxItems_rewards_showtype","handleRadio","_this$state5","rewards_limited","redeem_limited","rewards_expired_type","rewards_discount_type","_this$state6","rewards_category_id","is_open","is_show","rewards_forstaff","rewards_welcome","rewards_birthday","selectOption","select_RedeemType_Option","_this$state7","rewards_category_name","type_name","Array","isArray","_this$state8","classNamePrefix","rewards_discount_percent","rewards_discount_max","rewards_count","rewards_end","rewards_expired_day","Reward_Edit","check_checkbox_reward_type_receive","check_checkbox_rewards_showtype","onConfirmEdit","rewards_id","rewards_limited_yes","rewards_limited_no","redeem_limited_yes","redeem_limited_no","rewards_expired_type_date","rewards_expired_type_number_day","rewards_expired_type_all","rewards_discount_type_baht","rewards_discount_type_percent","rewards_discount_type_product","_this$state9","maxWidth","Reward_List","request","XMLHttpRequest","open","rewards_image","onreadystatechange","readyState","querySelector","send","rewards_name","rewardId","Reward_Staff_Edit","staff_reward_id","reward_count","Reward_Staff","Reward_Staff_List","staff_idcard","Reward_Category_Create","rewards_category_type","warn","for","Reward_Category_Edit","Reward_Category","rwid","Redeem_Create","redeem_category_id","redeem_category_name_th","Redeem_Edit","redeemid","redeem_id","Redeem_List","redeem_name","redeemId","Redeem_Category_Create","Redeem_Category_Edit","Redeem_Category","News_List","showLoader","news_id","Title_th","news_title","Title_en","news_title_en","Message_th","news_description","Message_en","news_description_en","Receive","open_type","news_open_type","onConfirmSent","News_Create","isAutoNoti","autoNotiStatus","news_image","newsTitle","newsTitle_en","newsDescription","newsDescription_en","newsLink","autonoti_datetime","News_Edit","handleClickEdit","handleClickDelete","handleSubmitEditImage","onUpdateNews","getNewsByID","news_link","newsImage","news_active","is_autonoti","onConfirmCreateContent","validateFormAddImage","onModalQuestionEditContent","newsImage_new","NewsPromotionBanner","NewsPromotionBanner_Edit","handleClickAdd","typeManage","promotion_sort","video_promotion_sort","promotion_image_video","promotion_images","content_id","promotion_content_id","promotion_type","video_promotion_images","promotion_images_old","video_promotion_image_video","promotion_image_video_old","onModalSuccessManageContent","onEditorStateChange","editorStateDes","rawHtml","draftToHtml","convertToRaw","getCurrentContent","onSubEditorStateChange","editorState","newsImgSub","modalManageContent","fieldsget","nameImage","EditorState","createEmpty","length_image","length_image_video","handleSubmitAddImage","handleSubmitAddVideo","handleSubmitEditVideo","onConfirmManageContent","getPromotionByID","contentBlock","htmlToDraft","contentState","ContentState","createFromBlockArray","contentBlocks","createWithContent","news_desc_sub","convertHTMLtoEditor","news_image_sub","newsStart","news_start","newsEnd","news_end","newsImage_sub","onConfirmUpdateContent","onModalQuestionAddContent","listContent_image","listContent_image_video","controls","poster","preload","react_draft_wysiwyg","wrapperClassName","editorClassName","toolbar","inline","inDropdown","textAlign","history","image","uploadCallback","file","reject","xhr","addEventListener","responseText","previewImage","present","mandatory","data-date-format","pattern","today","month_num","date_num","NewsPromotionB_Create","dest_url","dataInit","dataSelected","rewardsList","rewards_name_en","hasText","rewardName","name_en","currentBanner","dest_type","news_like","DataInit","rewardData","_this2$state$fields","reward_id","rw_id","destURL","destType","nameEN","nameTH","rewardID","promobanner","aria-describedby","NewsPromotion_List","NewsPromotion_Create","news_image_1","promotion_sort_1","news_image_2","promotion_sort_2","news_image_3","promotion_sort_3","news_image_4","promotion_sort_4","news_video_1","promotion_sort_5","news_image_video_1","NewsPromotion_Edit","ExcelColumn","Member_List","fetching","setTimeout","filterDiv","daterangepicker","locale","autoUpdateInput","end","datestart","dateend","dataExportMember","mem_address","districts","provinces","mem_zipcode","total_point","fgColor","rgb","opacity","Member_Create","handleProvinceChange","selectedOptionAmphoe","selectedOptionDistrict","amphoeName","districtName","handleAmphoeChange","handleDistrictChange","getZipcodeByID","provinceName","mem_password","cf_password","mem_email","mem_birthdate","mem_district","mem_country","mem_province","id_district","optionsProvince","optionsAmphoe","optionsDistrict","Member_Edit","handleDateChange","birthdate","defaultProvince","defaultCountry","defaultDistrict","getMemberDataByID","firstname","lastname","phone","email","idcard","isDelete","country","province_name","country_name","district_name","Member_Point","pointType","p_receive_date","earn_code","earn_name","order_ref","p_remain_point","p_point","point_ExcelFile","point_ExcelSheet","Admin_List","ad_lastname","Admin_Create","selectOptionLevel","selectOptionBranch","level","level_name","level_id","res_branch","j","ad_firstname","ad_phone","ad_email","ad_username","ad_password","ad_level","firstName","lastName","telephone","username","password","Admin_Edit","onCancelResetPassword","modalResetPassword","onConfirmResetPassword","md5","resetPasswordText","admin_id","new_password","handleShowPasswordChange","showPassword","handleInputResetPasswordChange","validateFormResetPassword","handleSubmitResetPassword","onModalQuestionResetPassword","modalReset","getDataByID","ad_id","ad_oldPassword","Admin_EditPassword","Level_List","Level_Create","menu_promotion","menu_branch","menu_branch_queue","menu_branch_detail","menu_preorder","menu_preorder_sub_order_eatin","menu_preorder_sub_order_takehome","menu_preorder_sub_product_preorder","menu_preorder_sub_product_by_branch","menu_preorder_sub_product_preorder_category","menu_order_online","menu_order_online_sub_order","menu_order_online_sub_receive_order","menu_order_online_sub_product_by_branch","menu_order_online_sub_product_online","menu_order_online_sub_product_online_category","menu_rewards","menu_rewards_category","menu_rewards_items","menu_rewards_staff","menu_rewards_history","menu_news","menu_member","menu_member_list","menu_staffs","menu_point_log","menu_point_earn","menu_point_burn","menu_ewallet","menu_ewallet_account","menu_ewallet_transaction","menu_ewallet_report","menu_admin","menu_admin_list","menu_permission","menu_problem","menu_problem_title","menu_problem_list","Level_Edit","levelList","menu_product_online_sub_product_online","List_Problem","List_Problem_Ewallet","photoIndex","preview_image","dataExport","problem_ewallet_title_name","problem_ewallet_id","problem_id","status_problem","problem_ewallet_image","problem_ewallet_description","list_ExcelFile","list_ExcelSheet","index_es","mainSrc","onCloseRequest","List_Problem_Ewallet_Title","Create_Problem_Ewallet_Title","problem_ewallet_title_name_th","problem_ewallet_title_name_en","Edit_Problem_Ewallet_Title","getProblemTitleByID","problem_ewallet_title_id","objectDestructuringEmpty","Overview_Ewallet","dataTransSearch","handleExportEwalletAccounts","isExportBtn","exportBtnLabel","ewallet_active","ewallet_firstname_th","ewallet_lastname_th","net_amount","searchRegisDate","handleSubmitAll","Detail_Ewallet","merchant_name","transaction_description","transaction_amount","fx_rate","total_amount","MDR","transaction_fee","VAT","EWT","transaction_status","settlement_Initiated_by","cardholder_name","cardholder_email","approval_code","transaction_date","settlement_type","selected_bank_country","selected_bank_name","system_bank_country","system_bank_name","cardholder_IP","IP_country","IP_region","IP_city","secure_code","transaction_comment","detail_ExcelFile","detail_ExcelSheet","created_date","Withdraw_Ewallet","Withdraw_list_ExcelFile","Withdraw_list_ExcelSheet","WithdrawFund_Ewallet","amount_balance","withdraw_amount","color","resetInput","History_Ewallet","handleOptionChange","dateNow","arrPreviousMonth","setMonth","monthNow","yearNow","optionsPreviousMonth","transaction_type_name","transaction_type","invoice_no","History_list_ExcelFile","History_list_ExcelSheet","optionsChannel","optionsType","Transaction_List","disableDeleteBtn","toLowerCase","fees","List_list_ExcelFile","List_list_ExcelSheet","Topup_Create","Refund_Create","disableRefundRadio","chk","transaction_id_ref","settlement_date","chk_type","Report_Daily_Settlement_Ewallet","payment_channel","transection_status","total_MDR","total_transaction_fee","total_VAT","total_EWT","DailySettlement_list_ExcelFile","DailySettlement_list_ExcelSheet","Report_Daily_Refund_Ewallet","DailyRefund_list_ExcelFile","DailyRefund_list_ExcelSheet","mm_lable","arrYear","year3","arrMonth","Report_Monthly_Settlement_Ewallet","MonthlySettlement_list_ExcelFile","MonthlySettlement_list_ExcelSheet","Report_Monthly_Refund_Ewallet","MonthlyRefund_list_ExcelFile","MonthlyRefund_list_ExcelSheet","List_Payment","Promotion_Payment_List","Create_Promotion_Payment","typeorder_id","free_earn_cate_id","earn_point","rewards_code","handleMultiSelectChange","typeOrderCate","paymentChannel","freeEarnCate","rewardsOption","free_earn_name_en","Fragment","Edit_Promotion_Payment","promoFreeEarnCatePromise","promoActiveRewardsDDPromise","promoFreeEarnCateRes","promoActiveRewardsDDRes","promoFreeEarnCateOptions","promoActiveRewardsDdOptions","promoTypeOrderOptions","typeOrderList","split","promoPaymentChannelOptions","paymentChannelList","Staff_List","staff_number","staff_firstname","staff_lastname","staff_department","staff_position","job_type","Staff_Create","onSelectChange","typeJobs","staff_birthdate","Staff_Edit","staff_id","jobType","jobTypeSelected","Ewallet_Staff_Edit","staff_ewallet_id","getEwalletStaffByID","staff_ewallet_amount","urlAU","Activity_All","NavLink","Activity_Edit","defaultActivityFriend","activity_friends","activity_id","activity_name","datetime_start","datetime_stop","activity_desc_th","activity_desc_en","activity_ref_id","is_used","invite_condition_name","optionsActivityFriend","activity","invite_condition_id","Flashsale_Time_List","flashsale_time_id","typeorder_name","flashsale_time_datetime_start","flashsale_time_datetime_end","timestart","timeend","gotoListProduct","onReload","Flashsale_Time_Create","flashsale_specific_time_start","flashsale_specific_time_end","is_specific_time","orderType","flashsale_name_en","flashsale_name_th","optionsTypeOrder","ordertype","Flashsale_Time_Edit","defaultTypeOrder","Flashsale_Product_List","defaultProduct","products","getDataProductById","flashsale_product_id","flashsale_product_price_discount","onModalQuestionCreate","onModalQuestionUpdate","type_event","optionsProducts","prouct","FriendGetFriend_Create","invite_condition_ewallet_member","invite_condition_rewards_amount_member","invite_condition_ewallet_friend","invite_condition_rewards_amount_friend","invite_condition_max_friend_per_month","optionsRewards","rewards","invite_condition_is_friend","invite_condition_privilege_friend","invite_condition_rewards_id_friend","invite_condition_is_member","invite_condition_privilege_member","invite_condition_rewards_id_member","optionsPrivilege","FriendGetFriend_Edit","defaultPrivilegeMember","defaultPrivilegeFriend","defaultRewardFriend","defaultRewardMember","reward_name_friend","reward_name_member","FriendGetFriend_List","DiscountDelivery_Create","status_delivery_cost_free","discount_delivery_cost","total_amount_product_au","distance_min_delivery_free","distance_max_delivery_free","discount_delivery_time_start","discount_delivery_time_end","DiscountDelivery_Edit","discount_delivery_id","DiscountDelivery_List","Edit_PaymentChannel_Status","_useState","useState","_useState2","_useState3","od_ewallet","od_credit","od_cod","topup_pos","topup_credit","topup_payplus","_useState4","channelList","setChannelList","_useState5","_useState6","setModal","_useState7","_useState8","setShow","useEffect","paymentChannelStatusInit","checkboxInit","order_ewallet_status","order_credit_status","order_cod_status","topup_pos_status","topup_credit_status","topup_payplus_status","getElementById","newChannelList","LoginPage","submitted","backgroundImage","backgroundRepeat","backgroundSize","backgroundPosition","handleLogin","loginStatus","es_Redirect","_404","activitiesAction","listEventsTypeActivities","OverlayEvents_Switch","OverlayEvents","_ref$data","event_type","event_desc","datepicker","setDefaults","regional","Activities_Log","exportExcelActivitiesLogByFilter","filterGroup","date_start","date_end","textSearch","regex","field","dateText","eventsTypeList","initializeDatepickers","initEventsTypeActivityLog","_initEventsTypeActivityLog","abrupt","eventsRes","initComplete","inputSearch","searchValue","hasClass","prepend","changeMonth","changeYear","clearFilterHandler","draw","data-placement","tooltip_esm","position","fontSize","overlayEvents","chLogin","routes","Switch","exact","path","PrivateRoute_PrivateRoute","Edit_Payment_Channel_Status","NotFoundPages","LoginLayout","_Component","Sidebar","handleActive","level_admin","getLevelAdmin","menu_product_online","menu_product_online_recommend","menu_product_online_sub_product_addon","menu_product_online_sub_product_by_branch","menu_product_online_sub_product_online_category","menu_manage_promotion","menu_product_online_promotion","menu_manage_promotion_sub_payment","menu_activity","activities_log","menuItem","displaySubItem","hideSubItem","handleActiveSubmenu","Footer","Header","logout","clear","NormalLayout","header_Header","sidebar_Sidebar","footer_Footer","App","layoutPage","NormalLayout_NormalLayout","LoginLayout_LoginLayout","withRouter","isLocalhost","Boolean","registerValidSW","swUrl","navigator","serviceWorker","register","registration","onupdatefound","installingWorker","installing","onstatechange","controller","AppWithRouter","BrowserRouter","src_App","ReactDOM","src_AppWithRouter","origin","headers","ready","unregister","checkValidServiceWorker","registerServiceWorker"],"mappings":"m5CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,oWCG3BC,EAAe,SAAHC,GAAA,IAAiBC,EAASD,EAApBE,UAAyBC,EAAIC,OAAAC,EAAA,EAAAD,CAAAJ,EAAA,sBACxDM,EAAAC,EAAAC,cAACC,EAAA,EAAKL,OAAAM,OAAA,GAAKP,EAAI,CAAEQ,OAAQ,SAAAC,GAAK,OAC1BC,aAAaC,QAAQ,QACfR,EAAAC,EAAAC,cAACP,EAAcW,GACfN,EAAAC,EAAAC,cAACO,EAAA,EAAQ,CAACC,GAAI,CAAEC,SAAU,oBAAqBC,MAAO,CAAEC,KAAMP,EAAMQ,2CCP9EC,EAAc,GACZC,EAAUC,OAAOH,SAASI,SACfD,QAAUA,OAAOH,UAAYG,OAAOH,SAASI,SAG9C,cAAZF,GAAuC,cAAZA,EAG7BD,EAAc,CACZI,OAAQ,6CACRC,MAAO,6CACPC,QAAS,6CACTC,SAAU,6CACVC,QAAS,6CACTC,OAAQ,6CACRC,gBAAiB,6DACjBC,aAAc,6CACdC,OAAQ,6CACRC,KAAM,6CACNC,MAAO,6CACPC,OAAQ,6CACRC,aAAc,qDACdC,sBAAuB,qDACvBC,MAAO,6CACPC,MAAO,6CACPC,SAAU,6CACVC,WAAY,6CACZC,QAAS,6CACTC,gBAAiB,6CACjBC,WAAY,6CACZC,WAAY,6CACZC,IAAK,oCA6BY,yBAAZzB,GAAkD,iBAAZA,EAE7CD,EAAc,CACZI,OAAQ,4BACRC,MAAO,4BACPC,QAAS,4BACTC,SAAU,4BACVC,QAAS,4BACTC,OAAQ,4BACRC,gBAAiB,4CACjBC,aAAc,4BACdC,OAAQ,4BACRC,KAAM,4BACNC,MAAO,4BACPC,OAAQ,4BACRC,aAAc,oCACdC,sBAAuB,oCACvBC,MAAO,4BACPC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IAAMC,EAAmBF,EAAaG,WACtCD,EAAiBE,cAAgB,WACA,cAA3BF,EAAiB7lE,QACfwlE,UAAUC,cAAcO,YAC1Bj9D,QAAQC,IAAI,wCACZ3I,OAAOH,SAASgZ,UAEhBnQ,QAAQC,IAAI,2CAMrBmL,MAAM,SAAAuH,GACL3S,QAAQ2S,MAAM,4CAA6CA,mBC5C3DuqD,GAAgB,WAAH,OACjB7mE,EAAAC,EAAAC,cAAC4mE,GAAA,EAAa,KACZ9mE,EAAAC,EAAAC,cAAC6mE,GAAG,QAIRC,IAAS3mE,OAAOL,EAAAC,EAAAC,cAAC+mE,GAAa,MAAK/4B,SAASkyB,eAAe,SDL5C,WACb,GAA6C,kBAAmBgG,UAAW,CAEzE,GADkB,IAAIh0B,IAAI/oB,cAAwBpoB,OAAOH,UAC3ComE,SAAWjmE,OAAOH,SAASomE,OACvC,OAGFjmE,OAAOohD,iBAAiB,OAAQ,WAC9B,IAAM8jB,EAAK,GAAApjE,OAAMsmB,cAAsB,sBAEnC28C,IAqCV,SAAiCG,GAC/Bj0B,MAAMi0B,GACHnjE,KAAK,SAAA8R,GAEkB,MAApBA,EAAS2L,SACuD,IAAhE3L,EAASqyD,QAAQrkE,IAAI,gBAAgBqzC,QAAQ,cAE7CiwB,UAAUC,cAAce,MAAMpkE,KAAK,SAAAujE,GACjCA,EAAac,aAAarkE,KAAK,WAC7B/B,OAAOH,SAASgZ,aAIpBosD,GAAgBC,KAGnBpxD,MAAM,WACLpL,QAAQC,IAAI,mEArDV09D,CAAwBnB,GACxBC,UAAUC,cAAce,MAAMpkE,KAAK,WACjC2G,QAAQC,IACN,oEAIJs8D,GAAgBC,MCZxBoB","file":"static/js/main.0dfe82d7.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/loading.e15910d9.gif\";","import React from 'react';\nimport { Route, Redirect } from 'react-router-dom';\n\nexport const PrivateRoute = ({ component: Component, ...rest }) => (\n (\n localStorage.getItem('user')\n ? \n : \n )} />\n)","let backendHost = {};\nconst urlPath = window.location.hostname\nconst hostname = window && window.location && window.location.hostname;\n\n\nif (urlPath === \"localhost\" || urlPath === \"127.0.0.1\")\n{\n //! UAT\n backendHost = {\n member: 'https://afteryoumobileuat.mmm2007.net:4012',\n admin: 'https://afteryoumobileuat.mmm2007.net:4013',\n general: 'https://afteryoumobileuat.mmm2007.net:4013',\n category: 'https://afteryoumobileuat.mmm2007.net:4014',\n product: 'https://afteryoumobileuat.mmm2007.net:4014',\n branch: 'https://afteryoumobileuat.mmm2007.net:4016',\n branch_preorder: 'https://afteryoumobileuat.mmm2007.net:4016/branch/preorder',\n order_online: 'https://afteryoumobileuat.mmm2007.net:4017',\n banner: 'https://afteryoumobileuat.mmm2007.net:4017',\n news: 'https://afteryoumobileuat.mmm2007.net:4018',\n order: 'https://afteryoumobileuat.mmm2007.net:4019',\n reward: 'https://afteryoumobileuat.mmm2007.net:4020',\n reward_image: 'https://afteryoumobileuat.mmm2007.net:4020/images/',\n reward_category_image: 'https://afteryoumobileuat.mmm2007.net:4020/images/',\n point: 'https://afteryoumobileuat.mmm2007.net:4021',\n queue: 'https://afteryoumobileuat.mmm2007.net:4022',\n province: 'https://afteryoumobileuat.mmm2007.net:4023',\n upload_img: 'https://afteryoumobileuat.mmm2007.net:4024',\n ewallet: 'https://afteryoumobileuat.mmm2007.net:4025',\n payment_gateway: 'https://afteryoumobileuat.mmm2007.net:4026',\n backoffice: 'https://afteryoumobileuat.mmm2007.net:4027', \n product_v2: 'https://afteryoumobileuat.mmm2007.net:4028', \n pos: 'https://apimobileuat.mmm2007.net'\n }\n //! PROD\n // backendHost = {\n // member: 'https://afteryoumobileprod.com:4012',\n // admin: 'https://afteryoumobileprod.com:4013',\n // general: 'https://afteryoumobileprod.com:4013',\n // category: 'https://afteryoumobileprod.com:4014',\n // product: 'https://afteryoumobileprod.com:4014',\n // branch: 'https://afteryoumobileprod.com:4016',\n // branch_preorder: 'https://afteryoumobileprod.com:4016/branch/preorder',\n // order_online: 'https://afteryoumobileprod.com:4017',\n // banner: 'https://afteryoumobileprod.com:4017',\n // news: 'https://afteryoumobileprod.com:4018',\n // order: 'https://afteryoumobileprod.com:4019',\n // reward: 'https://afteryoumobileprod.com:4020',\n // reward_image: 'https://afteryoumobileprod.com:4020/images/',\n // reward_category_image: 'https://afteryoumobileprod.com:4020/images/',\n // point: 'https://afteryoumobileprod.com:4021',\n // queue: 'https://afteryoumobileprod.com:4022',\n // province: 'https://afteryoumobileprod.com:4023',\n // upload_img: 'https://afteryoumobileprod.com:4024',\n // ewallet: 'https://afteryoumobileprod.com:4025',\n // payment_gateway: 'https://afteryoumobileprod.com:4026',\n // backoffice: 'https://afteryoumobileprod.com:4027', \n // product_v2: 'https://afteryoumobileprod.com:4028',\n // pos: 'https://afteryoumobile.com'\n // }\n}\nelse if (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") \n{\n backendHost = {\n member: 'https://podsable.com:4012',\n admin: 'https://podsable.com:4013',\n general: 'https://podsable.com:4013',\n category: 'https://podsable.com:4014',\n product: 'https://podsable.com:4014',\n branch: 'https://podsable.com:4016',\n branch_preorder: 'https://podsable.com:4016/branch/preorder',\n order_online: 'https://podsable.com:4017',\n banner: 'https://podsable.com:4017',\n news: 'https://podsable.com:4018',\n order: 'https://podsable.com:4019',\n reward: 'https://podsable.com:4020',\n reward_image: 'https://podsable.com:4020/images/',\n reward_category_image: 'https://podsable.com:4020/images/',\n point: 'https://podsable.com:4021',\n queue: 'https://podsable.com:4022',\n province: 'https://podsable.com:4023',\n upload_img: 'https://podsable.com:4024',\n ewallet: 'https://podsable.com:4025',\n payment_gateway: 'https://podsable.com:4026',\n backoffice: 'https://podsable.com:4027', \n product_v2: 'https://podsable.com:4028',\n pos: 'https://apimobileuat.mmm2007.net'\n }\n}\nelse if (urlPath === \"https://afteryoumobileprod.com\" || urlPath === \"afteryoumobileprod.com\") \n{\n backendHost = {\n member: 'https://afteryoumobileprod.com:4012',\n admin: 'https://afteryoumobileprod.com:4013',\n general: 'https://afteryoumobileprod.com:4013',\n category: 'https://afteryoumobileprod.com:4014',\n product: 'https://afteryoumobileprod.com:4014',\n branch: 'https://afteryoumobileprod.com:4016',\n branch_preorder: 'https://afteryoumobileprod.com:4016/branch/preorder',\n order_online: 'https://afteryoumobileprod.com:4017',\n banner: 'https://afteryoumobileprod.com:4017',\n news: 'https://afteryoumobileprod.com:4018',\n order: 'https://afteryoumobileprod.com:4019',\n reward: 'https://afteryoumobileprod.com:4020',\n reward_image: 'https://afteryoumobileprod.com:4020/images/',\n reward_category_image: 'https://afteryoumobileprod.com:4020/images/',\n point: 'https://afteryoumobileprod.com:4021',\n queue: 'https://afteryoumobileprod.com:4022',\n province: 'https://afteryoumobileprod.com:4023',\n upload_img: 'https://afteryoumobileprod.com:4024',\n ewallet: 'https://afteryoumobileprod.com:4025',\n payment_gateway: 'https://afteryoumobileprod.com:4026',\n backoffice: 'https://afteryoumobileprod.com:4027', \n product_v2: 'https://afteryoumobileprod.com:4028',\n pos: 'https://afteryoumobile.com'\n }\n}\nelse if (urlPath === \"afteryoumobileuat.com\" || urlPath === \"afteryoumobileuat.mmm2007.net\") \n{\n backendHost = {\n member: 'https://afteryoumobileuat.mmm2007.net:4012',\n admin: 'https://afteryoumobileuat.mmm2007.net:4013',\n general: 'https://afteryoumobileuat.mmm2007.net:4013',\n category: 'https://afteryoumobileuat.mmm2007.net:4014',\n product: 'https://afteryoumobileuat.mmm2007.net:4014',\n branch: 'https://afteryoumobileuat.mmm2007.net:4016',\n branch_preorder: 'https://afteryoumobileuat.mmm2007.net:4016/branch/preorder',\n order_online: 'https://afteryoumobileuat.mmm2007.net:4017',\n banner: 'https://afteryoumobileuat.mmm2007.net:4017',\n news: 'https://afteryoumobileuat.mmm2007.net:4018',\n order: 'https://afteryoumobileuat.mmm2007.net:4019',\n reward: 'https://afteryoumobileuat.mmm2007.net:4020',\n reward_image: 'https://afteryoumobileuat.mmm2007.net:4020/images/',\n reward_category_image: 'https://afteryoumobileuat.mmm2007.net:4020/images/',\n point: 'https://afteryoumobileuat.mmm2007.net:4021',\n queue: 'https://afteryoumobileuat.mmm2007.net:4022',\n province: 'https://afteryoumobileuat.mmm2007.net:4023',\n upload_img: 'https://afteryoumobileuat.mmm2007.net:4024',\n ewallet: 'https://afteryoumobileuat.mmm2007.net:4025',\n payment_gateway: 'https://afteryoumobileuat.mmm2007.net:4026',\n backoffice: 'https://afteryoumobileuat.mmm2007.net:4027', \n product_v2: 'https://afteryoumobileuat.mmm2007.net:4028',\n pos: 'https://apimobileuat.mmm2007.net'\n }\n}\n \n //! Prod\n // backendHost = {\n // member: 'https://afteryoumobileprod.com:4012',\n // admin: 'https://afteryoumobileprod.com:4013',\n // general: 'https://afteryoumobileprod.com:4013',\n // category: 'https://afteryoumobileprod.com:4014',\n // product: 'https://afteryoumobileprod.com:4014',\n // branch: 'https://afteryoumobileprod.com:4016',\n // branch_preorder: 'https://afteryoumobileprod.com:4016/branch/preorder',\n // order_online: 'https://afteryoumobileprod.com:4017',\n // banner: 'https://afteryoumobileprod.com:4017',\n // news: 'https://afteryoumobileprod.com:4018',\n // order: 'https://afteryoumobileprod.com:4019',\n // reward: 'https://afteryoumobileprod.com:4020',\n // reward_image: 'https://afteryoumobileprod.com:4020/images/',\n // reward_category_image: 'https://afteryoumobileprod.com:4020/images/',\n // point: 'https://afteryoumobileprod.com:4021',\n // queue: 'https://afteryoumobileprod.com:4022',\n // province: 'https://afteryoumobileprod.com:4023',\n // upload_img: 'https://afteryoumobileprod.com:4024',\n // ewallet: 'https://afteryoumobileprod.com:4025',\n // payment_gateway: 'https://afteryoumobileprod.com:4026',\n // backoffice: 'https://afteryoumobileprod.com:4027', \n // }\n\n// if (urlPath === \"https://afteryou-backoffice.podsable.com\" || urlPath === \"afteryou-backoffice.podsable.com\") {\n// backendHost = {\n// member: 'https://podsable.com:4012',\n// admin: 'https://podsable.com:4013',\n// general: 'https://podsable.com:4013',\n// category: 'https://podsable.com:4014',\n// product: 'https://podsable.com:4014',\n// branch: 'https://podsable.com:4016',\n// branch_preorder: 'https://podsable.com:4016/branch/preorder',\n// order_online: 'https://podsable.com:4017',\n// banner: 'https://podsable.com:4017',\n// news: 'https://podsable.com:4018',\n// order: 'https://podsable.com:4019',\n// reward: 'https://podsable.com:4020',\n// reward_image: 'https://podsable.com:4020/images/',\n// reward_category_image: 'https://podsable.com:4020/images/',\n// point: 'https://podsable.com:4021',\n// queue: 'https://podsable.com:4022',\n// province: 'https://podsable.com:4023',\n// upload_img: 'https://podsable.com:4024',\n// ewallet: 'https://podsable.com:4025',\n// payment_gateway: 'https://podsable.com:4026',\n// backoffice: 'https://podsable.com:4027', \n// }\n// } else if (urlPath === \"localhost\") {\n// backendHost = {\n// category: 'http://localhost:4014',\n// product: 'http://localhost:4014',\n// branch: 'http://localhost:4016',\n// branch_preorder: 'http://localhost:4016/branch/preorder',\n// reward: 'http://localhost:4020',\n// reward_image: 'http://localhost:4020/images/',\n// reward_category_image: 'http://localhost:4020/images/',\n// member: 'http://localhost:4012',\n// order: 'http://localhost:4019',\n// news: 'http://localhost:4018',\n// admin: 'http://localhost:4013',\n// queue: 'http://localhost:4022',\n// order_online: 'http://localhost:4017',\n// province: 'http://localhost:4023',\n// upload_img: 'http://localhost:4024',\n// point: 'http://localhost:4021',\n// banner: 'http://localhost:4017',\n// ewallet: 'http://localhost:4025',\n// general: 'http://localhost:4013',\n// payment_gateway: 'http://localhost:4026',\n\n// }\n// } else if (urlPath === \"grabapi.afteryoudessertcafe.com\" || urlPath === \"https://grabapi.afteryoudessertcafe.com\") {\n// backendHost = {\n// category: 'https://grabapi.afteryoudessertcafe.com:4014',\n// product: 'https://grabapi.afteryoudessertcafe.com:4014',\n// branch: 'https://grabapi.afteryoudessertcafe.com:4016',\n// branch_preorder: 'https://grabapi.afteryoudessertcafe.com:4016/branch/preorder',\n// reward: 'https://grabapi.afteryoudessertcafe.com:4020',\n// reward_image: 'https://grabapi.afteryoudessertcafe.com:4020/images/',\n// reward_category_image: 'https://grabapi.afteryoudessertcafe.com:4020/images/',\n// member: 'https://grabapi.afteryoudessertcafe.com:4012',\n// order: 'https://grabapi.afteryoudessertcafe.com:4019',\n// news: 'https://grabapi.afteryoudessertcafe.com:4018',\n// admin: 'https://grabapi.afteryoudessertcafe.com:4013',\n// queue: 'https://grabapi.afteryoudessertcafe.com:4022',\n// order_online: 'https://grabapi.afteryoudessertcafe.com:4017',\n// province: 'https://grabapi.afteryoudessertcafe.com:4023',\n// upload_img: 'https://grabapi.afteryoudessertcafe.com:4024',\n// point: 'https://grabapi.afteryoudessertcafe.com:4021',\n// banner: 'https://grabapi.afteryoudessertcafe.com:4017',\n// ewallet: 'https://grabapi.afteryoudessertcafe.com:4025',\n// general: 'https://grabapi.afteryoudessertcafe.com:4013',\n// payment_gateway: 'https://grabapi.afteryoudessertcafe.com:4026',\n// backoffice: 'https://grabapi.afteryoudessertcafe.com:4027', \n// }\n// } else if (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") \n// {\n// backendHost = {\n// member: 'https://podsable.com:4012',\n// admin: 'https://podsable.com:4013',\n// general: 'https://podsable.com:4013',\n// category: 'https://podsable.com:4014',\n// product: 'https://podsable.com:4014',\n// branch: 'https://podsable.com:4016',\n// branch_preorder: 'https://podsable.com:4016/branch/preorder',\n// order_online: 'https://podsable.com:4017',\n// banner: 'https://podsable.com:4017',\n// news: 'https://podsable.com:4018',\n// order: 'https://podsable.com:4019',\n// reward: 'https://podsable.com:4020',\n// reward_image: 'https://podsable.com:4020/images/',\n// reward_category_image: 'https://podsable.com:4020/images/',\n// point: 'https://podsable.com:4021',\n// queue: 'https://podsable.com:4022',\n// province: 'https://podsable.com:4023',\n// upload_img: 'https://podsable.com:4024',\n// ewallet: 'https://podsable.com:4025',\n// payment_gateway: 'https://podsable.com:4026',\n// backoffice: 'https://podsable.com:4027', \n// }\n// } else {\n// backendHost = {\n// category: 'https://grabapi.afteryoudessertcafe.com:4014',\n// product: 'https://grabapi.afteryoudessertcafe.com:4014',\n// branch: 'https://grabapi.afteryoudessertcafe.com:4016',\n// branch_preorder: 'https://grabapi.afteryoudessertcafe.com:4016/branch/preorder',\n// reward: 'https://grabapi.afteryoudessertcafe.com:4020',\n// reward_image: 'https://grabapi.afteryoudessertcafe.com:4020/images/',\n// reward_category_image: 'https://grabapi.afteryoudessertcafe.com:4020/images/',\n// member: 'https://grabapi.afteryoudessertcafe.com:4012',\n// order: 'https://grabapi.afteryoudessertcafe.com:4019',\n// news: 'https://grabapi.afteryoudessertcafe.com:4018',\n// admin: 'https://grabapi.afteryoudessertcafe.com:4013',\n// queue: 'https://grabapi.afteryoudessertcafe.com:4022',\n// order_online: 'https://grabapi.afteryoudessertcafe.com:4017',\n// province: 'https://grabapi.afteryoudessertcafe.com:4023',\n// upload_img: 'https://grabapi.afteryoudessertcafe.com:4024',\n// point: 'https://grabapi.afteryoudessertcafe.com:4021',\n// banner: 'https://grabapi.afteryoudessertcafe.com:4017',\n// ewallet: 'https://grabapi.afteryoudessertcafe.com:4025',\n// general: 'https://grabapi.afteryoudessertcafe.com:4013',\n// payment_gateway: 'https://grabapi.afteryoudessertcafe.com:4026',\n// backoffice: 'https://grabapi.afteryoudessertcafe.com:4027', \n// }\n// }\n\n// backendHost = {\n// category: 'https://grabapi.afteryoudessertcafe.com:4014',\n// product: 'https://grabapi.afteryoudessertcafe.com:4014',\n// branch: 'https://grabapi.afteryoudessertcafe.com:4016',\n// branch_preorder: 'https://grabapi.afteryoudessertcafe.com:4016/branch/preorder',\n// reward: 'https://grabapi.afteryoudessertcafe.com:4020',\n// reward_image: 'https://grabapi.afteryoudessertcafe.com:4020/images/',\n// reward_category_image: 'https://grabapi.afteryoudessertcafe.com:4020/images/',\n// member: 'https://grabapi.afteryoudessertcafe.com:4012',\n// order: 'https://grabapi.afteryoudessertcafe.com:4019',\n// news: 'https://grabapi.afteryoudessertcafe.com:4018',\n// admin: 'https://grabapi.afteryoudessertcafe.com:4013',\n// queue: 'https://grabapi.afteryoudessertcafe.com:4022',\n// order_online: 'https://grabapi.afteryoudessertcafe.com:4017',\n// province: 'https://grabapi.afteryoudessertcafe.com:4023',\n// upload_img: 'https://grabapi.afteryoudessertcafe.com:4024',\n// point: 'https://grabapi.afteryoudessertcafe.com:4021',\n// banner: 'https://grabapi.afteryoudessertcafe.com:4017',\n// ewallet: 'https://grabapi.afteryoudessertcafe.com:4025',\n// general: 'https://grabapi.afteryoudessertcafe.com:4013',\n// payment_gateway: 'https://grabapi.afteryoudessertcafe.com:4026',\n// backoffice: 'https://grabapi.afteryoudessertcafe.com:4027', \n// }\n\nexport const Base_API = backendHost;\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const rewardAction = {\n getRewardCategoryList,\n createRewardCategory,\n activateRewardCategory,\n deleteRewardCategory,\n getRewardCategoryDataByID,\n updateRewardCategory,\n\n listReward,\n createReward,\n deleteReward,\n getRewardDataByID,\n updateReward,\n activateReward,\n\n listBurnHistory,\n deleteBurnHistory,\n getLogsHistoryByID,\n activeLogsHistoryByID,\n updateTransaction,\n\n getRewardStaffByID,\n updateRewardStaffByID,\n getRedeemTypeLists\n};\n\nfunction getRedeemTypeLists() {\n return axios.get(`${Base_API.backoffice}/api/redeem-types`).then(res => {\n return res.data;\n });\n}\n\nfunction getRewardCategoryList() {\n return axios.get(`${Base_API.reward}/reward_category`).then(res => {\n return res.data;\n });\n}\n\nfunction createRewardCategory(FormData) {\n return axios.post(`${Base_API.reward}/reward_category`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction activateRewardCategory(id, FormData) {\n return axios.put(`${Base_API.reward}/reward_category/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteRewardCategory(id) {\n return axios.delete(`${Base_API.reward}/reward_category/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getRewardCategoryDataByID(id) {\n return axios.get(`${Base_API.reward}/reward_category/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction deleteReward(id) {\n return axios.delete(`${Base_API.reward}/reward/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction listReward() {\n return axios.get(`${Base_API.reward}/reward`).then(res => {\n return res.data;\n });\n}\n\nfunction createReward(FormData) {\n return axios.post(`${Base_API.reward}/reward`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction getRewardDataByID(id) {\n return axios.get(`${Base_API.reward}/reward/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateReward(FormData, id) {\n return axios.put(`${Base_API.reward}/reward/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction activateReward(FormData, id) {\n return axios.put(`${Base_API.reward}/reward/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction updateRewardCategory(FormData, id) {\n return axios.put(`${Base_API.reward}/reward_category/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction listBurnHistory(dataSearch) {\n return axios.get(`${Base_API.reward}/burn?searchFirstName=${dataSearch.s_FirstName}&searchLastName=${dataSearch.s_LastName}&searchPhone=${dataSearch.s_Phone}&searchRewardsCode=${dataSearch.s_RewardsCode}&searchRewardsName=${dataSearch.s_RewardsName}&searchRedeemDate=${dataSearch.s_RedeemDate}&searchRedeemDateTo=${dataSearch.s_RedeemDateTo}&searchBurnDate=${dataSearch.s_BurnDate}&searchBurnDateTo=${dataSearch.s_BurnDateTo}&searchExpiredDate=${dataSearch.s_ExpiredDate}&searchExpiredDateTo=${dataSearch.s_ExpiredDateTo}`).then(res => {\n return res.data;\n });\n}\n\nfunction getLogsHistoryByID(id) {\n return axios.get(`${Base_API.reward}/burn/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction activeLogsHistoryByID(FormData, id) {\n return axios.put(`${Base_API.reward}/burn/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteBurnHistory(id) {\n return axios.delete(`${Base_API.reward}/burn/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateTransaction(FormData, id) {;\n return axios.put(`${Base_API.reward}/api/transaction/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction getRewardStaffByID(id) {\n return axios.get(`${Base_API.reward}/api/reward_staff/get/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateRewardStaffByID(id, data) {\n return axios.put(`${Base_API.reward}/api/reward_staff/update/${id}`, data).then(res => {\n return res.data;\n });\n}\n\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const redeemAction = {\n getRedeemCategoryList,\n createRedeemCategory,\n activateRedeemCategory,\n deleteRedeemCategory,\n getRedeemCategoryDataByID,\n updateRedeemCategory,\n\n createRedeem,\n deleteRedeem,\n getRedeemDataByID,\n updateRedeem,\n activateRedeem,\n deleteBurnHistory,\n getLogsHistoryByID,\n\n};\n\nfunction getRedeemCategoryList() {\n return axios.get(`${Base_API.reward}/redeem_category`).then(res => {\n return res.data;\n });\n}\n\nfunction createRedeemCategory(FormData) {\n return axios.post(`${Base_API.reward}/redeem_category`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction createRedeem(FormData) {\n return axios.post(`${Base_API.reward}/redeem`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction activateRedeemCategory(id, FormData) {\n return axios.put(`${Base_API.reward}/redeem_category/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteRedeemCategory(id) {\n return axios.delete(`${Base_API.reward}/redeem_category/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction deleteRedeem(id) {\n return axios.delete(`${Base_API.reward}/redeem/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction deleteBurnHistory(id) {\n return axios.delete(`${Base_API.reward}/burn/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getRedeemCategoryDataByID(id) {\n return axios.get(`${Base_API.reward}/redeem_category/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getLogsHistoryByID(id) {\n return axios.get(`${Base_API.reward}/burn/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getRedeemDataByID(id) {\n return axios.get(`${Base_API.reward}/redeem/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateRedeemCategory(FormData, id) {\n return axios.put(`${Base_API.reward}/redeem_category/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\n\nfunction updateRedeem(FormData, id) {\n return axios.put(`${Base_API.reward}/redeem/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n\nfunction activateRedeem(id, FormData) {\n return axios.put(`${Base_API.reward}/redeem/${id}`, FormData).then(res => {\n return res.data;\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const categoryAction = {\n updateEatinCategory,\n getEatinCategoryId,\n createEatinCategory,\n deleteEatinCategory,\n getEatinCategory,\n\n createOnlineCategory,\n updateOnlineCategory,\n getOnlineCategoryId,\n deleteOnlineCategory,\n\n};\n\nfunction getEatinCategoryId(cid) {\n return axios.get(`${Base_API.category}/category/${cid}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getEatinCategory() {\n return axios.get(`${Base_API.category}/category`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateEatinCategory(formData, cid) {\n return axios.put(`${Base_API.category}/category/${cid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createEatinCategory(formData) {\n return axios.post(`${Base_API.category}/category`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteEatinCategory(cid) {\n return axios.put(`${Base_API.category}/category/delete/${cid}`).then(res => {\n return res.data;\n });\n}\n\nfunction createOnlineCategory(formData) {\n return axios.post(`${Base_API.category}/product_online_category`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction updateOnlineCategory(formData, cid) {\n return axios.put(`${Base_API.category}/product_online_category/${cid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getOnlineCategoryId(cid) {\n return axios.get(`${Base_API.category}/product_online_category/${cid}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction deleteOnlineCategory(cid) {\n return axios.put(`${Base_API.category}/product_online_category/delete/${cid}`).then(res => {\n return res.data;\n });\n}","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const branchAction = {\n listBranchAll,\n\n updateBranchEatin,\n getBranchEatinId,\n createBranchEatin,\n deleteBranchEatin,\n activateBranchEatin,\n getBranchEatinAll,\n\n\n updateBranchPreorder,\n getBranchPreorderId,\n createBranchPreorder,\n deleteBranchPreorder,\n activateBranchPreorder,\n listBranchOrderOnline,\n\n};\n\nfunction listBranchAll() {\n return axios.get(`${Base_API.branch}/branch/api/branch_all`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getBranchEatinId(branch_id) {\n return axios.get(`${Base_API.branch}/branch/${branch_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getBranchEatinAll() {\n return axios.get(`${Base_API.branch}/branch`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateBranchEatin(formData, branch_id) {\n return axios.put(`${Base_API.branch}/branch/${branch_id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createBranchEatin(formData) {\n return axios.post(`${Base_API.branch}/branch`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteBranchEatin(branch_id) {\n return axios.delete(`${Base_API.branch}/branch/${branch_id}`).then(res => {\n return res.data;\n });\n}\n\nfunction activateBranchEatin(formData, branch_id) {\n return axios.put(`${Base_API.branch}/branch/${branch_id}`, formData).then(res => {\n return res.data;\n });\n}\n\n\nfunction getBranchPreorderId(branch_id) {\n return axios.get(`${Base_API.branch}/branch_preorder/${branch_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateBranchPreorder(formData, branch_id) {\n return axios.put(`${Base_API.branch}/branch_preorder/${branch_id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createBranchPreorder(formData) {\n return axios.post(`${Base_API.branch}/branch_preorder`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteBranchPreorder(branch_id) {\n return axios.delete(`${Base_API.branch}/branch_preorder/${branch_id}`).then(res => {\n return res.data;\n });\n}\n\nfunction activateBranchPreorder(formData, branch_id) {\n return axios.put(`${Base_API.branch}/branch_orderonline/${branch_id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction listBranchOrderOnline() {\n return axios.get(`${Base_API.branch}/branch/api/branch_all`, \"\").then(res => {\n return res.data;\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const bannerAction = {\n // deleteBanner,\n getBannerByID,\n updateBanner,\n // createBanner\n};\n\nfunction getBannerByID(banner_id) {\n return axios.get(`${Base_API.banner}/banner/${banner_id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateBanner(inputValue, banner_id) {\n return axios.put(`${Base_API.banner}/banner/${banner_id}`, inputValue).then(res => {\n return res.data;\n });\n}\n\n// function createBanner(inputValue) {\n// return axios.post(`${Base_API.banner}/images`, inputValue).then(res => {\n// return res.data;\n// });\n// }\n\n// function deleteBanner(bid) {\n// return axios({\n// method: \"DELETE\",\n// url: `${Base_API.banner}/banners/${bid}`\n// })\n// .then(function(response) {\n// return response.data;\n// })\n// .catch(function(response) {\n// console.log(response);\n// });\n// }\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const productAction = {\n updateEatinProduct,\n activateProductEatin,\n getEatinProductId,\n createEatinProduct,\n deleteEatinProduct,\n getCategoryProductListAll,\n getEatinProductList,\n\n getEatinBranchByProduct,\n getEatinBranchByProductID,\n updateEatinBranchByProductID,\n\n updatePreProduct,\n getPreProductId,\n createPreProduct,\n deletePreProduct,\n activateProductPre,\n\n getCategoryProductOnline,\n\n getProductOnlineById,\n updateProductOnline,\n getProductOnlineList,\n\n onlineListBranchByProduct,\n onlineGetProductByProductBranchID,\n onlineUpdateProductByProductID,\n\n updateProductByBranchCode,\n\n listProductIsactive,\n importExcel,\n\n createProductAttribute,\n deleteProductAttribute,\n updateProductAttribute,\n getProductAttributeByID,\n getProductAttributeList,\n getProductAttributeUsedByPrCode,\n updateProductAttributeDetail,\n createPreProductV2,\n deletePreProductV2,\n updateProductOnlineV2,\n importProductOnlineBySheet\n};\n\nfunction importProductOnlineBySheet(reqData, setProgress) {\n // Connect to WebSocket server\n const socket = new WebSocket(`${Base_API.product}/api/product/excel/upload`);\n // Update progress when receiving messages from WebSocket\n socket.onmessage = (event) => {\n const data = JSON.parse(event.data);\n if (data.progress) {\n setProgress(data.progress);\n }\n };\n return axios.post(`${Base_API.product}/api/product/excel/upload`, reqData).then(res => {\n return res.data;\n });\n}\nfunction createProductAttribute(reqData) {\n return axios.post(`${Base_API.product_v2}/api/product/attribute`, reqData).then(res => {\n return res.data;\n });\n}\nfunction deleteProductAttribute(id) {\n return axios.delete(`${Base_API.product_v2}/api/product/attribute/${id}`).then(res => {\n return res.data;\n });\n}\nfunction updateProductAttribute(formData, id) {\n return axios.put(`${Base_API.product_v2}/api/product/attribute/${id}`, formData).then(res => {\n return res.data;\n });\n}\nfunction updateProductAttributeDetail(reqData, id) {\n return axios.put(`${Base_API.product_v2}/api/product/attribute-detail/${id}`, reqData).then(res => {\n return res.data;\n });\n}\nfunction getProductAttributeByID(id) {\n return axios.get(`${Base_API.product_v2}/api/product/attribute/${id}`).then(res => {\n return res.data;\n });\n}\nfunction getProductAttributeList() {\n return axios.get(`${Base_API.product_v2}/api/product/attributeset`).then(res => {\n return res.data;\n });\n}\nfunction getProductAttributeUsedByPrCode(product_code) {\n return axios.get(`${Base_API.product_v2}/api/product/attributeused/${product_code}`).then(res => {\n return res.data;\n });\n}\nfunction createPreProductV2(formData) {\n return axios.post(`${Base_API.product_v2}/v2/product_online`, formData).then(res => {\n return res.data;\n });\n}\nfunction deletePreProductV2(pid) {\n return axios.delete(`${Base_API.product_v2}/v2/product_online/${pid}`).then(res => {\n return res.data;\n });\n}\nfunction updateProductOnlineV2(formData, pid) {\n console.log(formData)\n return axios.put(`${Base_API.product_v2}/v2/product_online/${pid}`, formData).then(res => {\n return res.data;\n });\n}\n\n\nfunction getEatinProductId(pid) {\n return axios.get(`${Base_API.product}/product/${pid}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateEatinProduct(formData, pid) {\n return axios.put(`${Base_API.product}/product/${pid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction activateProductEatin(formData, pid) {\n return axios.put(`${Base_API.product}/product/${pid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createEatinProduct(formData) {\n return axios.post(`${Base_API.product}/product`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteEatinProduct(pid) {\n return axios.delete(`${Base_API.product}/product/${pid}`).then(res => {\n return res.data;\n });\n}\n\nfunction getCategoryProductListAll() {\n return axios.get(`${Base_API.category}/category_all`, \"\").then(res => {\n return res.data;\n })\n}\n\nfunction getEatinProductList() {\n return axios.get(`${Base_API.product}/product`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getPreProductId(pid) {\n return axios.get(`${Base_API.product}/product_online/${pid}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updatePreProduct(formData, pid) {\n return axios.put(`${Base_API.product}/product_online/${pid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction activateProductPre(formData, pid) {\n return axios.put(`${Base_API.product}/product_online/${pid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createPreProduct(formData) {\n return axios.post(`${Base_API.product}/product_online`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deletePreProduct(pid) {\n return axios.delete(`${Base_API.product}/product_online/${pid}`).then(res => {\n return res.data;\n });\n}\n\nfunction getEatinBranchByProduct(pr_id,ad_b_status,ad_b_id) {\n return axios.get(`${Base_API.product}/product_by_branch/list_branch/${pr_id}/${ad_b_status}/${ad_b_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getEatinBranchByProductID(pr_branch_id) {\n return axios.get(`${Base_API.product}/product_by_branch/branch/${pr_branch_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateEatinBranchByProductID(formData,pr_branch_id) {\n return axios.put(`${Base_API.product}/product_by_branch/branch/${pr_branch_id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getCategoryProductOnline() {\n return axios.get(`${Base_API.category}/api/product_online_category`, \"\").then(res => {\n return res.data;\n })\n}\n\nfunction getProductOnlineList() {\n return axios.get(`${Base_API.product}/product_online_export`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getProductOnlineById(pid) {\n return axios.get(`${Base_API.product}/product_online/${pid}`, \"\").then(res => {\n return res.data;\n });\n}\nfunction updateProductOnline(formData, pid) {\n console.log(formData)\n return axios.put(`${Base_API.product}/product_online/${pid}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction onlineListBranchByProduct(pr_online_id,ad_b_status,ad_b_id) {\n return axios.get(`${Base_API.product}/product_online_by_branch/list_branch/${pr_online_id}/${ad_b_status}/${ad_b_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction onlineGetProductByProductBranchID(pr_online_branch_id) {\n return axios.get(`${Base_API.product}/product_online_by_branch/branch/${pr_online_branch_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction onlineUpdateProductByProductID(formData,pr_online_branch_id) {\n return axios.put(`${Base_API.product}/product_online_by_branch/branch/${pr_online_branch_id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction updateProductByBranchCode(formData) {\n return axios.put(`${Base_API.product}/product_online/update/branchcode`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction listProductIsactive() {\n return axios.get(`${Base_API.product}/product_online/list/isactive`).then(res => {\n return res.data;\n });\n}\n\nfunction importExcel(inputBody) {\n return axios.post(`${Base_API.product}/api/product/excel/upload`, inputBody).then(res => {\n return res.data;\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const orderAction = {\n getEatinOrderId,\n getEatinOrderDetailId,\n updateEatinOrder,\n\n getOrderOnlineById,\n getOrderDetailId,\n updateOrderOnline,\n getStatus,\n\n getOrderOnlineListExcel,\n getReceiveOrderOnlineListExcel,\n\n deleteDetail,\n DeleteEatinDetail,\n\n getTimelogsByBranch,\n getTimelogsByID,\n createTimelogs,\n updateTimelogs,\n\n getOrderEatinList,\n getOrderEatinListExcel,\n getOrderDeliveryList,\n getOrderDeliveryListExcel,\n\n sendSMS,\n\n getPaymentChannelStatus,\n updatePaymentChannelStatus\n};\n\nfunction getPaymentChannelStatus() {\n return axios.get(`${Base_API.order}/paymentchannel-status?lang=th`).then(res => {\n return res.data;\n });\n}\nfunction updatePaymentChannelStatus(reqData) {\n return axios.put(`${Base_API.order}/paymentchannel-status`, reqData).then(res => {\n return res.data;\n });\n}\n\nfunction getEatinOrderId(id) {\n return axios.get(`${Base_API.order}/order/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getEatinOrderDetailId(id) {\n return axios.get(`${Base_API.order}/order-detail/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateEatinOrder(formData, id) {\n return axios.put(`${Base_API.order}/order/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction DeleteEatinDetail(id) {\n return axios.delete(`${Base_API.order}/order/${id}`, \"\").then(res => {\n return res.data;\n })\n}\n\n\nfunction getOrderOnlineById(id) {\n return axios.get(`${Base_API.order_online}/order-online/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getOrderDetailId(id) {\n return axios.get(`${Base_API.order_online}/order-online-detail/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getOrderOnlineListExcel(dataSearch) {\n return axios.get(`${Base_API.order_online}/list/orderOnlineExcel?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchDateTo=${dataSearch.s_DateTo}&searchStatus=${dataSearch.s_Status}&searchReceiveChannel=${dataSearch.s_ReceiveChannel}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getReceiveOrderOnlineListExcel(dataSearch) {\n return axios.get(`${Base_API.order_online}/list/receiveOrderOnlineExcel?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}&searchDateTo=${dataSearch.s_DateTo}&searchReceiveChannel=${dataSearch.s_ReceiveChannel}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateOrderOnline(formData, id) {\n return axios.put(`${Base_API.order_online}/order-online/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getStatus() {\n return axios.get(`${Base_API.order_online}/status`, \"\").then(res => {\n return res.data;\n })\n}\n\nfunction deleteDetail(id) {\n console.log(`${Base_API.order_online}/order-online/${id}`);\n return axios.delete(`${Base_API.order_online}/order-online/${id}`, \"\").then(res => {\n return res.data;\n })\n}\n\nfunction getTimelogsByBranch(data) {\n return axios.get(`${Base_API.order_online}/api/date-online/list-date/${data}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getTimelogsByID(id) {\n return axios.get(`${Base_API.order_online}/date-online/ByDate/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction createTimelogs(formData) {\n return axios.post(`${Base_API.order_online}/date-online/`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction updateTimelogs(formData, id) {\n return axios.put(`${Base_API.order_online}/date-online/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getOrderEatinList(dataSearch) {\n return axios.get(`${Base_API.order}/list/order?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getOrderEatinListExcel(dataSearch) {\n return axios.get(`${Base_API.order}/list/orderExcel?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getOrderDeliveryList(dataSearch) {\n return axios.get(`${Base_API.order}/orderDelivery?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getOrderDeliveryListExcel(dataSearch) {\n return axios.get(`${Base_API.order}/orderDeliveryExcel?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction sendSMS(data) {\n console.log(data);\n return axios.post(`${Base_API.order_online}/notification/tracking`, data).then(res => {\n return res.data;\n });\n}","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const memberAction = {\n update_Member,\n getMemberId,\n createMember,\n deleteMember,\n deleteTokenMember,\n activateMember,\n sentNotificationAll,\n\n getMemberList,\n exportMemberList,\n\n getProvince,\n getAmphoe,\n getDistrict,\n getZipcode,\n\n exportProblemList,\n updateProblemEwallet,\n\n logoutMember,\n deleteMemberV2\n};\n\n\nfunction updateProblemEwallet(id, formData) {\n return axios.put(`${Base_API.member}/api/v1/problem_ewallet/${id}`, formData).then(res => {\n return res.data;\n });\n} \n\nfunction exportMemberList() {\n return axios.get(`${Base_API.member}/api/export/member/listMember`, \"\").then(res => {\n return res.data;\n });\n} \n\nfunction getMemberList() {\n return axios.get(`${Base_API.member}/api/member/v1/listMember`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getMemberId(id) {\n return axios.get(`${Base_API.member}/api/member/v1/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction update_Member(formData, id) {\n return axios.put(`${Base_API.member}/api/member/v1/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction activateMember(formData, id) {\n return axios.put(`${Base_API.member}/api/member/v1/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction logoutMember(formData) {\n return axios.post(`${Base_API.member}/api/member/v1/logoutMember`, formData).then(res => {\n return res.data;\n });\n}\n\n\nfunction createMember(formData) {\n return axios.post(`${Base_API.member}/api/member/v1/regisMember`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteMember(id) {\n return axios.delete(`${Base_API.member}/api/member/v1/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction deleteMemberV2(id) {\n return axios.delete(`${Base_API.member}/api/member/v2/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction deleteTokenMember(id)\n{\n return axios.delete(`${Base_API.member}/api/member/v1/clearToken/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction sentNotificationAll(inputData) {\n return axios.post(`${Base_API.member}/sentNotificationAll`, inputData).then(res => {\n return res.data;\n });\n}\n\nfunction getProvince() {\n return axios.get(`${Base_API.province}/province`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getAmphoe(id) {\n return axios.get(`${Base_API.province}/amphoe/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getDistrict(id) {\n return axios.get(`${Base_API.province}/districts/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getZipcode(id) {\n return axios.get(`${Base_API.province}/getZipcode/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction exportProblemList() {\n return axios.get(`${Base_API.member}/api/v1/problem`, \"\").then(res => {\n return res.data;\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const newsAction = {\n updateNews,\n updateDeleteNews,\n activateNews,\n getNewsId,\n createNews,\n deleteNews,\n\n createPromotion,\n getPromotionId,\n updatePromotion,\n activatePromotion,\n\n createPromotionBanner,\n getRewardsList,\n getPromotionBanner,\n\n insertContent,\n deleteContent,\n getContent,\n updateContent,\n\n insertBannerPromotion,\n getBannerPromotion,\n updateBannerPromotion,\n deleteBannerPromotion,\n\n deletePromotionByID,\n deleteNewsContentByID\n};\n\nfunction deleteNewsContentByID(id) {\n return axios.delete(`${Base_API.news}/ContentNews/${id}`).then(res => {\n return res.data;\n }); \n}\nfunction deletePromotionByID(id) {\n return axios.delete(`${Base_API.news}/news/promotion/${id}`).then(res => {\n return res.data;\n }); \n}\n\nfunction getNewsId(id) {\n return axios.get(`${Base_API.news}/getNews/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateNews(formData, id) {\n return axios.put(`${Base_API.news}/getNews/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction updateDeleteNews(formData, id) {\n return axios.put(`${Base_API.news}/DeleteNews/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction activateNews(formData, id) {\n return axios.put(`${Base_API.news}/getNews/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createNews(formData) {\n return axios.post(`${Base_API.news}/news/news`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteNews(id) {\n return axios.delete(`${Base_API.news}/getNews/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getPromotionId(id) {\n return axios.get(`${Base_API.news}/getPromotion/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction createPromotion(formData) {\n return axios.post(`${Base_API.news}/news/promotion`, formData).then(res => {\n return res.data;\n });\n}\nfunction createPromotionBanner(formData) {\n return axios.post(`${Base_API.backoffice}/api/news/promotion-banner`, formData).then(res => {\n return res.data;\n });\n}\nfunction getRewardsList() {\n return axios.get(`${Base_API.backoffice}/api/rewards-list`, \"\").then(res => {\n return res.data;\n });\n}\nfunction getPromotionBanner() {\n return axios.get(`${Base_API.backoffice}/api/news/promotion-banner`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updatePromotion(formData, id) {\n return axios.put(`${Base_API.news}/getPromotion/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction activatePromotion(formData, id) {\n return axios.put(`${Base_API.news}/getPromotion/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction insertContent(formData) {\n return axios.post(`${Base_API.news}/contentPromotion`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteContent(id) {\n return axios.delete(`${Base_API.news}/contentPromotion/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getContent(id) {\n return axios.get(`${Base_API.news}/contentPromotion/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateContent(id, formData) {\n return axios.put(`${Base_API.news}/contentPromotion/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction insertBannerPromotion(formData) {\n return axios.post(`${Base_API.news}/bannerPromotion`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getBannerPromotion(id) {\n return axios.get(`${Base_API.news}/bannerPromotion/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateBannerPromotion(formData, id) {\n return axios.put(`${Base_API.news}/bannerPromotion/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteBannerPromotion(id) {\n return axios.delete(`${Base_API.news}/bannerPromotion/${id}`).then(res => {\n return res.data;\n });\n}","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const adminAction = {\n createAdmin,\n updateAdmin,\n ActiveAdmin,\n getAdminId,\n deleteAdminById,\n resetPasswordAdmin,\n\n listLevelAdmin,\n getLevelById,\n createLevel,\n updateLevel,\n activateLevel,\n\n checkLogin,\n\n getCalc,\n getTop10,\n};\n\nfunction listLevelAdmin() {\n return axios.get(`${Base_API.admin}/level`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getAdminId(id) {\n return axios.get(`${Base_API.admin}/users/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction ActiveAdmin(formData, id) {\n return axios.put(`${Base_API.admin}/users/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction updateAdmin(formData, id) {\n return axios.put(`${Base_API.admin}/users/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction resetPasswordAdmin(formData, id) {\n return axios.put(`${Base_API.admin}/users/resetpassword/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction createAdmin(formData) {\n return axios.post(`${Base_API.admin}/users`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteAdminById(id) {\n return axios.delete(`${Base_API.admin}/users/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getLevelById(id) {\n return axios.get(`${Base_API.admin}/level/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction createLevel(formData) {\n return axios.post(`${Base_API.admin}/level`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction updateLevel(formData, id) {\n return axios.put(`${Base_API.admin}/level/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction activateLevel(formData, id) {\n return axios.put(`${Base_API.admin}/activeLevel/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction checkLogin(inputData) {\n return axios.post(`${Base_API.admin}/api/v1/admin/checkUser`, inputData).then(res => {\n return res.data;\n });\n}\n\nfunction getCalc() {\n return axios.get(`${Base_API.admin}/api/v1/deshbored`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getTop10(datenow) {\n return axios.get(`${Base_API.admin}/api/v1/deshbored/topAll/${datenow}`, \"\").then(res => {\n return res.data;\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const ewalletAction = {\n createProblemEwalletTitle,\n getProblemEwalletTitle,\n updateProblemEwalletTitle,\n\n getAccountMerchant,\n getAccountEWallet,\n\n withdrawForAU,\n\n getDetailTransaction,\n deleteTransaction,\n\n getListChannelEwallet,\n getListStatusEwallet,\n\n getMemberByNumber,\n\n createTopup,\n createRefund,\n\n getRecentList,\n getSearchList,\n getVoidList,\n getRefundList,\n getTopupList,\n getHistoryList,\n getWithdrawList,\n\n reportDailySettlement,\n reportDailyRefund,\n reportMonthlySettlement,\n reportMonthlyRefund,\n\n exportExcelEwalletAccounts\n};\n\nfunction exportExcelEwalletAccounts(onDownloadProgress) {\n return axios.get(`${Base_API.backoffice}/api/export/ewallet/listAccount`,{}).then(res => {\n return res.data;\n });\n}\n\nfunction createProblemEwalletTitle(formData) {\n return axios.post(`${Base_API.ewallet}/api/v1/problem_ewallet_title`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getProblemEwalletTitle(id) {\n return axios.get(`${Base_API.ewallet}/api/v1/problem_ewallet_title/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateProblemEwalletTitle(formData, id) {\n return axios.put(`${Base_API.ewallet}/api/v1/problem_ewallet_title/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction getAccountMerchant() {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/account_merchant`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction withdrawForAU(data) {\n return axios.post(`${Base_API.ewallet}/api/v1/ewallet/account_withdraw`, data).then(res => {\n return res.data;\n });\n}\n\nfunction getDetailTransaction(id) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/detail_transaction/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getListChannelEwallet() {\n return axios.get(`${Base_API.ewallet}/api/ewallet/channel`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getListStatusEwallet() {\n return axios.get(`${Base_API.ewallet}/api/ewallet/status`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getMemberByNumber(id) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/account/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction createTopup(inputBody) {\n return axios.post(`${Base_API.ewallet}/api/v1/ewallet/topup/create`, inputBody).then(res => {\n return res.data;\n });\n}\n\nfunction createRefund(inputBody) {\n return axios.post(`${Base_API.ewallet}/api/v1/ewallet/refund/create`, inputBody).then(res => {\n return res.data;\n });\n}\n\nfunction getRecentList() {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/search/recent`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getSearchList(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/search/transactions?searchTransactionID=${dataSearch.searchTransactionID}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchPaymentChannelID=${dataSearch.searchPaymentChannelID}&searchTransactionStatus=${dataSearch.searchTransactionStatus}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}&searchTransactionType=${dataSearch.searchTransactionType}&searchInvoiceNo=${dataSearch.searchInvoiceNo}&searchPhoneNo=${dataSearch.searchPhoneNo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getVoidList(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/search/void?searchTransactionID=${dataSearch.searchTransactionID}&searchApprovalCode=${dataSearch.searchApprovalCode}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchPaymentChannelID=${dataSearch.searchPaymentChannelID}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getRefundList(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/search/refund?searchTransactionID=${dataSearch.searchTransactionID}&searchApprovalCode=${dataSearch.searchApprovalCode}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getTopupList(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/search/topup?searchTransactionID=${dataSearch.searchTransactionID}&searchMemNumber=${dataSearch.searchMemNumber}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}&searchCardholderName=${dataSearch.searchCardholderName}&searchTransactionChannel=${dataSearch.searchTransactionChannel}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getHistoryList(dataSearch, Type) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/history_transaction?searchType=${Type}&searchThisMonth=${dataSearch.s_This_Month}&searchMonth=${dataSearch.s_Month}&searchFrom=${dataSearch.s_From}&searchTo=${dataSearch.s_To}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction getAccountEWallet(dataSearch) {\n // return axios.get(`${Base_API.ewallet}/api/v2/ewallet/account_users?searchRegisDate=${dataSearch.s_RegisDate}&searchMemberNumber=${dataSearch.s_MemberNumber}&searchFirstname=${dataSearch.s_Firstname}&searchLastname=${dataSearch.s_Lastname}&searchPhone=${dataSearch.s_Phone}&searchIDCard=${dataSearch.s_IDCard}&start=1&length=10000`).then(res => {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/account_users?searchRegisDate=${dataSearch.s_RegisDate}&searchMemberNumber=${dataSearch.s_MemberNumber}&searchFirstname=${dataSearch.s_Firstname}&searchLastname=${dataSearch.s_Lastname}&searchPhone=${dataSearch.s_Phone}&searchIDCard=${dataSearch.s_IDCard}&start=1`).then(res => {\n return res.data;\n });\n}\n\nfunction getWithdrawList() {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/account_withdraw`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction reportDailySettlement(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/report/daily?searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction reportDailyRefund(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/report/daily/refund?searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction reportMonthlySettlement(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/report/monthly?searchTransactionMonthFrom=${dataSearch.searchTransactionMonthFrom}&searchTransactionYearFrom=${dataSearch.searchTransactionYearFrom}&searchTransactionMonthTo=${dataSearch.searchTransactionMonthTo}&searchTransactionYearTo=${dataSearch.searchTransactionYearTo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction reportMonthlyRefund(dataSearch) {\n return axios.get(`${Base_API.ewallet}/api/v1/ewallet/report/monthly/refund?searchTransactionMonthFrom=${dataSearch.searchTransactionMonthFrom}&searchTransactionYearFrom=${dataSearch.searchTransactionYearFrom}&searchTransactionMonthTo=${dataSearch.searchTransactionMonthTo}&searchTransactionYearTo=${dataSearch.searchTransactionYearTo}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction deleteTransaction(transaction_id) {\n return axios.delete(`${Base_API.ewallet}/api/v1/ewallet/delete_transaction/${transaction_id}`, \"\").then(res => {\n return res.data;\n });\n}\n\n\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const contactAction = {\n deleteContact,\n getContactByID,\n updateContact,\n activeContact,\n createContact\n};\n\nfunction getContactByID(contact_id) {\n return axios.get(`${Base_API.general}/api/contact/${contact_id}`).then(res => {\n return res.data;\n });\n}\n\nfunction updateContact(inputBody, contact_id) {\n return axios.put(`${Base_API.general}/api/contact/${contact_id}`, inputBody).then(res => {\n return res.data;\n });\n}\n\nfunction activeContact(inputBody, contact_id) {\n return axios.put(`${Base_API.general}/api/contact/active/${contact_id}`, inputBody).then(res => {\n return res.data;\n });\n}\n\nfunction createContact(inputBody) {\n return axios.post(`${Base_API.general}/api/contact`, inputBody).then(res => {\n return res.data;\n });\n}\n\nfunction deleteContact(contact_id) {\n return axios({\n method: \"DELETE\",\n url: `${Base_API.general}/api/contact/${contact_id}`\n })\n .then(function(response) {\n return response.data;\n })\n .catch(function(response) {\n console.log(response);\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const pointAction = {\n getManagePoint,\n updateManagePoint,\n deleteManagePoint,\n exportExcelPointLog\n};\n\nfunction getManagePoint(id) {\n return axios.get(`${Base_API.point}/api/point/v1/manage_point/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateManagePoint(formData, id) {\n return axios.put(`${Base_API.point}/api/point/v1/manage_point/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteManagePoint(id) {\n return axios.delete(`${Base_API.point}/api/point/v1/manage_point/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction exportExcelPointLog(id) {\n return axios.get(`${Base_API.point}/api/point/v1/excellogPoint/${id}`).then(res => {\n return res.data;\n });\n}","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const staffAction = {\n createStaff,\n listStaff,\n getStaff,\n updateStaff,\n deleteStaffById,\n\n getEwalletStaff,\n updateEwalletStaff,\n};\n\nfunction createStaff(formData) {\n return axios.post(`${Base_API.admin}/staff`, formData).then(res => {\n return res.data;\n });\n}\nfunction listStaff() {\n return axios.get(`${Base_API.admin}/staff`).then(res => {\n return res.data;\n });\n}\n\nfunction getStaff(id) {\n return axios.get(`${Base_API.admin}/staff/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateStaff(formData, id) {\n return axios.put(`${Base_API.admin}/staff/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction deleteStaffById(id) {\n return axios.delete(`${Base_API.admin}/staff/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction getEwalletStaff(id) {\n return axios.get(`${Base_API.admin}/staff/ewallet/${id}`, \"\").then(res => {\n return res.data;\n });\n}\n\nfunction updateEwalletStaff(id, formData) {\n return axios.put(`${Base_API.admin}/staff/ewallet/${id}`, formData).then(res => {\n return res.data;\n });\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const activityAction = {\n listOrderType,\n\n flashsaleListTime,\n flashsaleGetTime,\n flashsaleUpdateTime,\n flashsaleInsertTime,\n flashsaleDeleteTime,\n\n flashsaleDeleteProduct,\n flashsaleInsertProduct,\n flashsaleUpdateProduct,\n flashsaleGetProduct,\n\n ActivityFriendGetByID,\n ActivityUpdate,\n \n FriendGetFriendList,\n FriendGetFriendGet,\n FriendGetFriendCreate,\n FriendGetFriendUpdate,\n FriendGetFriendDelete,\n\n DiscountDeliveryCreate,\n DiscountDeliveryGet,\n DiscountDeliveryUpdate,\n DiscountDeliveryDelete,\n\n flashsaleInsertTimeV2,\n};\n\nfunction listOrderType() {\n return axios.get(`${Base_API.product}/api/getTypeOrder/th`).then(res => {\n return res.data;\n });\n} \n\nfunction flashsaleListTime() {\n return axios.get(`${Base_API.product}/flashsale/list_time`).then(res => {\n return res.data;\n });\n} \n\nfunction flashsaleGetTime(id) {\n return axios.get(`${Base_API.product}/flashsale/get_time/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleUpdateTime(formData, id) {\n return axios.put(`${Base_API.product}/flashsale/update_time/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleInsertTime(formData) {\n return axios.post(`${Base_API.product}/flashsale/insert_time`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleInsertTimeV2(formData) {\n return axios.post(`${Base_API.product_v2}/v2/flashsale/insert_time`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleDeleteTime(id) {\n return axios.delete(`${Base_API.product}/flashsale/delete_time/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleInsertProduct(formData) {\n return axios.post(`${Base_API.product}/flashsale/insert_product`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleGetProduct(id) {\n return axios.get(`${Base_API.product}/flashsale/get_product/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleUpdateProduct(formData, id) {\n return axios.put(`${Base_API.product}/flashsale/update_product/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction flashsaleDeleteProduct(id) {\n return axios.delete(`${Base_API.product}/flashsale/delete_product/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction ActivityFriendGetByID(id) {\n return axios.get(`${Base_API.member}/api/activity/friendgetfriend/get/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction ActivityUpdate(formData, id) {\n return axios.put(`${Base_API.member}/api/activity/update/${id}`, formData).then(res => {\n return res.data;\n });\n}\n\nfunction FriendGetFriendList() {\n return axios.get(`${Base_API.member}/api/friendgetfriend/list`).then(res => {\n return res.data;\n });\n} \n\n\nfunction FriendGetFriendGet(id) {\n return axios.get(`${Base_API.member}/api/friendgetfriend/get/${id}`).then(res => {\n return res.data;\n });\n} \n\nfunction FriendGetFriendCreate(formData) {\n return axios.post(`${Base_API.member}/api/friendgetfriend/insert`, formData).then(res => {\n return res.data;\n });\n} \n\nfunction FriendGetFriendUpdate(formData, id) {\n return axios.put(`${Base_API.member}/api/friendgetfriend/update/${id}`, formData).then(res => {\n return res.data;\n });\n} \n\nfunction FriendGetFriendDelete(id) {\n return axios.delete(`${Base_API.member}/api/friendgetfriend/delete/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction DiscountDeliveryCreate(inputData) {\n return axios.post(`${Base_API.order_online}/api/DiscountDelivery/insert`,inputData).then(res => {\n return res.data;\n });\n}\n\nfunction DiscountDeliveryGet(id) {\n return axios.get(`${Base_API.order_online}/api/DiscountDelivery/get/${id}`).then(res => {\n return res.data;\n });\n}\n\nfunction DiscountDeliveryUpdate(inputBody, id) {\n return axios.put(`${Base_API.order_online}/api/DiscountDelivery/update/${id}`, inputBody).then(res => {\n return res.data;\n });\n}\n\nfunction DiscountDeliveryDelete(id) {\n return axios.delete(`${Base_API.order_online}/api/DiscountDelivery/delete/${id}`).then(res => {\n return res.data;\n });\n}","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const BackofficeAction = {\n getExcelMemberList,\n getExcelBranchList,\n getExcelStaffList,\n getExcelRewardRedeemHistory,\n getExcelRewardRedeemHistoryByFilter,\n exportExcelActivitiesLog,\n exportExcelPointHistory\n};\n\nfunction exportExcelPointHistory(params) {\n return axios.get(`${Base_API.backoffice}/api/export/point_history${params}`, \"\").then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n })\n}\nfunction getExcelMemberList() {\n return axios.get(`${Base_API.backoffice}/api/export/member/listMember`, \"\").then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n })\n}\nfunction getExcelBranchList() {\n return axios.get(`${Base_API.backoffice}/api/export/branch/listBranch`, \"\").then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n })\n}\nfunction getExcelStaffList() {\n return axios.get(`${Base_API.backoffice}/api/export/staff/listStaff`, \"\").then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n })\n}\nfunction getExcelRewardRedeemHistory() {\n return axios.get(`${Base_API.backoffice}/api/export/reward/listRedeemReward`, \"\").then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n })\n}\nfunction getExcelRewardRedeemHistoryByFilter(filter) {\n return axios.get(`${Base_API.backoffice}/api/export/reward/listRedeemRewardByFilter/${filter}`, \"\").then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n })\n}\nfunction exportExcelActivitiesLog(body) {\n return axios.post(`${Base_API.backoffice}/api/export/activity_log`, body).then(res => {\n return res.data;\n })\n .catch(err => {\n console.log(err);\n }) \n}","import React from \"react\";\nimport \"./home.css\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { adminAction } from \"../../_actions\";\nimport { Tabs, TabList, Tab, TabPanel } from 'react-tabs';\nimport BootstrapTable from 'react-bootstrap-table-next';\n// import 'react-tabs/style/react-tabs.css';\n\nlet modalAlert;\nvar displayChart = ''\n\nvar newDate = new Date()\nvar month_short = newDate.getMonth() + 1\nvar month = (month_short <= 9 ? \"0\"+(month_short) : month_short);\nvar year = newDate.getFullYear();\n\nvar datenow = `${year}-${month}`\n\nconst columns = [\n {\n dataField: 'id',\n text: 'จัดอันดับ',\n headerAlign: 'center',\n align: 'center'\n }, {\n dataField: 'pr_name',\n text: 'ชื่อสินค้า',\n headerAlign: 'center'\n }, {\n dataField: 'product_count',\n text: 'จำนวนยอดขาย (ชิ้น)',\n headerAlign: 'center',\n align: 'center'\n }\n];\n\nconst month_name = ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน','กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤษจิกายน','ธันวาคม']\n\nconst productsAll = [\n {\n id: '1',\n pr_name: 'Boba Caramel Cream Tea',\n sum_product: 1332\n },{\n id: '2',\n pr_name: 'AfterU Drink',\n sum_product: 1109\n },{\n id: '3',\n pr_name: 'Shibuya Honey Syrup',\n sum_product: 980\n },{\n id: '4',\n pr_name: 'Fresh Strawberry',\n sum_product: 567\n },\n {\n id: '5',\n pr_name: 'Banana Pancake',\n sum_product: 489\n },{\n id: '6',\n pr_name: 'Baby horlicks kakigori',\n sum_product: 457\n },{\n id: '7',\n pr_name: 'Figgy Cake',\n sum_product: 411\n },{\n id: '8',\n pr_name: 'Baby milo kakigori',\n sum_product: 387\n },{\n id: '9',\n pr_name: 'Strawberry Cheesecake Kakigori',\n sum_product: 299\n },{\n id: '10',\n pr_name: 'Thai Tea Kakigori',\n sum_product: 212\n }\n];\n\n\nclass Home extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {\n tabIndex: 0,\n\n show: false,\n modal: null,\n modalOption: {},\n reload:true,\n topEatin: \"\"\n };\n \n\n }\n\n componentDidMount() {\n\n adminAction.getTop10(datenow).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n topEatin: e.data.topEatin,\n topTakehome: e.data.topTakehome,\n topOnline: e.data.topOnline,\n\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n\n this.getCalc();\n this.getTop10(datenow);\n // document.body.style.backgroundColor = \"#000000\";\n // document.body.style.backgroundImage = 'linear-gradient(rgba(0,0,0), rgba(0,0,0,.5)),url(../../images/afteryou_bg.png)';\n // document.body.style.backgroundRepeat = 'no-repeat';\n // document.body.style.backgroundSize = '100%';\n // document.body.style.backgroundPosition = 'center';\n }\n\n getCalc() {\n adminAction.getCalc().then(e => {\n if (e.isSuccess === true) {\n this.setState({\n countOrderAll_count: e.data.countOrderAll.count,\n countOrderAll_total_price: e.data.countOrderAll.total_price,\n countOnline_count: e.data.countPreorder.count,\n countOnline_total_price: e.data.countPreorder.total_price,\n countEatin_count: e.data.countEatin.count,\n countEatin_total_price: e.data.countEatin.total_price,\n countTakehome_count: e.data.countTakehome.count,\n countTakehome_total_price: e.data.countTakehome.total_price,\n countLike_count_percent: e.data.countLike.count_percent,\n countLike_count_total: e.data.countLike.count_total,\n });\n \n\n // this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n // this.setState({status: this.state.fields[\"isStatus\"]});\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n getTop10(date_now) {\n adminAction.getTop10(date_now).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n topEatin: e.data.topEatin,\n topTakehome: e.data.topTakehome,\n topOnline: e.data.topOnline,\n\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n\n\n render() {\n console.log(this.state.topEatin);\n\n const CustomTab = ({ children }) => (\n \n

{children}

\n
\n );\n\n CustomTab.tabsRole = 'Tab'; // Required field to use your custom Tab\n\n return (\n
\n\n {/* content 1 */}\n
\n
\n\n {/* graph */}\n
\n
\n
\n

กราฟแสดงสถิติคำสั่งซื้อ ประจำปี {year}

\n
\n
\n \n \n {/* */}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n\n {/* ตารางสถิติคำสั่งซื้อ */}\n
\n
\n
\n
\n \n
\n
\n
\n
\n
รายการทั้งหมด
\n
{this.state.countOrderAll_count}
\n
ยอดขายรวม
\n
{this.state.countOrderAll_total_price}
\n
\n
\n
รายการสั่งซื้อออนไลน์
\n
{this.state.countOnline_count}
\n
ยอดขายรวม
\n
{this.state.countOnline_total_price}
\n
\n
\n
\n
\n
\n
รายการสั่งซื้อ Eat-in
\n
{this.state.countEatin_count}
\n
ยอดขายรวม
\n
{this.state.countEatin_total_price}
\n
\n
\n
รายการสั่งซื้อ Takehome
\n
{this.state.countTakehome_count}
\n
ยอดขายรวม
\n
{this.state.countTakehome_total_price}
\n
\n
\n
\n
\n \n
\n
\n \n {/* content 2 */}\n
\n {/* ภาพรวมสินค้าทั้งหมด */}\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
การเข้าชม
\n
\n
ยอดรวมถูกใจ
\n
{this.state.countLike_count_percent} %
\n
{this.state.countLike_count_total} คน
\n
\n
\n
\n
\n
การสั่งซื้อสินค้า
\n
\n
ยอดสั่งซื้อสินค้ารวม
\n
{this.state.countOrderAll_count}
\n
ยอดรวม {this.state.countOrderAll_total_price} บาท
\n
\n
\n
ยอดสั่งซื้อออนไลน์
\n
{this.state.countOnline_count}
\n
ยอดรวม {this.state.countOnline_total_price} บาท
\n
\n
\n
ยอดสั่งซื้อ Eat-in
\n
{this.state.countEatin_count}
\n
ยอดรวม {this.state.countEatin_total_price} บาท
\n
\n
\n
ยอดสั่งซื้อ Takehome
\n
{this.state.countTakehome_count}
\n
ยอดรวม {this.state.countTakehome_total_price} บาท
\n
\n
\n
\n\n {/* การจัดอันดับสินค้า */}\n
\n
\n
\n \n
\n
\n
\n this.setState({ tabIndex })}>\n \n {/* จากคำสั่งซื้อทั้งหมด */}\n จากคำสั่งชื้อพรีออเดอร์ (Eat in)\n จากคำสั่งชื้อพรีออเดอร์ (Takehome)\n จากคำสั่งชื้อออนไลน์\n \n {/* \n \n */}\n \n \n \n \n \n \n \n \n \n \n\n
\n
\n\n
\n \n
\n );\n }\n}\n\nexport default Home;\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { bannerAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../banner.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Banner_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n active: 'General',\n subactive: 'G-Banner',\n menu_general: 1,\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"banner_id\"\n },\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"banner_image\"\n },\n {\n title: \"ชื่อแบนเนอร์\",\n class: \"text-center\",\n data: \"banner_name\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"banner_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${rowData.banner_name}`);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.banner}/banner`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n // $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n // var fid = $(this).data(\"id\");\n // var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n // var formData = new FormData();\n // formData.append(\"b_status\", fval);\n\n // branchAction.activateBranchEatin(formData, fid).then(e => {\n // if (e.isSuccess === false) {\n // onModalError(\"Error\", e.message);\n // } else {\n // onModalSuccess(\"Success\", e.message);\n // }\n // });\n // });\n\n // $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n // var mcid = $(this).data(\"content\");\n // modalAlert = () => (\n // onConfirmDelete(mcid)}\n // onCancel={() => onConfirm()}\n // >\n // คุณต้องการลบข้อมูลนี้หรือไม่ ?\n // \n // );\n\n // state.setState({ show: true, modal: modalAlert() });\n // });\n\n function onConfirmDelete(cid) { \n // branchAction.deleteBranchEatin(cid).then(e => {\n // if (e.isSuccess === false) {\n // onModalError(\"Error\", e.message);\n // } else {\n // onModalSuccess(\"Success\", e.message);\n // table.ajax.reload();\n // }\n // });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n localStorage.setItem('active', 'General');\n localStorage.setItem('subactive', 'G-Banner');\n localStorage.setItem('menu_general', 1);\n return (\n
\n
\n
\n

จัดการแบนเนอร์ทั้งหมด

\n {/* */}\n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { bannerAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../banner.css\";\n\nlet modalAlert;\n\nexport class Banner_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n active: 'General',\n subactive: 'G-Banner',\n menu_general: 1,\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n isStatus: '',\n status: '',\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getBannerByID(params.banner_id);\n }\n\n getBannerByID(banner_id) {\n\n bannerAction.getBannerByID(banner_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n banner_name: e.data.banner_name,\n banner_image: e.data.banner_image,\n banner_image_old: e.data.banner_image,\n banner_size: e.data.banner_size,\n banner_id: banner_id\n }\n });\n\n // this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n // this.setState({status: this.state.fields[\"isStatus\"]});\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/banner\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"banner_name\"]) {\n formIsValid = false;\n errors[\"banner_name\"] = \"*กรุณากรอกชื่อแบนเนอร์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"banner_name\", this.state.fields[\"banner_name\"]);\n formData.append(\"banner_image\", this.state.fields[\"banner_image\"]);\n\n bannerAction.updateBanner(formData, this.state.fields[\"banner_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n\n // if(typeof selectedOption.value != 'undefined'){\n // fields[\"cate_id\"] = selectedOption.value;\n // this.state.errors[\"cate_id\"] = null;\n\n // this.setState({\n // defaultValue:\n // {\n // label: selectedOption.label,\n // value: selectedOption.value\n // }\n // })\n // }else {\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n // }\n this.setState({ fields, errors });\n\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '2' })\n }else{\n this.setState({ status: '1' })\n }\n\n }\n}\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

แก้ไขแบนเนอร์

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n\n
\n \n
\n \n
{this.state.errors.banner_name}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.banner_image}
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../banner.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class BannerPromotion_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n active: 'General',\n subactive: 'G-Banner',\n menu_general: 1,\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"banner_promotion_image\"\n },\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"banner_promotion_sort\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"banner_promotion_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${rowData.banner_name}`);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.news}/bannerPromotion`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[1, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: false,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n var formData = new FormData();\n formData.append(\"is_active\", fval);\n\n newsAction.updateBannerPromotion(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) { \n newsAction.deleteBannerPromotion(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n localStorage.setItem('active', 'General');\n localStorage.setItem('subactive', 'G-Banner');\n localStorage.setItem('menu_general', 1);\n return (\n
\n
\n
\n

จัดการแบนเนอร์โปรโมชัน

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { newsAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nlet modalAlert;\n\nexport class BannerPromotion_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {}\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/banner_promotion/list\"\n }\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"banner_promotion_image\"]) {\n formIsValid = false;\n errors[\"banner_promotion_image\"] = \"*กรุณาเลือกรูปภาพ\";\n }\n\n if (!fields[\"banner_promotion_sort\"]) {\n formIsValid = false;\n errors[\"banner_promotion_sort\"] = \"*กรุณากรอกลำดับ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n\n validateData() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n \n var formData = new FormData();\n formData.append(\"banner_promotion_image\", this.state.fields[\"banner_promotion_image\"]);\n formData.append(\"banner_promotion_sort\", this.state.fields[\"banner_promotion_sort\"]);\n formData.append(\"is_active\", this.state.fields[\"is_active\"]);\n\n newsAction.insertBannerPromotion(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n\n };\n\n render() { \n return (\n
\n
\n
\n

เพิ่มแบนเนอร์โปรโมชัน

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.banner_promotion_image}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.banner_promotion_sort}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { newsAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../banner.css\";\n\nlet modalAlert;\n\nexport class BannerPromotion_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n active: 'General',\n subactive: 'G-Banner',\n menu_general: 1,\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n isStatus: '',\n status: '',\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getBannerPromotionByID(params.banner_promotion_id);\n }\n\n getBannerPromotionByID(banner_promotion_id) {\n console.log(banner_promotion_id);\n newsAction.getBannerPromotion(banner_promotion_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n banner_promotion_image: e.data.banner_promotion_image,\n banner_promotion_sort: e.data.banner_promotion_sort,\n banner_promotion_id: e.data.banner_promotion_id,\n is_active: e.data.is_active,\n banner_promotion_image_show: e.data.banner_promotion_image\n }\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/banner_promotion/list\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"banner_promotion_image\"]) {\n formIsValid = false;\n errors[\"banner_promotion_image\"] = \"*กรุณาเลือกรูปภาพ\";\n }\n\n if (!fields[\"banner_promotion_sort\"]) {\n formIsValid = false;\n errors[\"banner_promotion_sort\"] = \"*กรุณากรอกลำดับ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"banner_promotion_image\", this.state.fields[\"banner_promotion_image\"]);\n formData.append(\"banner_promotion_sort\", this.state.fields[\"banner_promotion_sort\"]);\n formData.append(\"is_active\", this.state.fields[\"is_active\"]);\n\n newsAction.updateBannerPromotion(formData, this.state.fields[\"banner_promotion_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

แก้ไขแบนเนอร์โปรโมชัน

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n\n
\n \n
\n \n
\n {this.state.errors[\"banner_promotion_image\"]}\n
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.banner_promotion_sort}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { contactAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../contact.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Contact_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"contact_id\"\n },\n {\n title: \"ชื่อฝ่าย (TH)\",\n class: \"text-center\",\n data: \"contact_title_th\"\n },\n {\n title: \"เบอร์โทรศัพท์\",\n class: \"text-center\",\n data: \"contact_phone\"\n },\n {\n title: \"อีเมล\",\n class: \"text-center\",\n data: \"contact_email\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"contact_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n let text = cellData + (rowData.contact_extend_phone ? ' ต่อ ' + rowData.contact_extend_phone : '')\n\n $(td)\n .html(`
${text}
`);\n },\n orderable: true\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n\n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.general}/api/contact`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[5, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 2;\n\n state.setState({\n inputBody : {\n is_active: val,\n }\n });\n\n contactAction.activeContact(state.state.inputBody, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n contactAction.deleteContact(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการข้อมูลติดต่อเรา

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { contactAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../contact.css\";\n\nlet modalAlert;\n\nexport class Contact_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n isStatus: '',\n status: '',\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getContactByID(params.contact_id);\n }\n\n getContactByID(contact_id) {\n\n contactAction.getContactByID(contact_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n contact_title_th: e.data.contact_title_th,\n contact_title_en: e.data.contact_title_en,\n contact_address_th: e.data.contact_address_th,\n contact_address_en: e.data.contact_address_en,\n contact_code_phone: e.data.contact_code_phone,\n contact_phone: e.data.contact_phone,\n contact_extend_phone: e.data.contact_extend_phone,\n contact_code_fax: e.data.contact_code_fax,\n contact_fax: e.data.contact_fax,\n contact_extend_phone_fax: e.data.contact_extend_phone_fax,\n contact_email: e.data.contact_email,\n is_active: e.data.is_active,\n contact_id: contact_id\n }\n });\n\n this.setState({isStatus: e.data.is_active});\n this.setState({status: e.data.is_active});\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/contact\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"contact_title_th\"]) {\n formIsValid = false;\n errors[\"contact_title_th\"] = \"*กรุณากรอกชื่อฝ่าย (TH)\";\n }\n\n if (!fields[\"contact_title_en\"]) {\n formIsValid = false;\n errors[\"contact_title_en\"] = \"*กรุณากรอกชื่อฝ่าย (EN)\";\n }\n\n if (!fields[\"contact_phone\"]) {\n formIsValid = false;\n errors[\"contact_phone\"] = \"*กรุณากรอกเบอร์โทรศัพท์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var inputBody = ({\n 'contact_title_th' : this.state.fields[\"contact_title_th\"],\n 'contact_title_en' : this.state.fields[\"contact_title_en\"],\n 'contact_address_th' : this.state.fields[\"contact_address_th\"],\n 'contact_address_en' : this.state.fields[\"contact_address_en\"],\n 'contact_code_phone' : this.state.fields[\"contact_code_phone\"],\n 'contact_phone' : this.state.fields[\"contact_phone\"],\n 'contact_extend_phone' : this.state.fields[\"contact_extend_phone\"],\n 'contact_code_fax' : this.state.fields[\"contact_code_fax\"],\n 'contact_fax' : this.state.fields[\"contact_fax\"],\n 'contact_extend_phone_fax' : this.state.fields[\"contact_extend_phone_fax\"],\n 'contact_email' : this.state.fields[\"contact_email\"],\n 'is_active' : this.state.fields[\"is_active\"],\n });\n\n contactAction.updateContact(inputBody, this.state.fields[\"contact_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

แก้ไขข้อมูลติดต่อ

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.contact_title_th}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.contact_title_en}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.contact_address_th}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.contact_address_en}\n
\n
\n
\n\n
\n \n
\n \n \n \n\n ต่อ \n\n \n\n
{this.state.errors.contact_phone}
\n
\n
\n\n
\n \n
\n \n \n \n\n ต่อ \n\n \n\n
{this.state.errors.contact_fax}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.contact_email}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { contactAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../contact.css\";\n\nlet modalAlert;\n\nexport class Contact_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {\n ['contact_code_phone'] : \"+66\"\n },\n \n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/contact\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"contact_title_th\"]) {\n formIsValid = false;\n errors[\"contact_title_th\"] = \"*กรุณากรอกชื่อฝ่าย (TH)\";\n }\n\n if (!fields[\"contact_title_en\"]) {\n formIsValid = false;\n errors[\"contact_title_en\"] = \"*กรุณากรอกชื่อฝ่าย (EN)\";\n }\n\n if (!fields[\"contact_phone\"]) {\n formIsValid = false;\n errors[\"contact_phone\"] = \"*กรุณากรอกเบอร์โทรศัพท์\";\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n\n validateData() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var inputBody = ({\n 'contact_title_th' : this.state.fields[\"contact_title_th\"],\n 'contact_title_en' : this.state.fields[\"contact_title_en\"],\n 'contact_address_th' : this.state.fields[\"contact_address_th\"],\n 'contact_address_en' : this.state.fields[\"contact_address_en\"],\n 'contact_code_phone' : this.state.fields[\"contact_code_phone\"],\n 'contact_phone' : this.state.fields[\"contact_phone\"],\n 'contact_extend_phone' : this.state.fields[\"contact_extend_phone\"],\n 'contact_code_fax' : this.state.fields[\"contact_code_fax\"],\n 'contact_fax' : this.state.fields[\"contact_fax\"],\n 'contact_extend_phone_fax' : this.state.fields[\"contact_extend_phone_fax\"],\n 'contact_email' : this.state.fields[\"contact_email\"],\n 'is_active' : this.state.fields[\"is_active\"] ? this.state.fields[\"is_active\"] : 2,\n });\n\n contactAction.createContact(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n\n };\n\n render() {\n console.log(this.state);\n \n return (\n
\n
\n
\n

เพิ่มข้อมูลติดต่อ

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.contact_title_th}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.contact_title_en}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.contact_address_th}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.contact_address_en}\n
\n
\n
\n\n
\n \n
\n \n \n \n\n ต่อ \n\n \n\n
{this.state.errors.contact_phone}
\n
\n
\n\n
\n \n
\n \n \n \n\n ต่อ \n\n \n\n
{this.state.errors.contact_fax}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.contact_email}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { branchAction,orderAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-preorder-eatin'\n\nvar optionStatus = [\n { value: '1', label: 'รอชำระเงิน' },\n { value: '2', label: 'ชำระเงินสำเร็จ' },\n { value: '3', label: 'ยกเลิกการชำระเงิน' },\n];\n\nlet dataSearch = {\n s_Order: '',\n s_Branch: '',\n s_Date: '',\n s_Status: '',\n}\n\nexport class PreOrder_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n fields: {},\n branchList: [],\n searchStatus:'',\n searchBranch:'',\n };\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n branchAction.listBranchAll()\n .then(res => {\n this.setState({\n branchList: res.data\n })\n })\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch);\n \n }\n\n showTable(dataSearch){\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"od_id\"\n },\n {\n title: \"เลขที่ออเดอร์\",\n class: \"text-center\",\n data: \"od_number\"\n },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"ชื่อลูกค้า\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"ราคารวม\",\n class: \"text-center\",\n data: \"sum_price\"\n },\n {\n title: \"วันที่สร้างรายการ\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"สถานะการชำระเงิน\",\n class: \"text-center\",\n data: \"status_payment_name\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"od_number\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(``);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(rowData.status_payment == '1') status = `${cellData}`\n else if(rowData.status_payment == '2') status = `${cellData}`\n else if(rowData.status_payment == '3') status = `${cellData}`\n else status = `ไม่ระบุสถานะ`\n $(td).html(status);\n },\n orderable: false\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n var bt_manage = '';\n if(rowData.status_payment != '1'){\n bt_manage =\n `\n \n `\n }else{\n bt_manage =\n `\n \n `\n }\n\n $(td).html(bt_manage);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.order}/list/order?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[5, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n\n handleSubmit(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n s_Status: (this.state.fields[\"searchStatus\"] ? this.state.fields[\"searchStatus\"] : ''),\n s_Branch: (this.state.fields[\"searchBranch\"] ? this.state.fields[\"searchBranch\"] : ''),\n s_Order: (this.state.fields[\"searchOrder\"] ? this.state.fields[\"searchOrder\"] : ''),\n s_Date: (this.state.fields[\"searchDate\"] ? this.state.fields[\"searchDate\"] : '')\n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n \n }\n\n handleSearchStatus = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchStatus\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n\n handleSearchBranch = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchBranch\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n\n handleChangeSearch = (e) => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n this.setState({ fields });\n };\n\n clearSearch = (e) => {\n let { fields } = this.state;\n fields['searchOrder']='';\n fields['searchBranch']='';\n fields['searchDate']='';\n fields['searchStatus']='';\n \n this.selectRefBranch.select.clearValue();\n this.selectRefStatus.select.clearValue();\n\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n orderAction.getOrderEatinListExcel(dataSearch)\n .then(res => {\n this.setState({\n dataOrderEatin: res.data\n })\n })\n };\n\n render() {\n\n let optionBranch = this.state.branchList.map(function (branchList) {\n return { value: branchList.b_id, label: branchList.b_name };\n })\n\n var dataOrder = []\n let data = this.state.dataOrderEatin \n \n for(var i in data){\n dataOrder.push(\n [\n {value: data[i].num},\n {value: data[i].od_number},\n {value: data[i].b_name},\n {value: data[i].mem_firstname + ' ' + data[i].mem_lastname},\n {value: data[i].sum_price},\n {value: data[i].created_at},\n {value: data[i].status_payment_name}\n ],\n )\n } \n\n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"เลขที่ออเดอร์\", width: {wch: 30}},//char width \n {title: \"สาขา\", width: {wch: 30}},\n {title: \"ชื่อลูกค้า\", width: {wch: 40}},\n {title: \"ราคารวม\", width: {wch: 20}},\n {title: \"วันที่สร้างรายการ\", width: {wch: 30}},\n {title: \"สถานะการชำระเงิน\"},\n ],\n data: dataOrder\n \n }\n ];\n\n return (\n
\n
\n
\n

รายการสั่งซื้อหน้าร้าน (Eat In)

\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n \n
this.handleSubmit(e)}>\n\n
\n
\n \n
\n
\n {\n this.selectRefBranch = ref;\n }}\n />\n
\n
\n \n
\n
\n {\n this.selectRefStatus = ref;\n }}\n />\n
\n\n
\n \n \n \n
\n
\n\n {/*\n \n */}\n
\n
\n
\n
\n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from 'react-select';\n\n\nlet modalAlert;\n\nconst options = [\n { value: '1', label: 'รอชำระเงิน' },\n { value: '2', label: 'ชำระเงินสำเร็จ' },\n { value: '3', label: 'ยกเลิกการชำระเงิน\t' },\n];\n\nexport class PreOrder_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n fields: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n s_name:[],\n selectedOption: null,\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.getOrderDataByID(params.od_number);\n this.getOrderDetail(params.od_number);\n\n let { fields } = this.state\n }\n\n getOrderDataByID(id) {\n orderAction.getEatinOrderId(id).then(e => {\n if (e.isSuccess === true) {\n\n const payment_id = e.data.status_payment;\n\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['status_payment'] === 1) newObject['status_payment'] = \"รอการชำระเงิน\"\n else if(newObject['status_payment'] === 2) newObject['status_payment'] = \"ชำระเงินสำเร็จ\"\n else if(newObject['status_payment'] === 3) newObject['status_payment'] = \"ยกเลิกการชำระเงิน\"\n else newObject['status_payment'] = \"ไม่ระบุสถานะ\"\n\n this.setState({ inputBody: newObject });\n\n this.setState({\n fields: {\n ...this.state.fields,\n od_comment: this.state.inputBody['od_comment'],\n selectValue: payment_id,\n selectLabel: this.state.inputBody['status_payment'],\n }\n });\n\n this.setState({defaultValue:\n {\n value: this.state.fields[\"selectValue\"],\n label: this.state.fields[\"selectLabel\"]\n }\n });\n\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n getOrderDetail(id) {\n orderAction.getEatinOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n handleDelete(event) {\n var detail_id = event.target.value;\n\n modalAlert = () => (\n this.onConfirmDelete(detail_id)}\n onCancel={() => this.onCancel()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirmDelete(detail_id) {\n orderAction.DeleteEatinDetail(detail_id).then(e => {\n if (e.isSuccess === false) {\n this.onModalError(\"Error\", e.message);\n } else {\n this.onModalSuccess(\"Success\", e.message);\n // table.ajax.reload();\n }\n });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n\n onConfirm(ev) {\n this.setState({ modal: null });\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/preorder/order/info/${this.state.inputBody['od_number']}`;\n }\n\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"status_payment\", this.state.defaultValue.value);\n formData.append(\"od_comment\", this.state.fields.od_comment);\n\n\n orderAction.updateEatinOrder(formData, this.state.inputBody['od_number'])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n handleChange = (selectedOption) => {\n let { fields, errors } = this.state;\n\n if(typeof selectedOption.value != 'undefined'){\n fields[\"status_id\"] = selectedOption.value;\n\n this.setState({\n defaultValue:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n }else {\n fields[selectedOption.target.name] = selectedOption.target.value;\n }\n this.setState({ fields, errors });\n };\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n \n );\n })\n\n const { selectedOption } = this.state;\n\n return (\n
\n
\n
\n
\n

รายการสั่งซื้อหน้าร้าน (Eat In)

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
\n
\n
\n
\n

อัพเดตสถานะการชำระเงิน

\n
\n
\n
\n
สถานะออเดอร์
\n
\n \n
\n
\n
\n
หมายเหตุ
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n
{item.pr_name}{item.price} ฿{item.od_product_count}{item.total_product_price} ฿
\n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n
ชื่อสินค้าราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวมจัดการ
รวมเป็นเงิน{this.state.inputBody['sum_price']} ฿
\n
\n
\n \n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\n\nlet modalAlert;\n\nexport class PreOrder_Info extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n };\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.getOrderDataByID(params.od_number);\n this.getOrderDetail(params.od_number);\n }\n\n getOrderDataByID(id) {\n orderAction.getEatinOrderId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['status_payment'] === 1) newObject['status_payment_name'] = {newObject['status_payment_name']}\n else if(newObject['status_payment'] === 2) newObject['status_payment_name'] = {newObject['status_payment_name']}\n else if(newObject['status_payment'] === 3) newObject['status_payment_name'] = {newObject['status_payment_name']}\n else newObject['status_payment'] = ไม่ระบุสถานะ\n\n this.setState({ inputBody: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n getOrderDetail(id) {\n orderAction.getEatinOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n {item.pr_name}\n {item.price} ฿\n {item.od_product_count}\n {item.total_product_price} ฿\n \n );\n })\n\n return (\n
\n
\n
\n
\n

รายการสั่งซื้อหน้าร้าน (Eat In)

\n
\n
\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
สถานะ :
\n
{this.state.inputBody['status_payment_name']}
\n
\n
\n
หมายเหตุ :
\n
{this.state.inputBody['od_comment']}
\n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n
ชื่อสินค้าราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวม
รวมเป็นเงิน{this.state.inputBody['sum_price']} ฿
\n
\n
\n
\n
\n
\n {this.state.modal}\n\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { branchAction,orderAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from \"react-select\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nvar optionType = [\n { value: 'Eat in', label: 'Eat in' },\n { value: 'Takehome', label: 'Takehome' },\n];\n\nvar optionStatus = [\n { value: '4', label: 'รอรับออเดอร์' },\n { value: '5', label: 'จัดเตรียมสินค้า' },\n { value: '6', label: 'คนขับกำลังไปส่งสินค้า' },\n { value: '7', label: 'รับสินค้าแล้ว' },\n { value: '8', label: 'ยกเลิกรายการ' },\n];\n\nlet dataSearch = {\n s_Order: '',\n s_Branch: '',\n s_Date: '',\n s_Status: '',\n s_Type: '',\n}\n\n\nexport class PreOrder_Receive_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n fields: {},\n branchList: [],\n searchStatus:'',\n searchBranch:'',\n searchType:''\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n branchAction.getBranchEatinAll()\n .then(res => {\n this.setState({\n branchList: res.data\n })\n })\n\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"od_id\"\n },\n {\n title: \"เลขที่ออเดอร์\",\n class: \"text-center\",\n data: \"od_number\"\n },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"ประเภทการรับสินค้า\",\n class: \"text-center\",\n data: \"order_type\"\n },\n {\n title: \"ชื่อลูกค้า\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"ราคารวม\",\n class: \"text-center\",\n data: \"sum_price\"\n },\n {\n title: \"วันที่สร้างรายการ\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"สถานะการรับสินค้า\",\n class: \"text-center\",\n data: \"status_receive_name\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"od_number\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(``);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(rowData.status_receive === 4) status = `${cellData}`\n else if(rowData.status_receive === 5) status = `${cellData}`\n else if(rowData.status_receive === 6) status = `${cellData}`\n else if(rowData.status_receive === 7) status = `${cellData}`\n else if(rowData.status_receive === 8) status = `${cellData}`\n else status = `ไม่ระบุสถานะ`\n $(td).html(status);\n },\n orderable: false\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n var bt_manage = '';\n if(rowData.status_receive == '0' || rowData.status_receive == '4' || rowData.status_receive == '5'){\n bt_manage =\n\n ``\n }else{\n bt_manage =\n\n ``\n }\n\n $(td).html(bt_manage);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.order}/order-recive?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}&searchType=${dataSearch.s_Type}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[5, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n handleSubmit(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n s_Status: (this.state.fields[\"searchStatus\"] ? this.state.fields[\"searchStatus\"] : ''),\n s_Branch: (this.state.fields[\"searchBranch\"] ? this.state.fields[\"searchBranch\"] : ''),\n s_Order: (this.state.fields[\"searchOrder\"] ? this.state.fields[\"searchOrder\"] : ''),\n s_Date: (this.state.fields[\"searchDate\"] ? this.state.fields[\"searchDate\"] : ''),\n s_Type: (this.state.fields[\"searchType\"] ? this.state.fields[\"searchType\"] : '')\n }\n this.showTable(dataSearch);\n }\n\n handleSearchStatus = (selectedOption) => {\n let { fields } = this.state;\n fields[\"searchStatus\"] = selectedOption.value;\n this.setState({ fields });\n };\n\n handleSearchBranch = (selectedOption) => {\n let { fields } = this.state;\n fields[\"searchBranch\"] = selectedOption.value;\n this.setState({ fields });\n };\n\n handleSearchType = (selectedOption) => {\n let { fields } = this.state;\n fields[\"searchType\"] = selectedOption.value;\n this.setState({ fields });\n };\n\n handleChangeSearch = (e) => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n this.setState({ fields });\n };\n\n // handleSearch = (selectedOption) => {\n // let { fields } = this.state;\n // fields[\"searchBranch\"] = selectedOption.value;\n // this.setState({ fields });\n // };\n\n render() {\n let optionBranch = this.state.branchList.map(function (branchList) {\n return { value: branchList.b_id, label: branchList.b_name };\n })\n return (\n
\n
\n
\n

รายการรับสินค้า

\n
\n
this.handleSubmit(e)}>\n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n\n
\n \n
\n
\n\n
\n
\n
\n \n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from 'react-select';\n\nlet modalAlert;\n\nexport class PreOrder_Receive_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n fields: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n selectedOption: null,\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.getOrderDataByID(params.od_number);\n this.getOrderDetail(params.od_number);\n }\n\n handleChange = (selectedOption) => {\n let { fields, errors } = this.state;\n\n if(typeof selectedOption.value != 'undefined'){\n fields[\"status_id\"] = selectedOption.value;\n\n this.setState({\n defaultValue:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n }else {\n fields[selectedOption.target.name] = selectedOption.target.value;\n }\n this.setState({ fields, errors });\n };\n\n getOrderDataByID(id) {\n orderAction.getEatinOrderId(id).then(e => {\n if (e.isSuccess === true) {\n const recive_id = e.data.status_receive;\n\n var newObject = Object.assign(e.data, this.state.inputBody);\n this.setState({ inputBody: newObject });\n console.log(this.state.inputBody);\n\n this.setState({\n fields: {\n ...this.state.fields,\n od_comment: this.state.inputBody['od_comment'],\n selectValue: this.state.inputBody['status_receive'],\n selectLabel: this.state.inputBody['status_receive_name'],\n }\n });\n\n this.setState({defaultValue:\n {\n value: this.state.fields[\"selectValue\"],\n label: this.state.fields[\"selectLabel\"]\n }\n });\n\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n getOrderDetail(id) {\n orderAction.getEatinOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirm(ev) {\n this.setState({ modal: null });\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/preorder/receive_order/info/${this.state.inputBody['od_number']}`;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n console.log(this.state.defaultValue);\n\n var formData = new FormData();\n formData.append(\"status_receive\", this.state.defaultValue.value);\n formData.append(\"status_receive_name\", this.state.defaultValue.label);\n formData.append(\"od_comment\", this.state.fields.od_comment);\n\n\n orderAction.updateEatinOrder(formData, this.state.inputBody['od_number'])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n render() {\n\n // console.log(this.state.fields[\"od_comment\"]);\n\n var options = [\n { value: '4', label: 'รอยืนยันออเดอร์' },\n { value: '5', label: 'จัดเตรียมสินค้า' },\n { value: '6', label: 'คนขับกำลังไปส่งสินค้า' },\n { value: '7', label: 'รับสินค้าแล้ว' },\n { value: '8', label: 'ยกเลิกรายการ' },\n ];\n\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n \n );\n })\n\n return (\n
\n
\n
\n
\n

รายการรับสินค้า (Eat In)

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
ประเภทการรับสินค้า
\n
\n
\n
ชื่อประเภทการรับสินค้า :
\n
{this.state.inputBody['order_type']}
\n
\n
\n
เวลาที่ต้องการรับสินค้า :
\n
{(this.state.inputBody['receive_channel'] === \"pickup\" ? this.state.inputBody['time_receive'] : \"\")}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
\n
\n
\n
\n

อัพเดตสถานะการชำระเงิน

\n
\n
\n
\n
สถานะออเดอร์
\n
\n \n
\n
\n
\n
หมายเหตุ
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n
{item.pr_name}{item.note}{item.price} ฿{item.od_product_count}{item.total_product_price} ฿
\n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n
ชื่อสินค้าหมายเหตุราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวม
รวมเป็นเงิน{this.state.inputBody['sum_price']} ฿
\n
\n
\n \n
\n
\n
\n\n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { branchAction,orderAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-preorder-takehome'\n\nvar optionStatus = [\n { value: '1', label: 'รอชำระเงิน' },\n { value: '2', label: 'ชำระเงินสำเร็จ' },\n { value: '3', label: 'ยกเลิกการชำระเงิน' },\n];\n\nlet dataSearch = {\n s_Order: '',\n s_Branch: '',\n s_Date: '',\n s_Status: '',\n}\n\nexport class Takehome_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n fields: {},\n branchList: [],\n searchStatus:'',\n searchBranch:''\n };\n }\n\n componentDidMount() {\n branchAction.listBranchAll()\n .then(res => {\n this.setState({\n branchList: res.data\n })\n })\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch);\n\n }\n\n showTable(dataSearch){\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"od_id\"\n },\n {\n title: \"เลขที่ออเดอร์\",\n class: \"text-center\",\n data: \"od_number\"\n },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"ชื่อลูกค้า\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"ราคารวม\",\n class: \"text-center\",\n data: \"sum_price\"\n },\n {\n title: \"วันที่สร้างรายการ\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"สถานะออเดอร์\",\n class: \"text-center\",\n data: \"status_payment_name\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"od_number\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(``);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(rowData.status_payment == '1') status = `${cellData}`\n else if(rowData.status_payment == '2') status = `${cellData}`\n else if(rowData.status_payment == '3') status = `${cellData}`\n else status = `ไม่ระบุสถานะ`\n $(td).html(status);\n },\n orderable: false\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n var bt_manage = '';\n if(rowData.status_payment != '1'){\n bt_manage =\n `\n \n `\n }else{\n bt_manage =\n\n `\n \n `\n }\n\n $(td).html(bt_manage);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.order}/orderDelivery?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchStatus=${dataSearch.s_Status}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[5, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n s_Status: (this.state.fields[\"searchStatus\"] ? this.state.fields[\"searchStatus\"] : ''),\n s_Branch: (this.state.fields[\"searchBranch\"] ? this.state.fields[\"searchBranch\"] : ''),\n s_Order: (this.state.fields[\"searchOrder\"] ? this.state.fields[\"searchOrder\"] : ''),\n s_Date: (this.state.fields[\"searchDate\"] ? this.state.fields[\"searchDate\"] : '')\n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n }\n\n handleSearchStatus = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchStatus\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n\n handleSearchBranch = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchBranch\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n\n handleChangeSearch = (e) => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n this.setState({ fields });\n };\n\n clearSearch = (e) => {\n let { fields } = this.state;\n fields['searchOrder']='';\n fields['searchBranch']='';\n fields['searchDate']='';\n fields['searchStatus']='';\n this.setState({ fields });\n \n this.selectRefBranch.select.clearValue();\n this.selectRefStatus.select.clearValue();\n\n \n }\n\n exportExcel = (dataSearch) => {\n orderAction.getOrderDeliveryListExcel(dataSearch)\n .then(res => {\n this.setState({\n dataOrderDelivery: res.data\n })\n })\n };\n\n render() {\n\n let optionBranch = this.state.branchList.map(function (branchList) {\n return { value: branchList.b_id, label: branchList.b_name };\n })\n\n var dataOrder = []\n let data = this.state.dataOrderDelivery \n for(var i in data){\n dataOrder.push(\n [\n {value: data[i].num},\n {value: data[i].od_number},\n {value: data[i].b_name},\n {value: data[i].mem_firstname + ' ' + data[i].mem_lastname},\n {value: data[i].sum_price},\n {value: data[i].created_at},\n {value: data[i].status_payment_name}\n ],\n )\n } \n \n // dataOrder = [\n // {value:'1'},\n // {value:'2'},\n // {value:'3'},\n // {value:'4'},\n // {value:'5'},\n // {value:'6'},\n // {value:'7'}\n // ]\n\n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"เลขที่ออเดอร์\", width: {wch: 30}},//char width \n {title: \"สาขา\", width: {wch: 30}},\n {title: \"ชื่อลูกค้า\", width: {wch: 40}},\n {title: \"ราคารวม\", width: {wch: 20}},\n {title: \"วันที่สร้างรายการ\", width: {wch: 30}},\n {title: \"สถานะการชำระเงิน\"}\n ],\n data: dataOrder\n \n }\n ];\n console.log(multiDataSet);\n\n\n return (\n
\n
\n
\n

รายการสั่งซื้อหน้าร้าน (Take Home)

\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n \n\n
\n
\n\n
this.handleSubmit(e)}>\n\n
\n
\n \n
\n
\n {\n this.selectRefBranch = ref;\n }}\n />\n
\n
\n \n
\n
\n {\n this.selectRefStatus = ref;\n }}\n />\n
\n\n
\n \n\n \n
\n
\n\n
\n
\n
\n \n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\n\nlet modalAlert;\n\nexport class PreOrder_Receive_Info extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n };\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.getOrderDataByID(params.od_number);\n this.getOrderDetail(params.od_number);\n }\n\n getOrderDataByID(id) {\n orderAction.getEatinOrderId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['status_receive'] === 4) newObject['status_receive_name'] = {newObject['status_receive_name']}\n else if(newObject['status_receive'] === 5) newObject['status_receive_name'] = {newObject['status_receive_name']}\n else if(newObject['status_receive'] === 6) newObject['status_receive_name'] = {newObject['status_receive_name']}\n else if(newObject['status_receive'] === 7) newObject['status_receive_name'] = {newObject['status_receive_name']}\n else if(newObject['status_receive'] === 8) newObject['status_receive_name'] = {newObject['status_receive_name']}\n else newObject['status_receive'] = ไม่ระบุสถานะ\n this.setState({ inputBody: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n getOrderDetail(id) {\n orderAction.getEatinOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n \n );\n })\n\n return (\n
\n
\n
\n
\n

รายการรับสินค้า (Eat In)

\n
\n
\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
ประเภทการรับสินค้า
\n
\n
\n
ชื่อประเภทการรับสินค้า :
\n
{this.state.inputBody['order_type']}
\n
\n
\n
เวลาที่ต้องการรับสินค้า :
\n
{(this.state.inputBody['receive_channel'] === \"pickup\" ? this.state.inputBody['time_receive'] : \"\")}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n\n
\n
สถานะ :
\n
{this.state.inputBody['status_receive_name']}
\n
\n
\n
หมายเหตุ :
\n
{this.state.inputBody['od_comment']}
\n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n
{item.pr_name}{item.note}{item.price} ฿{item.od_product_count}{item.total_product_price} ฿
\n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n
ชื่อสินค้าหมายเหตุราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวม
รวมเป็นเงิน{this.state.inputBody['sum_price']} ฿
\n
\n
\n
\n
\n
\n\n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from 'react-select';\n\n\nlet modalAlert;\n\nconst options = [\n { value: '1', label: 'รอชำระเงิน' },\n { value: '2', label: 'ชำระเงินสำเร็จ' },\n { value: '3', label: 'ยกเลิกการชำระเงิน\t' },\n];\n\nexport class Takehome_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n fields: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n s_name:[],\n selectedOption: null,\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.getOrderDataByID(params.od_number);\n this.getOrderDetail(params.od_number);\n\n let { fields } = this.state\n }\n\n getOrderDataByID(id) {\n orderAction.getEatinOrderId(id).then(e => {\n if (e.isSuccess === true) {\n\n const payment_id = e.data.status_payment;\n\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['status_payment'] === 1) newObject['status_payment'] = \"รอการชำระเงิน\"\n else if(newObject['status_payment'] === 2) newObject['status_payment'] = \"ชำระเงินสำเร็จ\"\n else if(newObject['status_payment'] === 3) newObject['status_payment'] = \"ยกเลิกการชำระเงิน\"\n else newObject['status_payment'] = \"ไม่ระบุสถานะ\"\n\n this.setState({ inputBody: newObject });\n\n this.setState({\n fields: {\n ...this.state.fields,\n od_comment: this.state.inputBody['od_comment'],\n selectValue: payment_id,\n selectLabel: this.state.inputBody['status_payment'],\n }\n });\n\n this.setState({defaultValue:\n {\n value: this.state.fields[\"selectValue\"],\n label: this.state.fields[\"selectLabel\"]\n }\n });\n\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n getOrderDetail(id) {\n orderAction.getEatinOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n handleDelete(event) {\n var detail_id = event.target.value;\n\n modalAlert = () => (\n this.onConfirmDelete(detail_id)}\n onCancel={() => this.onCancel()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirmDelete(detail_id) {\n orderAction.DeleteEatinDetail(detail_id).then(e => {\n if (e.isSuccess === false) {\n this.onModalError(\"Error\", e.message);\n } else {\n this.onModalSuccess(\"Success\", e.message);\n // table.ajax.reload();\n }\n });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n\n onConfirm(ev) {\n this.setState({ modal: null });\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/preorder/order/info/${this.state.inputBody['od_number']}`;\n }\n\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"status_payment\", this.state.defaultValue.value);\n formData.append(\"od_comment\", this.state.fields.od_comment);\n\n\n orderAction.updateEatinOrder(formData, this.state.inputBody['od_number'])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n handleChange = (selectedOption) => {\n let { fields, errors } = this.state;\n\n if(typeof selectedOption.value != 'undefined'){\n fields[\"status_id\"] = selectedOption.value;\n\n this.setState({\n defaultValue:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n }else {\n fields[selectedOption.target.name] = selectedOption.target.value;\n }\n this.setState({ fields, errors });\n };\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n {item.pr_name}\n {item.price}\n {item.od_product_count}\n {item.total_product_price} ฿\n \n \n );\n })\n\n const { selectedOption } = this.state;\n\n return (\n
\n
\n
\n
\n

รายการสั่งซื้อหน้าร้าน (Take Home)

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
\n
\n
\n
\n

อัพเดตสถานะการชำระเงิน

\n
\n
\n
\n
สถานะออเดอร์
\n
\n \n
\n
\n
\n
หมายเหตุ
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n
ชื่อสินค้าราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวมจัดการ
รวมเป็นเงิน{this.state.inputBody['sum_price']} ฿
\n
\n
\n
\n
\n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { categoryAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../category.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n// var editor;\n\nexport class Category_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n\n\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"pr_category_id\"\n },\n {\n title: \"ชื่อหมวดหมู่ (TH)\",\n class: \"text-center\",\n data: \"pr_category_name\"\n },\n {\n title: \"ลำดับการแสดง\",\n class: \"text-center\",\n data: \"sort\"\n },\n {\n title: \"วันที่สร้าง\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"pr_category_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.category}/category`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n \n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n categoryAction.deleteEatinCategory(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการหมวดหมู่สินค้าพรีออเดอร์

\n \n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\n\nlet modalAlert;\n\nexport class Takehome_Info extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n };\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.getOrderDataByID(params.od_number);\n this.getOrderDetail(params.od_number);\n }\n\n getOrderDataByID(id) {\n orderAction.getEatinOrderId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['status_payment'] === 1) newObject['status_payment'] = รอการชำระเงิน\n else if(newObject['status_payment'] === 2) newObject['status_payment'] = ชำระเงินสำเร็จ\n else if(newObject['status_payment'] === 3) newObject['status_payment'] = ยกเลิกการชำระเงิน\n else newObject['status_payment'] = ไม่ระบุสถานะ\n\n this.setState({ inputBody: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n getOrderDetail(id) {\n orderAction.getEatinOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n );\n })\n\n return (\n
\n
\n
\n
\n

รายการสั่งซื้อหน้าร้าน (Take Home)

\n
\n
\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
สถานะ :
\n
{this.state.inputBody['status_payment']}
\n
\n
\n
หมายเหตุ :
\n
{this.state.inputBody['od_comment']}
\n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n
{item.pr_name}{item.price}{item.od_product_count}{item.total_product_price} ฿
\n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n
ชื่อสินค้าราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวม
รวมเป็นเงิน{this.state.inputBody['sum_price']} ฿
\n
\n
\n
\n \n \n {this.state.modal}\n\n \n );\n }\n}\n","import React from \"react\";\nimport { categoryAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../category.css\";\n\nlet modalAlert;\n\nexport class Category_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/preorder/product/category\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"cateName\"]) {\n formIsValid = false;\n errors[\"cateName\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (TH)\";\n }\n\n if (!fields[\"cateNameEN\"]) {\n formIsValid = false;\n errors[\"cateNameEN\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (EN)\";\n }\n\n if (!fields[\"sort\"]) {\n formIsValid = false;\n errors[\"sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n\n // if (!fields[\"cateImage\"]) {\n // formIsValid = false;\n // errors[\"cateImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = new FormData();\n // formData.append(\"pr_category_image\", this.state.fields[\"cateImage\"]);\n formData.append(\"pr_category_name\", this.state.fields[\"cateName\"]);\n formData.append(\"pr_category_name_en\", this.state.fields[\"cateNameEN\"]);\n formData.append(\"sort\", this.state.fields[\"sort\"]);\n formData.append(\"user_id\", 1);\n\n categoryAction.createEatinCategory(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n\n render() {\n return (\n
\n
\n
\n

หมวดหมู่สินค้าพรีออเดอร์

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.cateName}
\n
\n
\n
\n \n
\n \n
{this.state.errors.cateNameEN}
\n
\n
\n
\n \n
\n \n
{this.state.errors.sort}
\n
\n
\n {/*
\n \n
\n \n
{this.state.errors.cateImage}
\n
\n
*/}\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { categoryAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../category.css\";\n\nlet modalAlert;\n\nexport class Category_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getCategoryDataByID(params.categoryid);\n }\n\n getCategoryDataByID(cid) {\n categoryAction.getEatinCategoryId(cid).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n cateName: e.data.pr_category_name,\n cateNameEN: e.data.pr_category_name_en,\n // cateImage: e.data.pr_category_image,\n sort: e.data.sort,\n cateId: cid\n }\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/preorder/product/category\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"cateName\"]) {\n formIsValid = false;\n errors[\"cateName\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (TH)\";\n }\n\n if (!fields[\"cateNameEN\"]) {\n formIsValid = false;\n errors[\"cateNameEN\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (EN)\";\n }\n\n if (!fields[\"sort\"]) {\n formIsValid = false;\n errors[\"sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n\n // if (!fields[\"cateImage\"]) {\n // formIsValid = false;\n // errors[\"cateImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n // formData.append(\"pr_category_image\", this.state.fields[\"cateImage\"]);\n formData.append(\"pr_category_name\", this.state.fields[\"cateName\"]);\n formData.append(\"pr_category_name_en\", this.state.fields[\"cateNameEN\"]);\n formData.append(\"sort\", this.state.fields[\"sort\"]);\n formData.append(\"user_id\", 1);\n\n categoryAction.updateEatinCategory(formData, this.state.fields[\"cateId\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

แก้ไขหมวดหมู่สินค้าพรีออเดอร์

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.cateName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.cateNameEN}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.sort}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.cateImage}
\n \n
\n
*/}\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React, { Component }from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\n\nimport { categoryAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../category.css\";\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nvar listCateShow = [];\n\n\nexport class Category_Edit_Show extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n inputBody: [],\n \n };\n // this.handleSubmit = this.handleSubmit.bind(this);\n // this.onConfirm = this.onConfirm.bind(this);\n // this.onConfirmCreate = this.onConfirmCreate.bind(this);\n // this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getCategoryDataByID();\n }\n\n getCategoryDataByID() {\n let { fields } = this.state;\n listCateShow = []\n categoryAction.getEatinCategory().then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n this.setState({ inputBody: newObject , fields });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n \n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value\n this.setState({ fields })\n // this.setState({ name : e.target.value});\n // this.state.errors[e.target.name] = null;\n // this.setState({ fields, errors });\n };\n\n render() {\n\n let listCate = this.state.inputBody.map(( item, cate ) => {\n return (\n \n 1\n {item.pr_category_name}\n this.handleChange(e)} />\n \n );\n })\n return (\n
\n
\n
\n

จัดการลำดับการแสดงหมวดหมู่สินค้า

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n\n \n \n \n \n \n \n \n \n \n {listCateShow}\n \n
ลำดับชื่อหมวดหมู่ลำดับที่แสดง
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { productAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport ReactExport from 'react-data-export';\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-preorder-product'\n\nexport class Product_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n productAction.getEatinProductList()\n .then(res => {\n this.setState({\n dataProduct: res.data\n })\n })\n\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"pr_id\"\n },\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"pr_image\"\n },\n {\n title: \"รหัสสินค้า\",\n class: \"text-center\",\n data: \"pr_code\"\n },\n {\n title: \"ชื่อสินค้า (TH)\",\n class: \"text-center\",\n data: \"pr_name\"\n },\n {\n title: \"ราคาตั้งต้น\",\n class: \"text-center\",\n data: \"pr_price\"\n },\n {\n title: \"หมวดหมู่\",\n class: \"text-center\",\n data: \"pr_category_name\"\n },\n {\n title: \"ลำดับที่แสดง\",\n class: \"text-center\",\n data: \"pr_sort\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"pr_status\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"pr_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${rowData.pr_name}`);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n // {\n // targets: 5,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td)\n // .html(`
${cellData} ฿
`);\n // }\n // },\n \n\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/product`,\n type: \"GET\",\n // dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[7, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"pr_status\", fval);\n\n productAction.activateProductEatin(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n productAction.deleteEatinProduct(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n var dataExcel = []\n let data = this.state.dataProduct \n \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].pr_image},\n {value: data[i].pr_code},\n {value: data[i].pr_name},\n {value: data[i].pr_category_name},\n {value: data[i].pr_sort},\n {value: (data[i].pr_status == 1 ? 'active' : 'inactive')}\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"URL รูปภาพ\", width: {wch: 40}},//char width \n {title: \"รหัสสินค้า\", width: {wch: 20}},\n {title: \"ชื่อสินค้า (TH)\", width: {wch: 40}},\n {title: \"หมวดหมู่\", width: {wch: 20}},\n {title: \"ลำดับที่แสดง\", width: {wch: 15}},\n {title: \"สถานะ\"},\n ],\n data: dataExcel\n \n }\n ];\n\n return (\n
\n
\n
\n

จัดการสินค้า

\n
\n \n \n เพิ่มสินค้า\n \n \n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport Select from 'react-select';\n\nimport { productAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../product.css\";\n\nlet modalAlert;\n\nexport class Product_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n pr_typebadge: \"normal\"\n },\n errors: {},\n isStatus: false,\n status: 0,\n cateName:[],\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n productAction.getCategoryProductListAll().then(res => {\n this.setState({\n cateName: res.data\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/preorder/product\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"productCode\"]) {\n formIsValid = false;\n errors[\"productCode\"] = \"*กรุณากรอกรหัสสินค้า\";\n }\n\n if (!fields[\"productName\"]) {\n formIsValid = false;\n errors[\"productName\"] = \"*กรุณากรอกชื่อสินค้า (TH)\";\n }\n\n if (!fields[\"productNameEN\"]) {\n formIsValid = false;\n errors[\"productNameEN\"] = \"*กรุณากรอกชื่อสินค้า (EN)\";\n }\n\n // if (!fields[\"descriptProduct\"]) {\n // formIsValid = false;\n // errors[\"descriptProduct\"] = \"*กรุณากรอกรายละเอียดสินค้า (TH)\";\n // }\n\n // if (!fields[\"descriptProductEN\"]) {\n // formIsValid = false;\n // errors[\"descriptProductEN\"] = \"*กรุณากรอกรายละเอียดสินค้า (EN)\";\n // }\n\n if (typeof fields[\"productPoint\"] == \"string\" && fields[\"productPoint\"] == \"\") {\n formIsValid = false;\n errors[\"productPoint\"] = \"*กรุณากรอกคะแนนสินค้า\";\n }\n\n if (!fields[\"productImage\"]) {\n formIsValid = false;\n errors[\"productImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n\n if (!fields[\"productPrice\"]) {\n formIsValid = false;\n errors[\"productPrice\"] = \"*กรุณากรอกราคาสินค้า\";\n }\n\n // if (!fields[\"productType\"]) {\n // formIsValid = false;\n // errors[\"productType\"] = \"*กรุณาเลือกประเภทสินค้า\";\n // }\n\n if (!fields[\"productSort\"]) {\n formIsValid = false;\n errors[\"productSort\"] = \"*กรุณากรอกลำดับที่แสดง\";\n }\n\n if (!fields[\"cate_id\"]) {\n formIsValid = false;\n errors[\"cate_id\"] = \"*กรุณาเลือกหมวดหมู่สินค้า\";\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = new FormData();\n formData.append(\"pr_sort\", this.state.fields[\"productSort\"]);\n formData.append(\"pr_code\", this.state.fields[\"productCode\"]);\n formData.append(\"pr_name\", this.state.fields[\"productName\"]);\n formData.append(\"pr_name_en\", this.state.fields[\"productNameEN\"]);\n // formData.append(\"pr_description\", this.state.fields[\"descriptProduct\"]);\n // formData.append(\"pr_description_en\", this.state.fields[\"descriptProductEN\"]);\n formData.append(\"pr_image\", this.state.fields[\"productImage\"]);\n // formData.append(\"pr_type\", this.state.fields[\"productType\"]);\n formData.append(\"pr_price\", this.state.fields[\"productPrice\"]);\n formData.append(\"pr_point\", this.state.fields[\"productPoint\"]);\n formData.append(\"pr_status\", this.state[\"status\"]);\n formData.append(\"pr_category_id\", this.state.fields[\"cate_id\"]);\n formData.append(\"pr_typebadge\", this.state.fields[\"pr_typebadge\"]);\n formData.append(\"user_id\", 1);\n \n productAction.createEatinProduct(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\nhandleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n};\n\nhandleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n\n};\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n\nhandleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n let status;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n if(this.state.isStatus == false){\n this.setState({ status: '1' })\n }else{\n this.setState({ status: '0' })\n }\n }\n}\n\n\n render() {\n let optionsCate = this.state.cateName.map(function (cateName) {\n return { value: cateName.pr_category_id, label: cateName.pr_category_name };\n })\n\n let optionsTypebadge = [\n { value: \"normal\", label: \"normal\" },\n { value: \"recommend\", label: \"recommend\" },\n { value: \"hot\", label: \"hot\" },\n { value: \"promotion\", label: \"promotion\" },\n { value: \"new\", label: \"new\" }\n ]\n\n return (\n\n
\n
\n
\n

เพิ่มสินค้าพรีออเดอร์

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.productImage}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.productCode}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.productName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.productNameEN}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.descriptProduct}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.descriptProductEN}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.productPrice}
\n
\n\n \n
\n \n
{this.state.errors.productPoint}
\n
\n
\n\n\n {/*
\n \n
\n \n
{this.state.errors.discountProduct}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.productType}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.cate_id}
\n
\n\n \n
\n \n
{this.state.errors.pr_typebadge}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.productSort}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { productAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport Select from 'react-select';\n\nlet modalAlert;\n\n\nexport class Product_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n cateName:[],\n isStatus: '',\n status: '',\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getProductDataByID(params.pr_id);\n\n let { fields } = this.state\n\n productAction.getCategoryProductListAll()\n .then(res => {\n this.setState({\n cateName: res.data\n })\n })\n }\n\n getProductDataByID(pid) {\n\n productAction.getEatinProductId(pid).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n productCode: e.data.pr_code,\n productSort: e.data.pr_sort,\n productName: e.data.pr_name,\n productNameEN: e.data.pr_name_en,\n productPoint: e.data.pr_point,\n descriptProduct: e.data.pr_description,\n descriptProductEN: e.data.pr_description_en,\n priceProduct: e.data.pr_price,\n // productDiscount: e.data.pr_discount_price,\n // productType: e.data.pr_type,\n // productTypeName: e.data.pr_type_name,\n pr_typebadge: e.data.pr_typebadge,\n isStatus: e.data.pr_status,\n cate_id: e.data.pr_category_id,\n selectLabel: e.data.cate_name,\n productImage: e.data.pr_image,\n pr_id: pid\n }\n });\n\n \n\n this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n this.setState({status: this.state.fields[\"isStatus\"]});\n this.setState({\n defaultCateValue:\n {\n label: this.state.fields[\"selectLabel\"],\n value: this.state.fields[\"cate_id\"]\n },\n defaultTypebadgeValue: {\n label: this.state.fields[\"pr_typebadge\"],\n value: this.state.fields[\"pr_typebadge\"]\n }\n });\n // this.setState({\n // defaultTypeValue:\n // {\n // label: this.state.fields[\"productTypeName\"],\n // value: this.state.fields[\"productType\"]\n // }\n // });\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/preorder/product\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"productCode\"]) {\n formIsValid = false;\n errors[\"productCode\"] = \"*กรุณากรอกรหัสสินค้า\";\n }\n\n if (!fields[\"productSort\"]) {\n formIsValid = false;\n errors[\"productSort\"] = \"*กรุณากรอกลำดับสินค้า\";\n }\n\n if (!fields[\"productName\"]) {\n formIsValid = false;\n errors[\"productName\"] = \"*กรุณากรอกชื่อสินค้า (TH)\";\n }\n\n if (!fields[\"productNameEN\"]) {\n formIsValid = false;\n errors[\"productNameEN\"] = \"*กรุณากรอกชื่อสินค้า (EN)\";\n }\n\n if (typeof fields[\"productPoint\"] == \"string\" && fields[\"productPoint\"] == \"\") {\n formIsValid = false;\n errors[\"productPoint\"] = \"*กรุณากรอกคะแนนสินค้า\";\n }\n\n // if (!fields[\"descriptProduct\"]) {\n // formIsValid = false;\n // errors[\"descriptProduct\"] = \"*กรุณากรอกรายละเอียดสินค้า (TH)\";\n // }\n\n // if (!fields[\"descriptProductEN\"]) {\n // formIsValid = false;\n // errors[\"descriptProductEN\"] = \"*กรุณากรอกรายละเอียดสินค้า (EN)\";\n // }\n\n if (!fields[\"productImage\"]) {\n formIsValid = false;\n errors[\"productImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n\n if (fields[\"priceProduct\"] == \"\") {\n formIsValid = false;\n errors[\"priceProduct\"] = \"*กรุณากรอกราคาสินค้าเริ่มต้น\";\n }\n\n if (!fields[\"cate_id\"]) {\n formIsValid = false;\n errors[\"cate_id\"] = \"*กรุณาเลือกหมวดหมู่สินค้า\";\n }\n\n // if (!fields[\"productType\"]) {\n // formIsValid = false;\n // errors[\"productType\"] = \"*กรุณาเลือกประเภทสินค้า\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"pr_code\", this.state.fields[\"productCode\"]);\n formData.append(\"pr_sort\", this.state.fields[\"productSort\"]);\n formData.append(\"pr_name\", this.state.fields[\"productName\"]);\n // formData.append(\"pr_description\", this.state.fields[\"descriptProduct\"]);\n formData.append(\"pr_name_en\", this.state.fields[\"productNameEN\"]);\n formData.append(\"pr_point\", this.state.fields[\"productPoint\"]);\n // formData.append(\"pr_description_en\", this.state.fields[\"descriptProductEN\"]);\n formData.append(\"pr_image\", this.state.fields[\"productImage\"]);\n formData.append(\"pr_price\", this.state.fields[\"priceProduct\"]);\n formData.append(\"pr_typebadge\", this.state.defaultTypebadgeValue.value);\n // formData.append(\"pr_discount_price\", this.state.fields[\"productDiscount\"]);\n // formData.append(\"pr_type\", this.state.defaultTypeValue.value);\n formData.append(\"pr_status\", this.state.status);\n formData.append(\"pr_category_id\", this.state.defaultCateValue.value);\n formData.append(\"user_id\", 1);\n\n productAction.updateEatinProduct(formData, this.state.fields[\"pr_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n\n if (action.name === \"cate_id\"){\n this.setState({\n defaultCateValue:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name === \"pr_typebadge\"){\n this.setState({\n defaultTypebadgeValue:\n {\n label: e.label,\n value: e.value\n }\n })\n }\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '2' })\n }else{\n this.setState({ status: '1' })\n }\n\n }\n}\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n\n let options = this.state.cateName.map(function (cateName) {\n return { value: cateName.pr_category_id, label: cateName.pr_category_name };\n })\n\n let optionsTypebadge = [\n { value: \"normal\", label: \"normal\" },\n { value: \"recommend\", label: \"recommend\" },\n { value: \"hot\", label: \"hot\" }\n ]\n return (\n
\n
\n
\n

แก้ไขสินค้าพรีออเดอร์

\n
\n
\n
\n
\n \n
\n this.handleSubmit(e)}\n >\n\n\n
\n
\n \n
\n \n
{this.state.errors.productImage}
\n
\n
\n
\n \n
\n \n
{this.state.errors.productCode}
\n
\n
\n\n \n\n
\n \n
\n \n
{this.state.errors.productName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.productNameEN}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.descriptProduct}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.descriptProductEN}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.priceProduct}
\n
\n\n \n
\n \n
{this.state.errors.productPoint}
\n
\n
\n\n\n {/*
\n \n
\n \n
\n
*/}\n\n
\n \n
\n \n\n
{this.state.errors.cate_id}
\n
\n\n \n
\n \n
{this.state.errors.pr_typebadge}
\n
\n
\n\n {/*
\n \n
\n \n\n
{this.state.errors.productType}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.productSort}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { productAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n// var editor;\n\nexport class Product_Branch_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n let ad_b_status = localStorage.getItem('ad_b_status');\n let ad_b_id = localStorage.getItem('ad_b_id');\n \n const columns = [\n {\n class: \"details-control\",\n orderable: false,\n data: null,\n defaultContent: \"\"\n },\n {\n title: \"ชื่อสินค้า\",\n class: \"text-center\",\n data: \"pr_name\"\n },\n {\n title: \"รหัสสินค้า\",\n class: \"text-center\",\n data: \"pr_code\"\n },\n {\n title: \"หมวดหมู่สินค้า\",\n class: \"text-center\",\n data: \"pr_category_name\"\n },\n {\n title: \"สถานะสินค้า\",\n class: \"text-center\",\n data: \"pr_status\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"pr_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n let isStatus = ''\n if(cellData==1){\n isStatus = 'ใช้งาน'\n }else{\n isStatus = 'ไม่ใช้งาน'\n }\n\n $(td)\n .html(isStatus);\n\n // \n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n \n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/product_by_branch?ad_b_status=${ad_b_status}&ad_b_id=${ad_b_id}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading... '\n },\n \n });\n\n function format ( d ) {\n let branch_by_product = \"\"\n let color_status_branch_switch = \"\"\n \n let status_branch = \"\"\n let status_switch = (d.pr_status != 1 ? \"disabled\" : \"\")\n let color_status_switch = (d.pr_status != 1 ? \"color_switch_disabled\" : \"\")\n \n for(var i in d.branch){\n if(d.branch[i].b_status == 1 && d.branch[i].b_preorder_status == 1){\n status_branch = \"dot-green\"\n color_status_branch_switch = \"\"\n status_switch = \"\"\n }else{\n status_branch = \"dot-red\"\n color_status_branch_switch = \"color_switch_disabled\"\n status_switch = \"disabled\"\n }\n\n branch_by_product += \n '
'+\n ''+\n ''+\n ''+\n ''+\n // ''+\n ''\n }\n \n return '
'+ `
` + d.branch[i].b_name +'
'+d.branch[i].pr_branch_price+''+\n ``+\n ''+\n ``+\n ''+\n // ``+\n // '
'+\n ''+\n ''+\n ''+\n ''+\n ''+\n ''+\n // ''+\n ''+\n ''+\n ''+\n branch_by_product+\n ''+\n '
'+'ชื่อสาขา'+''+'ราคา'+''+'สถานะ soldout'+''+'สถานะแสดงสินค้า'+''+'สถานะ Takehome'+'
';\n }\n\n $('#dataTable tbody').on('click', 'td.details-control', function () {\n var tr = $(this).closest('tr');\n var row = table.row( tr );\n\n if ( row.child.isShown() ) {\n // This row is already open - close it\n row.child.hide();\n tr.removeClass('shown');\n }\n else {\n // Open this row\n row.child( format(row.data()) ).show();\n tr.addClass('shown');\n }\n });\n\n $(this.refs.main).on(\"click\", \".soldoutBtn\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_soldout\", val);\n\n productAction.updateEatinBranchByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"pr_branch_status\", val);\n\n productAction.updateEatinBranchByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", \".activeBtn_takehome\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"pr_branch_takehome\", val);\n\n productAction.updateEatinBranchByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n var state = this;\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการสินค้าพรีออเดอร์แต่ละสาขา

\n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { productAction } from \"../../../../_actions\";\nimport {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';\nimport '../../../../../node_modules/react-bootstrap-table/dist/react-bootstrap-table-all.min.css';\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport Select from 'react-select';\nimport ReactModal from 'react-modal';\n\nlet modalAlert;\nconst customStyles = {\n content : {\n top: '40px',\n left: '20%',\n width: '60%',\n height: '68%',\n padding: '0px'\n }\n};\n\nexport class Product_Branch_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n status: '',\n data_product:{},\n showModal: false,\n pr_branch_eatin: '',\n pr_branch_takehome: '',\n is_soldout: '',\n pr_branch_status: '',\n\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.handleOpenModal = this.handleOpenModal.bind(this);\n this.handleCloseModal = this.handleCloseModal.bind(this);\n }\n\n componentDidMount() {\n let ad_b_status = localStorage.getItem('ad_b_status');\n let ad_b_id = localStorage.getItem('ad_b_id');\n const {\n match: { params }\n } = this.props;\n this.getBranchByProduct(params.pr_id,ad_b_status,ad_b_id);\n this.setState({\n pr_id: params.pr_id\n })\n }\n\n getBranchByProduct(pr_id,ad_b_status,ad_b_id) {\n var data_table = []\n productAction.getEatinBranchByProduct(pr_id,ad_b_status,ad_b_id).then(e => {\n if (e.isSuccess === true) {\n \n for(var i in e.data[0].data_branch){\n var btn_edit = ''\n let isStatus_b_status = ''\n let isStatus_pr_branch_eatin = ''\n let isStatus_pr_branch_takehome = ''\n var isStatus_b_preorder_status = ''\n\n var isStatus_pr_branch_status = ''\n var isStatus_is_soldout = ''\n // let isStatus_pr_branch_status = ''\n\n //สถานะสาขา\n if(e.data[0].data_branch[i].b_status==1){\n isStatus_b_status = สาขาเปิดปกติ\n if(e.data[0].data_branch[i].b_preorder_status==1){\n btn_edit = \n }else{\n btn_edit = \n }\n }else{\n isStatus_b_status = สาขาปิด\n btn_edit = \n }\n \n if(e.data[0].data_branch[i].pr_branch_eatin==1){\n isStatus_pr_branch_eatin = เปิดใช้งาน\n }else{\n isStatus_pr_branch_eatin = ปิดใช้งาน\n }\n\n // if(e.data[0].data_branch[i].pr_branch_takehome==1){\n // isStatus_pr_branch_takehome = เปิดใช้งาน\n // }else{\n // isStatus_pr_branch_takehome = ปิดใช้งาน\n // }\n\n // if(e.data[0].data_branch[i].b_preorder_status==1){\n // isStatus_b_preorder_status = เปิดใช้งาน\n // }else{\n // isStatus_b_preorder_status = ปิดใช้งาน\n // }\n\n if(e.data[0].data_branch[i].is_soldout==0){\n isStatus_is_soldout = มีสินค้า\n }else{\n isStatus_is_soldout = สินค้าหมด\n }\n\n \n if(e.data[0].data_branch[i].pr_branch_status==1){\n isStatus_pr_branch_status = ใช้งาน\n }else{\n isStatus_pr_branch_status = ไม่ใช้งาน\n }\n data_table.push(\n \n \n \n \n \n \n \n \n \n \n )\n \n }\n\n this.setState({\n data_product : e.data[0],\n data_table_branch: data_table,\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/preorder/product/branch/edit/${this.state.pr_id}`;\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"pr_branch_price\"]) {\n formIsValid = false;\n errors[\"pr_branch_price\"] = \"*กรุณากรอกราคาสินค้า\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n const inputBody = {\n pr_branch_price: this.state.fields[\"pr_branch_price\"],\n // pr_branch_eatin: this.state[\"status_eatin\"],\n // pr_branch_takehome: this.state[\"status_takehome\"],\n is_soldout: this.state[\"is_soldout\"],\n pr_branch_status: this.state[\"pr_branch_status\"],\n }\n\n productAction.updateEatinBranchByProductID(inputBody, this.state.fields[\"pr_branch_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n // if(name == \"pr_branch_eatin\"){\n // this.setState({ pr_branch_eatin: !this.state.pr_branch_eatin })\n\n // if(this.state.pr_branch_eatin == true){\n // this.setState({ status_eatin: '0' })\n // }else{\n // this.setState({ status_eatin: '1' })\n // }\n // }else if(name == \"pr_branch_takehome\"){\n // this.setState({ pr_branch_takehome: !this.state.pr_branch_takehome })\n\n // if(this.state.pr_branch_takehome == true){\n // this.setState({ status_takehome: '0' })\n // }else{\n // this.setState({ status_takehome: '1' })\n // }\n // }\n if(name == \"is_soldout\"){\n this.setState({ is_soldout: !this.state.is_soldout })\n\n if(this.state.is_soldout == true){\n this.setState({ status: '0' })\n }else{\n this.setState({ status: '1' })\n }\n }\n\n if(name == \"pr_branch_status\"){\n this.setState({ pr_branch_status: !this.state.pr_branch_status })\n\n if(this.state.pr_branch_status == true){\n this.setState({ status: '0' })\n }else{\n this.setState({ status: '1' })\n }\n }\n\n }\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleOpenModal (e) {\n this.getBranchByProductID(e.target.value)\n this.setState({ showModal: true, });\n }\n \n handleCloseModal () {\n this.setState({ showModal: false });\n }\n\n getBranchByProductID(pr_branch_id) {\n productAction.getEatinBranchByProductID(pr_branch_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n pr_branch_id : e.data.pr_branch_id,\n pr_branch_price: e.data.pr_branch_price,\n // pr_branch_eatin: e.data.pr_branch_eatin,\n // pr_branch_takehome: e.data.pr_branch_takehome,\n // b_preorder_status: e.data.b_preorder_status,\n is_soldout: e.data.is_soldout,\n pr_branch_status: e.data.pr_branch_status,\n b_name: e.data.b_name,\n b_code: e.data.b_code,\n pr_name: e.data.pr_name,\n pr_code: e.data.pr_code\n }\n\n });\n\n this.setState({\n // pr_branch_eatin: String(this.state.fields.pr_branch_eatin) == \"1\",\n // pr_branch_takehome: String(this.state.fields.pr_branch_takehome) == \"1\",\n pr_branch_status: String(this.state.fields.pr_branch_status) == \"1\",\n is_soldout: String(this.state.fields.is_soldout) == \"1\",\n\n // status_eatin: this.state.fields.pr_branch_eatin,\n // status_takehome: this.state.fields.pr_branch_takehome,\n pr_branch_status: this.state.fields.pr_branch_status,\n is_soldout: this.state.fields.is_soldout\n });\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n render() {\n var label_b_preorder_status\n if(this.state.fields.b_preorder_status == 1){\n label_b_preorder_status = ใช้งาน \n }else{\n label_b_preorder_status = ไม่ใช้งาน\n }\n return (\n
\n
\n
\n

แก้ไขสินค้าพรีออเดอร์แต่ละสาขา

\n
\n
\n
\n
\n รหัสสินค้า:\n
\n
\n {this.state.data_product.pr_code}\n
\n
\n
\n
\n ชื่อสินค้า:\n
\n
\n {this.state.data_product.pr_name}\n
\n
\n
\n
\n สถานะสินค้า\n
\n
\n {(this.state.data_product.pr_status == 1 ?
ใช้งาน
:
ไม่ใช้งาน
)}\n
\n
\n\n
\n {/* \n #\n ชื่อสาขา\n ราคา\n สถานะ Eatin\n สถานะ Takehome\n สถานะสินค้า\n */}\n\n
{parseInt(i)+1}{e.data[0].data_branch[i].b_name}{e.data[0].data_branch[i].pr_branch_price}{isStatus_b_status}\n {isStatus_is_soldout}\n \n {isStatus_pr_branch_status}\n \n {btn_edit}
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data_table_branch}\n \n
#ชื่อสาขาราคาสถานะสาขาสถานะ soldoutสถานะแสดงสินค้า
\n\n \n
\n
\n\n \n \n this.handleSubmit(e)}\n >\n
\n \n

แก้ไขข้อมูลสินค้าแต่ละสาขา

\n
\n
\n
\n \n
\n

({this.state.fields.pr_code}) {this.state.fields.pr_name}

\n
\n
\n
\n \n
\n

({this.state.fields.b_code}) {this.state.fields.b_name}

\n
\n
\n
\n \n
\n \n
{this.state.errors.pr_branch_price}
\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n {/*
\n \n
\n \n
\n
*/}\n
\n
\n \n \n
\n \n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { queueAction,branchAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../queue.css\";\nimport Select from \"react-select\";\n\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nlet dataSearch = {\n s_Branch: ''\n}\n\nexport class Queue_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n branchList: [],\n searchBranch: 'all',\n fields: {},\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n\n componentDidMount() {\n branchAction.listBranchAll()\n .then(res => {\n this.setState({\n branchList: res.data\n })\n })\n\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){ \n const columns = [\n // {\n // title: \"ลำดับ\",\n // class: \"text-center\",\n // data: \"b_code\",\n // },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"b_name\",\n },\n {\n title: \"คิวปัจจุบัน\",\n class: \"text-center\",\n data: \"queue\",\n },\n {\n title: \"จำนวนคิว\",\n class: \"text-center\",\n data: \"queue\",\n\n },\n {\n title: \"วันที่จองคิว\",\n class: \"text-center\",\n data: \"queue\",\n },\n\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n // {\n // targets: 0,\n // createdCell: function(td, cellData, rowData, row, col) {\n // let row_id = 0\n // $(td)\n // .html(`
${row+1}
`);\n // }\n // },\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n let q_numA = (cellData[0] != undefined ? cellData[0].q_num : 'ปิดชั่วคราว')\n let q_numB = (cellData[0] != undefined ? cellData[1].q_num : 'ปิดชั่วคราว')\n $(td)\n .html(`\n
${q_numA}
\n
${q_numB}
\n `);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n let countA = (cellData[0] != undefined ? cellData[0].count : '0')\n let countB = (cellData[0] != undefined ? cellData[1].count : '0')\n\n $(td)\n .html(`\n
${countA}
\n
${countB}
\n `);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n let created_atA = (cellData[0] != undefined ? cellData[0].created_at : '')\n let created_atB = (cellData[0] != undefined ? cellData[1].created_at : '')\n\n $(td)\n .html(`\n
${created_atA}
\n
${created_atB}
\n `);\n }\n },\n ],\n ajax: {\n url: `${Base_API.queue}/api/v1/list_queue?b_code=${this.state.searchBranch}&page_no=0`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data; \n }\n },\n // order: [[1, \"ASC\"]],\n columns,\n serverSide: false,\n ordering: true,\n searching: false,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n handleSubmit(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n s_Branch: (this.state[\"searchBranch\"] ? this.state[\"searchBranch\"] : 'all'),\n }\n\n this.showTable(dataSearch);\n }\n\n handleSearchBranch = (selectedOption) => {\n this.state[\"searchBranch\"] = selectedOption.value;\n };\n\n render() {\n\n let optionBranch = this.state.branchList.map(function (branchList) {\n return { value: branchList.b_code, label: branchList.b_code+' - '+branchList.b_name };\n })\n\n return (\n
\n
\n
\n

รายการคิว (Queues)

\n
\n
this.handleSubmit(e)}>\n\n
\n
\n \n
\n\n
\n \n
\n
\n\n\n
\n
\n
\n \n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { branchAction, BackofficeAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../branch.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Branch_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false,\n excelUrl: \"\"\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n\n getExcelBranchList();\n\n // Get Excel Members\n function getExcelBranchList() {\n console.log('test export')\n BackofficeAction.getExcelBranchList()\n .then(res => {\n console.log(res)\n if(res.status === true)\n {\n state.setState({ excelUrl: res.data })\n }\n })\n }\n\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"b_image\"\n },\n {\n title: \"รหัสสาขา\",\n class: \"text-center\",\n data: \"b_code\"\n },\n {\n title: \"ชื่อสาขา (TH)\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"เบอร์โทร\",\n class: \"text-center\",\n data: \"b_telephone\"\n },\n {\n title: \"ละติจูด\",\n class: \"text-center\",\n data: \"b_lat\"\n },\n {\n title: \"ลองติจูด\",\n class: \"text-center\",\n data: \"b_long\"\n },\n {\n title: \"วันที่แก้ไข\",\n data: \"updated_at\"\n },\n {\n title: \"สถานะสาขา\",\n class: \"text-center\",\n data: \"b_status\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"b_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${rowData.b_name}`);\n },\n orderable: false\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets:8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n //
\n //
\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.branch}/branch`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[7, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"b_status\", fval);\n\n branchAction.activateBranchEatin(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n branchAction.deleteBranchEatin(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

ข้อมูลสาขา

\n
\n \n \n เพิ่มสาขา\n \n \n {this.state.excelUrl !== \"\"\n ? \n \n \n Export Excel\n \n \n :\n \n Export Excel\n \n }\n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { branchAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../branch.css\";\n\nlet modalAlert;\n\nexport class Branch_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n isStatus: false,\n isStatus_preorder: false,\n isStatus_orderonline: false,\n\n inputCheck: {\n branch_time_monday_status: 0,\n branch_time_tuesday_status: 0,\n branch_time_wednesday_status: 0,\n branch_time_thursday_status: 0,\n branch_time_friday_status: 0,\n branch_time_saturday_status: 0,\n branch_time_sunday_status: 0\n }\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/preorder/branch/\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"branchCode\"]) {\n formIsValid = false;\n errors[\"branchCode\"] = \"*กรุณากรอกรหัสสาขา\";\n }\n\n if (!fields[\"branchName\"]) {\n formIsValid = false;\n errors[\"branchName\"] = \"*กรุณากรอกชื่อสาขา (TH)\";\n }\n\n if (!fields[\"branchNameEN\"]) {\n formIsValid = false;\n errors[\"branchNameEN\"] = \"*กรุณากรอกชื่อสาขา (EN)\";\n }\n\n if (!fields[\"branchImage\"]) {\n formIsValid = false;\n errors[\"branchImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n\n if (!fields[\"branchImagePin\"]) {\n formIsValid = false;\n errors[\"branchImagePin\"] = \"*กรุณาแนบไฟล์รูปภาพ Pin\";\n }\n\n if (!fields[\"branchAddress\"]) {\n formIsValid = false;\n errors[\"branchAddress\"] = \"*กรุณากรอกที่ตั้งสาขา (TH)\";\n }\n\n if (!fields[\"branchAddressEN\"]) {\n formIsValid = false;\n errors[\"branchAddressEN\"] = \"*กรุณากรอกที่ตั้งสาขา (EN)\";\n }\n\n if (!fields[\"branchTelephone\"]) {\n formIsValid = false;\n errors[\"branchTelephone\"] = \"*กรุณากรอกเบอร์โทรศัพท์\";\n }\n\n if (!fields[\"latName\"]) {\n formIsValid = false;\n errors[\"latName\"] = \"*กรุณากรอกละติจูด\";\n }\n\n if (!fields[\"longName\"]) {\n formIsValid = false;\n errors[\"longName\"] = \"*กรุณากรอกลองติจูด\";\n }\n\n if (!fields[\"time_open\"]) {\n formIsValid = false;\n errors[\"time_open\"] = \"*กรุณากรอกเวลาทำการ (TH)\";\n }\n\n if (!fields[\"time_openEN\"]) {\n formIsValid = false;\n errors[\"time_openEN\"] = \"*กรุณากรอกเวลาทำการ (EN)\";\n }\n\n if (!fields[\"branch_time_monday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_monday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันจันทร์)\";\n }\n\n if (!fields[\"branch_time_monday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_monday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันจันทร์)\";\n }\n\n if (!fields[\"branch_time_tuesday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_tuesday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันอังคาร)\";\n }\n\n if (!fields[\"branch_time_tuesday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_tuesday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันอังคาร)\";\n }\n\n if (!fields[\"branch_time_wednesday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_wednesday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันพุธ)\";\n }\n\n if (!fields[\"branch_time_wednesday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_wednesday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันพุธ)\";\n }\n\n if (!fields[\"branch_time_thursday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_thursday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันพฤหัสบดี)\";\n }\n\n if (!fields[\"branch_time_thursday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_thursday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันพฤหัสบดี)\";\n }\n\n if (!fields[\"branch_time_friday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_friday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันศุกร์)\";\n }\n\n if (!fields[\"branch_time_friday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_friday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันศุกร์)\";\n }\n\n if (!fields[\"branch_time_saturday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_saturday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันเสาร์)\";\n }\n\n if (!fields[\"branch_time_saturday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_saturday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันเสาร์)\";\n }\n\n if (!fields[\"branch_time_sunday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_sunday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันอาทิตย์)\";\n }\n\n if (!fields[\"branch_time_sunday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_sunday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันอาทิตย์)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n if(this.state.fields[\"branchImage\"]) {\n formData.append(\"b_image\", this.state.fields[\"branchImage\"]); }\n\n if(this.state.fields[\"branchImagePin\"]) {\n formData.append(\"b_image_pin\", this.state.fields[\"branchImagePin\"]); }\n \n formData.append(\"b_code\", this.state.fields[\"branchCode\"]);\n formData.append(\"b_name\", this.state.fields[\"branchName\"]);\n formData.append(\"b_name_en\", this.state.fields[\"branchNameEN\"]);\n formData.append(\"b_address\", this.state.fields[\"branchAddress\"]);\n formData.append(\"b_address_en\", this.state.fields[\"branchAddressEN\"]);\n formData.append(\"b_telephone\", this.state.fields[\"branchTelephone\"]);\n formData.append(\"b_lat\", this.state.fields[\"latName\"]);\n formData.append(\"b_long\", this.state.fields[\"longName\"]);\n formData.append(\"time_open\", this.state.fields[\"time_open\"]);\n formData.append(\"time_open_en\", this.state.fields[\"time_openEN\"]);\n\n formData.append(\"branch_time_monday_status\", this.state.inputCheck[\"branch_time_monday_status\"]);\n formData.append(\"branch_time_monday_open\", this.state.fields[\"branch_time_monday_open\"]);\n formData.append(\"branch_time_monday_close\", this.state.fields[\"branch_time_monday_close\"]);\n\n formData.append(\"branch_time_tuesday_status\", this.state.inputCheck[\"branch_time_tuesday_status\"]);\n formData.append(\"branch_time_tuesday_open\", this.state.fields[\"branch_time_tuesday_open\"]);\n formData.append(\"branch_time_tuesday_close\", this.state.fields[\"branch_time_tuesday_close\"]);\n\n formData.append(\"branch_time_wednesday_status\", this.state.inputCheck[\"branch_time_wednesday_status\"]);\n formData.append(\"branch_time_wednesday_open\", this.state.fields[\"branch_time_wednesday_open\"]);\n formData.append(\"branch_time_wednesday_close\", this.state.fields[\"branch_time_wednesday_close\"]);\n\n formData.append(\"branch_time_thursday_status\", this.state.inputCheck[\"branch_time_thursday_status\"]);\n formData.append(\"branch_time_thursday_open\", this.state.fields[\"branch_time_thursday_open\"]);\n formData.append(\"branch_time_thursday_close\", this.state.fields[\"branch_time_thursday_close\"]);\n\n formData.append(\"branch_time_friday_status\", this.state.inputCheck[\"branch_time_friday_status\"]);\n formData.append(\"branch_time_friday_open\", this.state.fields[\"branch_time_friday_open\"]);\n formData.append(\"branch_time_friday_close\", this.state.fields[\"branch_time_friday_close\"]);\n\n formData.append(\"branch_time_saturday_status\", this.state.inputCheck[\"branch_time_saturday_status\"]);\n formData.append(\"branch_time_saturday_open\", this.state.fields[\"branch_time_saturday_open\"]);\n formData.append(\"branch_time_saturday_close\", this.state.fields[\"branch_time_saturday_close\"]);\n\n formData.append(\"branch_time_sunday_status\", this.state.inputCheck[\"branch_time_sunday_status\"]);\n formData.append(\"branch_time_sunday_open\", this.state.fields[\"branch_time_sunday_open\"]);\n formData.append(\"branch_time_sunday_close\", this.state.fields[\"branch_time_sunday_close\"]);\n\n formData.append(\"b_status\", (this.state[\"isStatus\"] == true ? 1 : 0));\n formData.append(\"b_preorder_status\", (this.state[\"isStatus_preorder\"] == true ? 1 : 0));\n formData.append(\"b_orderonline_status\", (this.state[\"isStatus_orderonline\"] == true ? 1 : 0));\n branchAction.createBranchEatin(formData).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n let { inputCheck } = this.state;\n const target = e.target;\n const name = target.name;\n\n if (name === \"isStatus\") {\n this.setState({ isStatus: !this.state.isStatus });\n }else if(name === \"isStatus_preorder\"){\n this.setState({ isStatus_preorder: !this.state.isStatus_preorder });\n }else if(name === \"isStatus_orderonline\"){\n this.setState({ isStatus_orderonline: !this.state.isStatus_orderonline });\n }else if(\n name === \"branch_time_monday_status\" || \n name === \"branch_time_tuesday_status\" ||\n name === \"branch_time_wednesday_status\" ||\n name === \"branch_time_thursday_status\" ||\n name === \"branch_time_friday_status\" ||\n name === \"branch_time_saturday_status\" ||\n name === \"branch_time_sunday_status\"\n ){\n inputCheck[name] = e.target.checked === true ? 1 : 0;\n this.setState({ inputCheck });\n }\n\n };\n\n render() {\n console.log(this.state.inputCheck);\n return (\n
\n
\n
\n

เพิ่มสาขา

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors.branchImage}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.branchImagePin}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.branchCode}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors.branchName}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.branchNameEN}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.branchAddress}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.branchAddressEN}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors.branchTelephone}\n
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.latName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.longName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.time_open}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.time_openEN}
\n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { branchAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../branch.css\";\n\nlet modalAlert;\n\nexport class Branch_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n isStatus: '',\n isStatus_preorder: '',\n isStatus_orderonline: '',\n inputCheck: {\n branch_time_monday_status: 0,\n branch_time_tuesday_status: 0,\n branch_time_wednesday_status: 0,\n branch_time_thursday_status: 0,\n branch_time_friday_status: 0,\n branch_time_saturday_status: 0,\n branch_time_sunday_status: 0\n }\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getBranchDataByID(params.branchid);\n }\n\n getBranchDataByID(b_id) {\n\n branchAction.getBranchEatinId(b_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n branchCode: e.data.b_code,\n branchName: e.data.b_name,\n branchNameEN: e.data.b_name_en,\n branchAddress: e.data.b_address,\n branchAddressEN: e.data.b_address_en,\n branchTelephone: e.data.b_telephone,\n latName: e.data.b_lat,\n longName: e.data.b_long,\n branchImage: e.data.b_image,\n branchImagePin: e.data.b_image_pin,\n time_open: e.data.time_open,\n time_openEN: e.data.time_open_en,\n isStatus: e.data.b_status,\n isStatus_preorder: e.data.b_preorder_status,\n isStatus_orderonline: e.data.b_orderonline_status,\n \n branch_time_monday_open: e.data.branch_time_monday_open,\n branch_time_monday_close: e.data.branch_time_monday_close,\n branch_time_tuesday_open: e.data.branch_time_tuesday_open,\n branch_time_tuesday_close: e.data.branch_time_tuesday_close,\n branch_time_wednesday_open: e.data.branch_time_wednesday_open,\n branch_time_wednesday_close: e.data.branch_time_wednesday_close,\n branch_time_thursday_open: e.data.branch_time_thursday_open,\n branch_time_thursday_close: e.data.branch_time_thursday_close,\n branch_time_friday_open: e.data.branch_time_friday_open,\n branch_time_friday_close: e.data.branch_time_friday_close,\n branch_time_saturday_open: e.data.branch_time_saturday_open,\n branch_time_saturday_close: e.data.branch_time_saturday_close,\n branch_time_sunday_open: e.data.branch_time_sunday_open,\n branch_time_sunday_close: e.data.branch_time_sunday_close,\n\n b_id: b_id\n },\n inputCheck: {\n ...this.state.inputCheck,\n branch_time_monday_status: e.data.branch_time_monday_status,\n branch_time_tuesday_status: e.data.branch_time_tuesday_status,\n branch_time_wednesday_status: e.data.branch_time_wednesday_status,\n branch_time_thursday_status: e.data.branch_time_thursday_status,\n branch_time_friday_status: e.data.branch_time_friday_status,\n branch_time_saturday_status: e.data.branch_time_saturday_status,\n branch_time_sunday_status: e.data.branch_time_sunday_status,\n }\n });\n\n this.setState({\n isStatus: this.state.fields[\"isStatus\"],\n // status: this.state.fields[\"isStatus\"],\n isStatus_preorder: this.state.fields[\"isStatus_preorder\"],\n // status_preorder: this.state.fields[\"isStatus_preorder\"],\n isStatus_orderonline: this.state.fields[\"isStatus_orderonline\"],\n // status_orderonline: this.state.fields[\"isStatus_orderonline\"]\n });\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/preorder/branch\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"branchCode\"]) {\n formIsValid = false;\n errors[\"branchCode\"] = \"*กรุณากรอกรหัสสาขา\";\n }\n\n if (!fields[\"branchName\"]) {\n formIsValid = false;\n errors[\"branchName\"] = \"*กรุณาชื่อสาขา (TH)\";\n }\n\n if (!fields[\"branchNameEN\"]) {\n formIsValid = false;\n errors[\"branchNameEN\"] = \"*กรุณากรอกชื่อสาขา (EN)\";\n }\n\n if (!fields[\"branchImage\"]) {\n formIsValid = false;\n errors[\"branchImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n\n if (!fields[\"branchImagePin\"]) {\n formIsValid = false;\n errors[\"branchImagePin\"] = \"*กรุณาแนบไฟล์รูปภาพ Pin\";\n }\n\n if (!fields[\"branchAddress\"]) {\n formIsValid = false;\n errors[\"branchAddress\"] = \"*กรุณากรอกที่ตั้งสาขา (TH)\";\n }\n\n if (!fields[\"branchAddressEN\"]) {\n formIsValid = false;\n errors[\"branchAddressEN\"] = \"*กรุณากรอกที่ตั้งสาขา (EN)\";\n }\n\n if (!fields[\"branchTelephone\"]) {\n formIsValid = false;\n errors[\"branchTelephone\"] = \"*กรุณากรอกเบอร์โทรศัพท์\";\n }\n\n if (!fields[\"latName\"]) {\n formIsValid = false;\n errors[\"latName\"] = \"*กรุณากรอกละติจูด\";\n }\n\n if (!fields[\"longName\"]) {\n formIsValid = false;\n errors[\"longName\"] = \"*กรุณากรอกลองติจูด\";\n }\n\n if (!fields[\"time_open\"]) {\n formIsValid = false;\n errors[\"time_open\"] = \"*กรุณากรอกเวลาทำการ (TH)\";\n }\n\n if (!fields[\"time_openEN\"]) {\n formIsValid = false;\n errors[\"time_openEN\"] = \"*กรุณากรอกเวลาทำการ (EN)\";\n }\n\n if (!fields[\"branch_time_monday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_monday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันจันทร์)\";\n }\n\n if (!fields[\"branch_time_monday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_monday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันจันทร์)\";\n }\n\n if (!fields[\"branch_time_tuesday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_tuesday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันอังคาร)\";\n }\n\n if (!fields[\"branch_time_tuesday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_tuesday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันอังคาร)\";\n }\n\n if (!fields[\"branch_time_wednesday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_wednesday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันพุธ)\";\n }\n\n if (!fields[\"branch_time_wednesday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_wednesday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันพุธ)\";\n }\n\n if (!fields[\"branch_time_thursday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_thursday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันพฤหัสบดี)\";\n }\n\n if (!fields[\"branch_time_thursday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_thursday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันพฤหัสบดี)\";\n }\n\n if (!fields[\"branch_time_friday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_friday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันศุกร์)\";\n }\n\n if (!fields[\"branch_time_friday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_friday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันศุกร์)\";\n }\n\n if (!fields[\"branch_time_saturday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_saturday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันเสาร์)\";\n }\n\n if (!fields[\"branch_time_saturday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_saturday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันเสาร์)\";\n }\n\n if (!fields[\"branch_time_sunday_open\"]) {\n formIsValid = false;\n errors[\"branch_time_sunday_open\"] = \"*กรุณากรอกเวลาเปิดทำการ (วันอาทิตย์)\";\n }\n\n if (!fields[\"branch_time_sunday_close\"]) {\n formIsValid = false;\n errors[\"branch_time_sunday_close\"] = \"*กรุณากรอกเวลาปิดทำการ (วันอาทิตย์)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"b_image\", this.state.fields[\"branchImage\"]);\n formData.append(\"b_image_pin\", this.state.fields[\"branchImagePin\"]);\n formData.append(\"b_code\", this.state.fields[\"branchCode\"]);\n formData.append(\"b_name\", this.state.fields[\"branchName\"]);\n formData.append(\"b_name_en\", this.state.fields[\"branchNameEN\"]);\n formData.append(\"b_address\", this.state.fields[\"branchAddress\"]);\n formData.append(\"b_address_en\", this.state.fields[\"branchAddressEN\"]);\n formData.append(\"b_telephone\", this.state.fields[\"branchTelephone\"]);\n formData.append(\"b_lat\", this.state.fields[\"latName\"]);\n formData.append(\"b_long\", this.state.fields[\"longName\"]);\n formData.append(\"time_open\", this.state.fields[\"time_open\"]);\n formData.append(\"time_open_en\", this.state.fields[\"time_openEN\"]);\n formData.append(\"b_status\", (this.state.isStatus == true ? 1 : 0));\n formData.append(\"b_preorder_status\", (this.state.isStatus_preorder == true ? 1 : 0));\n formData.append(\"b_orderonline_status\", (this.state.isStatus_orderonline== true ? 1 : 0));\n\n formData.append(\"branch_time_monday_status\", this.state.inputCheck[\"branch_time_monday_status\"]);\n formData.append(\"branch_time_monday_open\", this.state.fields[\"branch_time_monday_open\"]);\n formData.append(\"branch_time_monday_close\", this.state.fields[\"branch_time_monday_close\"]);\n\n formData.append(\"branch_time_tuesday_status\", this.state.inputCheck[\"branch_time_tuesday_status\"]);\n formData.append(\"branch_time_tuesday_open\", this.state.fields[\"branch_time_tuesday_open\"]);\n formData.append(\"branch_time_tuesday_close\", this.state.fields[\"branch_time_tuesday_close\"]);\n\n formData.append(\"branch_time_wednesday_status\", this.state.inputCheck[\"branch_time_wednesday_status\"]);\n formData.append(\"branch_time_wednesday_open\", this.state.fields[\"branch_time_wednesday_open\"]);\n formData.append(\"branch_time_wednesday_close\", this.state.fields[\"branch_time_wednesday_close\"]);\n\n formData.append(\"branch_time_thursday_status\", this.state.inputCheck[\"branch_time_thursday_status\"]);\n formData.append(\"branch_time_thursday_open\", this.state.fields[\"branch_time_thursday_open\"]);\n formData.append(\"branch_time_thursday_close\", this.state.fields[\"branch_time_thursday_close\"]);\n\n formData.append(\"branch_time_friday_status\", this.state.inputCheck[\"branch_time_friday_status\"]);\n formData.append(\"branch_time_friday_open\", this.state.fields[\"branch_time_friday_open\"]);\n formData.append(\"branch_time_friday_close\", this.state.fields[\"branch_time_friday_close\"]);\n\n formData.append(\"branch_time_saturday_status\", this.state.inputCheck[\"branch_time_saturday_status\"]);\n formData.append(\"branch_time_saturday_open\", this.state.fields[\"branch_time_saturday_open\"]);\n formData.append(\"branch_time_saturday_close\", this.state.fields[\"branch_time_saturday_close\"]);\n\n formData.append(\"branch_time_sunday_status\", this.state.inputCheck[\"branch_time_sunday_status\"]);\n formData.append(\"branch_time_sunday_open\", this.state.fields[\"branch_time_sunday_open\"]);\n formData.append(\"branch_time_sunday_close\", this.state.fields[\"branch_time_sunday_close\"]);\n\n\n branchAction.updateBranchEatin(formData, this.state.fields[\"b_id\"]).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (selectedOption) => {\n let { fields, errors } = this.state;\n\n if(typeof selectedOption.value != 'undefined'){\n fields[\"cate_id\"] = selectedOption.value;\n this.state.errors[\"cate_id\"] = null;\n\n this.setState({\n defaultValue:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n }else {\n fields[selectedOption.target.name] = selectedOption.target.value;\n this.state.errors[selectedOption.target.name] = null;\n }\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let { inputCheck } = this.state;\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n }else if(name == \"isStatus_preorder\"){\n this.setState({ isStatus_preorder: !this.state.isStatus_preorder })\n }else if(name == \"isStatus_orderonline\"){\n this.setState({ isStatus_orderonline: !this.state.isStatus_orderonline })\n }else if(\n name === \"branch_time_monday_status\" || \n name === \"branch_time_tuesday_status\" ||\n name === \"branch_time_wednesday_status\" ||\n name === \"branch_time_thursday_status\" ||\n name === \"branch_time_friday_status\" ||\n name === \"branch_time_saturday_status\" ||\n name === \"branch_time_sunday_status\"\n ){\n inputCheck[name] = e.target.checked === true ? 1 : 0;\n this.setState({ inputCheck });\n }\n }\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

แก้ไขสาขา หมวด EAT IN

\n
\n
\n
\n
\n \n
\n\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.branchImage}
\n
\n
\n\n
\n \n
\n\n
\n \n
\n \n
{this.state.errors.branchImagePin}
\n
\n
\n \n
\n \n
\n \n
{this.state.errors.branchCode}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.branchName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.branchNameEN}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.branchAddress}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.branchAddressEN}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.branchTelephone}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.latName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.longName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.time_open}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.time_openEN}
\n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { branchAction,orderAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) { dd='0'+dd; } \nif(mm<10) { mm='0'+mm; }\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-order-online'\n\nvar optionStatus = [\n { value: '1', label: 'รอชำระเงิน' },\n { value: '2', label: 'ชำระเงินสำเร็จ' },\n { value: '3', label: 'ยกเลิกการชำระเงิน' },\n { value: '9', label: 'รอตรวจสอบการชำระเงิน' },\n { value: '10', label: 'ชำระเงินไม่สำเร็จ' },\n];\nvar optionType = [\n { value: 'ems', label: 'EMS' },\n { value: 'delivery', label: 'Delivery' },\n { value: 'pickup', label: 'Order & Pickup' },\n { value: 'snackbox', label: 'Snackbox' },\n];\n\nlet dataSearch = {\n s_Order: '',\n s_Branch: '',\n s_Date: '',\n s_DateTo: '',\n s_Status: '',\n s_ReceiveChannel: '',\n}\n\nexport class Order_Online_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n fields: {},\n errors: {},\n branchList: [],\n searchStatus:'',\n searchBranch:'',\n \n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n branchAction.listBranchAll()\n .then(res => {\n this.setState({\n branchList: res.data\n })\n })\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch);\n }\n\n showTable(dataSearch){\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"วันที่สั่งออเดอร์\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"เลขที่ออเดอร์\",\n class: \"text-center\",\n data: \"od_online_number\"\n },\n {\n title: \"ประเภทการรับสินค้า\",\n class: \"text-center\",\n data: \"receive_channel\"\n },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"ชื่อลูกค้า\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"เบอร์โทรศัพท์\",\n class: \"text-center\",\n data: \"mem_phone\",\n },\n {\n title: \"เลขบัตรประชาชน\",\n class: \"text-center\",\n data: \"mem_idcard\",\n },\n {\n title: \"ราคารวม\",\n class: \"text-center\",\n data: \"sum_price\"\n },\n {\n title: \"สถานะการชำระเงิน\",\n class: \"text-center\",\n data: \"payment_name\"\n },\n {\n title: \"หมายเหตุ\",\n class: \"text-center\",\n data: \"od_online_comment\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"od_online_number\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${row+1}`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(``);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if((rowData.status_payment == '1') && (rowData.status_receive == '8'|| rowData.status_receive == '10'|| rowData.status_receive == '11')) status = `${rowData.status_receive_name}`\n else if(rowData.status_payment == '1') status = `${cellData}`\n else if(rowData.status_payment == '2' && (rowData.status_receive == '8' || rowData.status_receive == '10'|| rowData.status_receive == '11')) status = `${rowData.status_receive_name}`\n else if(rowData.status_payment == '2') status = `${cellData}`\n else if(rowData.status_payment == '3') status = `${cellData}`\n else if(rowData.status_payment == '9') status = `${cellData}`\n else status = `${cellData}`\n $(td).html(status);\n },\n orderable: false\n },\n {\n targets: 11,\n createdCell: function(td, cellData, rowData, row, col) {\n var bt_manage = '';\n if(rowData.status_payment != '1' && rowData.status_payment != '9'){\n bt_manage =\n ` \n `\n }else{\n bt_manage =\n `\n \n \n `\n }\n\n $(td).html(bt_manage);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.order_online}/order-online?searchOrder=${dataSearch.s_Order}&searchBranch=${dataSearch.s_Branch}&searchDate=${dataSearch.s_Date}&searchDateTo=${dataSearch.s_DateTo}&searchStatus=${dataSearch.s_Status}&searchReceiveChannel=${dataSearch.s_ReceiveChannel}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[1, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n handleSubmit(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n\n if (this.validateForm()) {\n var dataSearch = {\n s_Status: (this.state.fields[\"searchStatus\"] ? this.state.fields[\"searchStatus\"] : ''),\n s_Branch: (this.state.fields[\"searchBranch\"] ? this.state.fields[\"searchBranch\"] : ''),\n s_Order: (this.state.fields[\"searchOrder\"] ? this.state.fields[\"searchOrder\"] : ''),\n s_Date: (this.state.fields[\"searchDate\"] ? this.state.fields[\"searchDate\"] : ''),\n s_DateTo: (this.state.fields[\"searchDateTo\"] ? this.state.fields[\"searchDateTo\"] : ''),\n s_ReceiveChannel: (this.state.fields[\"searchReceiveChannel\"] ? this.state.fields[\"searchReceiveChannel\"] : '')\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n }\n\n\n\n }\n\n clearSearch = (e) => {\n let { fields } = this.state;\n fields['searchStatus']='';\n fields['searchBranch']='';\n fields['searchOrder']='';\n fields['searchDate']='';\n fields['searchDateTo']='';\n fields['searchReceiveChannel']='';\n \n this.selectRefBranch.select.clearValue();\n this.selectRefStatus.select.clearValue();\n this.selectRefReceiveChannel.select.clearValue();\n\n this.setState({ fields });\n };\n\n handleSearchStatus = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchStatus\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n\n handleSearchBranch = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchBranch\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n handlesearchReceiveChannel = (selectedOption) => {\n if(selectedOption != null){\n let { fields } = this.state;\n fields[\"searchReceiveChannel\"] = selectedOption.value;\n this.setState({ fields });\n }\n };\n\n handleChangeSearch = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n \n exportExcel = (dataSearch) => {\n orderAction.getOrderOnlineListExcel(dataSearch).then(res => {\n this.setState({\n dataOrder: res.data\n })\n })\n };\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (fields[\"searchDate\"] && !fields[\"searchDateTo\"]) {\n formIsValid = false;\n errors[\"searchDateTo\"] = \"*กรุณากรอกวันที่สร้างออเดอร์\";\n }\n\n if (!fields[\"searchDate\"] && fields[\"searchDateTo\"]) {\n formIsValid = false;\n errors[\"searchDate\"] = \"*กรุณากรอกวันที่สร้างออเดอร์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n render() {\n let optionBranch = this.state.branchList.map(function (branchList) {\n return { value: branchList.b_id, label: branchList.b_name };\n })\n var dataOrder = []\n let data = this.state.dataOrder \n var status = \"\"\n for(var i in data){\n if((data[i].status_payment == '1') && (data[i].status_receive == '8'|| data[i].status_receive == '10'|| data[i].status_receive == '11')) status = `${data[i].status_receive_name}`\n else if(data[i].status_payment == '1') status = `${data[i].payment_name}`\n else if(data[i].status_payment == '2' && (data[i].status_receive == '8' || data[i].status_receive == '10'|| data[i].status_receive == '11')) status = `${data[i].status_receive_name}`\n else if(data[i].status_payment == '2') status = `${data[i].payment_name}`\n else if(data[i].status_payment == '3') status = `${data[i].payment_name}`\n else if(data[i].status_payment == '9') status = `${data[i].payment_name}`\n else status = `${data[i].payment_name}`\n dataOrder.push(\n [\n {value: parseInt(i)+1},\n {value: data[i].created_at},\n {value: data[i].od_online_number},\n {value: data[i].receive_channel},\n {value: (data[i].b_name != \"\" && data[i].b_name != null && data[i].b_name != undefined ? data[i].b_name : '')},\n {value: data[i].mem_firstname + ' ' + data[i].mem_lastname},\n {value: data[i].mem_phone},\n {value: (data[i].mem_idcard != \"\" && data[i].mem_idcard != null && data[i].mem_idcard != undefined ? data[i].mem_idcard : '')},\n {value: data[i].sum_price},\n {value: status},\n {value: data[i].od_online_comment}\n ],\n \n )\n } \n\n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"วันที่สั่งออเดอร์\", width: {wch: 30}},//char width \n {title: \"เลขที่ออเดอร์\", width: {wch: 30}},//char width \n {title: \"ประเภทการรับสินค้า\", width: {wch: 30}},//char width \n {title: \"สาขา\", width: {wch: 40}},\n {title: \"ชื่อลูกค้า\", width: {wch: 40}},\n {title: \"เบอร์โทรศัพท์\", width: {wch: 40}},\n {title: \"เลขที่บัตรประชาชน\", width: {wch: 40}},\n {title: \"ราคารวม\", width: {wch: 20}},\n {title: \"สถานะการชำระเงิน\"},\n {title: \"หมายเหตุ\"},\n ],\n data: dataOrder\n \n }\n ];\n\n return (\n
\n
\n
\n

รายการออเดอร์ (Order Online)

\n\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
เลขที่ออเดอร์
\n
\n \n
\n
ประเภทการรับสินค้า
\n
\n {\n this.selectRefReceiveChannel = ref;\n }}\n />\n
\n
\n
\n
สาขา
\n
\n {\n this.selectRefBranch = ref;\n }}\n />\n
\n
สถานะออเดอร์
\n
\n {\n this.selectRefStatus = ref;\n }}\n />\n
\n
\n
\n
วันที่สร้างออเดอร์
\n
\n \n
{this.state.errors.searchDate}
\n
\n\n
ถึง วันที่สร้างออเดอร์
\n
\n \n
{this.state.errors.searchDateTo}
\n
\n
\n\n
\n \n \n
\n
\n
\n \n
\n
\n
\n
\n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from 'react-select';\nimport ModalImage from \"react-modal-image\";\n\n\n\nlet modalAlert;\n\nconst options = [\n { value: '1', label: 'รอชำระเงิน' },\n { value: '2', label: 'ชำระเงินสำเร็จ' },\n { value: '3', label: 'ยกเลิกการชำระเงิน' },\n { value: '9', label: 'รอการตรวจสอบการชำระเงิน' },\n];\n\nexport class Order_Online_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n s_name:[],\n selectedOption: null,\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n this.pageInit();\n }\n\n async pageInit() {\n var params = this.props.match.params;\n await this.getOrderDataByID(params.od_online_number);\n this.getOrderDetail(params.od_online_number);\n }\n\n numberWithCommas(x) {\n return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n\n getOrderDataByID(id) {\n return new Promise(async resolve => {\n orderAction.getOrderOnlineById(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n \n let sum_price = newObject['sum_price']; //ราคารวมสินค้า\n let delivery_cost = newObject['delivery_cost']; //ค่าส่ง\n let discount_delievry_cost = newObject['discount_delievry_cost']; //ส่วนลดค่าส่ง\n let discount_order_cost = newObject['discount_order_cost']; //ส่วนลดคูปอง\n let totalPrice = newObject['total_price']; //ส่วนลดคูปอง\n \n let net_shipping_price = (delivery_cost - discount_delievry_cost) > 0 ? (delivery_cost - discount_delievry_cost) : 0\n let net_price = sum_price + net_shipping_price + discount_order_cost\n \n this.setState({ \n sum_price: sum_price.toFixed(2),\n delivery_cost: delivery_cost.toFixed(2),\n discount_delievry_cost: discount_delievry_cost.toFixed(2),\n net_shipping_price: net_shipping_price.toFixed(2),\n discount_order_cost: discount_order_cost.toFixed(2),\n net_price: this.numberWithCommas(net_price.toFixed(2)),\n total_price: Number(totalPrice).toLocaleString('th', {minimumFractionDigits: 2}),\n inputBody: newObject \n });\n \n this.setState({\n fields: {\n ...this.state.fields,\n od_online_comment: this.state.inputBody['od_online_comment'],\n selectValue: this.state.inputBody['status_payment'],\n selectLabel: this.state.inputBody['status_payment_name'],\n }\n });\n \n this.setState({defaultValue:\n {\n value: this.state.fields[\"selectValue\"],\n label: this.state.fields[\"selectLabel\"]\n }\n });\n resolve();\n } else {\n alert(\"ไม่พบข้อมูล\");\n resolve();\n }\n });\n })\n }\n\n getOrderDetail(id) {\n orderAction.getOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n // cal product price\n let newNetPrice = parseFloat(String(this.state.net_price).replace(/,/g, ''));\n let negPrice = 0;\n if(!!e.data && e.data.length > 0){\n for(var i in e.data){\n let data = e.data[i];\n let index = Number(i);\n let price = parseFloat(data.total_product_price);\n if(price < 0){\n negPrice += Math.abs(price);\n }\n if(index === e.data.length-1){\n newNetPrice = parseFloat(newNetPrice - negPrice).toLocaleString('th', {minimumFractionDigits:2});\n }\n } \n }\n // put data\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject, net_price: newNetPrice });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n handleDelete(event) {\n var detail_id = event.target.value;\n modalAlert = () => (\n this.onConfirmDelete(detail_id)}\n onCancel={() => this.onCancel()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirmDelete(detail_id) {\n orderAction.deleteDetail(detail_id).then(e => {\n if (e.isSuccess === false) {\n this.onModalError(\"Error\", e.message);\n } else {\n this.onModalSuccess(\"Success\", e.message);\n // table.ajax.reload();\n }\n });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirm(ev) {\n this.setState({ modal: null });\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/order-online/order/info/${this.state.inputBody['od_online_number']}`;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n let inputBody = {\n \"status_payment\": this.state.defaultValue.value,\n \"status_payment_name\": this.state.defaultValue.label,\n \"od_online_comment\": this.state.fields.od_online_comment\n }\n orderAction.updateOrderOnline(inputBody, this.state.inputBody['od_online_number'])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n handleChange = (selectedOption) => {\n let { fields, errors } = this.state;\n if(typeof selectedOption.value != 'undefined'){\n this.setState({\n defaultValue:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n }else {\n fields[selectedOption.target.name] = selectedOption.target.value;\n }\n this.setState({ fields, errors });\n };\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n \n \n );\n })\n\n const { selectedOption } = this.state;\n return (\n
\n
\n
\n
\n

รายการออเดอร์ (Order Online)

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_online_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
ประเภทการรับสินค้า
\n
\n
\n
ชื่อประเภทการรับสินค้า :
\n
{this.state.inputBody['receive_channel']}
\n
\n {this.state.inputBody['receive_channel'] === 'gift'\n && \n
\n
ผู้รับ :
\n
{this.state.inputBody['od_online_gift_phone']}
\n
\n }\n {this.state.inputBody['receive_channel'] === 'gift'\n &&\n
\n
ข้อความถึงผู้รับ :
\n
{this.state.inputBody['od_online_gift_message']}
\n
\n }\n
\n
เวลาที่ต้องการรับสินค้า :
\n
{(this.state.inputBody['receive_channel'] === \"pickup\" ? this.state.inputBody['time_receive'] : \"\")}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
ข้อมูลการชำระเงิน
\n
\n
\n
วัน-เวลา ที่ชำระเงิน :
\n
{(this.state.inputBody['slip_date'] != undefined && this.state.inputBody['slip_date'] != \"Invalid date\" ? this.state.inputBody['slip_date'] + ' ' + this.state.inputBody['slip_time'] : this.state.inputBody['payment_date'])}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
ที่อยู่ (สำหรับจัดส่งสินค้า)
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['mem_address']}
\n
\n
\n
แขวง/ตำบล :
\n
{this.state.inputBody['name_districts']}
\n
\n
\n
เขต/อำเภอ :
\n
{this.state.inputBody['name_amphoe']}
\n
\n
\n
จังหวัด :
\n
{this.state.inputBody['name_province']}
\n
\n
\n
รหัสไปรษณีย์ :
\n
{this.state.inputBody['mem_zipcode']}
\n
\n
\n
\n
\n
\n
\n

อัพเดตสถานะการชำระเงิน

\n
\n
\n
\n
สถานะการชำระเงิน
\n
\n \n
\n
\n
\n
หมายเหตุ
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n
{item.pr_online_code}{item.pr_online_name}{item.is_free_product === 1 ?

{item.note}

: ''}
{item.price} ฿{item.od_online_product_count}{item.is_free_product === 1 ? '0.00' : item.total_product_price} ฿
\n \n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n
รหัสสินค้าชื่อสินค้าราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวมจัดการ
{(this.state.inputBody['rw_transection_id'])}{(this.state.inputBody['rewards_code'] + \" - \" + this.state.inputBody['rewards_name_th'])} {(this.state.inputBody['discount_order_cost'])} ฿{(this.state.inputBody['rw_count'])}{(this.state.inputBody['rw_count'] * this.state.inputBody['discount_order_cost']).toFixed(2)} ฿
ค่าจัดส่ง{this.state.delivery_cost} ฿
ส่วนลดค่าจัดส่ง{this.state.discount_delievry_cost} ฿
ค่าจัดส่งหลังหักค่าส่วนลด{this.state.net_shipping_price} ฿
รวมเป็นเงิน{this.state.net_price} ฿{this.state.total_price} ฿
\n
\n
\n \n
\n
\n
\n {this.state.modal}\n
\n );\n }\n}","import React from \"react\";\nimport $ from \"jquery\";\nimport { categoryAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../category.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n// var editor;\n\nexport class Order_Online_Category_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n\n\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"pr_online_category_id\"\n },\n {\n title: \"ชื่อหมวดหมู่ (TH)\",\n class: \"text-center\",\n data: \"pr_online_category_name\"\n },\n {\n title: \"ลำดับการแสดง\",\n class: \"text-center\",\n data: \"sort\"\n },\n {\n title: \"วันที่สร้าง\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"pr_online_category_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.category}/product_online_category`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n \n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n categoryAction.deleteOnlineCategory(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการหมวดหมู่สินค้าออนไลน์

\n \n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport ModalImage from \"react-modal-image\";\nimport \"../order.css\";\n\nlet modalAlert;\n\nexport class Order_Online_Info extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n inputBody: {},\n inputBodyDetail: [],\n };\n\n }\n\n componentDidMount() {\n this.pageInit();\n }\n \n async pageInit() {\n var params = this.props.match.params;\n await this.getOrderDataByID(params.od_online_number);\n this.getOrderDetail(params.od_online_number);\n }\n\n numberWithCommas(x) {\n return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n\n getOrderDataByID(id) {\n return new Promise(async resolve => {\n orderAction.getOrderOnlineById(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['status_payment'] === \"1\") newObject['payment_name'] = {newObject['payment_name']} //รอชำระ\n else if(newObject['status_payment'] === \"2\") newObject['payment_name'] = {newObject['payment_name']} //ชำระสำเร็จ\n else if(newObject['status_payment'] === \"3\") newObject['payment_name'] = {newObject['payment_name']} //ยกเลิกการชำระ\n else if(newObject['status_payment'] === \"9\") newObject['payment_name'] = {newObject['payment_name']} //รอตรวจสอบ\n else newObject['payment_name'] = ไม่ระบุสถานะ\n \n if(newObject['payment_channel_id'] === 1) newObject['payment_channel_name'] = 'E-Wallet'\n else if(newObject['payment_channel_id'] === 2) newObject['payment_channel_name'] = 'Credit/Debit Card'\n else if(newObject['payment_channel_id'] === 3) newObject['payment_channel_name'] = 'POS'\n else if(newObject['payment_channel_id'] === 4) newObject['payment_channel_name'] = 'ชำระปลายทาง'\n else if(newObject['payment_channel_id'] === 6) newObject['payment_channel_name'] = 'K-PLUS'\n else newObject['payment_channel_name'] = 'ไม่พบช่องทางการชำระเงิน'\n \n let sum_price = newObject['sum_price']; //ราคารวมสินค้า\n let delivery_cost = newObject['delivery_cost']; //ค่าส่ง\n let discount_delievry_cost = newObject['discount_delievry_cost']; //ส่วนลดค่าส่ง\n let discount_order_cost = newObject['discount_order_cost']; //ส่วนลดคูปอง\n let totalPrice = newObject['total_price']; //ส่วนลดคูปอง\n \n let net_shipping_price = (delivery_cost - discount_delievry_cost) > 0 ? (delivery_cost - discount_delievry_cost) : 0\n let net_price = sum_price + net_shipping_price + discount_order_cost\n \n this.setState({ \n sum_price: sum_price.toFixed(2),\n delivery_cost: delivery_cost.toFixed(2),\n discount_delievry_cost: discount_delievry_cost.toFixed(2),\n net_shipping_price: net_shipping_price.toFixed(2),\n discount_order_cost: discount_order_cost.toFixed(2),\n net_price: this.numberWithCommas(net_price.toFixed(2)),\n inputBody: newObject,\n total_price: Number(totalPrice).toLocaleString('th', {minimumFractionDigits: 2})\n });\n resolve();\n } else {\n alert(\"ไม่พบข้อมูล\");\n resolve();\n }\n });\n })\n }\n\n getOrderDetail(id) {\n orderAction.getOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n // cal product price\n let newNetPrice = parseFloat(String(this.state.net_price).replace(/,/g, ''));\n let negPrice = 0;\n if(!!e.data && e.data.length > 0){\n for(var i in e.data){\n let data = e.data[i];\n let index = Number(i);\n let price = parseFloat(data.total_product_price);\n if(price < 0){\n negPrice += Math.abs(price);\n }\n if(index === e.data.length-1){\n newNetPrice = parseFloat(newNetPrice - negPrice).toLocaleString('th', {minimumFractionDigits:2});\n }\n } \n }\n // put data\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject, net_price: newNetPrice });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n render() {\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n \n );\n })\n console.log('this.state.inputBody: ', this.state.inputBody);\n\n return (\n
\n
\n
\n
\n

รายการออเดอร์ (Order Online)

\n
\n
\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_online_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
ประเภทการรับสินค้า
\n
\n
\n
ชื่อประเภทการรับสินค้า :
\n
{this.state.inputBody['receive_channel']}
\n
\n {this.state.inputBody['receive_channel'] === 'gift'\n && \n
\n
ผู้รับ :
\n
{this.state.inputBody['od_online_gift_phone']}
\n
\n }\n {this.state.inputBody['receive_channel'] === 'gift'\n &&\n
\n
ข้อความถึงผู้รับ :
\n
{this.state.inputBody['od_online_gift_message']}
\n
\n }\n
\n
เวลาที่ต้องการรับสินค้า :
\n
{(this.state.inputBody['receive_channel'] === \"pickup\" ? this.state.inputBody['time_receive'] : \"\")}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
ข้อมูลการชำระเงิน
\n
\n {/*
\n
วัน-เวลา ที่ชำระเงิน :
\n
{(this.state.inputBody['slip_date'] != undefined && this.state.inputBody['slip_date'] != \"Invalid date\" ? this.state.inputBody['slip_date'] + ' ' + this.state.inputBody['slip_time'] : this.state.inputBody['payment_date'])}
\n
*/}\n
\n
ช่องทางการชำระเงิน :
\n
{this.state.inputBody['payment_channel_id'] === 1 ? 'E-wallet' : this.state.inputBody['payment_channel_id'] === 2 ? 'Credit/Debit Card' : this.state.inputBody['payment_channel_id'] === 4 ? 'COD' : ''}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
ที่อยู่ (สำหรับจัดส่งสินค้า)
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['mem_address']}
\n
\n
\n
แขวง/ตำบล :
\n
{this.state.inputBody['name_districts']}
\n
\n
\n
เขต/อำเภอ :
\n
{this.state.inputBody['name_amphoe']}
\n
\n
\n
จังหวัด :
\n
{this.state.inputBody['name_province']}
\n
\n
\n
รหัสไปรษณีย์ :
\n
{this.state.inputBody['mem_zipcode']}
\n
\n
\n
สถานะการชำระเงิน :
\n
{this.state.inputBody['payment_name']}
\n
\n
\n
วันที่-เวลาอัพเดตสถานะ :
\n
{this.state.inputBody['updated_at']}
\n
\n
\n
หมายเหตุ :
\n
{this.state.inputBody['od_online_comment']}
\n
\n
\n
\n
\n
\n

รายการสั่งซื้อสินค้า

\n
\n
\n
\n
\n
{item.pr_online_code}{item.pr_online_name}{item.is_free_product === 1 ?

{item.note}

: ''}
{item.price} ฿{item.od_online_product_count}{item.is_free_product === 1 ? '0.00' : item.total_product_price} ฿
\n \n \n \n \n \n \n \n \n \n \n {listProduct}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n
รหัสสินค้าชื่อสินค้าราคา (/ชิ้น)จำนวน (ชิ้น)ราคารวม
{(this.state.inputBody['rw_transection_id'])}{(this.state.inputBody['rewards_code'] + \" - \" + this.state.inputBody['rewards_name_th'])} {(this.state.inputBody['discount_order_cost'])} ฿{(this.state.inputBody['rw_count'])}{(this.state.inputBody['rw_count'] * this.state.inputBody['discount_order_cost']).toFixed(2)} ฿
ค่าจัดส่ง{this.state.delivery_cost} ฿
ส่วนลดค่าจัดส่ง{this.state.discount_delievry_cost} ฿
ค่าจัดส่งหลังหักค่าส่วนลด{this.state.net_shipping_price} ฿
รวมเป็นเงิน{this.state.net_price} ฿{this.state.total_price} ฿
\n
\n
\n
\n
\n
\n\n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { categoryAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../category.css\";\n\nlet modalAlert;\n\nexport class Order_Online_Category_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {\n category_delivery: 0,\n category_ems: 0,\n category_pickup: 0,\n category_snackbox: 0\n },\n errors: {},\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/order-online/product/category\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"pr_online_category_name\"]) {\n formIsValid = false;\n errors[\"pr_online_category_name\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (TH)\";\n }\n\n if (!fields[\"pr_online_category_name_en\"]) {\n formIsValid = false;\n errors[\"pr_online_category_name_en\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (EN)\";\n }\n\n if (!fields[\"sort\"]) {\n formIsValid = false;\n errors[\"sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = new FormData();\n // formData.append(\"pr_category_image\", this.state.fields[\"cateImage\"]);\n formData.append(\"pr_online_category_name\", this.state.fields[\"pr_online_category_name\"]);\n formData.append(\"pr_online_category_name_en\", this.state.fields[\"pr_online_category_name_en\"]);\n formData.append(\"sort\", this.state.fields[\"sort\"]);\n formData.append(\"category_delivery\", this.state.fields[\"category_delivery\"]);\n formData.append(\"category_ems\", this.state.fields[\"category_ems\"]);\n formData.append(\"category_pickup\", this.state.fields[\"category_pickup\"]);\n formData.append(\"category_snackbox\", this.state.fields[\"category_snackbox\"]);\n formData.append(\"user_id\", 1);\n\n categoryAction.createOnlineCategory(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n\n render() {\n console.log(this.state.fields);\n return (\n
\n
\n
\n

เพิ่มหมวดหมู่สินค้าออนไลน์

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.pr_online_category_name}
\n
\n
\n
\n \n
\n \n
{this.state.errors.pr_online_category_name_en}
\n
\n
\n
\n \n
\n \n
{this.state.errors.sort}
\n
\n
\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n {/*
\n \n
\n \n
{this.state.errors.cateImage}
\n
\n
*/}\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { categoryAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../category.css\";\n\nlet modalAlert;\n\nexport class Order_Online_Category_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getOnlineCategoryId(params.pr_online_category_id);\n }\n\n getOnlineCategoryId(cid) {\n categoryAction.getOnlineCategoryId(cid).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n pr_online_category_name: e.data.pr_online_category_name,\n pr_online_category_name_en: e.data.pr_online_category_name_en,\n sort: e.data.sort,\n pr_online_category_id: cid,\n category_delivery: e.data.category_delivery,\n category_ems: e.data.category_ems,\n category_pickup: e.data.category_pickup,\n category_snackbox: e.data.category_snackbox,\n category_gift: e.data.category_gift\n }\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/order-online/product/category\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"pr_online_category_name\"]) {\n formIsValid = false;\n errors[\"pr_online_category_name\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (TH)\";\n }\n\n if (!fields[\"pr_online_category_name_en\"]) {\n formIsValid = false;\n errors[\"pr_online_category_name_en\"] = \"*กรุณากรอกชื่อหมวดหมู่สินค้า (EN)\";\n }\n\n if (!fields[\"sort\"]) {\n formIsValid = false;\n errors[\"sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n\n // if (!fields[\"cateImage\"]) {\n // formIsValid = false;\n // errors[\"cateImage\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n // formData.append(\"pr_category_image\", this.state.fields[\"cateImage\"]);\n formData.append(\"pr_online_category_name\", this.state.fields[\"pr_online_category_name\"]);\n formData.append(\"pr_online_category_name_en\", this.state.fields[\"pr_online_category_name_en\"]);\n formData.append(\"sort\", this.state.fields[\"sort\"]);\n formData.append(\"category_delivery\", this.state.fields[\"category_delivery\"]);\n formData.append(\"category_ems\", this.state.fields[\"category_ems\"]);\n formData.append(\"category_pickup\", this.state.fields[\"category_pickup\"]);\n formData.append(\"category_snackbox\", this.state.fields[\"category_snackbox\"]);\n formData.append(\"category_gift\", this.state.fields[\"category_gift\"]);\n\n categoryAction.updateOnlineCategory(formData, this.state.fields[\"pr_online_category_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n return (\n
\n
\n
\n

แก้ไขหมวดหมู่สินค้าพรีออเดอร์

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.pr_online_category_name}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_category_name_en}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.sort}
\n
\n
\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.cateImage}
\n \n
\n
*/}\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React, { Component }from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\n\nimport { categoryAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../category.css\";\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nvar listCateShow = [];\n\n\nexport class Category_Edit_Show extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n inputBody: [],\n \n };\n // this.handleSubmit = this.handleSubmit.bind(this);\n // this.onConfirm = this.onConfirm.bind(this);\n // this.onConfirmCreate = this.onConfirmCreate.bind(this);\n // this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getCategoryDataByID();\n }\n\n getCategoryDataByID() {\n let { fields } = this.state;\n listCateShow = []\n categoryAction.getEatinCategory().then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n this.setState({ inputBody: newObject , fields });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n \n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value\n this.setState({ fields })\n // this.setState({ name : e.target.value});\n // this.state.errors[e.target.name] = null;\n // this.setState({ fields, errors });\n };\n\n render() {\n\n let listCate = this.state.inputBody.map(( item, cate ) => {\n return (\n \n 1\n {item.pr_category_name}\n this.handleChange(e)} />\n \n );\n })\n return (\n
\n
\n
\n

จัดการลำดับการแสดงหมวดหมู่สินค้า

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n\n \n \n \n \n \n \n \n \n \n {listCateShow}\n \n
ลำดับชื่อหมวดหมู่ลำดับที่แสดง
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { branchAction,orderAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) { dd='0'+dd; } \nif(mm<10) { mm='0'+mm; }\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-receive-order-online'\n\nvar optionStatus = [\n { value: '4', label: 'รอยืนยันออเดอร์' },\n { value: '5', label: 'คนขับรับออร์เดอร์' },\n { value: '6', label: 'คนขับกำลังไปส่งสินค้า' },\n { value: '7', label: 'รับสินค้าแล้ว' },\n { value: '8', label: 'สินค้าถูกยกเลิก' },\n { value: '10', label: 'สินค้าถูกส่งคืน' },\n { value: '11', label: 'รายการไม่สำเร็จ' },\n { value: '12', label: 'จัดเตรียมสินค้า' },\n { value: '13', label: 'สินค้ากำลังจัดส่ง' },\n];\nvar optionType = [\n { value: 'ems', label: 'ems' },\n { value: 'delivery', label: 'delivery' },\n { value: 'pickup', label: 'Order & Pickup' },\n];\n\nexport class Order_Online_Recive_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n fields: {},\n errors: {},\n branchList: [],\n searchStatus:'',\n searchBranch:''\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n branchAction.listBranchOrderOnline()\n .then(res => {\n this.setState({\n branchList: res.data\n })\n })\n\n let dataSearch = {\n s_Order: sessionStorage.getItem(\"searchOnlineOrder\") ? sessionStorage.getItem(\"searchOnlineOrder\") : \"\",\n s_Branch: sessionStorage.getItem(\"searchOnlineBranch\") ? sessionStorage.getItem(\"searchOnlineBranch\") : \"\",\n s_Date: sessionStorage.getItem(\"searchOnlineDate\") ? sessionStorage.getItem(\"searchOnlineDate\") : \"\",\n s_DateTo: sessionStorage.getItem(\"searchOnlineDateTo\") ? sessionStorage.getItem(\"searchOnlineDateTo\") : \"\",\n s_Status: sessionStorage.getItem(\"searchOnlineStatus\") ? sessionStorage.getItem(\"searchOnlineStatus\") : \"\",\n s_ReceiveChannel: sessionStorage.getItem(\"searchOnlineReceiveChannel\") ? sessionStorage.getItem(\"searchOnlineReceiveChannel\") : \"\"\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch);\n }\n\n showTable(dataSearch){\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"วันที่สั่งออเดอร์\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"เลขที่ออเดอร์\",\n class: \"text-center\",\n data: \"od_online_number\"\n },\n {\n title: \"ประเภทการรับสินค้า\",\n class: \"text-center\",\n data: \"receive_channel\"\n },\n {\n title: \"หมายเลข tracking\",\n class: \"text-center\",\n data: \"tracking_number\"\n },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"b_name\"\n },\n {\n title: \"ชื่อลูกค้า\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"เบอร์โทรศัพท์\",\n class: \"text-center\",\n data: \"mem_phone\",\n },\n {\n title: \"เลขบัตรประชาชน\",\n class: \"text-center\",\n data: \"mem_idcard\",\n },\n {\n title: \"ราคารวม\",\n class: \"text-center\",\n data: \"sum_price\"\n },\n // {\n // title: \"วันที่รับสินค้า\",\n // class: \"text-center\",\n // data: \"date_recive\"\n // },\n {\n title: \"ช่องทางการชำระเงิน\",\n class: \"text-center\",\n data: \"payment_channel_name\"\n },\n {\n title: \"สถานะการรับสินค้า\",\n class: \"text-center\",\n data: \"receive_name\"\n },\n {\n title: \"หมายหตุ\",\n class: \"text-center\",\n data: \"od_online_comment\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"od_online_number\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(rowData.type_order_id == '100') status = `${cellData}`\n else if(rowData.type_order_id == '101') status = `${cellData}`\n else if(rowData.type_order_id == '102') status = `${cellData}`\n else status = `${cellData}`\n $(td).html(`
${status}
`);\n },\n orderable: true\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${(cellData == null ? \"\" : cellData )}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ${rowData.mem_lastname}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(cellData).toLocaleString('th', {minimumFractionDigits:2})} ฿
`);\n }\n },\n {\n targets: 11,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(rowData.status_receive == '4') status = `${cellData}`\n else if(rowData.status_receive == '5') status = `${cellData}`\n else if(rowData.status_receive == '6') status = `${cellData}`\n else if(rowData.status_receive == '7') status = `${cellData}`\n else if(rowData.status_receive == '8') status = `${rowData.status_receive_name}`\n else if(rowData.status_receive == '10') status = `${rowData.status_receive_name}`\n else if(rowData.status_receive == '11') status = `${rowData.status_receive_name}`\n else status = `${cellData}`\n $(td).html(status);\n },\n orderable: false\n },\n {\n targets: 13,\n createdCell: function(td, cellData, rowData, row, col) {\n var bt_manage = '';\n var bt_notification = ''\n if(rowData.receive_channel == \"delivery\" || rowData.tracking_number == null || rowData.tracking_number == \"\"){\n bt_notification = ` ส่ง SMS หมายเลข tracking`\n }else{\n let dataSMS = {\n \"phone_number\":rowData.mem_phone,\n \"order_online_number\":rowData.od_online_number,\n \"tracking_number\":rowData.tracking_number\n }\n \n bt_notification =`\n }\n filename = {name_excel}\n >\n \n \n \n \n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
เลขที่ออเดอร์
\n
\n \n
\n
ประเภทการรับสินค้า
\n
\n {\n this.selectRefReceiveChannel = ref;\n }}\n />\n
\n
\n
\n
สาขา
\n
\n {\n this.selectRefBranch = ref;\n }}\n />\n
\n
สถานะออเดอร์
\n
\n {\n this.selectRefStatus = ref;\n }}\n />\n
\n
\n
\n
วันที่สร้างออเดอร์
\n
\n \n
{this.state.errors.searchDate}
\n
\n\n
ถึง วันที่สร้างออเดอร์
\n
\n \n
{this.state.errors.searchDateTo}
\n\n
\n
\n\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { orderAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../order.css\";\nimport Select from 'react-select';\n\n\nlet modalAlert;\n\nexport class Order_Online_Recive_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n selectType: null,\n inputBody: {},\n inputBodyDetail: [],\n s_name:[],\n selectedOption: null\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n this.pageInit();\n }\n\n async pageInit(){\n var params = this.props.match.params;\n await this.getOrderDataByID(params.od_online_number);\n this.getOrderDetail(params.od_online_number);\n }\n\n numberWithCommas(x) {\n return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n\n getOrderDataByID(id) {\n return new Promise(async resolve => {\n orderAction.getOrderOnlineById(id).then(e => {\n if (e.isSuccess === true) {\n \n const receive_id = e.data.status_receive;\n \n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['payment_channel_id'] === 1) newObject['payment_channel_name'] = 'E-Wallet'\n else if(newObject['payment_channel_id'] === 2) newObject['payment_channel_name'] = 'Credit/Debit Card'\n else if(newObject['payment_channel_id'] === 3) newObject['payment_channel_name'] = 'POS'\n else if(newObject['payment_channel_id'] === 4) newObject['payment_channel_name'] = 'ชำระปลายทาง'\n else if(newObject['payment_channel_id'] === 6) newObject['payment_channel_name'] = 'K-PLUS'\n else newObject['payment_channel_name'] = 'ไม่พบช่องทางการชำระเงิน'\n \n \n if(newObject['driver_phone']){\n let driver_phone = newObject['driver_phone'].replace(\"66\", \"0\");\n newObject['driver_phone'] = driver_phone\n } \n let sum_price = newObject['sum_price']; //ราคารวมสินค้า\n let delivery_cost = newObject['delivery_cost']; //ค่าส่ง\n let discount_delievry_cost = newObject['discount_delievry_cost']; //ส่วนลดค่าส่ง\n let discount_order_cost = newObject['discount_order_cost']; //ส่วนลดคูปอง\n let totalPrice = newObject['total_price']; //ส่วนลดคูปอง\n \n let net_shipping_price = (delivery_cost - discount_delievry_cost) > 0 ? (delivery_cost - discount_delievry_cost) : 0\n let net_price = sum_price + net_shipping_price + discount_order_cost\n \n this.setState({ \n sum_price: sum_price.toFixed(2),\n delivery_cost: delivery_cost.toFixed(2),\n discount_delievry_cost: discount_delievry_cost.toFixed(2),\n net_shipping_price: net_shipping_price.toFixed(2),\n discount_order_cost: discount_order_cost.toFixed(2),\n net_price: this.numberWithCommas(net_price.toFixed(2)),\n total_price: Number(totalPrice).toLocaleString('th', {minimumFractionDigits:2}),\n inputBody: newObject \n });\n \n this.setState({\n fields: {\n ...this.state.fields,\n selectValue: receive_id,\n selectLabel: this.state.inputBody['receive_name'],\n }\n });\n \n this.setState({defaultValue:\n {\n value: this.state.fields[\"selectValue\"],\n label: this.state.fields[\"selectLabel\"]\n }\n });\n resolve();\n } else {\n alert(\"ไม่พบข้อมูล\");\n resolve();\n }\n });\n })\n }\n\n getOrderDetail(id) {\n orderAction.getOrderDetailId(id).then(e => {\n if (e.isSuccess === true) {\n // cal product price\n let newNetPrice = parseFloat(String(this.state.net_price).replace(/,/g, ''));\n let negPrice = 0;\n if(!!e.data && e.data.length > 0){\n for(var i in e.data){\n let data = e.data[i];\n let index = Number(i);\n let price = parseFloat(data.total_product_price);\n if(price < 0){\n negPrice += Math.abs(price);\n }\n if(index === e.data.length-1){\n newNetPrice = parseFloat(newNetPrice - negPrice).toLocaleString('th', {minimumFractionDigits:2});\n }\n } \n }\n // put data\n var newObject = Object.assign(e.data, this.state.inputBodyDetail);\n this.setState({ inputBodyDetail: newObject, net_price: newNetPrice });\n } else {\n alert(\"ไม่พบข้อมูล\");\n }\n });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirm(ev) {\n this.setState({ modal: null });\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/order-online/receive_order/info/${this.state.inputBody['od_online_number']}`;\n }\n\n onConfirmCreate(ev) {\n let payment_channel_id = this.state.inputBody.payment_channel_id\n let {fields} = this.state;\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"status_receive\", this.state.defaultValue.value);\n formData.append(\"status_receive_name\", this.state.defaultValue.label);\n formData.append(\"od_online_comment\", (this.state.fields.od_online_comment ?this.state.fields.od_online_comment : \"\"));\n formData.append(\"payment_channel_id\", payment_channel_id);\n formData.append(\"tracking_number\", (this.state.fields.tracking_number ? this.state.fields.tracking_number : \"\"));\n\n orderAction.updateOrderOnline(formData, this.state.inputBody['od_online_number'])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n handleChange = (selectedOption) => {\n let { fields, errors } = this.state;\n if(typeof selectedOption.value != 'undefined'){\n this.setState({\n defaultValue:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n }else {\n console.log(fields);\n fields[selectedOption.target.name] = selectedOption.target.value;\n }\n this.setState({ fields, errors });\n };\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n\n\n render() {\n let { inputBody } = this.state;\n // status อิงมาจาก table af_order_online > column: status_receive\n const options = [\n { value: '4', label: 'รอยืนยันออเดอร์' },\n { value: '5', label: 'คนขับรับออร์เดอร์' },\n { value: '6', label: 'คนขับกำลังไปส่งสินค้า' },\n { value: '7', label: 'รับสินค้าแล้ว' },\n { value: '8', label: 'สินค้าถูกยกเลิก' },\n { value: '10', label: 'สินค้าถูกส่งคืน' },\n { value: '11', label: 'รายการไม่สำเร็จ' },\n { value: '12', label: 'จัดเตรียมสินค้า' },\n { value: '13', label: 'สินค้ากำลังจัดส่ง' },\n ];\n const giftOrderStatusOptions = [\n { value: '14', label: 'รอแลกรับสินค้า' },\n { value: '7', label: 'รับสินค้าแล้ว' },\n { value: '8', label: 'สินค้าถูกยกเลิก' },\n { value: '10', label: 'สินค้าถูกส่งคืน' },\n { value: '11', label: 'รายการไม่สำเร็จ' },\n ]\n\n let listProduct = this.state.inputBodyDetail.map(( item, product ) => {\n return (\n \n \n \n \n \n \n \n );\n })\n\n return (\n
\n
\n
\n
\n

รายการออเดอร์ (การสั่งซื้อหน้าร้าน)

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
ข้อมูลทั่วไป
\n
\n
\n
รหัสการซื้อสินค้า :
\n
{this.state.inputBody['od_online_number']}
\n
\n
\n
วันที่สร้างรายการ :
\n
{this.state.inputBody['created_at']}
\n
\n
\n
วันที่ส่งสินค้า :
\n
{this.state.inputBody['date_receive']}
\n
\n
\n
ประเภทการรับสินค้า
\n
\n
\n
ชื่อประเภทการรับสินค้า :
\n
{this.state.inputBody['receive_channel']}
\n
\n {this.state.inputBody['receive_channel'] === 'gift'\n && \n
\n
ผู้รับ :
\n
{this.state.inputBody['od_online_gift_phone']}
\n
\n }\n {this.state.inputBody['receive_channel'] === 'gift'\n &&\n
\n
ข้อความถึงผู้รับ :
\n
{this.state.inputBody['od_online_gift_message']}
\n
\n }\n
\n
เวลาที่ต้องการรับสินค้า :
\n
{(this.state.inputBody['receive_channel'] === \"pickup\" ? this.state.inputBody['time_receive'] : \"\")}
\n
\n
\n
หมายเลข tracking :
\n
{(this.state.inputBody['tracking_number'] != null ? this.state.inputBody['tracking_number'] : \"\")}
\n
\n
\n
สาขาที่รับสินค้า
\n
\n
\n
ชื่อสาขา :
\n
{this.state.inputBody['b_name']}
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['b_address']}
\n
\n
\n
ละติจูด :
\n
{this.state.inputBody['b_lat']}
\n
\n
\n
ลองจิจูด :
\n
{this.state.inputBody['b_long']}
\n
\n
\n
ข้อมูลการชำระเงิน
\n
\n
\n
ช่องทางการชำระเงิน :
\n
{this.state.inputBody['status_payment'] != \"1\" ? this.state.inputBody['payment_channel_name'] : '-' }
\n
\n
\n
ข้อมูลคนขับ
\n
\n
\n
ชื่ือคนขับ :
\n
{this.state.inputBody['driver_name']}
\n
\n
\n
เบอร์โทรคนขับ :
\n
{this.state.inputBody['driver_phone']}
\n
\n
\n
\n
\n
รายละเอียดสมาชิก
\n
\n \n
\n
อีเมล :
\n
{this.state.inputBody['mem_email']}
\n
\n
\n
เลขบัตรประชาชน :
\n
{this.state.inputBody['mem_idcard']}
\n
\n
\n
วันเกิด :
\n
{this.state.inputBody['mem_birthdate']}
\n
\n
\n
โทร :
\n
{this.state.inputBody['mem_phone']}
\n
\n
\n
ที่อยู่ (สำหรับจัดส่งสินค้า)
\n
\n
\n
ที่อยู่ :
\n
{this.state.inputBody['mem_address']}
\n
\n
\n
แขวง/ตำบล :
\n
{this.state.inputBody['name_districts']}
\n
\n
\n
เขต/อำเภอ :
\n
{this.state.inputBody['name_amphoe']}
\n
\n
\n
จังหวัด :
\n
{this.state.inputBody['name_province']}
\n
\n
\n
รหัสไปรษณีย์ :
\n
{this.state.inputBody['mem_zipcode']}
\n
\n
\n
\n
\n
\n
\n

อัพเดตสถานะการชำระเงิน

\n
\n
\n
\n
สถานะออเดอร์
\n
\n \n
\n
\n
\n
หมายเลข tracking
\n
\n \n
\n
\n
\n
หมายเหตุ
\n
\n \n
{this.state.errors.descriptProduct}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.descriptProductEN}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.priceProduct}
\n
\n\n \n
\n \n
{this.state.errors.pr_online_sort}
\n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.shipping_type_id}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_dayreceive}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.productPoint}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.discountProduct}
\n
\n
*/}\n\n
\n \n \n
\n \n
{this.state.errors.pr_online_keywords}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n \n\n
\n
\n \n
\n
\n \n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { productAction} from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport Select from 'react-select';\nimport makeAnimated from 'react-select/animated';\nimport moment from \"moment-timezone\";\n\nconst animatedComponents = makeAnimated();\n\nlet modalAlert;\n\nexport class Product_Online_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {\n pr_online_promotion_type: ''\n },\n errors: {},\n isStatus: 0,\n isRecommend: false,\n status: 0,\n cateName:[],\n attrOption: [],\n attrData: [],\n attrSelected: [],\n attrInit: [],\n productCode: \"\",\n status_type_ems: 0,\n prPromotionTypeOptions: [\n {label: 'สินค้าทั่วไป', value: 0},\n {label: 'สินค้าโปรโมชั่น', value: 1}\n ], \n prPromotionTypeSelected: null\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.handleSelectAttribute = this.handleSelectAttribute.bind(this);\n }\n\n async componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getProductDataByID(params.pr_online_id);\n await this.getCategoryProductOnline();\n await this.getProductAttributeList();\n await this.getProductAttributeUsed();\n console.log('fields: ', this.state.fields);\n }\n\n getCategoryProductOnline() {\n return new Promise(async resolve => {\n productAction.getCategoryProductOnline()\n .then(res => {\n this.setState({\n cateName: res.data\n })\n resolve();\n })\n })\n }\n getProductAttributeList() {\n return new Promise(async resolve => {\n productAction.getProductAttributeList()\n .then(res => {\n if(res.isSuccess === true && res.data.length > 0)\n {\n let data = res.data;\n let option = [];\n data.forEach(item => {\n option.push({\n label: item.cate_name_th,\n value: item.pratr_cat_id\n })\n })\n \n this.setState({\n attrData: res.data,\n attrOption: option\n })\n resolve();\n }\n })\n })\n }\n getProductAttributeUsed()\n {\n return new Promise(async resolve => {\n let pr_online_code = this.state.fields.pr_online_code;\n\n productAction.getProductAttributeUsedByPrCode(pr_online_code)\n .then(res => {\n if(res.isSuccess === true)\n {\n if(res.data.length > 0)\n {\n let data = res.data;\n let option = [];\n let attrSelectedInit = [];\n data.forEach(item => {\n option.push({\n label: item.cate_name_th,\n value: item.pratr_cat_id\n })\n attrSelectedInit.push({\n pratr_cat_id: item.pratr_cat_id,\n pr_online_code: pr_online_code\n })\n })\n this.setState({\n attrInit: option,\n attrSelected: attrSelectedInit,\n })\n }\n this.setState({\n productCode: pr_online_code\n })\n resolve();\n }\n })\n .catch(err => {\n console.log(err);\n resolve();\n })\n\n })\n }\n\n getProductDataByID(pr_online_id) {\n\n productAction.getProductOnlineById(pr_online_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n \"pr_online_id\": pr_online_id,\n \"pr_online_code\": e.data.pr_online_code,\n \"pr_online_name\": e.data.pr_online_name,\n \"pr_online_name_en\": e.data.pr_online_name_en,\n \"pr_online_description\": e.data.pr_online_description,\n \"pr_online_description_en\": e.data.pr_online_description_en,\n \"pr_online_image\": e.data.pr_online_image,\n \"pr_online_height\": e.data.pr_online_height,\n \"pr_online_width\": e.data.pr_online_width,\n \"pr_online_depth\": e.data.pr_online_depth,\n \"pr_online_weight\": e.data.pr_online_weight,\n \"pr_online_price\": e.data.pr_online_price,\n \"pr_online_discount_price\": e.data.pr_online_discount_price,\n \"pr_online_category_id\": e.data.pr_online_category_id,\n \"pr_online_category_name\": e.data.pr_online_category_name,\n \"pr_online_sort\": e.data.pr_online_sort,\n \"pr_online_give_point\": e.data.pr_online_give_point,\n \"pr_online_type_ems\": e.data.pr_online_type_ems,\n \"pr_online_type_gift\": e.data.pr_online_type_gift,\n \"pr_online_type_delivery\": e.data.pr_online_type_delivery,\n \"pr_online_type_snackbox\": e.data.pr_online_type_snackbox,\n \"pr_online_shipping_type_id\": e.data.pr_online_shipping_type_id,\n \"pr_online_typebadge\": e.data.pr_online_typebadge,\n \"pr_online_keywords\": e.data.pr_online_keywords,\n \"pr_online_dayreceive\": e.data.pr_online_dayreceive,\n \"pr_online_promotion_type\": e.data.pr_online_promotion_type,\n \"shipping_name\": e.data.shipping_name,\n \"is_recommend\" : e.data.is_recommend,\n \"is_active\": e.data.is_active,\n \"is_delete\": e.data.is_delete,\n \"pr_online_image_show\": e.data.pr_online_image,\n }\n });\n\n this.setState({isStatus: String(this.state.fields[\"is_active\"]) == 1});\n this.setState({status: this.state.fields[\"is_active\"]});\n\n this.setState({is_status_give_point: String(this.state.fields[\"pr_online_give_point\"]) == 1});\n this.setState({status_give_point: this.state.fields[\"pr_online_give_point\"]});\n\n this.setState({is_status_type_ems: String(this.state.fields[\"pr_online_type_ems\"]) == 1});\n this.setState({status_type_ems: this.state.fields[\"pr_online_type_ems\"]});\n\n this.setState({is_status_type_delivery: String(this.state.fields[\"pr_online_type_delivery\"]) == 1});\n this.setState({status_type_delivery: this.state.fields[\"pr_online_type_delivery\"]});\n\n this.setState({is_status_type_gift: String(this.state.fields[\"pr_online_type_gift\"]) == 1});\n this.setState({status_type_gift: this.state.fields[\"pr_online_type_gift\"]});\n\n this.setState({is_status_type_snackbox: String(this.state.fields[\"pr_online_type_snackbox\"]) == 1});\n this.setState({status_type_snackbox: this.state.fields[\"pr_online_type_snackbox\"]});\n\n this.setState({isRecommend: this.state.fields.is_recommend === 1 ? true : false});\n\n if(this.state.fields[\"pr_online_type_ems\"] == 1){\n this.setState({ disabled_shipping_type: false })\n }else{\n this.setState({ disabled_shipping_type: true })\n }\n \n this.setState({defaultCateValue:\n {\n value: this.state.fields['pr_online_category_id'],\n label: this.state.fields['pr_online_category_name']\n }\n });\n\n this.setState({defaultShippingValue:\n {\n value: this.state.fields['shipping_id'],\n label: this.state.fields['shipping_name']\n }\n });\n\n this.setState({defaultTypebadgeValue:\n {\n value: this.state.fields['pr_online_typebadge'],\n label: this.state.fields['pr_online_typebadge']\n }\n });\n this.setState({prPromotionTypeSelected:\n {\n value: this.state.prPromotionTypeOptions.find(item => item.value === e.data.pr_online_promotion_type).value,\n label: this.state.prPromotionTypeOptions.find(item => item.value === e.data.pr_online_promotion_type).label\n }\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/order-online/product\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n let { status_type_ems } = this.state;\n\n if (!fields[\"pr_online_code\"]) {\n formIsValid = false;\n errors[\"pr_online_code\"] = \"*กรุณากรอกรหัสสินค้า\";\n }\n\n if (!fields[\"pr_online_name\"]) {\n formIsValid = false;\n errors[\"pr_online_name\"] = \"*กรุณากรอกชื่อสินค้า (TH)\";\n }\n\n if (!fields[\"pr_online_name_en\"]) {\n formIsValid = false;\n errors[\"pr_online_name_en\"] = \"*กรุณากรอกชื่อสินค้า (EN)\";\n }\n\n if (!fields[\"pr_online_image\"]) {\n formIsValid = false;\n errors[\"pr_online_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n\n if (fields[\"pr_online_height\"] === \"\") {\n formIsValid = false;\n errors[\"pr_online_height\"] = \"*กรุณากรอกความสูงของบรรจุภัณฑ์ (ซม.)\";\n }\n\n if (fields[\"pr_online_width\"] === \"\") {\n formIsValid = false;\n errors[\"pr_online_width\"] = \"*กรุณากรอกความกว้างของบรรจุภัณฑ์ (ซม.)\";\n }\n\n if (fields[\"pr_online_depth\"] === \"\") {\n formIsValid = false;\n errors[\"pr_online_depth\"] = \"*กรุณากรอกความลึกของบรรจุภัณฑ์ (ซม.)\";\n }\n\n if (fields[\"pr_online_weight\"] === \"\") {\n formIsValid = false;\n errors[\"pr_online_weight\"] = \"*กรุณากรอกน้ำหนักของสินค้า (กรัม)\";\n }\n\n if (!fields[\"pr_online_price\"]) {\n formIsValid = false;\n errors[\"pr_online_price\"] = \"*กรุณากรอกราคาสินค้า\";\n }\n\n if (!fields[\"pr_online_category_id\"]) {\n formIsValid = false;\n errors[\"pr_online_category_id\"] = \"*กรุณากรอกหมวดหมู่สินค้า\";\n }\n\n if (!fields[\"pr_online_sort\"]) {\n formIsValid = false;\n errors[\"pr_online_sort\"] = \"*กรุณากรอกลำดับสินค้า\";\n }\n\n if (fields[\"pr_online_promotion_type\"] === null || fields[\"pr_online_promotion_type\"] === '' || fields[\"pr_online_promotion_type\"] === undefined) {\n formIsValid = false;\n errors[\"pr_online_promotion_type\"] = \"*กรุณาระบุประเภทสินค้า\";\n }\n\n if(status_type_ems === 1)\n {\n if (!fields[\"pr_online_shipping_type_id\"]) {\n formIsValid = false;\n errors[\"pr_online_shipping_type_id\"] = \"*กรุณาระบุประเภทการจัดส่งสินค้า\";\n }\n }\n\n // if (!fields[\"pr_online_point\"]) {\n // formIsValid = false;\n // errors[\"pr_online_point\"] = \"*กรุณากรอกคะแนนสินค้า\";\n // }\n\n // if (!fields[\"pr_online_description\"]) {\n // formIsValid = false;\n // errors[\"pr_online_description\"] = \"*กรุณากรอกรายละเอียดสินค้า (TH)\";\n // }\n\n // if (!fields[\"pr_online_description_en\"]) {\n // formIsValid = false;\n // errors[\"pr_online_description_en\"] = \"*กรุณากรอกรายละเอียดสินค้า (EN)\";\n // }\n\n // if (!fields[\"discountProduct\"]) {\n // formIsValid = false;\n // errors[\"discountProduct\"] = \"*กรุณากรอกส่วนลดสินค้า\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n async onConfirmCreate(ev) {\n this.setState({ modal: null });\n \n let dataAttr = await this.reNewDataAttr();\n\n var formData = new FormData();\n formData.append(\"pr_online_code\", this.state.fields[\"pr_online_code\"]);\n formData.append(\"pr_online_name\", this.state.fields[\"pr_online_name\"]);\n formData.append(\"pr_online_name_en\", this.state.fields[\"pr_online_name_en\"]);\n formData.append(\"pr_online_description\", this.state.fields[\"pr_online_description\"]);\n formData.append(\"pr_online_description_en\", this.state.fields[\"pr_online_description_en\"]);\n formData.append(\"pr_online_height\", this.state.fields[\"pr_online_height\"]);\n formData.append(\"pr_online_width\", this.state.fields[\"pr_online_width\"]);\n formData.append(\"pr_online_depth\", this.state.fields[\"pr_online_depth\"]);\n formData.append(\"pr_online_weight\", this.state.fields[\"pr_online_weight\"]);\n formData.append(\"pr_online_image\", this.state.fields[\"pr_online_image\"]);\n formData.append(\"pr_online_price\", this.state.fields[\"pr_online_price\"]);\n formData.append(\"pr_online_discount_price\", this.state.fields[\"pr_online_discount_price\"]);\n formData.append(\"pr_online_category_id\", this.state.fields[\"pr_online_category_id\"]);\n formData.append(\"pr_online_sort\", this.state.fields[\"pr_online_sort\"]);\n formData.append(\"pr_online_give_point\", this.state.status_give_point);\n formData.append(\"pr_online_type_gift\", this.state.status_type_gift);\n formData.append(\"pr_online_type_snackbox\", this.state.status_type_snackbox);\n formData.append(\"pr_online_type_ems\", this.state.status_type_ems);\n formData.append(\"pr_online_type_delivery\", this.state.status_type_delivery);\n formData.append(\"pr_online_shipping_type_id\", this.state.status_type_ems === 1 ? this.state.fields[\"pr_online_shipping_type_id\"] : '');\n formData.append(\"pr_online_typebadge\", this.state.fields[\"pr_online_typebadge\"]);\n formData.append(\"pr_online_keywords\", this.state.fields[\"pr_online_keywords\"]);\n formData.append(\"pr_online_dayreceive\", this.state.fields[\"pr_online_dayreceive\"]);\n formData.append(\"pr_online_promotion_type\", this.state.fields[\"pr_online_promotion_type\"]);\n formData.append(\"is_active\", this.state.status);\n formData.append(\"is_recommend\", this.state.fields.is_recommend);\n formData.append(\"attribute_set\", JSON.stringify(dataAttr));\n\n // ( V1 )\n // productAction.updateProductOnline(formData, this.state.fields[\"pr_online_id\"])\n // .then(e => {\n // console.log(e)\n // if (e.isSuccess === true) {\n // this.onModalSuccess(\"Success\", e.message);\n // } else {\n // this.onModalError(\"Error\", e.message);\n // }\n // });\n\n // ( V2 )\n productAction.updateProductOnlineV2(formData, this.state.fields[\"pr_online_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n reNewDataAttr() {\n return new Promise(async resolve => {\n let {attrSelected, fields, productCode} = this.state; \n\n if(attrSelected.length > 0)\n {\n attrSelected.forEach(item => {\n item.created_at = moment().format(\"Y-MM-DD HH:mm:ss\");\n item.pr_online_code = productCode;\n })\n resolve(attrSelected);\n }else\n {\n resolve([]);\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n if(action.name == \"pr_online_category_id\"){\n this.setState({\n defaultCateValue:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name == \"pr_online_shipping_type_id\"){\n this.setState({\n defaultShippingValue:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name == \"pr_online_typebadge\"){\n this.setState({\n defaultTypebadgeValue:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name === \"pr_online_promotion_type\")\n {\n this.setState({\n prPromotionTypeSelected: {\n label: e.label,\n value: e.value\n }\n })\n }\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectAttribute = (list, action) => {\n let actionName = action.name;\n\n if(actionName === 'product_attribute')\n {\n let newAttrSelected = [];\n\n this.setState({\n attrInit: list\n })\n\n if(!!list)\n {\n for(var i in list)\n {\n let index = Number(i);\n let itemAttr = {\n pratr_cat_id: list[index].value\n }\n newAttrSelected.push(itemAttr);\n \n if(index === list.length-1)\n {\n this.setState({\n attrSelected: newAttrSelected\n })\n }\n }\n }else\n {\n this.setState({\n attrSelected: []\n })\n }\n }\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n if(this.state.isStatus == true){\n this.setState({ status: 0 })\n }else{\n this.setState({ status: 1 })\n }\n }\n if(name === \"isRecommend\")\n {\n if(this.state.isRecommend === true)\n {\n this.setState({fields: {...this.state.fields, is_recommend: 0 }})\n }else\n {\n this.setState({fields: {...this.state.fields, is_recommend: 1 }})\n }\n this.setState({ isRecommend: !this.state.isRecommend })\n }\n if(name == \"is_status_give_point\"){\n this.setState({ is_status_give_point: !this.state.is_status_give_point })\n if(this.state.is_status_give_point == true){\n this.setState({ status_give_point: 0 })\n }else{\n this.setState({ status_give_point: 1 })\n }\n }\n if(name == \"is_status_type_ems\"){\n this.setState({ is_status_type_ems: !this.state.is_status_type_ems })\n\n if(this.state.is_status_type_ems == true){\n this.setState({ \n status_type_ems: 0,\n disabled_shipping_type: true\n })\n }else{\n this.setState({ \n status_type_ems: 1 ,\n disabled_shipping_type: false\n })\n }\n }\n if(name == \"is_status_type_delivery\"){\n this.setState({ is_status_type_delivery: !this.state.is_status_type_delivery })\n if(this.state.is_status_type_delivery == true){\n this.setState({ status_type_delivery: 0 })\n }else{\n this.setState({ status_type_delivery: 1 })\n }\n }\n if(name == \"is_status_type_gift\"){\n this.setState({ is_status_type_gift: !this.state.is_status_type_gift })\n if(this.state.is_status_type_gift == true){\n this.setState({ status_type_gift: 0 })\n }else{\n this.setState({ status_type_gift: 1 })\n }\n }\n if(name == \"is_status_type_snackbox\"){\n this.setState({ is_status_type_snackbox: !this.state.is_status_type_snackbox })\n if(this.state.is_status_type_snackbox == true){\n this.setState({ status_type_snackbox: 0 })\n }else{\n this.setState({ status_type_snackbox: 1 })\n }\n }\n}\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n render() {\n let {attrOption, attrInit} = this.state;\n let options_category_id = this.state.cateName.map(function (cateName) {\n return { value: cateName.pr_online_category_id, label: cateName.pr_online_category_name };\n })\n\n let optionsShipping = [\n { value: \"\", label: \"กรุณาเลือกประเภทสินค้า\" },\n { value: '1', label: \"สินค้าประเภทของแห้ง\" },\n { value: '2', label: \"สินค้าประเภทของแช่เย็น\" },\n { value: '3', label: \"สินค้าประเภทของแช่แข็ง\" }\n ]\n\n let optionsTypebadge = [\n { value: \"normal\", label: \"normal\" },\n { value: \"recommend\", label: \"recommend\" },\n { value: \"hot\", label: \"hot\" },\n { value: \"promotion\", label: \"promotion\" },\n { value: \"new\", label: \"new\" }\n ]\n\n return (\n
\n
\n
\n

แก้ไขสินค้าสั่งซื้อออนไลน์

\n
\n
\n
\n
\n \n
\n\n this.handleSubmit(e)}\n >\n\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_image}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_code}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_name}
\n
\n\n \n
\n \n
{this.state.errors.pr_online_name_en}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_category_id}
\n
\n\n \n
\n \n
{this.state.errors.pr_online_typebadge}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_promotion_type}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_height}
\n
\n\n \n
\n \n
{this.state.errors.pr_online_width}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_depth}
\n
\n\n \n
\n \n
{this.state.errors.pr_online_weight}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_description}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_description_en}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_price}
\n
\n\n \n
\n \n
{this.state.errors.pr_online_sort}
\n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_shipping_type_id}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.pr_online_dayreceive}
\n
\n
\n \n {/*
\n \n
\n \n
{this.state.errors.pr_online_point}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.discountProduct}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.pr_online_keywords}
\n
\n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport Select from 'react-select';\n\nimport { productAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../product.css\";\n\nlet modalAlert;\n\nexport class Product_Online_ImportExcel extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {}\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการ Import ข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/order-online/product\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"excel_file\"]) {\n formIsValid = false;\n errors[\"excel_file\"] = \"*กรุณาเลือกไฟล์ .xlsx\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n \n var formData = new FormData();\n formData.append(\"excel_file\", this.state.fields[\"excel_file\"]);\n\n productAction.importExcel(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n\n\n render() {\n\n return (\n\n
\n
\n
\n

Import Excel สินค้า

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n\n
\n \n
\n \n
{this.state.errors.excel_file}
\n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { productAction } from \"../../../../_actions\";\nimport \"../product.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Product_Online_Branch_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n let ad_b_status = localStorage.getItem('ad_b_status');\n let ad_b_id = localStorage.getItem('ad_b_id'); \n const columns = [\n {\n class: \"details-control\",\n orderable: false,\n data: null,\n defaultContent: \"\"\n },\n {\n title: \"ชื่อสินค้า\",\n class: \"text-center\",\n data: \"pr_online_name\"\n },\n {\n title: \"รหัสสินค้า\",\n class: \"text-center\",\n data: \"pr_online_code\"\n },\n {\n title: \"หมวดหมู่สินค้า\",\n class: \"text-center\",\n data: \"pr_online_category_name\"\n },\n {\n title: \"สถานะสินค้า\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"pr_online_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n let isStatus = ''\n if(cellData==1){\n isStatus = 'ใช้งาน'\n }else{\n isStatus = 'ไม่ใช้งาน'\n }\n\n $(td)\n .html(isStatus);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n \n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/product_online_by_branch?ad_b_status=${ad_b_status}&ad_b_id=${ad_b_id}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n \n });\n\n function format ( d ) {\n let branch_by_product = \"\"\n let color_status_branch_switch = \"\"\n \n let status_branch = \"\"\n let status_switch = (d.is_active != 1 ? \"disabled\" : \"\")\n let color_status_switch = (d.is_active != 1 ? \"color_switch_disabled\" : \"\")\n \n for(var i in d.branch){\n \n console.log('d.branch[i].pr_online_branch_type: ', d.branch[i].pr_online_branch_type);\n if(d.branch[i].b_status == 1 && d.branch[i].b_orderonline_status == 1){\n status_branch = \"dot-green\"\n color_status_branch_switch = \"\"\n status_switch = \"\"\n }else{\n if(d.branch[i].pr_online_branch_type == \"ems\" || d.branch[i].pr_online_branch_type == \"gift\"){\n status_branch = \"dot-green\"\n color_status_branch_switch = \"\"\n status_switch = \"\"\n }else{\n status_branch = \"dot-red\"\n color_status_branch_switch = \"color_switch_disabled\"\n status_switch = \"disabled\"\n }\n }\n\n branch_by_product += \n '
'+\n ''+\n ''+\n ''+\n ''+\n ''\n }\n \n return '
{item.pr_online_code}{item.pr_online_name}{item.is_free_product === 1 ?

{item.note}

: ''}
{item.price} ฿{item.od_online_product_count}{item.is_free_product === 1 ? '0.00' : item.total_product_price} ฿
'+ `
` + (d.branch[i].pr_online_branch_type == \"delivery\" ? \"[\"+ d.branch[i].b_code +\"] - \" + d.branch[i].b_name : d.branch[i].pr_online_branch_type == \"gift\" ? 'gift' : 'ems') +'
'+d.branch[i].pr_online_branch_price+''+\n ``+\n ''+\n ``+\n '
'+\n ''+\n ''+\n ''+\n ''+\n ''+\n ''+\n ''+\n ''+\n ''+\n branch_by_product+\n ''+\n '
'+'การจัดส่ง/ชื่อสาขา'+''+'ราคา'+''+'สถานะ soldout'+''+'สถานะแสดงสินค้า'+'
';\n }\n\n $('#dataTable tbody').on('click', 'td.details-control', function () {\n var tr = $(this).closest('tr');\n var row = table.row( tr );\n\n if ( row.child.isShown() ) {\n // This row is already open - close it\n row.child.hide();\n tr.removeClass('shown');\n }\n else {\n // Open this row\n row.child( format(row.data()) ).show();\n tr.addClass('shown');\n }\n });\n\n $(this.refs.main).on(\"click\", \".activeBtn_soldout\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_soldout\", val);\n\n productAction.onlineUpdateProductByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", \".activeBtn_active\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_active\", val);\n\n productAction.onlineUpdateProductByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n var state = this;\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการสินค้าออน์ไลน์แต่ละสาขา

\n \n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { productAction } from \"../../../../_actions\";\nimport {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';\nimport '../../../../../node_modules/react-bootstrap-table/dist/react-bootstrap-table-all.min.css';\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport Select from 'react-select';\nimport ReactModal from 'react-modal';\n\nlet modalAlert;\nconst customStyles = {\n content : {\n top: '40px',\n left: '20%',\n width: '60%',\n height: '68%',\n padding: '0px'\n }\n};\n\nexport class Product_Online_Branch_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n status: '',\n data_product:{},\n showModal: false,\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.handleOpenModal = this.handleOpenModal.bind(this);\n this.handleCloseModal = this.handleCloseModal.bind(this);\n }\n\n componentDidMount() {\n let ad_b_status = localStorage.getItem('ad_b_status');\n let ad_b_id = localStorage.getItem('ad_b_id');\n const {\n match: { params }\n } = this.props;\n this.onlineListBranchByProduct(params.pr_online_id,ad_b_status,ad_b_id);\n this.setState({\n pr_online_id: params.pr_online_id\n })\n }\n\n onlineListBranchByProduct(pr_online_id,ad_b_status,ad_b_id) {\n var data_table = []\n productAction.onlineListBranchByProduct(pr_online_id,ad_b_status,ad_b_id).then(e => {\n if (e.isSuccess === true) {\n \n for(var i in e.data[0].data_branch){\n var btn_edit = ''\n let isStatus_is_soldout = ''\n let isStatus_is_active = ''\n let isStatus_b_status = ''\n\n if(e.data[0].data_branch[i].is_active==1){\n isStatus_is_active = เปิดใช้งาน\n }else{\n isStatus_is_active = ปิดใช้งาน\n }\n\n if(e.data[0].data_branch[i].is_soldout==0){\n isStatus_is_soldout = มีสินค้า\n }else{\n isStatus_is_soldout = สินค้าหมด\n }\n\n if(e.data[0].data_branch[i].b_status==1){\n isStatus_b_status = สาขาเปิดปกติ\n if(e.data[0].data_branch[i].b_orderonline_status==1){\n btn_edit = \n }else{\n btn_edit = \n }\n }else{\n if(e.data[0].data_branch[i].pr_online_branch_type === 'ems'){\n if(e.data[0].data_branch[i].is_active === 1){\n isStatus_b_status = สาขาเปิดปกติ\n btn_edit = \n }else{\n isStatus_b_status = สาขาปิด\n btn_edit = \n }\n }else{ //delivery\n isStatus_b_status = สาขาปิด\n btn_edit = \n }\n }\n\n data_table.push(\n \n \n \n \n \n \n \n \n \n )\n \n }\n\n this.setState({\n data_product : e.data[0],\n data_table_branch: data_table\n });\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/order-online/product/branch/edit/${this.state.pr_online_id}`;\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"pr_online_branch_price\"]) {\n formIsValid = false;\n errors[\"pr_online_branch_price\"] = \"*กรุณากรอกราคาสินค้า\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n const inputBody = {\n pr_online_branch_price: this.state.fields[\"pr_online_branch_price\"],\n is_soldout: this.state[\"status_is_soldout\"],\n is_active: this.state[\"status_is_active\"],\n }\n\n productAction.onlineUpdateProductByProductID(inputBody, this.state.fields[\"pr_online_branch_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n\n const name = e.target.name;\n\n \n if(name == \"is_active\"){\n this.setState({ is_active: !this.state.is_active })\n if(this.state.is_active == true){\n this.setState({ status_is_active: '0' })\n }else{\n this.setState({ status_is_active: '1' })\n }\n }\n\n if(name == \"is_soldout\"){\n this.setState({ is_soldout: !this.state.is_soldout })\n\n if(this.state.is_soldout == true){\n this.setState({ status_is_soldout: '0' })\n }else{\n this.setState({ status_is_soldout: '1' })\n }\n }\n }\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleOpenModal (e) {\n this.onlineGetProductByProductBranchID(e.target.value)\n this.setState({ showModal: true, });\n }\n \n handleCloseModal () {\n this.setState({ showModal: false });\n }\n\n onlineGetProductByProductBranchID(pr_online_branch_id) {\n productAction.onlineGetProductByProductBranchID(pr_online_branch_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n pr_online_branch_id : e.data.pr_online_branch_id,\n pr_online_branch_price: e.data.pr_online_branch_price,\n pr_online_branch_type: e.data.pr_online_branch_type,\n is_active: e.data.is_active,\n is_soldout: e.data.is_soldout,\n b_name: e.data.b_name,\n b_code: e.data.b_code,\n pr_online_name: e.data.pr_online_name,\n pr_online_code: e.data.pr_online_code\n }\n\n });\n\n this.setState({\n is_active: String(this.state.fields.is_active) == \"1\",\n is_soldout: String(this.state.fields.is_soldout) == \"1\",\n status_eatin: this.state.fields.pr_branch_eatin,\n status_takehome: this.state.fields.pr_branch_takehome,\n status_is_active: this.state.fields.is_active,\n status_is_soldout: this.state.fields.is_soldout\n });\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n render() {\n console.log(this.state.is_soldout);\n return (\n
\n
\n
\n

แก้ไขสินค้าออนไลน์แต่ละสาขา

\n
\n
\n
\n
\n รหัสสินค้า:\n
\n
\n {this.state.data_product.pr_online_code}\n
\n
\n
\n
\n ชื่อสินค้า:\n
\n
\n {this.state.data_product.pr_online_name}\n
\n
\n
\n
\n สถานะแสดงสินค้า\n
\n
\n {(this.state.data_product.is_active == 1 ?
ใช้งาน
:
ไม่ใช้งาน
)}\n
\n
\n\n
\n
{parseInt(i)+1}{(e.data[0].data_branch[i].b_name != null ? e.data[0].data_branch[i].b_name : e.data[0].data_branch[i].pr_online_branch_type)}{e.data[0].data_branch[i].pr_online_branch_price}\n {isStatus_b_status}\n \n {isStatus_is_soldout}\n \n {isStatus_is_active}\n {btn_edit}
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data_table_branch}\n \n
#การจัดส่ง/ชื่อสาขาราคาสถานะสาขาสถานะ soldoutสถานะแสดงสินค้า
\n\n \n
\n
\n\n \n \n this.handleSubmit(e)}\n >\n
\n \n

แก้ไขข้อมูลสินค้าแต่ละสาขา

\n
\n
\n
\n \n
\n

({this.state.fields.pr_online_code}) {this.state.fields.pr_online_name}

\n
\n
\n
\n \n
\n

{(this.state.fields.b_code != null ? `(${this.state.fields.b_code})` + this.state.fields.b_name : this.state.fields.pr_online_branch_type)}

\n
\n
\n
\n \n
\n \n
{this.state.errors.pr_online_branch_price}
\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n \n
\n \n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { productAction } from \"../../../../_actions\";\nimport {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';\nimport '../../../../../node_modules/react-bootstrap-table/dist/react-bootstrap-table-all.min.css';\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport Select from 'react-select';\nimport ReactModal from 'react-modal';\n\nlet modalAlert;\nconst customStyles = {\n content : {\n top: '40px',\n left: '20%',\n width: '60%',\n height: '68%',\n padding: '0px'\n }\n};\n\nexport class Product_Online_Branch_Edit_By_Code extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {\n b_code: \"\"\n },\n errors: {},\n showModal: false,\n status: 0,\n status_ems: \"\",\n status_gift: \"\",\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n \n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/order-online/product/branch`;\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"pr_online_code\"]) {\n formIsValid = false;\n errors[\"pr_online_code\"] = \"*กรุณากรอกรหัสสินค้า\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n\n let inputBody = {\n pr_online_code: this.state.fields[\"pr_online_code\"],\n b_code: this.state.fields[\"b_code\"],\n b_id: (this.state[\"status_ems\"] || this.state[\"status_gift\"] ? 0 : \"\"),\n is_active: this.state[\"status\"],\n is_ems: this.state[\"status_ems\"] ? 1 : 0,\n is_gift: this.state[\"status_gift\"] ? 1 : 0\n }\n console.log('inputBody: ', inputBody);\n productAction.updateProductByBranchCode(inputBody)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleOpenModal (e) {\n this.setState({ showModal: true, });\n }\n \n handleCloseModal () {\n this.setState({ showModal: false });\n }\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n \n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n if(this.state.isStatus == true){\n this.setState({ status: 0 })\n }else{\n this.setState({ status: 1 })\n }\n }\n \n if(name == \"isEMS\"){\n this.setState({ isEMS: !this.state.isEMS })\n if(this.state.isEMS == true){\n this.setState({ status_ems: 0 })\n }else{\n this.setState({ status_ems: 1 })\n }\n }\n if(name == \"isGift\"){\n this.setState({ isGift: !this.state.isGift })\n if(this.state.isGift == true){\n this.setState({ status_gift: 0 })\n }else{\n this.setState({ status_gift: 1 })\n }\n }\n }\n\n render() {\n return (\n
\n
\n
\n

จัดการสินค้าแต่ละสาขาตามรหัสสินค้า

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.pr_online_code}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.b_code}
\n
\n
\n
\n \n
\n \n
\n \n
\n \n
\n
\n \n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { productAction } from \"../../../../_actions\";\nimport \"../product.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Product_AddOn_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"pratr_cat_id\"\n },\n {\n title: \"ชื่อ\",\n class: \"text-center\",\n data: \"cate_name_th\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"pratr_cat_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: true\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product_v2}/api/product/attribute`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[3, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n \n });\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n var formData = new FormData();\n formData.append(\"is_active\", fval);\n\n productAction.updateProductAttribute(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var attrcate_id = $(this).data(\"content\");\n\n modalAlert = () => (\n onConfirmDelete(attrcate_id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(attrcate_id) {\n productAction.deleteProductAttribute(attrcate_id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n $(this.refs.main).on(\"click\", \".activeBtn_soldout\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_soldout\", val);\n\n productAction.onlineUpdateProductByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", \".activeBtn_active\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_active\", val);\n\n productAction.onlineUpdateProductByProductID(formData, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n // $(this.refs.main).on(\"click\", 'button[name=\"add_addon_btn\"]', function() {\n // window.location.href = `/backoffice/order-online/product/add-on/create`;\n\n // state.setState({ show: true, modal: modalAlert() });\n // });\n\n var state = this;\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการคุณสมบัตรสินค้าออนไลน์

\n \n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport Select from 'react-select';\n\nimport { productAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../product.css\";\nimport $ from 'jquery'\n\nlet modalAlert;\n\nexport class Product_AddOn_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n // messageCreate: '',\n fields: {},\n errors: {},\n // typeProgram: null,2\n // selectType: null,\n isStatus: false,\n isRequired: false,\n status: 0,\n required: 0,\n attrID: 0,\n addonElem: [\n {\n id: 1,\n attribute_name_th: '',\n attribute_name_en: '',\n attribute_sort: 0,\n attribute_price: 0.00, \n }\n ],\n attrDetail: null \n // disabled:true\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.handleIncreaseAddOn = this.handleIncreaseAddOn.bind(this);\n this.handleDecreaseAddOn = this.handleDecreaseAddOn.bind(this);\n }\n\n componentDidMount() {\n let {id} = this.props.match.params;\n this.setState({attrID: id})\n\n productAction.getProductAttributeByID(id)\n .then(res => {\n if(res.isSuccess === true)\n {\n this.setState({attrDetail: res.data});\n this.pageInit();\n }\n })\n }\n\n pageInit(){\n let {attrDetail, fields} = this.state;\n let attrCateData = attrDetail[0];\n\n $('input[name=\"cate_name_th\"]').val(attrCateData.cate_name_th);\n $('input[name=\"cate_name_en\"]').val(attrCateData.cate_name_en);\n $('input[name=\"limit_select\"]').val(attrCateData.limit_select);\n\n fields[\"cate_name_th\"] = attrCateData.cate_name_th;\n fields[\"cate_name_en\"] = attrCateData.cate_name_en;\n fields[\"limit_select\"] = attrCateData.limit_select;\n this.setState({\n isStatus: attrCateData.is_active === 1 ? true : false,\n status: attrCateData.is_active,\n isRequired: attrCateData.is_required === 1 ? true : false,\n required: attrCateData.is_required,\n });\n\n let newAddonElem = [];\n if(attrDetail.length > 0)\n {\n attrDetail.map(async (item, i) => {\n let id = i+1;\n let newAttrSet = {\n id: id,\n attribute_name_th: item.attribute_name_th,\n attribute_name_en: item.attribute_name_en,\n attribute_sort: item.attribute_sort,\n attribute_price: item.attribute_price\n }\n newAddonElem.push(newAttrSet);\n\n if(Number(i) === attrDetail.length-1)\n {\n this.setState({\n addonElem: newAddonElem\n });\n\n await this.attributeSetInit();\n }\n })\n }\n }\n\n attributeSetInit()\n {\n return new Promise(async resolve => {\n let {attrDetail} = this.state;\n if(attrDetail.length > 0)\n {\n attrDetail.forEach(async (item, i) => {\n let id = i+1;\n $(`#attr_sort_${id}`).val(item.attribute_sort);\n $(`#attr_name_th_${id}`).val(item.attribute_name_th);\n $(`#attr_name_en_${id}`).val(item.attribute_name_en);\n $(`#attr_price_${id}`).val(item.attribute_price);\n })\n }\n resolve(); \n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleIncreaseAddOn()\n {\n let {addonElem} = this.state;\n\n let newAddonElem = {\n id: addonElem[addonElem.length-1].id+1,\n attribute_name_th: '',\n attribute_name_en: '',\n attribute_price: 0.00,\n attribute_sort: addonElem[addonElem.length-1].id+1\n }\n addonElem.push(newAddonElem)\n \n this.setState({\n addonElem: addonElem\n })\n }\n\n handleDecreaseAddOn()\n {\n let {addonElem} = this.state;\n\n if(addonElem.length > 1)\n {\n let newAddonElem = addonElem.slice(0, addonElem.length-1);\n this.setState({\n addonElem: newAddonElem\n })\n }\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/order-online/product/add-on\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let addonElem = this.state.addonElem;\n let errors = {};\n let formIsValid = true;\n\n console.log(\"fields: \", fields);\n console.log('addonElem: ', addonElem);\n\n if (!fields[\"cate_name_th\"]) {\n formIsValid = false;\n errors[\"cate_name_th\"] = \"*ชื่อหมวดส่วนเสริม(TH)\";\n }\n if (!fields[\"cate_name_en\"]) {\n formIsValid = false;\n errors[\"cate_name_en\"] = \"**ชื่อหมวดส่วนเสริม(EN)\";\n }\n if (!fields[\"limit_select\"]) {\n formIsValid = false;\n errors[\"limit_select\"] = \"**จำนวนที่เลือกได้ / ส่วนเสริม\";\n }\n\n addonElem.map((item) => {\n if(!item.attribute_name_en || !item.attribute_name_th || !item.attribute_sort)\n {\n formIsValid = false;\n errors[`attrset_${item.id}`] = \"**กรอกให้ครบถ้วน\";\n }\n })\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let {fields, addonElem, status, required, attrID} = this.state;\n \n addonElem = addonElem.map((item, i) => {\n delete item.id;\n item.attribute_sort = i+1;\n return item\n })\n\n let reqData = {\n ...fields,\n is_active: status,\n is_required: required,\n attribute_set: addonElem\n }\n\n console.log('reqData: ', reqData);\n\n productAction.updateProductAttributeDetail(reqData, attrID).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n handleChangeAttr = (e, index) => {\n let { addonElem } = this.state;\n let name = e.target.name;\n let value = e.target.value;\n \n if(name === 'attribute_name_th')\n {\n addonElem[index].attribute_name_th = value;\n }\n if(name === 'attribute_name_en')\n {\n addonElem[index].attribute_name_en = value;\n }\n if(name === 'attribute_price')\n {\n addonElem[index].attribute_price = Number(value);\n }\n if(name === 'attribute_sort')\n {\n addonElem[index].attribute_sort = Number(value);\n }\n\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n if(this.state.isStatus == true){\n this.setState({ status: 0 })\n }else{\n this.setState({ status: 1 })\n }\n }\n if(name === \"isRequired\")\n {\n this.setState({ isRequired: !this.state.isRequired })\n if(this.state.isRequired == true){\n this.setState({ required: 0 })\n }else{\n this.setState({ required: 1 })\n }\n }\n }\n\n onDragStart = (e, index) => {\n e.dataTransfer.setData('index', index);\n };\n\n onDragOver = (e) => {\n e.preventDefault();\n };\n\n onDrop = (e, targetIndex) => {\n e.preventDefault();\n const sourceIndex = e.dataTransfer.getData('index');\n const { addonElem } = this.state;\n let reorderedAddonElem = [...addonElem];\n const [draggedItem] = reorderedAddonElem.splice(sourceIndex, 1);\n reorderedAddonElem.splice(targetIndex, 0, draggedItem);\n\n this.setState({ addonElem: reorderedAddonElem });\n };\n\n render() {\n let {addonElem} = this.state;\n\n return (\n\n
\n
\n
\n

เพิ่มคุณสมบัติสินค้าออนไลน์

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n\n
\n
\n \n
\n \n
{this.state.errors.cate_name_th}
\n
\n
\n
\n \n
\n \n
{this.state.errors.cate_name_en}
\n
\n
\n
\n \n
\n \n
{this.state.errors.limit_select}
\n
\n
\n
\n\n
\n

รายละเอียดคุณสมบัติ (drag & drop)

\n\n {addonElem.length > 0 && addonElem.map((item, i) => \n
this.onDragStart(e, i)}\n onDragOver={this.onDragOver}\n onDrop={(e) => this.onDrop(e, i)}\n >\n {/*
#{item.id}
*/}\n
\n
\n \n
\n \n \n \n {/* this.handleChangeAttr(e, i)}\n /> */}\n
\n
\n
\n \n
\n this.handleChangeAttr(e, i)}\n />\n
\n
{this.state.errors[`attrset_${item.id}`]}
\n
\n
\n \n
\n this.handleChangeAttr(e, i)}\n />\n
\n
\n
\n \n
\n this.handleChangeAttr(e, i)}\n />\n
\n
\n
\n
\n )} \n\n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n \n
\n
\n

(บังคับผู้ใช้เลือกอยากน้อย 1 รายการ)

\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport Select from 'react-select';\n\nimport { productAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../product.css\";\n\nlet modalAlert;\n\nexport class Product_AddOn_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n // messageCreate: '',\n fields: {},\n errors: {},\n // typeProgram: null,2\n // selectType: null,\n isStatus: false,\n status: 0,\n isRequired: false,\n required: 0,\n addonElem: [\n {\n id: 1,\n attribute_name_th: '',\n attribute_name_en: '',\n attribute_sort: 1,\n attribute_price: 0.00\n }\n ]\n // disabled:true\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.handleIncreaseAddOn = this.handleIncreaseAddOn.bind(this);\n this.handleDecreaseAddOn = this.handleDecreaseAddOn.bind(this);\n }\n\n componentDidMount() {\n \n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleIncreaseAddOn()\n {\n let {addonElem} = this.state;\n\n let newAddonElem = {\n id: addonElem[addonElem.length-1].id+1,\n attribute_name_th: '',\n attribute_name_en: '',\n attribute_price: 0.00,\n attribute_sort: addonElem[addonElem.length-1].id+1\n }\n addonElem.push(newAddonElem)\n \n this.setState({\n addonElem: addonElem\n })\n }\n handleDecreaseAddOn()\n {\n let {addonElem} = this.state;\n\n if(addonElem.length > 1)\n {\n let newAddonElem = addonElem.slice(0, addonElem.length-1);\n this.setState({\n addonElem: newAddonElem\n })\n }\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/order-online/product/add-on\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let addonElem = this.state.addonElem;\n let errors = {};\n let formIsValid = true;\n\n console.log('fields: ', fields);\n console.log('addonElem: ', addonElem);\n\n if (!fields[\"cate_name_th\"]) {\n formIsValid = false;\n errors[\"cate_name_th\"] = \"*ชื่อหมวดส่วนเสริม(TH)\";\n }\n if (!fields[\"cate_name_en\"]) {\n formIsValid = false;\n errors[\"cate_name_en\"] = \"**ชื่อหมวดส่วนเสริม(EN)\";\n }\n if (!fields[\"limit_select\"]) {\n formIsValid = false;\n errors[\"limit_select\"] = \"**จำนวนที่เลือกได้ / ส่วนเสริม\";\n }\n\n addonElem.map((item) => {\n if(!item.attribute_name_en || !item.attribute_name_th || !item.attribute_sort)\n {\n formIsValid = false;\n errors[`attrset_${item.id}`] = \"**กรอกให้ครบถ้วน\";\n }\n })\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let {fields, addonElem, status, required} = this.state;\n \n addonElem = addonElem.map((item, i) => {\n delete item.id;\n item.attribute_sort = i+1;\n return item\n })\n\n let reqData = {\n ...fields,\n is_active: status,\n is_required: required,\n attribute_set: addonElem,\n }\n\n productAction.createProductAttribute(reqData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n handleChangeAttr = (e, index) => {\n let { addonElem } = this.state;\n let name = e.target.name;\n let value = e.target.value;\n \n if(name === 'attribute_name_th')\n {\n addonElem[index].attribute_name_th = value;\n }\n if(name === 'attribute_name_en')\n {\n addonElem[index].attribute_name_en = value;\n }\n if(name === 'attribute_price')\n {\n addonElem[index].attribute_price = Number(value);\n }\n if(name === 'attribute_sort')\n {\n addonElem[index].attribute_sort = Number(value);\n }\n\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n if(this.state.isStatus == true){\n this.setState({ status: 0 })\n }else{\n this.setState({ status: 1 })\n }\n }\n if(name === \"isRequired\")\n {\n this.setState({ isRequired: !this.state.isRequired })\n if(this.state.isRequired == true){\n this.setState({ required: 0 })\n }else{\n this.setState({ required: 1 })\n }\n }\n }\n\n onDragStart = (e, index) => {\n e.dataTransfer.setData('index', index);\n };\n\n onDragOver = (e) => {\n e.preventDefault();\n };\n\n onDrop = (e, targetIndex) => {\n e.preventDefault();\n const sourceIndex = e.dataTransfer.getData('index');\n const { addonElem } = this.state;\n let reorderedAddonElem = [...addonElem];\n const [draggedItem] = reorderedAddonElem.splice(sourceIndex, 1);\n reorderedAddonElem.splice(targetIndex, 0, draggedItem);\n\n this.setState({ addonElem: reorderedAddonElem });\n };\n\n render() {\n let {addonElem} = this.state;\n\n return (\n\n
\n
\n
\n

เพิ่มคุณสมบัติสินค้าออนไลน์

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n\n
\n
\n \n
\n \n
{this.state.errors.cate_name_th}
\n
\n
\n
\n \n
\n \n
{this.state.errors.cate_name_en}
\n
\n
\n
\n \n
\n \n
{this.state.errors.limit_select}
\n
\n
\n
\n\n
\n

รายละเอียดคุณสมบัติ (drag & drop)

\n\n {addonElem.length > 0 && addonElem.map((item, i) => \n
this.onDragStart(e, i)}\n onDragOver={this.onDragOver}\n onDrop={(e) => this.onDrop(e, i)}\n >\n {/*
#{item.id}
*/}\n
\n
\n \n
\n \n \n \n {/* this.handleChangeAttr(e, i)}\n /> */}\n
\n
\n \n
\n this.handleChangeAttr(e, i)}\n />\n
\n
{this.state.errors[`attrset_${item.id}`]}
\n
\n
\n \n
\n this.handleChangeAttr(e, i)}\n />\n
\n
\n
\n \n
\n this.handleChangeAttr(e, i)}\n />\n
\n
\n
\n
\n )} \n\n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n \n
\n
\n

(บังคับผู้ใช้เลือกอยากน้อย 1 รายการ)

\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { productAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport ReactExport from 'react-data-export';\nimport { promotionAction } from \"../../../../_actions/promotion.action\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-online-product'\n\nexport class Promotion_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"promo_list_id\"\n },\n {\n title: \"รหัสโปรโมชั่น\",\n class: \"text-center\",\n data: \"promo_list_code\"\n },\n {\n title: \"เงื่อนไขโปรโมชั่น\",\n class: \"text-center\",\n data: \"promo_cate_name\"\n },\n {\n title: \"หมวดหมู่\",\n class: \"text-center\",\n data: \"pr_category_name\"\n },\n {\n title: \"ราคา(ซื้อครบ)\",\n class: \"text-center\",\n data: \"purchase_price\"\n },\n {\n title: \"ราคา(โปรโมชั่น)\",\n class: \"text-center\",\n data: \"discount_price\"\n },\n {\n title: \"สถานะโปรโมชั่น\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"วันที่มีผล\",\n class: \"text-center\",\n data: \"effective_date\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"promo_list_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: true\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/api/product_promotion`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[8, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_active\", fval);\n\n promotionAction.updatePromotionById(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n promotionAction.deletePromotionById(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataProduct \n\n for(var i in data){\n dataExcel.push(\n [\n {value: i},\n {value: data[i].pr_online_image},\n {value: data[i].pr_online_code},\n {value: data[i].pr_online_name},\n {value: data[i].pr_online_category_name},\n {value: data[i].pr_online_price},\n {value: data[i].pr_online_sort},\n {value: (data[i].is_active == 1 ? 'active' : 'inactive')}\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"URL รูปภาพ\", width: {wch: 40}},//char width \n {title: \"รหัสสินค้า\", width: {wch: 20}},\n {title: \"ชื่อสินค้า (TH)\", width: {wch: 40}},\n {title: \"หมวดหมู่\", width: {wch: 20}},\n {title: \"ราคาสินค้าตั้งต้น\", width: {wch: 10}},\n {title: \"ลำดับที่แสดง\", width: {wch: 15}},\n {title: \"สถานะ\"},\n ],\n data: dataExcel\n \n }\n ];\n\n return (\n
\n
\n
\n

จัดการโปรโมชั่นสินค้า

\n
\n \n \n เพิ่มโปรโมชั่น\n \n \n\n {/* \n \n Import Excel\n \n \n\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n */}\n
\n
\n
\n
\n \n \n

ข้อควรระวัง: รายการที่เงื่อนไขเหมือนกันสามารถเปิดสถานะใช้งานพร้อมกันได้มากกว่าหนึ่งรายการ อาจทำให้การทำงานของโปรโมชั่นทับซ้อน

\n {this.state.modal}\n \n );\n }\n}\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const promotionAction = {\n getPromotionList,\n updatePromotionById,\n deletePromotionById,\n listPromoCategory,\n createPromotion,\n getPromotionById,\n listPaymentPromoCategory,\n listPaymentPromoFreeEarnCategory,\n getActiveRewardsDropdown,\n createPaymentPromotion,\n getPaymentPromotionById,\n updatePaymentPromotionById,\n updatePaymentPromotionWithoutGiftById,\n deletePaymentPromotionById\n};\n\n// Product Promotion\nfunction createPromotion(formData) {\n return axios.post(`${Base_API.product}/api/product_promotion`, formData).then(res => {\n return res.data;\n });\n}\nfunction getPromotionList() {\n return axios.get(`${Base_API.product}/api/product_promotion`).then(res => {\n return res.data;\n });\n}\nfunction updatePromotionById(formData, promo_list_id) {\n return axios.put(`${Base_API.product}/api/product_promotion/${promo_list_id}`, formData).then(res => {\n return res.data;\n });\n}\nfunction deletePromotionById(promo_list_id) {\n return axios.delete(`${Base_API.product}/api/product_promotion/${promo_list_id}`).then(res => {\n return res.data;\n });\n}\nfunction listPromoCategory() {\n return axios.get(`${Base_API.product}/api/product_promotion_category`).then(res => {\n return res.data;\n });\n}\nfunction getPromotionById(promo_list_id) {\n return axios.get(`${Base_API.product}/api/product_promotion/${promo_list_id}`).then(res => {\n return res.data;\n });\n}\n// Payment Promotion\nfunction listPaymentPromoCategory() {\n return axios.get(`${Base_API.product}/api/payment_promotion_category`).then(res => {\n return res.data;\n });\n}\nfunction listPaymentPromoFreeEarnCategory() {\n return axios.get(`${Base_API.product}/api/payment_promotion_free_earn_category`).then(res => {\n return res.data;\n });\n}\nfunction getActiveRewardsDropdown() {\n return axios.get(`${Base_API.product}/api/getActiveRewardsDropdown`).then(res => {\n return res.data;\n });\n}\nfunction createPaymentPromotion(formData) {\n return axios.post(`${Base_API.product}/api/payment_promotion`, formData).then(res => {\n return res.data;\n });\n}\nfunction getPaymentPromotionById(promo_list_id) {\n return axios.get(`${Base_API.product}/api/payment_promotion/${promo_list_id}`).then(res => {\n return res.data;\n });\n}\nfunction updatePaymentPromotionById(formData, promo_list_id) {\n return axios.put(`${Base_API.product}/api/payment_promotion/${promo_list_id}`, formData).then(res => {\n return res.data;\n });\n}\nfunction updatePaymentPromotionWithoutGiftById(formData, promo_list_id) {\n return axios.put(`${Base_API.product}/api/payment_promotion/without_gift/${promo_list_id}`, formData).then(res => {\n return res.data;\n });\n}\nfunction deletePaymentPromotionById(promo_list_id) {\n return axios.delete(`${Base_API.product}/api/payment_promotion/${promo_list_id}`).then(res => {\n return res.data;\n });\n}","import React from \"react\";\nimport { activityAction, productAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"./activity.css\";\nimport Select from 'react-select';\nimport { promotionAction } from \"../../../../_actions/promotion.action\";\nimport moment from \"moment-timezone\";\n\nlet modalAlert;\n\nexport class Create_Promotion extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n is_active: 0,\n },\n errors: {},\n promoCate: [],\n productCate: [],\n discountCate: [{label: 'เปอร์เซ็น', value: 'percentage'}, {label: 'บาท', value: 'baht'}] \n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n promotionAction.listPromoCategory().then(res => {\n let options = res.data.map(function (item) {\n return { value: item.promo_cate_code, label: item.promo_cate_name };\n })\n this.setState({\n promoCate: options\n })\n })\n productAction.getCategoryProductListAll().then(res => {\n let options = res.data.map(function (item) {\n return { value: item.pr_category_id, label: item.pr_category_name };\n })\n this.setState({\n productCate: options\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/product/promotion\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"promo_list_code\"]) {\n formIsValid = false;\n errors[\"promo_list_code\"] = \"*กรุณากรอกรหัสโปรโมชั่น\";\n }\n if (!fields[\"promo_cate_code\"]) {\n formIsValid = false;\n errors[\"promo_cate_code\"] = \"*กรุณาระบุเงื่อนไขโปรโมชั่น\";\n }\n if (!fields[\"discount_price\"]) {\n formIsValid = false;\n errors[\"discount_price\"] = \"*กรุณากรอกราคา\";\n }\n if (!fields[\"start_date\"]) {\n formIsValid = false;\n errors[\"start_date\"] = \"*กรุณาระบุวันเริ่มต้นโปรโมชั่น\";\n }\n if (!fields[\"end_date\"]) {\n formIsValid = false;\n errors[\"end_date\"] = \"*กรุณาระบุวันสิ้นสุดโปรโมชั่น\";\n }\n if (fields[\"promo_cate_code\"] === 'PMCT001') { // ซื้อสินค้าในหมวดเดียวกัน X ชิ้นได้ราคาพิเศษ Y บาท\n if(!fields[\"pr_online_category_id\"])\n {\n formIsValid = false;\n errors[\"pr_online_category_id\"] = \"*กรุณาระบุหมวดหมู่สินค้า\";\n }\n if (!fields[\"quantity\"]) {\n formIsValid = false;\n errors[\"quantity\"] = \"*กรุณากรอกจำนวนสินค้าที่ต้องซื้อ\";\n }\n }\n if (fields[\"promo_cate_code\"] === 'PMCT002') { // ซื้อครบ X บาทลด Y (บาท,%)\n if(!fields[\"purchase_price\"])\n {\n formIsValid = false;\n errors[\"purchase_price\"] = \"*กรุณากรอกราคาซื้อ\";\n }\n if(!fields[\"discount_type\"])\n {\n formIsValid = false;\n errors[\"discount_type\"] = \"*กรุณาระบุรูปแบบการลด\";\n }\n }\n \n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let reqPayload = this.getReqPayload();\n promotionAction.createPromotion(reqPayload).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n getReqPayload = () => {\n let {fields} = this.state;\n let resData;\n if(fields[\"promo_cate_code\"] === \"PMCT001\") // ซื้อสินค้าในหมวดเดียวกัน X ชิ้นได้ราคาพิเศษ Y บาท\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"pr_online_category_id\": Number(fields[\"pr_online_category_id\"]),\n \"quantity\": Number(fields[\"quantity\"]),\n \"discount_price\": parseFloat(fields[\"discount_price\"]).toFixed(2),\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n if(fields[\"promo_cate_code\"] === \"PMCT002\") // ซื้อครบ X บาทลด Y (บาท,%)\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"purchase_price\": parseFloat(fields[\"purchase_price\"]).toFixed(2),\n \"discount_price\": parseFloat(fields[\"discount_price\"]).toFixed(2),\n \"discount_type\": fields[\"discount_type\"],\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n return resData;\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n let name = e.target.name;\n let value = e.target.value;\n if(name === 'promo_list_code')\n {\n fields[name] = String(value).toUpperCase();\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }else\n {\n fields[name] = value;\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n let {promoCate, productCate, discountCate, fields} = this.state;\n\n return (\n
\n
\n
\n

เพิ่มโปรโมชั่นสินค้า

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.promo_list_code}
\n
\n \n \n
\n \n
{this.state.errors.promo_cate_code}
\n
\n
\n\n {fields[\"promo_cate_code\"] === 'PMCT001'\n &&\n
\n \n
\n \n
{this.state.errors.pr_online_category_id}
\n
\n
\n }\n {fields[\"promo_cate_code\"] === 'PMCT001' &&\n
\n \n
\n \n
{this.state.errors.quantity}
\n
\n\n \n
\n \n
{this.state.errors.discount_price}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PMCT002' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n {fields[\"promo_cate_code\"] === 'PMCT002' && \n
\n \n
\n \n
{this.state.errors.discount_type}
\n
\n
\n \n \n {fields[\"discount_type\"] === 'percentage' ? '%' : fields[\"discount_type\"] === 'baht' ? 'บาท' : ''}\n \n
{this.state.errors.discount_price}
\n
\n
\n }\n\n
\n \n
\n \n
{this.state.errors.start_date}
\n
\n\n \n
\n \n
{this.state.errors.end_date}
\n
\n
\n\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction, productAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"./activity.css\";\nimport Select from 'react-select';\nimport { promotionAction } from \"../../../../_actions/promotion.action\";\nimport moment from \"moment-timezone\";\n\nlet modalAlert;\n\nexport class Edit_Promotion extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n is_active: 0,\n },\n errors: {},\n promoCate: [],\n productCate: [],\n promo_list_id: this.props.match.params.promo_list_id,\n selectData: {},\n discountCate: [{label: 'เปอร์เซ็น', value: 'percentage'}, {label: 'บาท', value: 'baht'}] \n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n async componentDidMount() {\n await this.fetchInit();\n this.initialInputData();\n }\n\n fetchInit() {\n return new Promise(async resolve => {\n let {promo_list_id} = this.state;\n const promoCategoryPromise = promotionAction.listPromoCategory();\n const productCategoryPromise = productAction.getCategoryProductListAll();\n const promotionByIdPromise = promotionAction.getPromotionById(promo_list_id);\n \n const [promoCategoryRes, productCategoryRes, promotionByIdRes] = await Promise.all([\n promoCategoryPromise,\n productCategoryPromise,\n promotionByIdPromise\n ]);\n \n const promoCateOptions = promoCategoryRes.data.map(item => ({\n value: item.promo_cate_code,\n label: item.promo_cate_name\n }));\n \n const productCateOptions = productCategoryRes.data.map(item => ({\n value: item.pr_category_id,\n label: item.pr_category_name\n }));\n\n const fieldsData = promotionByIdRes.data;\n \n this.setState({\n promoCate: promoCateOptions,\n productCate: productCateOptions,\n fields: fieldsData\n }, () => {\n // Once state is updated, resolve the promise\n resolve();\n });\n });\n }\n\n initialInputData() {\n let {promoCate, productCate, fields, selectData, discountCate} = this.state;\n let promoCateOptions = promoCate.filter((item) => item.value === fields[\"promo_cate_code\"])\n let productCateOptions = productCate.filter((item) => item.value === fields[\"pr_online_category_id\"])\n let discountCateOptions = discountCate.filter((item) => item.value === fields[\"discount_type\"])\n this.setState({\n selectData: {...selectData, promo_cate_code: promoCateOptions, pr_online_category_id: productCateOptions, discount_type: discountCateOptions},\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/product/promotion\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"promo_list_code\"]) {\n formIsValid = false;\n errors[\"promo_list_code\"] = \"*กรุณากรอกรหัสโปรโมชั่น\";\n }\n if (!fields[\"promo_cate_code\"]) {\n formIsValid = false;\n errors[\"promo_cate_code\"] = \"*กรุณาระบุเงื่อนไขโปรโมชั่น\";\n }\n if (!fields[\"discount_price\"]) {\n formIsValid = false;\n errors[\"discount_price\"] = \"*กรุณากรอกราคา\";\n }\n if (!fields[\"start_date\"]) {\n formIsValid = false;\n errors[\"start_date\"] = \"*กรุณาระบุวันเริ่มต้นโปรโมชั่น\";\n }\n if (!fields[\"end_date\"]) {\n formIsValid = false;\n errors[\"end_date\"] = \"*กรุณาระบุวันสิ้นสุดโปรโมชั่น\";\n }\n if (fields[\"promo_cate_code\"] === 'PMCT001') { // ซื้อสินค้าในหมวดเดียวกัน X ชิ้นได้ราคาพิเศษ Y บาท\n if(!fields[\"pr_online_category_id\"])\n {\n formIsValid = false;\n errors[\"pr_online_category_id\"] = \"*กรุณาระบุหมวดหมู่สินค้า\";\n }\n if (!fields[\"quantity\"]) {\n formIsValid = false;\n errors[\"quantity\"] = \"*กรุณากรอกจำนวนสินค้าที่ต้องซื้อ\";\n }\n }\n if (fields[\"promo_cate_code\"] === 'PMCT002') { // ซื้อครบ X บาทลด Y (บาท,%)\n if(!fields[\"purchase_price\"])\n {\n formIsValid = false;\n errors[\"purchase_price\"] = \"*กรุณากรอกราคาซื้อ\";\n }\n if(!fields[\"discount_type\"])\n {\n formIsValid = false;\n errors[\"discount_type\"] = \"*กรุณาระบุรูปแบบการลด\";\n }\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let {promo_list_id} = this.state;\n let inputBody = this.getReqPayload();\n promotionAction.updatePromotionById(inputBody, promo_list_id).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n getReqPayload = () => {\n let {fields} = this.state;\n let resData;\n if(fields[\"promo_cate_code\"] === \"PMCT001\") // ซื้อสินค้าในหมวดเดียวกัน X ชิ้นได้ราคาพิเศษ Y บาท\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"pr_online_category_id\": Number(fields[\"pr_online_category_id\"]),\n \"quantity\": Number(fields[\"quantity\"]),\n \"discount_price\": parseFloat(fields[\"discount_price\"]).toFixed(2),\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n if(fields[\"promo_cate_code\"] === \"PMCT002\") // ซื้อครบ X บาทลด Y (บาท,%)\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"purchase_price\": parseFloat(fields[\"purchase_price\"]).toFixed(2),\n \"discount_price\": parseFloat(fields[\"discount_price\"]).toFixed(2),\n \"discount_type\": fields[\"discount_type\"],\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n return resData;\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n let name = e.target.name;\n let value = e.target.value;\n if(name === 'promo_list_code')\n {\n fields[name] = String(value).toUpperCase();\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }else\n {\n fields[name] = value;\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors, selectData } = this.state;\n fields[action.name] = e.value;\n selectData[action.name] = {value: e.value, label: e.label};\n this.state.errors[action.name] = null;\n this.setState({ fields, errors, selectData });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n let {promoCate, productCate, fields, selectData, discountCate} = this.state;\n\n return (\n
\n
\n
\n

แก้ไขโปรโมชั่นสินค้า

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.promo_list_code}
\n
\n \n \n
\n \n
{this.state.errors.promo_cate_code}
\n
\n
\n\n {fields[\"promo_cate_code\"] === 'PMCT001'\n &&\n
\n \n
\n \n
{this.state.errors.pr_online_category_id}
\n
\n
\n }\n {fields[\"promo_cate_code\"] === 'PMCT001' &&\n
\n \n
\n \n
{this.state.errors.quantity}
\n
\n \n
\n \n
{this.state.errors.discount_price}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PMCT002' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n {fields[\"promo_cate_code\"] === 'PMCT002' && \n
\n \n
\n \n
{this.state.errors.discount_type}
\n
\n
\n \n \n {fields[\"discount_type\"] === 'percentage' ? '%' : fields[\"discount_type\"] === 'baht' ? 'บาท' : ''}\n \n
{this.state.errors.discount_price}
\n
\n
\n }\n\n
\n \n
\n \n
{this.state.errors.start_date}
\n
\n\n \n
\n \n
{this.state.errors.end_date}
\n
\n
\n\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { rewardAction, pointAction } from \"../../../_actions\";\nimport { Base_API } from \"../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../point.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Point_Earn_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"วันที่ทำรายการ\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"รหัสสมาชิก\",\n data: \"mem_number\"\n },\n {\n title: \"ชื่อสมาชิก\",\n data: \"mem_firstname\"\n },\n {\n title: \"เบอร์โทร\",\n data: \"mem_phone\"\n },\n {\n title: \"รหัสรายการ\",\n data: \"earn_code\"\n },\n {\n title: \"ชื่อรายการ\",\n data: \"earn_name\"\n },\n {\n title: \"คะแนน (P)\",\n data: \"p_remain_point\",\n className: \"text-center\",\n },\n {\n title: \"จัดการ\",\n data: \"p_id\",\n className: \"text-center\",\n }\n ];\n\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${rowData.mem_firstname} ${rowData.mem_lastname}`);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
+ ${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n var btn_manage = \"\"\n btn_manage = \n `
\n
\n \n \n \n\n
\n \n
\n
\n
`\n $(td).html(btn_manage);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.point}/api/point/v1/listEarn`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var logsId = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(logsId)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(Id) {\n pointAction.deleteManagePoint(Id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

ประวัติการรับแต้ม

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { rewardAction,pointAction, BackofficeAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport moment from \"moment-timezone\";\nimport \"../../point.css\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Point_Burn_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n this.handleExport = this.handleExport.bind(this);\n this.buildParams = this.buildParams.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false,\n startDate: '',\n endDate: '',\n dateStartSearch: '',\n dateEndSearch: ''\n };\n this.table = null;\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"วันที่ทำรายการ\",\n class: \"text-center\",\n data: \"created_at\",\n className: \"text-center\",\n },\n {\n title: \"รหัสสมาชิก\",\n data: \"mem_number\",\n className: \"text-center\",\n },\n {\n title: \"ชื่อสมาชิก\",\n data: \"mem_firstname\",\n className: \"text-center\",\n },\n {\n title: \"เบอร์โทร\",\n data: \"mem_phone\",\n className: \"text-center\",\n },\n {\n title: \"รหัสรีวอร์ด\",\n data: \"rewards_code\",\n className: \"text-center\",\n },\n {\n title: \"ชื่อรีวอร์ด\",\n data: \"rewards_name_th\",\n className: \"text-center\",\n },\n {\n title: \"รายละเอียด\",\n data: \"burn_description\",\n className: \"text-center\",\n },\n {\n title: \"คะแนน (P)\",\n data: \"p_point\",\n className: \"text-center\",\n },\n {\n title: \"จัดการ\",\n data: \"p_id\",\n className: \"text-center\",\n }\n ];\n this.table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${moment(cellData, 'YYYY-MM-DD HH:mm:ss').format('DD-MM-YYYY HH:mm:ss')}`);\n },\n orderable: true\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${rowData.mem_firstname} ${rowData.mem_lastname}`);\n },\n orderable: false\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${!!cellData ? cellData : '-'}
`);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${!!cellData ? cellData : '-'}
`);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${!!cellData ? cellData : '-'}
`);\n },\n orderable: false\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
- ${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n var btn_manage = \"\"\n btn_manage = \n `
\n
\n \n \n \n\n
\n \n
\n
\n
`\n $(td).html(btn_manage);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.point}/api/point/v2/listBurn?start_date=${this.state.startDate}&end_date=${this.state.endDate}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var Id = $(this).data(\"content\");\n modalAlert = () => (\n this.onConfirmDelete(Id)}\n onCancel={() => this.onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n }\n\n onConfirmDelete(Id) {\n pointAction.deleteManagePoint(Id).then(e => {\n if (e.isSuccess === false) {\n this.onModalError(\"Error\", e.message);\n } else {\n this.onModalSuccess(\"Success\", e.message);\n this.table.ajax.reload();\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.state.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.state.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirm(ev) {\n this.state.setState({ modal: null });\n }\n\n componentDidUpdate(prevProps, prevState) {\n let {dateStartSearch, dateEndSearch} = this.state;\n if (prevState.dateStartSearch !== dateStartSearch || prevState.dateEndSearch !== dateEndSearch) {\n if(!!dateStartSearch && !!dateEndSearch){\n this.table.ajax.url(this.getDataTableUrl()).load(); \n }\n }\n }\n\n handleChangeDate(date, type) {\n let value = moment(date).format('YYYY-MM-DD');\n console.log('select change : ', value);\n if(type === 'start'){\n this.setState({\n startDate: date,\n dateStartSearch: value\n })\n }\n if(type === 'end'){\n this.setState({\n endDate: date,\n dateEndSearch: value\n })\n }\n }\n\n // Helper Methods\n getDataTableUrl() {\n const { dateStartSearch, dateEndSearch } = this.state;\n return `${Base_API.point}/api/point/v2/listBurn?start_date=${encodeURIComponent(dateStartSearch)}&end_date=${encodeURIComponent(dateEndSearch)}`;\n }\n\n async handleExport() {\n const { dateStartSearch, dateEndSearch } = this.state;\n let buildParams = this.buildParams(this.table.ajax.params());\n let params = `?start_date=${encodeURIComponent(dateStartSearch)}&end_date=${encodeURIComponent(dateEndSearch)}&${buildParams}`\n BackofficeAction.exportExcelPointHistory(params)\n .then(res => {\n if (res.status) {\n let downloadUrl = res.data;\n downloadFileByURL(downloadUrl);\n } else {\n this.onModalError('ไม่สำเร็จ', res.msg)\n }\n })\n function downloadFileByURL(downloadUrl){\n // Create a temporary element to trigger download\n const link = document.createElement('a');\n link.href = downloadUrl;\n link.download = 'PointHistory.xlsx'; // Set the desired file name\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n\n buildParams(obj, prefix) {\n let str = [];\n for (let p in obj) {\n if (obj.hasOwnProperty(p)) {\n const key = prefix ? `${prefix}[${p}]` : p;\n const value = obj[p];\n str.push(\n value !== null && typeof value === \"object\"\n ? this.buildParams(value, key)\n : `${encodeURIComponent(key)}=${encodeURIComponent(value)}`\n );\n }\n }\n return str.join(\"&\");\n }\n\n render() {\n let {startDate, endDate} = this.state;\n return (\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { pointAction } from \"../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../point.css\";\n\nlet modalAlert;\n\nexport class Point_Manage extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {\n manage_point_id : '1'\n },\n errors: {},\n isStatus: '',\n status: '',\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getManagePoint(this.state.fields.manage_point_id);\n }\n\n getManagePoint(manage_point_id) {\n\n pointAction.getManagePoint(manage_point_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n manage_point_cost: e.data[0].manage_point_cost,\n manage_point_number: e.data[0].manage_point_number,\n manage_point_id: e.data[0].manage_point_id,\n updated_at: e.data[0].updated_at,\n\n }\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/point/manage\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"manage_point_cost\"]) {\n formIsValid = false;\n errors[\"manage_point_cost\"] = \"*กรุณากรอกจำนวนเงินที่ต้องซื้อสินค้า\";\n }\n\n if (!fields[\"manage_point_number\"]) {\n formIsValid = false;\n errors[\"manage_point_number\"] = \"*กรุณากรอกจำนวนคะแนนที่ได้รับ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var inputBody = ({\n 'manage_point_cost' : this.state.fields[\"manage_point_cost\"],\n 'manage_point_number' : this.state.fields[\"manage_point_number\"],\n });\n\n pointAction.updateManagePoint(inputBody, this.state.fields[\"manage_point_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n\n render() {\n return (\n
\n
\n
\n

แก้ไขข้อมูลการได้รับคะแนน

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n\n
\n
\n
\n \n
\n \n
{this.state.errors.manage_point_cost}
\n
\n
\n
\n
\n
\n \n
\n \n
{this.state.errors.manage_point_number}
\n
\n
\n
\n
\n\n \n
\n
ปรับปรุงล่าสุด
\n
{this.state.fields['updated_at']}
\n
\n \n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { rewardAction, orderAction, BackofficeAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-rewards-history-burn'\n\nlet newDate = new Date()\nlet month = newDate.getMonth() + 1;\nif(month < 10) month = '0'+ month\nlet year = newDate.getFullYear();\n\nlet dataSearch = {\n s_FirstName: '',\n s_LastName: '',\n s_Phone: '',\n s_RewardsCode: '',\n s_RewardsName: '',\n s_RedeemDate: '',\n s_RedeemDateTo: '',\n s_BurnDate: '',\n s_BurnDateTo: '',\n s_ExpiredDate: '',\n s_ExpiredDateTo: '',\n}\n\nexport class Reward_Burn_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {},\n errors: {},\n show: false,\n modal: null,\n isModal: false,\n excelUrl: \"\",\n isExport: true,\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){\n const columns = [\n {\n title: \"รหัสออเดอร์\",\n class: \"text-center\",\n data: \"rw_transection_id\"\n },\n {\n title: \"รหัสรีวอร์ด\",\n class: \"text-center\",\n data: \"rw_rewardcode\"\n },\n {\n title: \"รายการ\",\n class: \"text-center\",\n data: \"rewards_name_th\"\n },\n {\n title: \"Friend Get Friend\",\n class: \"text-center\",\n data: \"rw_status_friendgetfriend\"\n },\n {\n title: \"รหัสสมาชิก\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"ชื่อผู้ใช้งาน\",\n class: \"text-center\",\n data: \"mem_firstname\"\n },\n {\n title: \"เบอร์โทร\",\n class: \"text-center\",\n data: \"mem_phone\"\n },\n {\n title: \"จำนวนรีวอร์ด\",\n class: \"text-center\",\n data: \"rw_count\"\n },\n {\n title: \"ประเภทการรับสินค้า\",\n class: \"text-center\",\n data: \"rw_type_receive\"\n },\n {\n title: \"Remark\",\n class: \"text-center\",\n data: \"rw_remark\"\n },\n {\n title: \"เลข tracking\",\n class: \"text-center\",\n data: \"rw_tracking\"\n },\n {\n title: \"วันที่แลก\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"วันที่หมดอายุ\",\n class: \"text-center\",\n data: \"rw_expired_at\"\n },\n {\n title: \"การใช้งาน\",\n class: \"text-center\",\n data: \"rw_rewardstatus\"\n },\n {\n title: \"ออเดอร์ที่ใช้งาน\",\n class: \"text-center\",\n data: \"orderno\"\n },\n {\n title: \"วันที่ใช้งาน\",\n class: \"text-center\",\n data: \"rw_burn_date\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"rw_coupon_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${cellData == 1 ? \"/\" : \"\"}`);\n },\n orderable: true\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData + ' ' + rowData.mem_lastname}
`);\n },\n orderable: true\n },\n {\n targets:8,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(cellData === 1) status = 'แลกของรางวัล'\n else if(cellData === 2) status = 'รับสินค้าที่ร้าน'\n else if(cellData === 3) status = 'จัดส่งทางไปรษณีย์'\n else status = 'ไม่มีสถานะการจัดส่ง'\n $(td).html(status);\n },\n orderable: true\n },\n {\n targets: 13,\n createdCell: function(td, cellData, rowData, row, col) {\n var status = '';\n if(cellData === 'N') status = 'ยังไม่ได้ใช้งาน'\n else if(cellData === 'Y') status = 'ใช้งานแล้ว'\n else if(cellData === 'C') status = 'ยกเลิก'\n else status = 'ไม่ระบุ'\n $(td).html(status);\n },\n orderable: true\n },\n {\n targets: 16,\n createdCell: function(td, cellData, rowData, row, col) {\n var disabled = 'disabled'\n var bt_manage = '';\n var bt_notification = ''\n if(rowData.rw_type_receive == 3){ //ส่ง notification \n let dataSMS = {\n \"phone_number\":rowData.mem_phone,\n \"order_online_number\":rowData.rewards_name_th,\n \"tracking_number\":rowData.rw_tracking\n }\n bt_notification =`\n ${bt_notification}\n \n \n \n\n `);\n },\n //
\n //
\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.reward}/burn?searchFirstName=${dataSearch.s_FirstName}&searchLastName=${dataSearch.s_LastName}&searchPhone=${dataSearch.s_Phone}&searchRewardsCode=${dataSearch.s_RewardsCode}&searchRewardsName=${dataSearch.s_RewardsName}&searchRedeemDate=${dataSearch.s_RedeemDate}&searchRedeemDateTo=${dataSearch.s_RedeemDateTo}&searchBurnDate=${dataSearch.s_BurnDate}&searchBurnDateTo=${dataSearch.s_BurnDateTo}&searchExpiredDate=${dataSearch.s_ExpiredDate}&searchExpiredDateTo=${dataSearch.s_ExpiredDateTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: (data, res) => {\n // let waitJson = setInterval(() => {\n // if(!!res.json)\n // {\n // this.setState({query: res.json.query})\n // clearInterval(waitJson);\n // }\n // }, 500)\n return data;\n },\n },\n order: [[11, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var id = $(this).data(\"id\");\n var val = 'C';\n\n var formData = {\n \"rw_rewardstatus\" : val\n }\n\n modalAlert = () => (\n onConfirmCancel(formData,id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการยกเลิกคูปองนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n $(this.refs.main).on(\"click\", \".sendSMS\", function () {\n var obj_data = $(this).data(\"value\");\n\n orderAction.sendSMS(obj_data).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var logsId = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(logsId)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmCancel(formData,id) {\n rewardAction.activeLogsHistoryByID(formData,id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onConfirmDelete(logsId) {\n rewardAction.deleteBurnHistory(logsId).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n }\n\n handleChangeSearch = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (fields[\"searchRedeemDate\"] && !fields[\"searchRedeemDateTo\"]) {\n formIsValid = false;\n errors[\"searchRedeemDateTo\"] = \"*กรุณากรอกวันที่แลกรีวอร์ด\";\n }\n\n if (!fields[\"searchRedeemDate\"] && fields[\"searchRedeemDateTo\"]) {\n formIsValid = false;\n errors[\"searchRedeemDate\"] = \"*กรุณากรอกวันที่แลกรีวอร์ด\";\n }\n\n if (fields[\"searchBurnDate\"] && !fields[\"searchBurnDateTo\"]) {\n formIsValid = false;\n errors[\"searchBurnDateTo\"] = \"*กรุณากรอกวันที่ใช้งานรีวอร์ด\";\n }\n\n if (!fields[\"searchBurnDate\"] && fields[\"searchBurnDateTo\"]) {\n formIsValid = false;\n errors[\"searchBurnDate\"] = \"*กรุณากรอกวันที่ใช้งานรีวอร์ด\";\n }\n\n if (fields[\"searchExpiredDate\"] && !fields[\"searchExpiredDateTo\"]) {\n formIsValid = false;\n errors[\"searchExpiredDateTo\"] = \"*กรุณากรอกวันที่รีวอร์ดหมดอายุ\";\n }\n\n if (!fields[\"searchExpiredDate\"] && fields[\"searchExpiredDateTo\"]) {\n formIsValid = false;\n errors[\"searchExpiredDate\"] = \"*กรุณากรอกวันที่รีวอร์ดหมดอายุ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n handleSubmit(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n\n if (this.validateForm()) {\n var dataSearch = {\n s_FirstName: (this.state.fields[\"searchFirstName\"] ? this.state.fields[\"searchFirstName\"] : ''),\n s_LastName: (this.state.fields[\"searchLastName\"] ? this.state.fields[\"searchLastName\"] : ''),\n s_Phone: (this.state.fields[\"searchPhone\"] ? this.state.fields[\"searchPhone\"] : ''),\n s_RewardsCode: (this.state.fields[\"searchRewardsCode\"] ? this.state.fields[\"searchRewardsCode\"] : ''),\n s_RewardsName: (this.state.fields[\"searchRewardsName\"] ? this.state.fields[\"searchRewardsName\"] : ''),\n s_RedeemDate: (this.state.fields[\"searchRedeemDate\"] ? this.state.fields[\"searchRedeemDate\"] : ''),\n s_RedeemDateTo: (this.state.fields[\"searchRedeemDateTo\"] ? this.state.fields[\"searchRedeemDateTo\"] : ''),\n s_BurnDate: (this.state.fields[\"searchBurnDate\"] ? this.state.fields[\"searchBurnDate\"] : ''),\n s_BurnDateTo: (this.state.fields[\"searchBurnDateTo\"] ? this.state.fields[\"searchBurnDateTo\"] : ''),\n s_ExpiredDate: (this.state.fields[\"searchExpiredDate\"] ? this.state.fields[\"searchExpiredDate\"] : ''),\n s_ExpiredDateTo: (this.state.fields[\"searchExpiredDateTo\"] ? this.state.fields[\"searchExpiredDateTo\"] : ''),\n }\n\n this.showTable(dataSearch);\n }\n }\n\n clearSearch = (e) => {\n let { fields } = this.state;\n fields['searchFirstName']='';\n fields['searchLastName']='';\n fields['searchPhone']='';\n fields['searchRewardsCode']='';\n fields['searchRewardsName']='';\n fields['searchRedeemDate']='';\n fields['searchRedeemDateTo']='';\n fields['searchBurnDate']='';\n fields['searchBurnDateTo']='';\n fields['searchExpiredDate']='';\n fields['searchExpiredDateTo']='';\n this.setState({ fields });\n };\n\n exportExcel = () => {\n this.setState({isExport: false})\n BackofficeAction.getExcelRewardRedeemHistory()\n .then(res => {\n console.log(res);\n if (res.status === true) {\n // Assuming that res.data contains the URL of the file\n const fileUrl = res.data;\n \n // Trigger file download\n this.downloadFile(fileUrl);\n this.setState({isExport: true})\n }\n })\n };\n\n exportExcelByFilter = () => {\n this.setState({isExport: false});\n let {fields} = this.state; \n let table = $(this.refs.main).DataTable();\n // Get current ordering information\n const ordering = table.order();\n // Get current page information\n const pageInfo = table.page.info();\n const start = pageInfo.start;\n const length = pageInfo.length;\n // Construct column data parameters for the API call\n let columnParams = [];\n table.columns().every(function () {\n let columnData = {\n data: this.dataSrc(),\n name: this.header().textContent.trim(), // Get the column name from the header text\n searchable: this.search() !== null ? 'true' : 'false', // Check if searching is enabled for the column\n orderable: ordering.some(order => order[0] === this.index()), // Check if ordering is enabled for the column\n 'search[value]': '',\n 'search[regex]': 'false'\n };\n columnParams.push(columnData);\n });\n // Construct ordering parameters for the API call\n let orderParams = ordering.map(order => {\n return `order[column]=${order[0]}&order[dir]=${order[1]}`;\n }).join('&');\n\n let searchFirstName = !!fields[\"searchFirstName\"] ? fields[\"searchFirstName\"] : ''\n let searchLastName = !!fields[\"searchLastName\"] ? fields[\"searchLastName\"] : ''\n let searchPhone = !!fields[\"searchPhone\"] ? fields[\"searchPhone\"] : ''\n let searchRewardsCode = !!fields['searchRewardsCode'] ? fields['searchRewardsCode'] : ''\n let searchRewardsName = !!fields[\"searchRewardsName\"] ? fields[\"searchRewardsName\"] : ''\n let searchRedeemDate = !!fields[\"searchRedeemDate\"] ? fields[\"searchRedeemDate\"] : ''\n let searchRedeemDateTo = !!fields[\"searchRedeemDateTo\"] ? fields[\"searchRedeemDateTo\"] : ''\n let searchBurnDate = !!fields[\"searchBurnDate\"] ? fields[\"searchBurnDate\"] : ''\n let searchBurnDateTo = !!fields[\"searchBurnDateTo\"] ? fields[\"searchBurnDateTo\"] : ''\n let searchExpiredDate = !!fields[\"searchExpiredDate\"] ? fields[\"searchExpiredDate\"] : ''\n let searchExpiredDateTo = !!fields[\"searchExpiredDateTo\"] ? fields[\"searchExpiredDateTo\"] : ''\n let searchText = $('input[aria-controls=\"dataTable\"]').val();\n let searchRegex = false;\n let searchField = `searchFirstName=${searchFirstName}&searchLastName=${searchLastName}&searchPhone=${searchPhone}&searchRewardsCode=${searchRewardsCode}&searchRewardsName=${searchRewardsName}&searchRedeemDate=${searchRedeemDate}&searchRedeemDateTo=${searchRedeemDateTo}&searchBurnDate=${searchBurnDate}&searchBurnDateTo=${searchBurnDateTo}&searchExpiredDate=${searchExpiredDate}&searchExpiredDateTo=${searchExpiredDateTo}`;\n let filterText = encodeURI(`?search[value]=${searchText}&search[regex]=${searchRegex}&${orderParams}&${searchField}`);\n\n // Append column data parameters to the filterText\n columnParams.forEach((column, index) => {\n Object.entries(column).forEach(([key, value]) => {\n filterText += `&columns[${index}][${key}]=${value}`;\n });\n });\n\n console.log('filterText: ', filterText);\n\n BackofficeAction.getExcelRewardRedeemHistoryByFilter(filterText)\n .then(res => {\n console.log(res);\n if (res.status === true) {\n // Assuming that res.data contains the URL of the file\n const fileUrl = res.data;\n \n // Trigger file download\n this.downloadFile(fileUrl);\n this.setState({isExport: true});\n }\n })\n .catch(error => {\n // Handle error\n console.error('Error exporting Excel:', error);\n this.setState({isExport: true}); // Ensure isExport is set back to true even in case of error\n });\n };\n\n downloadFile = (fileUrl) => {\n // Use the fetch API to get the file data\n fetch(fileUrl)\n .then(response => response.blob())\n .then(blob => {\n // Create a download link\n const url = window.URL.createObjectURL(new Blob([blob]));\n const a = document.createElement('a');\n a.href = url;\n \n // Extract the filename from the URL or use a default name\n const fileName = fileUrl.substring(fileUrl.lastIndexOf('/') + 1) || 'download';\n a.download = fileName;\n \n // Append the link to the body and trigger the click event\n document.body.appendChild(a);\n a.click();\n \n // Remove the link from the body\n document.body.removeChild(a);\n })\n .catch(error => {\n console.error(\"Error downloading file:\", error);\n });\n };\n\n render() {\n var dataExcel = []\n let data = this.state.dataRewardHistory \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].rw_transection_id ? data[i].rw_transection_id : ''},\n {value: data[i].rw_rewardcode ? data[i].rw_rewardcode : ''},\n {value: data[i].rewards_name_th ? data[i].rewards_name_th : ''},\n {value: data[i].mem_number},\n {value: data[i].mem_firstname + \" \" + data[i].mem_lastname},\n {value: data[i].mem_phone ? data[i].mem_phone : ''},\n {value: data[i].rw_count ? data[i].rw_count : 0},\n {value: data[i].rw_type_receive_name ? data[i].rw_type_receive_name : ''},\n {value: data[i].rw_tracking ? data[i].rw_tracking : ''},\n {value: data[i].created_at ? data[i].created_at : ''},\n {value: data[i].rw_expired_at ? data[i].rw_expired_at : ''},\n {value: data[i].rw_rewardstatus ? data[i].rw_rewardstatus : ''},\n {value: data[i].orderno ? data[i].orderno : ''},\n {value: data[i].rw_burn_date ? data[i].rw_burn_date : ''}\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"รหัสออเดอร์\"},//pixels width \n {title: \"รหัสรีวอร์ด\"},//pixels width \n {title: \"รายการ\", width: {wch: 40}},//char width \n {title: \"รหัสสมาชิก\", width: {wch: 30}},//char width \n {title: \"ชื่อผู้ใช้งาน\", width: {wch: 50}},//char width \n {title: \"เบอร์โทร\", width: {wch: 20}},//char width \n {title: \"จำนวนรีวอร์ด\", width: {wch: 10}},//char width \n {title: \"ประเภทการรับสินค้า\", width: {wch: 40}},//char width \n {title: \"เลข Tracking\", width: {wch: 40}},//char width \n {title: \"วันที่แลก\", width: {wch: 20}},//char width \n {title: \"วันที่หมดอายุ\", width: {wch: 20}},//char width \n {title: \"การใช้งาน\", width: {wch: 20}},//char width \n {title: \"ออเดอร์ที่ใช้งาน\", width: {wch: 20}},\n {title: \"วันที่ใช้งาน\", width: {wch: 20}}\n ],\n data: dataExcel\n }\n ];\n \n return (\n
\n
\n
\n

ประวัติการแลกรางวัล

\n\n
\n {/* \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n */}\n \n Export Excel By Filtered\n \n \n Export Excel (All)\n \n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n
\n
ชื่อผู้ใช้งาน
\n
\n \n
\n
นามสกุลผู้ใช้งาน
\n
\n \n
\n
\n\n
\n
เบอร์โทร
\n
\n \n
\n
\n\n
\n
รหัสรีวอร์ด
\n
\n \n
{this.state.errors.searchRewardsCode}
\n
\n\n
ชื่อรีวอร์ด
\n
\n \n
{this.state.errors.searchRewardsName}
\n
\n
\n\n
\n
วันที่แลกรีวอร์ด
\n
\n \n
{this.state.errors.searchRedeemDate}
\n
\n\n
ถึง วันที่แลกรีวอร์ด
\n
\n \n
{this.state.errors.searchRedeemDateTo}
\n
\n
\n\n
\n
วันที่ใช้งานรีวอร์ด
\n
\n \n
{this.state.errors.searchBurnDate}
\n
\n\n
ถึง วันที่ใช้งานรีวอร์ด
\n
\n \n
{this.state.errors.searchBurnDateTo}
\n
\n
\n \n
\n
วันที่รีวอร์ดหมดอายุ
\n
\n \n
{this.state.errors.searchExpiredDate}
\n
\n\n
ถึง วันที่รีวอร์ดหมดอายุ
\n
\n \n
{this.state.errors.searchExpiredDateTo}
\n
\n
\n\n
\n \n \n
\n
\n
\n \n
\n
\n
\n
\n \n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { rewardAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../point.css\";\n\nlet modalAlert;\n\nexport class Point_Burn_Info extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n rewardid: 0\n };\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.setState({ rewardid: params.logsid });\n this.getRewardDataByID(params.logsid);\n }\n\n getRewardDataByID(id) {\n rewardAction.getLogsHistoryByID(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n if(newObject['rw_rewardstatus'] === 'N') newObject['rw_rewardstatus'] = ยังไม่ได้ใช้งาน\n else if(newObject['rw_rewardstatus'] === 'Y') newObject['rw_rewardstatus'] = ใช้งานแล้ว\n else if(newObject['rw_rewardstatus'] === 'C') newObject['rw_rewardstatus'] = ยกเลิก\n this.setState({ inputBody: newObject });\n } else {\n this.onModalError(\"ผิดพลาด\", e.message);\n }\n });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n render() {\n console.log(this.state.inputBody);\n return (\n
\n
\n
\n
\n

ข้อมูลผู้ใช้งาน

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n
ชื่อผู้แลกของรางวัล{this.state.inputBody['mem_firstname']} {this.state.inputBody['mem_lastname']}
เบอร์ติดต่อ{this.state.inputBody['mem_phone']}
อีเมลติดต่อ{this.state.inputBody['mem_email']}
ที่อยู่{this.state.inputBody['mem_address']}
เขต/ตำบล{this.state.inputBody['mem_district']}
แขวง/อำเภอ{this.state.inputBody['mem_country']}
จังหวัด{this.state.inputBody['mem_province']}
รหัสไปรษณีย์{this.state.inputBody['mem_zipcode']}
\n
\n
\n
\n
\n
\n
\n

ข้อมูลของรางวัลที่แลก

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
รูปของรางวัล{this.state.inputBody['rw_reward']}
ชื่อผู้แลกของรางวัล{this.state.inputBody['rw_username']} {this.state.inputBody['mem_lastname']}
รางวัลที่แลก{this.state.inputBody['rw_reward']}
ข้อมูลของรางวัล{this.state.inputBody['reward_description']}
ประเภทของรางวัล{this.state.inputBody['rw_reward_category']}
คะแนนที่ใช้แลก{this.state.inputBody['rw_pointperunit']}
รหัสของรางวัล{this.state.inputBody['rw_rewardcode']}
สถานะการใช้รางวัล{this.state.inputBody['rw_rewardstatus']}
วันที่ใช้งาน{this.state.inputBody['rw_burn_date']}
วันหมดอายุของรางวัล{this.state.inputBody['rw_expired_date']}
\n
\n
\n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { memberAction, rewardAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Reward_Burn_Info extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n rewardid: 0,\n ddProvince: [],\n ddAmphoe: [],\n ddDistrict: [],\n ddZipcode: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n\n }\n\n componentDidMount() {\n var params = this.props.match.params;\n this.setState({ rewardid: params.logsid });\n this.getRewardDataByID(params.logsid);\n }\n\n handleChange = e => {\n let { inputBody } = this.state;\n inputBody[e.target.name] = e.target.value;\n console.log(e.target.name);\n this.setState({ inputBody });\n };\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n const inputBody = {\n rw_tracking: this.state.inputBody[\"rw_tracking\"],\n rw_rewardstatus: this.state.inputBody[\"rw_rewardstatus\"]\n }\n\n rewardAction.updateTransaction(inputBody, this.state.inputBody[\"rw_transection_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirm(ev) {\n this.setState({ modal: null });\n window.location.href = `/backoffice/reward/burn/info/${this.state.rewardid}`;\n }\n\n\n getRewardDataByID(id) {\n rewardAction.getLogsHistoryByID(id).then(e => {\n if (e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody);\n // if(newObject['rw_rewardstatus'] === 'N') newObject['rw_rewardstatus'] = ยังไม่ได้ใช้งาน\n // else if(newObject['rw_rewardstatus'] === 'Y') newObject['rw_rewardstatus'] = ใช้งานแล้ว\n // else if(newObject['rw_rewardstatus'] === 'C') newObject['rw_rewardstatus'] = ยกเลิก\n\n if(newObject['rw_type_receive'] === 1) newObject['rw_type_receive'] = แลกของรางวัล\n else if(newObject['rw_type_receive'] === 2) newObject['rw_type_receive'] = รับสินค้าที่ร้าน\n else if(newObject['rw_type_receive'] === 3) newObject['rw_type_receive'] = จัดส่งสินค้าทางไปรษณีย์\n \n console.log(newObject);\n\n this.setState({ inputBody: newObject });\n this.getDropdownAddress(newObject.rw_member_address, newObject.rw_member_province, newObject.rw_member_amphoe, newObject.rw_member_district, newObject.rw_member_zipcode);\n } else {\n this.onModalError(\"ผิดพลาด\", e.message);\n }\n });\n }\n\n getDropdownAddress(address, province, amphoe, district, zipcode)\n {\n if(!!address)\n {\n // Get Province\n this.provinceInit()\n // Get Amphoe\n this.amphoeInit(province)\n // Get District\n this.districtInit(amphoe)\n // Get Zipcode\n this.zipcodeInit(district)\n }else\n {\n // Get Province\n this.provinceInit()\n }\n }\n\n provinceInit()\n {\n memberAction.getProvince()\n .then(results => {\n console.log('Province: ', results);\n this.setState({\n ddProvince: results.data\n });\n })\n }\n amphoeInit(province)\n {\n memberAction.getAmphoe(province)\n .then(results => {\n console.log('Amphoe: ', results);\n this.setState({\n ddAmphoe: results.data\n });\n })\n }\n districtInit(amphoe)\n {\n memberAction.getDistrict(amphoe)\n .then(results => {\n console.log('District: ', results);\n this.setState({\n ddDistrict: results.data\n });\n })\n }\n zipcodeInit(district)\n {\n memberAction.getZipcode(district)\n .then(results => {\n console.log('Zipcode: ', results);\n this.setState({\n ddZipcode: results.data\n });\n })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onImageError(e) {\n e.target.setAttribute(\n \"src\",\n `${process.env.PUBLIC_URL}/images/default.png`\n );\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChangeEditAddress(e)\n {\n const {id, value} = e.target;\n this.state.inputBody[id] = value;\n\n switch(id)\n {\n case \"rw_member_province\":\n this.setState({\n inputBody: {\n ...this.state.inputBody,\n rw_member_province: value\n }\n }); \n this.amphoeInit(value);\n ;\n case \"rw_member_amphoe\":\n this.setState({\n inputBody: {\n ...this.state.inputBody,\n rw_member_amphoe: value\n }\n }); \n this.districtInit(value);\n ;\n case \"rw_member_district\":\n this.setState({\n inputBody: {\n ...this.state.inputBody,\n rw_member_district: value\n }\n }); \n this.zipcodeInit(value);\n ;\n case \"rw_member_zipcode\":\n this.setState({\n inputBody: {\n ...this.state.inputBody,\n rw_member_zipcode: value\n }\n }); \n ;\n default: return;\n }\n }\n\n submitEditAddress()\n {\n const { inputBody } = this.state;\n\n let reqData = {\n rw_member_address: inputBody['rw_member_address'],\n rw_member_province: inputBody['rw_member_province'],\n rw_member_amphoe: inputBody['rw_member_amphoe'],\n rw_member_district: inputBody['rw_member_district'],\n rw_member_zipcode: inputBody['rw_member_zipcode']\n }; \n console.log('Req Data: ', reqData);\n rewardAction.activeLogsHistoryByID(reqData, this.state.rewardid)\n .then(results => {\n if(results.isSuccess === true)\n {\n this.onModalSuccess(\"Success\", results.message);\n }\n })\n }\n\n render() {\n const {ddProvince, ddAmphoe, ddDistrict, ddZipcode} = this.state;\n\n return (\n
\n this.handleSubmit(e)}\n >\n
\n
\n
\n

ข้อมูลผู้ใช้งาน

\n
\n
\n \n \n \n \n \n \n \n
รหัสผู้แลกของรางวัล{this.state.inputBody['mem_number']}
ชื่อผู้แลกของรางวัล{this.state.inputBody['mem_firstname']} {this.state.inputBody['mem_lastname']}
เบอร์ติดต่อ{this.state.inputBody['mem_phone']}
อีเมลติดต่อ{this.state.inputBody['mem_email']}
\n
\n
\n
\n
\n

ข้อมูลการแลกรางวัล

\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
รหัสออเดอร์{this.state.inputBody['rw_transection_id']}
วันที่แลกรางวัล{this.state.inputBody['created_at']}
ประเภทการรับสินค้า{this.state.inputBody['rw_type_receive']}
เลข tracking\n \n
สาขาที่ต้องการรับ{(this.state.inputBody['b_name'] ? this.state.inputBody['b_name'] : '-')}
ชื่อผู้รับ{(this.state.inputBody['rw_member_name'] ? this.state.inputBody['rw_member_name'] : '-' )}
เบอร์โทร{(this.state.inputBody['rw_member_phone'] ? this.state.inputBody['rw_member_phone'] : '-')}
\n สถานที่รับ\n \n {(this.state.inputBody['rw_member_address'] ? this.state.inputBody['rw_member_address'] : '-')} {this.state.inputBody['districts_name']} {this.state.inputBody['amphoe_name']} {this.state.inputBody['provinces_name']} {(this.state.inputBody['rw_member_zipcode'] == 0 ? '' : this.state.inputBody['rw_member_zipcode'])}\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n

ข้อมูลของรางวัลที่แลก

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
รูปของรางวัล{this.state.inputBody['rewards_name_th']}
รหัสของรางวัล{this.state.inputBody['rw_rewardcode']}
รางวัลที่แลก{this.state.inputBody['rewards_name_th']}
จำนวนรางวัลที่แลก{this.state.inputBody['rw_count']}
ประเภทของรางวัล{this.state.inputBody['rewards_category_name']}
คะแนนที่ใช้แลก/รางวัล{this.state.inputBody['rw_pointperunit']} P
คะแนนรวมที่ใช้แลก{this.state.inputBody['totalPoint']} P
รหัสของรางวัล{this.state.inputBody['rw_rewardcode']}
สถานะการใช้รางวัล\n \n
วันที่ใช้งาน{this.state.inputBody['rw_burn_date']}
วันหมดอายุของรางวัล{this.state.inputBody['rw_expired_at']}
\n
\n
\n
\n
\n {this.state.modal}\n \n\n {/* Modal Edit Address */}\n
\n
\n
\n
\n

แก้ไขสถานที่รับ

\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n this.handleChangeEditAddress(e)}\n value={this.state.inputBody['rw_member_zipcode']}\n id=\"rw_member_zipcode\"\n >\n \n \n \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n}\n","import React from \"react\";\nimport { rewardAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../../reward.css\";\n\nlet modalAlert;\nlet checkbox_reward_type_receive = []\nvar checkbox_rewards_showtype = []\n\n\nexport class Reward_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {\n rewards_category_id: 0,\n is_open: 0,\n is_show: 0,\n rewards_forstaff : 0,\n rewards_welcome: 0,\n rewards_birthday: 0\n },\n selectOption: [],\n selectedOption: null,\n select_RedeemType_Option: [],\n selected_RedeemType_Option: null,\n checkboxItems_reward_type_receive: [],\n checkboxItems_rewards_showtype: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOption, select_RedeemType_Option } = this.state;\n\n rewardAction.getRewardCategoryList().then(res => {\n for (var i in res.data) {\n selectOption.push({\n label: res.data[i].rewards_category_name,\n value: res.data[i].rewards_category_id\n });\n }\n this.setState({ selectOption });\n });\n rewardAction.getRedeemTypeLists().then(data => {\n for (var i in data) {\n select_RedeemType_Option.push({\n label: data[i].type_name,\n value: data[i].id\n });\n }\n this.setState({ select_RedeemType_Option });\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/reward/list\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"rewards_code\"]) {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณากรอกรหัสรีวอร์ด\";\n }\n\n // if (!inputBody[\"rewards_channel_code\"]) {\n // formIsValid = false;\n // errors[\"rewards_channel_code\"] = \"*กรุณากรอกรหัสช่องทางรีวอร์ด\";\n // }\n\n if (!inputBody[\"rewards_name_th\"]) {\n formIsValid = false;\n errors[\"rewards_name_th\"] = \"*กรุณากรอกชื่อรีวอร์ด (TH)\";\n }\n if (!inputBody[\"rewards_description_th\"]) {\n formIsValid = false;\n errors[\"rewards_description_th\"] = \"*กรุณากรอกรายละเอียดรีวอร์ด (TH)\";\n }\n\n if (!inputBody[\"rewards_name_en\"]) {\n formIsValid = false;\n errors[\"rewards_name_en\"] = \"*กรุณากรอกชื่อรีวอร์ด (EN)\";\n }\n if (!inputBody[\"rewards_description_en\"]) {\n formIsValid = false;\n errors[\"rewards_description_en\"] = \"*กรุณากรอกรายละเอียดรีวอร์ด (EN)\";\n }\n if (!inputBody[\"point\"]) {\n formIsValid = false;\n errors[\"point\"] = \"*กรุณากรอกคะแนนที่ใช้แลก\";\n }\n if (!inputBody[\"rewards_category_id\"]) {\n formIsValid = false;\n errors[\"rewards_category_id\"] = \"*กรุณาเลือกประเภทของรีวอร์ด\";\n }\n if (!inputBody[\"rewards_type_redeem\"]) {\n formIsValid = false;\n errors[\"rewards_type_redeem\"] = \"*กรุณาเลือกเงื่อนไขในการแลกรีวอร์ด\";\n }\n if (!inputBody[\"rewards_start\"]) {\n formIsValid = false;\n errors[\"rewards_start\"] = \"*กรุณากรอกวันที่เริ่มต้น\";\n }\n if (!inputBody[\"rewards_image\"]) {\n formIsValid = false;\n errors[\"rewards_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n if (typeof this.state.checkboxItems_reward_type_receive !== 'undefined' && this.state.checkboxItems_reward_type_receive.length === 0) {\n formIsValid = false;\n errors[\"rewards_type_receive\"] = \"*กรุณาเลือกประเภทการรับสินค้าอย่างน้อย 1 ประเภท\";\n }\n if (this.state.rewards_discount_type === undefined) {\n formIsValid = false;\n errors[\"rewards_discount_type\"] = \"*กรุณาเลือกประเภทส่วนลด\";\n }\n if (this.state.rewards_limited === undefined) {\n formIsValid = false;\n errors[\"rewards_limited\"] = \"*กรุณาแนบเลือกจำกัดของรีวอร์ด\";\n }\n if (this.state.rewards_limited === 'y' && !inputBody[\"rewards_count\"]) {\n formIsValid = false;\n errors[\"rewards_count\"] = \"*กรุณากรอกจำนวนของรีวอร์ด\";\n }\n if (this.state.redeem_limited === undefined) {\n formIsValid = false;\n errors[\"redeem_limited\"] = \"*กรุณาแนบเลือกจำกัดของรีวอร์ด\";\n }\n if (this.state.redeem_limited === 'y' && !inputBody[\"redeem_count\"]) {\n formIsValid = false;\n errors[\"redeem_count\"] = \"*กรุณากรอกจำนวนของรีวอร์ด\";\n }\n if (this.state.rewards_expired_type === undefined) {\n formIsValid = false;\n errors[\"rewards_expired_type\"] = \"*กรุณาเลือกประเภทวันที่สิ้นสุดของรีวอร์ด\";\n }\n if (this.state.rewards_expired_type === 'date' && !inputBody[\"rewards_end\"]) {\n formIsValid = false;\n errors[\"rewards_end\"] = \"*กรุณากรอกวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'number_day' && !inputBody[\"rewards_expired_day\"]) {\n formIsValid = false;\n errors[\"rewards_expired_day\"] = \"*กรุณากรอกจำนวนวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'all' && !inputBody[\"rewards_end\"]) {\n formIsValid = false;\n errors[\"rewards_end\"] = \"*กรุณากรอกวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'all' && !inputBody[\"rewards_expired_day\"]) {\n formIsValid = false;\n errors[\"rewards_expired_day\"] = \"*กรุณากรอกจำนวนวันที่สิ้นสุด\";\n }\n if (this.state.inputBody['rewards_amount_min'] === undefined) {\n formIsValid = false;\n errors[\"rewards_amount_min\"] = \"*กรุณากรอกจำนวนเงินขั้นต่ำในการใช้รีวอร์ด (บาท)\";\n }\n if (this.state.inputBody['rewards_discount_max'] === undefined && (this.state.rewards_discount_type === \"baht\" || this.state.rewards_discount_type === \"percent\")) {\n formIsValid = false;\n errors[\"rewards_discount_max\"] = \"*กรุณากรอกจำนวนเงินที่ลดสูงสุด (บาท)\";\n }\n if (this.state.inputBody['rewards_discount_percent'] === undefined && this.state.rewards_discount_type === \"percent\") {\n formIsValid = false;\n errors[\"rewards_discount_percent\"] = \"*กรุณากรอกจำนวนเงินที่ลด (เปอร์เซ็น)\";\n }\n if (this.state.checkboxItems_rewards_showtype == undefined) {\n formIsValid = false;\n errors[\"rewards_showtype\"] = \"*กรุณาเลือกเมนูที่ต้องแสดงรีวอร์ดอย่างน้อย 1 ประเภท\";\n }\n\n if (this.state.inputBody['rewards_forstaff'] === true && this.state.inputBody['rewards_forstaff']) {\n formIsValid = false;\n errors[\"rewards_discount_max\"] = \"*กรุณากรอกจำนวนเงินที่ลดสูงสุด (บาท)\";\n }\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n if(typeof(this.state.inputBody[\"rewards_image\"]) === 'object') {\n formData.append(\"rewards_image\", this.state.inputBody[\"rewards_image\"]);\n }\n if(Array.isArray(this.state.checkboxItems_reward_type_receive)) {\n formData.append(\"rewards_type_receive\", this.state.checkboxItems_reward_type_receive);\n }\n if(Array.isArray(this.state.checkboxItems_rewards_showtype)) {\n formData.append(\"rewards_showtype\", this.state.checkboxItems_rewards_showtype);\n }\n formData.append(\"rewards_code\", this.state.inputBody[\"rewards_code\"]);\n formData.append(\"rewards_channel_code\", this.state.inputBody[\"rewards_channel_code\"]);\n formData.append(\"rewards_name_th\", this.state.inputBody[\"rewards_name_th\"]);\n formData.append(\"rewards_description_th\",this.state.inputBody[\"rewards_description_th\"]);\n formData.append(\"rewards_name_en\", this.state.inputBody[\"rewards_name_en\"]);\n formData.append(\"rewards_description_en\",this.state.inputBody[\"rewards_description_en\"]);\n formData.append(\"point\", this.state.inputBody[\"point\"]);\n formData.append(\"rewards_category_id\",this.state.inputBody[\"rewards_category_id\"]);\n formData.append(\"rewards_type_redeem\",String(this.state.inputBody[\"rewards_type_redeem\"]));\n formData.append(\"rewards_count\", this.state.inputBody[\"rewards_count\"]);\n formData.append(\"redeem_count\", this.state.inputBody[\"redeem_count\"]);\n formData.append(\"rewards_start\", this.state.inputBody[\"rewards_start\"]);\n formData.append(\"rewards_end\", this.state.inputBody[\"rewards_end\"]);\n formData.append(\"rewards_lastdate_redeem\", this.state.inputBody[\"rewards_lastdate_redeem\"]);\n formData.append(\"rewards_remark\", (this.state.inputBody[\"rewards_remark\"] ? this.state.inputBody[\"rewards_remark\"] : ''));\n formData.append(\"rewards_remark_en\", (this.state.inputBody[\"rewards_remark_en\"] ? this.state.inputBody[\"rewards_remark_en\"] : ''));\n formData.append(\"is_open\", (this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 0));\n formData.append(\"is_show\", (this.state.inputBody[\"is_show\"] ? this.state.inputBody[\"is_show\"] : 0));\n formData.append(\"rewards_limited\", this.state.rewards_limited);\n formData.append(\"redeem_limited\", this.state.redeem_limited);\n formData.append(\"rewards_expired_type\", this.state.rewards_expired_type);\n formData.append(\"rewards_expired_day\", this.state.inputBody[\"rewards_expired_day\"]);\n formData.append(\"rewards_discount_type\", this.state.rewards_discount_type);\n formData.append(\"rewards_amount_min\", this.state.inputBody['rewards_amount_min']);\n formData.append(\"rewards_discount_max\", this.state.inputBody['rewards_discount_max']);\n formData.append(\"rewards_forstaff\", this.state.inputBody['rewards_forstaff']);\n formData.append(\"rewards_discount_percent\", this.state.inputBody['rewards_discount_percent']);\n formData.append(\"rewards_welcome\", this.state.inputBody['rewards_welcome']);\n formData.append(\"rewards_birthday\", this.state.inputBody['rewards_birthday']);\n\n rewardAction.createReward(formData).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = selectedOption => {\n let { inputBody, errors } = this.state;\n\n inputBody[\"rewards_category_id\"] = selectedOption.value;\n this.state.errors[\"rewards_category_id\"] = null;\n this.setState({ selectedOption, inputBody, errors });\n };\n\n handleSelectRedeemType = selected_RedeemType_Option => {\n let { inputBody, errors } = this.state;\n inputBody[\"rewards_type_redeem\"] = selected_RedeemType_Option.value;\n this.state.errors[\"rewards_type_redeem\"] = null;\n this.setState({ selected_RedeemType_Option, inputBody, errors });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\" || e.target.name === \"rewards_forstaff\" || e.target.name === \"rewards_welcome\" || e.target.name === \"rewards_birthday\" || e.target.name === \"is_show\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n handleCheckbox = e => {\n let { errors } = this.state;\n\n const itemName = e.target.name;\n const itemValue = e.target.value;\n const isChecked = e.target.checked;\n if(itemName == 'rewards_type_receive'){\n if(e.target.checked === true){\n checkbox_reward_type_receive.push(itemValue)\n }else{\n const index = checkbox_reward_type_receive.indexOf(itemValue);\n if (index > -1) {\n checkbox_reward_type_receive.splice(index, 1);\n }\n }\n this.state.errors[\"rewards_type_receive\"] = null;\n\n this.setState({\n checkboxItems_reward_type_receive: checkbox_reward_type_receive\n })\n }\n\n if(itemName == 'rewards_showtype'){\n if(e.target.checked === true){\n checkbox_rewards_showtype.push(itemValue)\n }else{\n const index = checkbox_rewards_showtype.indexOf(itemValue);\n if (index > -1) {\n checkbox_rewards_showtype.splice(index, 1);\n }\n }\n this.state.errors[\"rewards_showtype\"] = null;\n this.setState({\n checkboxItems_rewards_showtype: checkbox_rewards_showtype\n })\n }\n this.setState({ errors });\n };\n\n handleSelectRedeemType = selected_RedeemType_Option => {\n let { inputBody, errors } = this.state;\n inputBody[\"rewards_type_redeem\"] = selected_RedeemType_Option.value;\n this.state.errors[\"rewards_type_redeem\"] = null;\n this.setState({ selected_RedeemType_Option, inputBody, errors });\n }\n\n handleRadio = e => {\n let { inputBody, errors } = this.state;\n\n const itemName = e.target.name;\n const itemValue = e.target.value;\n\n // จำกัดจำนวน รีวอร์ด\n if(itemName === \"rewards_limited\"){\n this.state.errors[\"rewards_limited\"] = null; \n\n inputBody['rewards_count'] = 0;\n\n this.setState({\n inputBody,\n rewards_limited : itemValue,\n })\n }\n // จำกัดจำนวนการแลกรีวอร์ด\n if(itemName === \"redeem_limited\"){\n this.state.errors[\"redeem_limited\"] = null; \n\n inputBody['redeem_count'] = 0;\n\n this.setState({\n inputBody,\n redeem_limited : itemValue,\n })\n }\n \n if(itemName === \"rewards_expired_type\"){\n this.state.errors[\"rewards_expired_type\"] = null;\n \n inputBody['rewards_end'] = \"\";\n inputBody['rewards_expired_day'] = \"\";\n\n this.setState({\n inputBody,\n rewards_expired_type : itemValue\n })\n }\n\n if(itemName === \"rewards_discount_type\"){\n this.state.errors[\"rewards_discount_type\"] = null;\n \n if(itemValue === \"baht\" || itemValue === \"product\"){\n inputBody['rewards_discount_percent'] = \"\"\n }\n if(itemValue === \"product\"){\n inputBody['rewards_discount_max'] = \"\"\n }\n this.setState({\n inputBody,\n rewards_discount_type : itemValue\n })\n }\n this.setState({ errors }); \n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() { \n let { selectedOption, selected_RedeemType_Option } = this.state;\n return (\n
\n
\n
\n

เพิ่มรีวอร์ด

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_channel_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_name_th\"]}\n
\n
\n\n \n
\n \n
\n {this.state.errors[\"rewards_name_en\"]}\n
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_description_th\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_description_en\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"point\"]}
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_id\"]}\n
\n
\n
\n\n {/* เงื่อนไขการแลกรีวอร์ด */}\n
\n \n
\n \n
\n {this.state.errors[\"redeem_type_id\"]}\n
\n
\n
\n
\n \n
\n จำนวนเงิน (บาท)
\n จำนวนเงิน (เปอร์เซ็น)
\n แถมสินค้า\n
{this.state.errors[\"rewards_discount_type\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_amount_min\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_discount_percent\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_discount_max\"]}
\n
\n
\n
\n \n
\n จำกัด
\n ไม่จำกัด
\n \n
{this.state.errors[\"rewards_limited\"]}
\n
\n
\n \n
{this.state.errors[\"rewards_count\"]}
\n
\n
\n\n {/* จำกัดแลกของรางวัล */}\n
\n \n
\n จำกัด
\n ไม่จำกัด
\n
{this.state.errors[\"redeem_limited\"]}
\n
\n
\n \n
{this.state.errors[\"redeem_count\"]}
\n
\n
\n\n
\n \n
\n แลกของรีวอร์ด
\n รับสินค้าที่ร้าน
\n จัดส่งสินค้าทางไปรษณีย์\n \n
{this.state.errors[\"rewards_type_receive\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_start\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_lastdate_redeem\"]}
\n
\n
\n
\n \n
\n หมดตามวันที่กำหนด
\n หมดตามจำนวนวันที่กำหนด
\n หมดตามจำนวนวัน และ วันที่กำหนด
\n \n
{this.state.errors[\"rewards_expired_type\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_end\"]}
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_expired_day\"]}\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_remark_en\"]}\n
\n
\n
\n
\n \n
\n Delivery
\n EMS
\n Pickup
\n Snackbox
\n เฉพาะ My Reward
\n {/* เฉพาะใน My rewards */}\n \n
{this.state.errors[\"rewards_showtype\"]}
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_image\"]}
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { rewardAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../../reward.css\";\n\nlet modalAlert;\nlet checkbox_reward_type_receive = []\nvar checkbox_rewards_showtype = []\n\n\nexport class Reward_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {\n rewards_category_id: 0\n },\n selectOption: [],\n selectedOption: {},\n select_RedeemType_Option: [],\n selected_RedeemType_Option: {},\n check_checkbox_reward_type_receive: [],\n check_checkbox_rewards_showtype: [],\n checkboxItems_reward_type_receive: [],\n checkboxItems_rewards_showtype: []\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmEdit = this.onConfirmEdit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.handleCheckbox = this.handleCheckbox.bind(this);\n }\n\n componentDidMount() {\n let { selectOption, select_RedeemType_Option } = this.state;\n var params = this.props.match.params\n\n rewardAction.getRewardCategoryList().then(res => {\n for (var i in res.data) {\n selectOption.push({\n label: res.data[i].rewards_category_name,\n value: res.data[i].rewards_category_id\n });\n }\n this.setState({ selectOption });\n });\n\n rewardAction.getRedeemTypeLists().then(data => {\n for (var i in data) {\n select_RedeemType_Option.push({\n label: data[i].type_name,\n value: data[i].id\n });\n }\n this.setState({ select_RedeemType_Option });\n })\n\n this.setState({ rewardid: params.rewards_id })\n this.getRewardDataByID(params.rewards_id)\n }\n\n getRewardDataByID(id) {\n var { \n selectedOption, \n selected_RedeemType_Option,\n inputBody, \n check_checkbox_reward_type_receive, \n check_checkbox_rewards_showtype, \n rewards_limited,\n rewards_limited_yes, \n rewards_limited_no, \n redeem_limited,\n redeem_limited_yes, \n redeem_limited_no, \n rewards_expired_type,\n rewards_expired_type_date,\n rewards_expired_type_number_day,\n rewards_expired_type_all,\n rewards_discount_type, \n rewards_discount_type_baht, \n rewards_discount_type_percent, \n rewards_discount_type_product, \n } = this.state;\n rewardAction.getRewardDataByID(id).then(e => {\n if(e.isSuccess === true) {\n var resp = e.data['0']\n console.log('detail: ', resp);\n inputBody = resp\n if(inputBody['rewards_image'] === Base_API.reward_category_image) {\n inputBody['oldImage'] = `${Base_API.reward}/images/default.png`\n } else {\n inputBody['oldImage'] = inputBody['rewards_image']\n }\n // ประเภทการรับรางวัล\n check_checkbox_reward_type_receive['type1'] = (inputBody['rewards_type_receive'].indexOf(\"1\") != -1 ? true : false);\n check_checkbox_reward_type_receive['type2'] = (inputBody['rewards_type_receive'].indexOf(\"2\") != -1 ? true : false);\n check_checkbox_reward_type_receive['type3'] = (inputBody['rewards_type_receive'].indexOf(\"3\") != -1 ? true : false);\n\n for(let i in inputBody['rewards_type_receive']){\n checkbox_reward_type_receive.push(inputBody['rewards_type_receive'][i])\n }\n\n // เมนูที่ต้องแสดงรางวัล\n check_checkbox_rewards_showtype['showtype1'] = (inputBody['rewards_showtype'].indexOf(\"1\") != -1 ? true : false);\n check_checkbox_rewards_showtype['showtype2'] = (inputBody['rewards_showtype'].indexOf(\"2\") != -1 ? true : false);\n check_checkbox_rewards_showtype['showtype3'] = (inputBody['rewards_showtype'].indexOf(\"3\") != -1 ? true : false);\n check_checkbox_rewards_showtype['showtype4'] = (inputBody['rewards_showtype'].indexOf(\"0\") != -1 ? true : false);\n check_checkbox_rewards_showtype['showtype5'] = (inputBody['rewards_showtype'].indexOf(\"5\") != -1 ? true : false);\n for(let i in inputBody['rewards_showtype']){\n if(inputBody['rewards_showtype'][i] != \",\"){\n checkbox_rewards_showtype.push(inputBody['rewards_showtype'][i])\n }\n }\n selectedOption['label'] = inputBody['rewards_category_name']\n selectedOption['value'] = inputBody['rewards_category_id']\n selected_RedeemType_Option['label'] = inputBody['type_name']\n selected_RedeemType_Option['value'] = inputBody['rewards_type_redeem']\n console.log(inputBody);\n\n rewards_limited = inputBody['rewards_limited']\n rewards_limited_yes = (inputBody['rewards_limited'] == \"y\" ? \"checked\" : \"\")\n rewards_limited_no = (inputBody['rewards_limited'] == \"n\" ? \"checked\" : \"\")\n\n redeem_limited = inputBody['redeem_limited']\n redeem_limited_yes = (inputBody['redeem_limited'] == \"y\" ? \"checked\" : \"\")\n redeem_limited_no = (inputBody['redeem_limited'] == \"n\" ? \"checked\" : \"\")\n \n rewards_discount_type = inputBody['rewards_discount_type']\n rewards_discount_type_baht = (inputBody['rewards_discount_type'] == \"baht\" ? \"checked\" : \"\")\n rewards_discount_type_percent = (inputBody['rewards_discount_type'] == \"percent\" ? \"checked\" : \"\")\n rewards_discount_type_product = (inputBody['rewards_discount_type'] == \"product\" ? \"checked\" : \"\")\n\n rewards_expired_type = inputBody['rewards_expired_type']\n rewards_expired_type_date = (inputBody['rewards_expired_type'] == \"date\" ? \"checked\" : \"\")\n rewards_expired_type_number_day = (inputBody['rewards_expired_type'] == \"number_day\" ? \"checked\" : \"\")\n rewards_expired_type_all = (inputBody['rewards_expired_type'] == \"all\" ? \"checked\" : \"\")\n\n this.setState({ \n selectedOption, \n inputBody: inputBody, \n check_checkbox_reward_type_receive, \n checkboxItems_reward_type_receive: inputBody['rewards_type_receive'],\n check_checkbox_rewards_showtype, \n checkboxItems_rewards_showtype: inputBody['rewards_showtype'],\n rewards_limited,\n rewards_limited_yes,\n rewards_limited_no,\n redeem_limited,\n redeem_limited_yes,\n redeem_limited_no,\n rewards_discount_type, \n rewards_discount_type_baht, \n rewards_discount_type_percent, \n rewards_discount_type_product, \n rewards_expired_type,\n rewards_expired_type_date,\n rewards_expired_type_number_day,\n rewards_expired_type_all\n\n })\n \n\n } else {\n this.onModalError('ผิดพลาด', e.message)\n }\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmEdit()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/reward/list\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"rewards_code\"]) {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณากรอกรหัสรางวัล\";\n }\n\n if (!inputBody[\"rewards_name_th\"]) {\n formIsValid = false;\n errors[\"rewards_name_th\"] = \"*กรุณากรอกชื่อรางวัล (TH)\";\n }\n if (!inputBody[\"rewards_description_th\"]) {\n formIsValid = false;\n errors[\"rewards_description_th\"] = \"*กรุณากรอกรายละเอียดรางวัล (TH)\";\n }\n\n if (!inputBody[\"rewards_name_en\"]) {\n formIsValid = false;\n errors[\"rewards_name_en\"] = \"*กรุณากรอกชื่อรางวัล (EN)\";\n }\n if (!inputBody[\"rewards_description_en\"]) {\n formIsValid = false;\n errors[\"rewards_description_en\"] = \"*กรุณากรอกรายละเอียดรางวัล (EN)\";\n }\n\n if (!inputBody[\"rewards_category_id\"]) {\n formIsValid = false;\n errors[\"rewards_category_id\"] = \"*กรุณาเลือกประเภทของรางวัล\";\n }\n if (!inputBody[\"rewards_type_redeem\"]) {\n formIsValid = false;\n errors[\"rewards_type_redeem\"] = \"*กรุณาเลือกเงื่อนไขในการแลกรีวอร์ด\";\n }\n if (!inputBody[\"rewards_start\"]) {\n formIsValid = false;\n errors[\"rewards_start\"] = \"*กรุณากรอกวันที่เริ่มต้น\";\n }\n if (!inputBody[\"rewards_image\"]) {\n formIsValid = false;\n errors[\"rewards_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n if (typeof this.state.checkboxItems_reward_type_receive !== 'undefined' && this.state.checkboxItems_reward_type_receive.length === 0) {\n formIsValid = false;\n errors[\"rewards_type_receive\"] = \"*กรุณาเลือกประเภทการรับสินค้าอย่างน้อย 1 ประเภท\";\n }\n if (this.state.rewards_limited === undefined) {\n formIsValid = false;\n errors[\"rewards_limited\"] = \"*กรุณาแนบเลือกจำกัดของรางวัล\";\n }\n if (this.state.rewards_limited === 'y' && !inputBody[\"rewards_count\"]) {\n formIsValid = false;\n errors[\"rewards_count\"] = \"*กรุณากรอกจำนวนของรางวัล\";\n }\n if (this.state.redeem_limited === undefined) {\n formIsValid = false;\n errors[\"redeem_limited\"] = \"*กรุณาแนบเลือกจำกัดการแลกของรางวัล\";\n }\n if (this.state.redeem_limited === 'y' && !inputBody[\"redeem_count\"]) {\n formIsValid = false;\n errors[\"redeem_count\"] = \"*กรุณากรอกจำนวนของรางวัล\";\n }\n if (this.state.rewards_expired_type === undefined) {\n formIsValid = false;\n errors[\"rewards_expired_type\"] = \"*กรุณาเลือกประเภทวันที่สิ้นสุดของรางวัล\";\n }\n if (this.state.rewards_expired_type === 'date' && !inputBody[\"rewards_end\"]) {\n formIsValid = false;\n errors[\"rewards_end\"] = \"*กรุณากรอกวันทีสิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'number_day' && !inputBody[\"rewards_expired_day\"]) {\n formIsValid = false;\n errors[\"rewards_expired_day\"] = \"*กรุณากรอกวันทีสิ้นสุด\";\n }\n\n if (this.state.rewards_expired_type === 'all' && !inputBody[\"rewards_end\"]) {\n formIsValid = false;\n errors[\"rewards_end\"] = \"*กรุณากรอกวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'all' && !inputBody[\"rewards_expired_day\"]) {\n formIsValid = false;\n errors[\"rewards_expired_day\"] = \"*กรุณากรอกจำนวนวันที่สิ้นสุด\";\n }\n\n if (this.state.rewards_discount_type === undefined) {\n formIsValid = false;\n errors[\"rewards_discount_type\"] = \"*กรุณาเลือกประเภทส่วนลด\";\n }\n if (this.state.inputBody['rewards_amount_min'] === undefined) {\n formIsValid = false;\n errors[\"rewards_amount_min\"] = \"*กรุณากรอกจำนวนเงินขั้นต่ำในการใช้รางวัล (บาท)\";\n }\n if (this.state.inputBody['rewards_discount_max'] === undefined && (this.state.rewards_discount_type === \"baht\" || this.state.rewards_discount_type === \"percent\")) {\n formIsValid = false;\n errors[\"rewards_discount_max\"] = \"*กรุณากรอกจำนวนเงินที่ลดสูงสุด (บาท)\";\n }\n if (this.state.inputBody['rewards_discount_percent'] === undefined && this.state.rewards_discount_type === \"percent\") {\n formIsValid = false;\n errors[\"rewards_discount_percent\"] = \"*กรุณากรอกจำนวนเงินที่ลด (เปอร์เซ็น)\";\n }\n if (this.state.checkboxItems_rewards_showtype == undefined) {\n formIsValid = false;\n errors[\"rewards_showtype\"] = \"*กรุณาเลือกเมนูที่ต้องแสดงรางวัลอย่างน้อย 1 ประเภท\";\n }\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmEdit(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n if(typeof(this.state.inputBody[\"rewards_image\"]) === 'object') {\n formData.append(\"rewards_image\", this.state.inputBody[\"rewards_image\"]);\n }\n if(Array.isArray(this.state.checkboxItems_reward_type_receive)) {\n formData.append(\"rewards_type_receive\", this.state.checkboxItems_reward_type_receive);\n }\n if(Array.isArray(this.state.checkboxItems_rewards_showtype)) {\n formData.append(\"rewards_showtype\", this.state.checkboxItems_rewards_showtype);\n }\n formData.append(\"rewards_code\", this.state.inputBody[\"rewards_code\"]);\n formData.append(\"rewards_channel_code\", this.state.inputBody[\"rewards_channel_code\"]);\n formData.append(\"rewards_name_th\", this.state.inputBody[\"rewards_name_th\"]);\n formData.append(\"rewards_description_th\",this.state.inputBody[\"rewards_description_th\"]);\n formData.append(\"rewards_name_en\", this.state.inputBody[\"rewards_name_en\"]);\n formData.append(\"rewards_description_en\",this.state.inputBody[\"rewards_description_en\"]);\n formData.append(\"point\", this.state.inputBody[\"point\"]);\n formData.append(\"rewards_category_id\",this.state.inputBody[\"rewards_category_id\"]);\n formData.append(\"rewards_type_redeem\",this.state.inputBody[\"rewards_type_redeem\"]);\n formData.append(\"rewards_count\", this.state.inputBody[\"rewards_count\"]);\n formData.append(\"rewards_remark\", this.state.inputBody[\"rewards_remark\"]);\n formData.append(\"rewards_remark_en\", this.state.inputBody[\"rewards_remark_en\"]);\n formData.append(\"is_open\", this.state.inputBody[\"is_open\"]);\n formData.append(\"is_show\", this.state.inputBody[\"is_show\"]);\n formData.append(\"rewards_start\", this.state.inputBody[\"rewards_start\"]);\n formData.append(\"rewards_lastdate_redeem\", this.state.inputBody[\"rewards_lastdate_redeem\"]);\n formData.append(\"rewards_end\", this.state.inputBody[\"rewards_end\"]);\n formData.append(\"rewards_limited\", this.state.rewards_limited);\n formData.append(\"redeem_count\", this.state.inputBody[\"redeem_count\"]);\n formData.append(\"redeem_limited\", this.state.redeem_limited);\n formData.append(\"rewards_expired_type\", this.state.rewards_expired_type);\n formData.append(\"rewards_expired_day\", this.state.inputBody[\"rewards_expired_day\"]);\n formData.append(\"rewards_discount_type\", this.state.rewards_discount_type);\n formData.append(\"rewards_amount_min\", this.state.inputBody['rewards_amount_min']);\n formData.append(\"rewards_discount_max\", this.state.inputBody['rewards_discount_max']);\n formData.append(\"rewards_forstaff\", this.state.inputBody['rewards_forstaff']);\n formData.append(\"rewards_discount_percent\", this.state.inputBody['rewards_discount_percent']);\n formData.append(\"rewards_welcome\", this.state.inputBody['rewards_welcome']);\n formData.append(\"rewards_birthday\", this.state.inputBody['rewards_birthday']);\n\n rewardAction.updateReward(formData, this.state.rewardid).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = selectedOption => {\n let { inputBody, errors } = this.state;\n inputBody[\"rewards_category_id\"] = selectedOption.value;\n this.state.errors[\"rewards_category_id\"] = null;\n this.setState({ selectedOption, inputBody, errors });\n };\n handleSelectRedeemType = selected_RedeemType_Option => {\n let { inputBody, errors } = this.state;\n inputBody[\"rewards_type_redeem\"] = selected_RedeemType_Option.value;\n this.state.errors[\"rewards_type_redeem\"] = null;\n this.setState({ selected_RedeemType_Option, inputBody, errors });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\" || e.target.name === \"is_show\" || e.target.name === \"rewards_forstaff\" || e.target.name === \"rewards_welcome\" || e.target.name === \"rewards_birthday\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n handleCheckbox(e) {\n let { inputBody,errors } = this.state;\n\n const itemName = e.target.name;\n const itemValue = e.target.value;\n const isChecked = e.target.checked;\n if(itemName == 'rewards_type_receive'){\n if(e.target.checked === true){\n checkbox_reward_type_receive.push(itemValue)\n }else{\n const index = checkbox_reward_type_receive.indexOf(itemValue);\n if (index > -1) {\n checkbox_reward_type_receive.splice(index, 1);\n }\n } \n this.state.errors[\"rewards_type_receive\"] = null;\n this.setState({\n checkboxItems_reward_type_receive: checkbox_reward_type_receive\n })\n }\n\n if(itemName == 'rewards_showtype'){\n if(e.target.checked === true){\n checkbox_rewards_showtype.push(itemValue)\n }else{\n const index = checkbox_rewards_showtype.indexOf(itemValue);\n if (index > -1) {\n checkbox_rewards_showtype.splice(index, 1);\n }\n } \n this.state.errors[\"rewards_showtype\"] = null;\n this.setState({\n checkboxItems_rewards_showtype: checkbox_rewards_showtype\n })\n }\n this.setState({ errors, inputBody });\n }\n \n\n handleRadio = e => {\n let { inputBody, errors } = this.state;\n\n const itemName = e.target.name;\n const itemValue = e.target.value;\n\n if(itemName === \"rewards_limited\"){\n this.state.errors[\"rewards_limited\"] = null; \n\n inputBody['rewards_count'] = 0;\n \n this.setState({\n inputBody,\n rewards_limited : itemValue,\n })\n }\n if(itemName === \"redeem_limited\"){\n this.state.errors[\"redeem_limited\"] = null; \n\n inputBody['redeem_count'] = 0;\n \n this.setState({\n inputBody,\n redeem_limited : itemValue,\n })\n }\n \n if(itemName === \"rewards_expired_type\"){\n this.state.errors[\"rewards_expired_type\"] = null;\n \n inputBody['rewards_end'] = \"\";\n inputBody['rewards_expired_day'] = \"\";\n\n this.setState({\n inputBody,\n rewards_expired_type : itemValue\n })\n }\n\n if(itemName === \"rewards_discount_type\"){\n this.state.errors[\"rewards_discount_type\"] = null;\n \n if(itemValue === \"baht\" || itemValue === \"product\"){\n inputBody['rewards_discount_percent'] = \"\"\n }\n if(itemValue === \"product\"){\n inputBody['rewards_discount_max'] = \"\"\n }\n\n this.setState({\n inputBody,\n rewards_discount_type : itemValue\n })\n }\n this.setState({ errors }); \n };\n\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() { \n let { selectedOption, selected_RedeemType_Option } = this.state;\n return (\n
\n
\n
\n

แก้ไขรางวัล - {this.state.inputBody[\"rewards_name_th\"]}

\n
\n
\n
\n
\n {this.state.inputBody[\"rewards_name_th\"]}\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_name_th\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_name_en\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_channel_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_description_th\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_description_en\"]}\n
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"point\"]}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_id\"]}\n
\n
\n
\n\n {/* เงื่อนไขการแลกรีวอร์ด */}\n
\n \n
\n \n
\n {this.state.errors[\"rewards_type_redeem\"]}\n
\n
\n
\n\n
\n \n
\n จำนวนเงิน (บาท)
\n จำนวนเงิน (เปอร์เซ็น)
\n แถมสินค้า\n\n
{this.state.errors[\"rewards_discount_type\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_amount_min\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_discount_percent\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_discount_max\"]}
\n
\n
\n
\n \n
\n จำกัด
\n ไม่จำกัด
\n \n
{this.state.errors[\"rewards_limited\"]}
\n
\n
\n \n
{this.state.errors[\"rewards_count\"]}
\n
\n
\n\n {/* จำกัดแลกของรางวัล */}\n
\n \n
\n จำกัด
\n ไม่จำกัด
\n
{this.state.errors[\"redeem_limited\"]}
\n
\n
\n \n
{this.state.errors[\"redeem_count\"]}
\n
\n
\n\n
\n \n
\n แลกของรางวัล
\n รับสินค้าที่ร้าน
\n จัดส่งสินค้าทางไปรษณีย์\n \n
{this.state.errors[\"rewards_type_receive\"]}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"rewards_start\"]}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"rewards_lastdate_redeem\"]}
\n
\n
\n\n
\n \n
\n หมดตามวันที่กำหนด
\n หมดตามจำนวนวันที่กำหนด
\n หมดตามจำนวนวัน และ วันที่กำหนด
\n\n
{this.state.errors[\"rewards_expired_type\"]}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"rewards_end\"]}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"rewards_expired_day\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"rewards_remark_en\"]}\n
\n
\n
\n
\n \n
\n Delivery
\n EMS
\n Pickup
\n Snackbox
\n เฉพาะ My Rewards
\n {/* เฉพาะใน My rewards */}\n \n
{this.state.errors[\"rewards_showtype\"]}
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_image\"]}\n
\n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { rewardAction } from \"../../../../_actions\"\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Reward_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n onError(ev) {\n console.log(ev)\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"rewards_id\"\n },\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"rewards_image\"\n },\n {\n title: \"รหัสรางวัล\",\n data: \"rewards_code\"\n },\n {\n title: \"ชื่อรางวัล\",\n data: \"rewards_name_th\"\n },\n {\n title: \"คะแนน (P)\",\n data: \"point\"\n },\n {\n title: \"ประเภท\",\n data: \"rewards_category_name\"\n },\n {\n title: \"จำนวน (รางวัล)\",\n data: \"rewards_count\"\n },\n {\n title: \"วันที่สร้าง\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"สถานะการใช้งาน\",\n class: \"text-center\",\n data: \"is_open\"\n\n },\n {\n title: \" จัดการ\",\n class: \"text-center\",\n data: \"rewards_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n console.log(rowData)\n \n var request = new XMLHttpRequest(); \n request.open('GET', rowData.rewards_image, true);\n request.onreadystatechange = function(){\n if (request.readyState === 4){\n if (request.status === 404) { \n document.querySelector(`#catth-${rowData.rewards_id}`).src = 'https://grabapi.afteryoudessertcafe.com:4020/images/default.png' \n } \n }\n };\n request.send();\n\n $(td).html(`${rowData.rewards_name}`);\n },\n orderable: false\n },\n // {\n // targets: 8,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td)\n // .html(`\n // \n // `);\n // },\n // orderable: false\n // },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n //
\n //
`);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.reward}/reward`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n console.log(data)\n return data;\n }\n },\n order: [[7, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 0;\n var formData = new FormData();\n formData.append('is_open', fval)\n\n rewardAction.activateReward(formData, fid).then(e => {\n\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var rewardId = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(rewardId)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(rewardId) {\n rewardAction.deleteReward(rewardId).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการของรางวัล

\n \n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { rewardAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../../reward.css\";\n\nlet modalAlert;\nlet checkbox_reward_type_receive = []\nvar checkbox_rewards_showtype = []\n\n\nexport class Reward_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {\n rewards_category_id: 0,\n is_open: 0,\n rewards_forstaff : 0\n },\n selectOption: [],\n selectedOption: null,\n checkboxItems_reward_type_receive: [],\n checkboxItems_rewards_showtype: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOption } = this.state;\n\n rewardAction.getRewardCategoryList().then(res => {\n for (var i in res.data) {\n selectOption.push({\n label: res.data[i].rewards_category_name,\n value: res.data[i].rewards_category_id\n });\n }\n this.setState({ selectOption });\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/reward/list\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"rewards_code\"]) {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณากรอกรหัสรางวัล\";\n }\n\n if (!inputBody[\"rewards_name_th\"]) {\n formIsValid = false;\n errors[\"rewards_name_th\"] = \"*กรุณากรอกชื่อรางวัล (TH)\";\n }\n if (!inputBody[\"rewards_description_th\"]) {\n formIsValid = false;\n errors[\"rewards_description_th\"] = \"*กรุณากรอกรายละเอียดรางวัล (TH)\";\n }\n\n if (!inputBody[\"rewards_name_en\"]) {\n formIsValid = false;\n errors[\"rewards_name_en\"] = \"*กรุณากรอกชื่อรางวัล (EN)\";\n }\n if (!inputBody[\"rewards_description_en\"]) {\n formIsValid = false;\n errors[\"rewards_description_en\"] = \"*กรุณากรอกรายละเอียดรางวัล (EN)\";\n }\n if (!inputBody[\"point\"]) {\n formIsValid = false;\n errors[\"point\"] = \"*กรุณากรอกคะแนนที่ใช้แลก\";\n }\n if (!inputBody[\"rewards_category_id\"]) {\n formIsValid = false;\n errors[\"rewards_category_id\"] = \"*กรุณาเลือกประเภทของรางวัล\";\n }\n if (!inputBody[\"rewards_start\"]) {\n formIsValid = false;\n errors[\"rewards_start\"] = \"*กรุณากรอกวันที่เริ่มต้น\";\n }\n if (!inputBody[\"rewards_image\"]) {\n formIsValid = false;\n errors[\"rewards_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n if (typeof this.state.checkboxItems_reward_type_receive !== 'undefined' && this.state.checkboxItems_reward_type_receive.length === 0) {\n formIsValid = false;\n errors[\"rewards_type_receive\"] = \"*กรุณาเลือกประเภทการรับสินค้าอย่างน้อย 1 ประเภท\";\n }\n if (this.state.rewards_discount_type === undefined) {\n formIsValid = false;\n errors[\"rewards_discount_type\"] = \"*กรุณาเลือกประเภทส่วนลด\";\n }\n if (this.state.rewards_limited === undefined) {\n formIsValid = false;\n errors[\"rewards_limited\"] = \"*กรุณาแนบเลือกจำกัดของรางวัล\";\n }\n if (this.state.rewards_limited === 'y' && !inputBody[\"rewards_count\"]) {\n formIsValid = false;\n errors[\"rewards_count\"] = \"*กรุณากรอกจำนวนของรางวัล\";\n }\n if (this.state.rewards_expired_type === undefined) {\n formIsValid = false;\n errors[\"rewards_expired_type\"] = \"*กรุณาเลือกประเภทวันที่สิ้นสุดของรางวัล\";\n }\n if (this.state.rewards_expired_type === 'date' && !inputBody[\"rewards_end\"]) {\n formIsValid = false;\n errors[\"rewards_end\"] = \"*กรุณากรอกวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'number_day' && !inputBody[\"rewards_expired_day\"]) {\n formIsValid = false;\n errors[\"rewards_expired_day\"] = \"*กรุณากรอกจำนวนวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'all' && !inputBody[\"rewards_end\"]) {\n formIsValid = false;\n errors[\"rewards_end\"] = \"*กรุณากรอกวันที่สิ้นสุด\";\n }\n if (this.state.rewards_expired_type === 'all' && !inputBody[\"rewards_expired_day\"]) {\n formIsValid = false;\n errors[\"rewards_expired_day\"] = \"*กรุณากรอกจำนวนวันที่สิ้นสุด\";\n }\n if (this.state.inputBody['rewards_amount_min'] === undefined) {\n formIsValid = false;\n errors[\"rewards_amount_min\"] = \"*กรุณากรอกจำนวนเงินขั้นต่ำในการใช้รางวัล (บาท)\";\n }\n if (this.state.inputBody['rewards_discount_max'] === undefined && (this.state.rewards_discount_type === \"baht\" || this.state.rewards_discount_type === \"percent\")) {\n formIsValid = false;\n errors[\"rewards_discount_max\"] = \"*กรุณากรอกจำนวนเงินที่ลดสูงสุด (บาท)\";\n }\n if (this.state.inputBody['rewards_discount_percent'] === undefined && this.state.rewards_discount_type === \"percent\") {\n formIsValid = false;\n errors[\"rewards_discount_percent\"] = \"*กรุณากรอกจำนวนเงินที่ลด (เปอร์เซ็น)\";\n }\n if (this.state.checkboxItems_rewards_showtype == undefined) {\n formIsValid = false;\n errors[\"rewards_showtype\"] = \"*กรุณาเลือกเมนูที่ต้องแสดงรางวัลอย่างน้อย 1 ประเภท\";\n }\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n if(typeof(this.state.inputBody[\"rewards_image\"]) === 'object') {\n formData.append(\"rewards_image\", this.state.inputBody[\"rewards_image\"]);\n }\n if(Array.isArray(this.state.checkboxItems_reward_type_receive)) {\n formData.append(\"rewards_type_receive\", this.state.checkboxItems_reward_type_receive);\n }\n if(Array.isArray(this.state.checkboxItems_rewards_showtype)) {\n formData.append(\"rewards_showtype\", this.state.checkboxItems_rewards_showtype);\n }\n formData.append(\"rewards_code\", this.state.inputBody[\"rewards_code\"]);\n formData.append(\"rewards_name_th\", this.state.inputBody[\"rewards_name_th\"]);\n formData.append(\"rewards_description_th\",this.state.inputBody[\"rewards_description_th\"]);\n formData.append(\"rewards_name_en\", this.state.inputBody[\"rewards_name_en\"]);\n formData.append(\"rewards_description_en\",this.state.inputBody[\"rewards_description_en\"]);\n formData.append(\"point\", this.state.inputBody[\"point\"]);\n formData.append(\"rewards_category_id\",this.state.inputBody[\"rewards_category_id\"]);\n formData.append(\"rewards_count\", this.state.inputBody[\"rewards_count\"]);\n formData.append(\"rewards_start\", this.state.inputBody[\"rewards_start\"]);\n formData.append(\"rewards_end\", this.state.inputBody[\"rewards_end\"]);\n formData.append(\"rewards_lastdate_redeem\", this.state.inputBody[\"rewards_lastdate_redeem\"]);\n formData.append(\"rewards_remark\", (this.state.inputBody[\"rewards_remark\"] ? this.state.inputBody[\"rewards_remark\"] : ''));\n formData.append(\"rewards_remark_en\", (this.state.inputBody[\"rewards_remark_en\"] ? this.state.inputBody[\"rewards_remark_en\"] : ''));\n formData.append(\"is_open\", (this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 0));\n formData.append(\"rewards_limited\", this.state.rewards_limited);\n formData.append(\"rewards_expired_type\", this.state.rewards_expired_type);\n formData.append(\"rewards_expired_day\", this.state.inputBody[\"rewards_expired_day\"]);\n formData.append(\"rewards_discount_type\", this.state.rewards_discount_type);\n formData.append(\"rewards_amount_min\", this.state.inputBody['rewards_amount_min']);\n formData.append(\"rewards_discount_max\", this.state.inputBody['rewards_discount_max']);\n formData.append(\"rewards_forstaff\", this.state.inputBody['rewards_forstaff']);\n formData.append(\"rewards_discount_percent\", this.state.inputBody['rewards_discount_percent']);\n\n rewardAction.createReward(formData).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = selectedOption => {\n let { inputBody, errors } = this.state;\n inputBody[\"rewards_category_id\"] = selectedOption.value;\n this.state.errors[\"rewards_category_id\"] = null;\n this.setState({ selectedOption, inputBody, errors });\n };\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\" || e.target.name === \"rewards_forstaff\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n handleCheckbox = e => {\n let { errors } = this.state;\n\n const itemName = e.target.name;\n const itemValue = e.target.value;\n const isChecked = e.target.checked;\n if(itemName == 'rewards_type_receive'){\n if(e.target.checked === true){\n checkbox_reward_type_receive.push(itemValue)\n }else{\n const index = checkbox_reward_type_receive.indexOf(itemValue);\n if (index > -1) {\n checkbox_reward_type_receive.splice(index, 1);\n }\n }\n this.state.errors[\"rewards_type_receive\"] = null;\n\n this.setState({\n checkboxItems_reward_type_receive: checkbox_reward_type_receive\n })\n }\n\n if(itemName == 'rewards_showtype'){\n if(e.target.checked === true){\n checkbox_rewards_showtype.push(itemValue)\n }else{\n const index = checkbox_rewards_showtype.indexOf(itemValue);\n if (index > -1) {\n checkbox_rewards_showtype.splice(index, 1);\n }\n }\n this.state.errors[\"rewards_showtype\"] = null;\n this.setState({\n checkboxItems_rewards_showtype: checkbox_rewards_showtype\n })\n }\n this.setState({ errors });\n };\n\n handleRadio = e => {\n let { inputBody, errors } = this.state;\n\n const itemName = e.target.name;\n const itemValue = e.target.value;\n\n if(itemName === \"rewards_limited\"){\n this.state.errors[\"rewards_limited\"] = null; \n\n inputBody['rewards_count'] = 0;\n\n this.setState({\n inputBody,\n rewards_limited : itemValue,\n })\n }\n \n if(itemName === \"rewards_expired_type\"){\n this.state.errors[\"rewards_expired_type\"] = null;\n \n inputBody['rewards_end'] = \"\";\n inputBody['rewards_expired_day'] = \"\";\n\n this.setState({\n inputBody,\n rewards_expired_type : itemValue\n })\n }\n\n if(itemName === \"rewards_discount_type\"){\n this.state.errors[\"rewards_discount_type\"] = null;\n \n if(itemValue === \"baht\" || itemValue === \"product\"){\n inputBody['rewards_discount_percent'] = \"\"\n }\n if(itemValue === \"product\"){\n inputBody['rewards_discount_max'] = \"\"\n }\n this.setState({\n inputBody,\n rewards_discount_type : itemValue\n })\n }\n this.setState({ errors }); \n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() { \n let { selectedOption } = this.state;\n return (\n
\n
\n
\n

เพิ่มรางวัล

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_name_th\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_name_en\"]}\n
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_description_th\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_description_en\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"point\"]}
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_id\"]}\n
\n
\n
\n
\n \n
\n จำนวนเงิน (บาท)
\n จำนวนเงิน (เปอร์เซ็น)
\n แถมสินค้า\n
{this.state.errors[\"rewards_discount_type\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_amount_min\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_discount_percent\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_discount_max\"]}
\n
\n
\n
\n \n
\n จำกัด
\n ไม่จำกัด
\n \n
{this.state.errors[\"rewards_limited\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_count\"]}
\n
\n
\n
\n \n
\n แลกของรางวัล
\n รับสินค้าที่ร้าน
\n จัดส่งสินค้าทางไปรษณีย์\n \n
{this.state.errors[\"rewards_type_receive\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_start\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_lastdate_redeem\"]}
\n
\n
\n
\n \n
\n หมดตามวันที่กำหนด
\n หมดตามจำนวนวันที่กำหนด
\n หมดตามจำนวนวัน และ วันที่กำหนด
\n \n
{this.state.errors[\"rewards_expired_type\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"rewards_end\"]}
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_expired_day\"]}\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_remark_en\"]}\n
\n
\n
\n
\n \n
\n Delivery
\n EMS
\n Pickup
\n เฉพาะ My Reward
\n {/* เฉพาะใน My rewards */}\n \n
{this.state.errors[\"rewards_showtype\"]}
\n
\n
\n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"rewards_image\"]}
\n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { rewardAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../../reward.css\";\n\nlet modalAlert;\nlet checkbox_reward_type_receive = []\nvar checkbox_rewards_showtype = []\n\n\nexport class Reward_Staff_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n inputBody: {}\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmEdit = this.onConfirmEdit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOption } = this.state;\n var params = this.props.match.params\n console.log(params);\n this.setState({ staff_reward_id: params.staff_reward_id })\n this.getRewardStaffByID(params.staff_reward_id)\n }\n\n getRewardStaffByID(id) {\n console.log(id);\n var { \n inputBody \n } = this.state;\n rewardAction.getRewardStaffByID(id).then(e => {\n if(e.isSuccess === true) {\n var resp = e.data['0']\n inputBody = resp \n this.setState({ \n inputBody: inputBody\n })\n \n\n } else {\n this.onModalError('ผิดพลาด', e.message)\n }\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmEdit()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/reward/staff/list/${this.state.inputBody[\"staff_idcard\"]}`;\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"reward_count\"]) {\n formIsValid = false;\n errors[\"reward_count\"] = \"*กรุณากรอกจำนวนรีวอร์ดที่แลกได้\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmEdit(ev) {\n this.setState({ modal: null });\n let data = {\n reward_count: this.state.inputBody[\"reward_count\"]\n }\n\n rewardAction.updateRewardStaffByID(this.state.staff_reward_id, data).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n render() { \n return (\n
\n
\n
\n

แก้ไขรีวอร์ดสำหรับพนักงาน

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n ({this.state.inputBody[\"rewards_code\"]}) {this.state.inputBody[\"rewards_name_th\"]}\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"reward_count\"]}\n
\n
\n
\n \n {/*
\n \n
\n
*/}\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { staffAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Reward_Staff extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"รหัสพนักงาน\",\n class: \"text-center\",\n data: \"staff_number\"\n },\n {\n title: \"ขื่อจริง\",\n class: \"text-left\",\n data: \"staff_firstname\"\n },\n {\n title: \"นามสกุล\",\n class: \"text-left\",\n data: \"staff_lastname\"\n },\n {\n title: \"แผนก\",\n class: \"text-left\",\n data: \"staff_department\"\n },\n {\n title: \"ตำแหน่ง\",\n class: \"text-left\",\n data: \"staff_position\"\n },\n {\n title: \"รหัสบัตรประชาชน\",\n class: \"text-left\",\n data: \"staff_idcard\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"staff_idcard\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets:6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.admin}/staff`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"asc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายชื่อพนักงาน ( สำหรับสิทธิ์ในการแลกรีวอร์ด )

\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { rewardAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Reward_Staff_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n var params = this.props.match.params;\n const columns = [\n {\n title: \"รหัสรีวอร์ด\",\n class: \"text-center\",\n data: \"rewards_code\"\n },\n {\n title: \"ชื่อรีวอร์ด\",\n class: \"text-left\",\n data: \"rewards_name_th\"\n },\n {\n title: \"สถานะรีวอร์ด\",\n class: \"text-left\",\n data: \"is_open\"\n },\n {\n title: \"จำนวนจำกัดการแลก\",\n class: \"text-left\",\n data: \"reward_count\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"staff_reward_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets:4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.reward}/api/reward_staff/list/${params.staff_idcard}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[4, \"asc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายชื่อพนักงาน ( สำหรับสิทธิ์ในการแลกรีวอร์ด )

\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { rewardAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Reward_Category_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {\n rewards_category_type : 1\n }\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/reward/category\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"rewards_category_name\"]) {\n formIsValid = false;\n errors[\"rewards_category_name\"] = \"*กรุณากรอกชื่อหมวดหมู่รางวัล (TH)\";\n }\n\n if (!inputBody[\"rewards_category_name_en\"]) {\n formIsValid = false;\n errors[\"rewards_category_name_en\"] = \"*กรุณากรอกชื่อหมวดหมู่รางวัล (EN)\";\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n formData.append(\"rewards_category_name\",this.state.inputBody[\"rewards_category_name\"]);\n formData.append(\"rewards_category_subtitle\",\"-\");\n formData.append(\"rewards_category_name_en\",this.state.inputBody[\"rewards_category_name_en\"]);\n formData.append(\"rewards_category_subtitle_en\",\"-\");\n formData.append(\"rewards_category_type\",this.state.inputBody[\"rewards_category_type\"]);\n formData.append(\"is_open\",this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 2);\n formData.append(\"count\", 999);\n formData.append(\"user_id\", 1);\n\n rewardAction.createRewardCategory(formData).then(e => {\n console.warn(e);\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

เพิ่มหมวดหมู่รางวัล

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_name\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_name_en\"]}\n
\n
\n
\n\n
\n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { rewardAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Reward_Category_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n rewardid: 0\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n var params = this.props.match.params\n this.setState({ rewardid: params.rewards_id })\n this.getRewardDataByID(params.rewards_id)\n }\n\n getRewardDataByID(id) {\n rewardAction.getRewardCategoryDataByID(id).then(e => {\n if(e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody)\n // if(newObject['rewards_category_image'] === Base_API.rewards_category_image) {\n // newObject['oldImage'] = `${process.env.PUBLIC_URL}/images/default.png`\n // } else {\n // newObject['oldImage'] = newObject['rewards_category_image']\n // }\n newObject['rewards_category_type_1'] = (newObject['rewards_category_type'] == '1' ? true : false)\n newObject['rewards_category_type_2'] = (newObject['rewards_category_type'] == '2' ? true : false)\n this.setState({ inputBody: newObject })\n } else {\n this.onModalError('ผิดพลาด', e.message)\n }\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/reward/category\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"rewards_category_name\"]) {\n formIsValid = false;\n errors[\"rewards_category_name\"] = \"*กรุณากรอกชื่อหมวดหมู่รางวัล (TH)\"; }\n\n if (!inputBody[\"rewards_category_name_en\"]) {\n formIsValid = false;\n errors[\"rewards_category_name_en\"] = \"*กรุณากรอกชื่อหมวดหมู่รางวัล (EN)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n // if(typeof(this.state.inputBody[\"rewards_category_image\"]) === 'object') {\n // formData.append(\"rewards_category_image\", this.state.inputBody[\"rewards_category_image\"]);\n // }\n formData.append(\"rewards_category_name\",this.state.inputBody[\"rewards_category_name\"]);\n formData.append(\"rewards_category_subtitle\",\"-\");\n formData.append(\"rewards_category_name_en\",this.state.inputBody[\"rewards_category_name_en\"]);\n formData.append(\"rewards_category_subtitle_en\",\"-\");\n formData.append(\"rewards_category_type\",this.state.inputBody[\"rewards_category_type\"]);\n formData.append(\"is_open\",this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 2);\n formData.append(\"user_id\", 1);\n\n rewardAction.updateRewardCategory(formData, this.state.rewardid).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n onImageError(e) {\n e.target.setAttribute(\"src\", `${process.env.PUBLIC_URL}/images/default.png`);\n }\n\n render() {\n return (\n
\n
\n
\n

แก้ไขหมวดหมู่รางวัล

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_name\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"rewards_category_name_en\"]}\n
\n
\n
\n\n
\n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { rewardAction } from \"../../../../_actions\"\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Reward_Category extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n onError(ev) {\n console.log(ev)\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"rewards_category_id\"\n },\n {\n title: \"ชื่อหมวดหมู่ (TH)\",\n data: \"rewards_category_name\"\n },\n {\n title: \"ชื่อหมวดหมู่ (EN)\",\n data: \"rewards_category_name_en\"\n },\n {\n title: \"วันที่สร้าง\",\n data: \"created_at\"\n },\n {\n title: \"วันที่แก้ไข\",\n data: \"updated_at\"\n },\n {\n title: \"สถานะการใช้งาน\",\n data: \"is_open\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"rewards_category_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n\n // \n },\n orderable: false\n }\n\n ],\n ajax: {\n url: `${Base_API.reward}/reward_category`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[3, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n var formData = new FormData();\n formData.append('is_open', fval)\n\n rewardAction.activateRewardCategory(fid, formData).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var rwid = $(this).data(\"id\");\n modalAlert = () => (\n onConfirmDelete(rwid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n rewardAction.deleteRewardCategory(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n \n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { redeemAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Redeem_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {\n redeem_category_id: 0\n },\n selectOption: [],\n selectedOption: null\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOption } = this.state;\n\n redeemAction.getRedeemCategoryList().then(res => {\n for (var i in res.data) {\n selectOption.push({\n label: res.data[i].redeem_category_name_th,\n value: res.data[i].redeem_category_id\n });\n }\n this.setState({ selectOption });\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/redeem/list\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"redeem_code\"]) {\n formIsValid = false;\n errors[\"redeem_code\"] = \"*กรุณากรอกรหัสรายการรับแต้ม\";\n }\n\n if (!inputBody[\"redeem_name_th\"]) {\n formIsValid = false;\n errors[\"redeem_name_th\"] = \"*กรุณากรอกชื่อรายการรับแต้ม (TH)\";\n }\n\n if (!inputBody[\"redeem_name_en\"]) {\n formIsValid = false;\n errors[\"redeem_name_en\"] = \"*กรุณากรอกชื่อรายการรับแต้ม (EN)\";\n }\n\n if (!inputBody[\"redeem_description_th\"]) {\n formIsValid = false;\n errors[\"redeem_description_th\"] = \"*กรุณากรอกรายละเอียดรายการรับแต้ม (TH)\";\n }\n\n if (!inputBody[\"redeem_description_en\"]) {\n formIsValid = false;\n errors[\"redeem_description_en\"] = \"*กรุณากรอกรายละเอียดรายการรับแต้ม (EN)\";\n }\n\n if (!inputBody[\"redeem_point\"]) {\n formIsValid = false;\n errors[\"redeem_point\"] = \"*กรุณากรอกคะแนนที่ได้รับ\";\n }\n if (!inputBody[\"redeem_category_id\"]) {\n formIsValid = false;\n errors[\"redeem_category_id\"] = \"*กรุณาเลือกประเภทของรายการ\";\n }\n if (!inputBody[\"redeem_count\"]) {\n formIsValid = false;\n errors[\"redeem_count\"] = \"*กรุณากรอกจำนวนของรายการ\";\n }\n if (!inputBody[\"redeem_image\"]) {\n formIsValid = false;\n errors[\"redeem_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n if (!inputBody[\"redeem_date_start\"]) {\n formIsValid = false;\n errors[\"redeem_date_start\"] = \"*กรุณากรอกวันที่เริ่มต้น\";\n }\n if (!inputBody[\"redeem_date_end\"]) {\n formIsValid = false;\n errors[\"redeem_date_end\"] = \"*กรุณาวันที่สิ้นสุด\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n if(typeof(this.state.inputBody[\"redeem_image\"]) === 'object') {\n formData.append(\"redeem_image\", this.state.inputBody[\"redeem_image\"]);\n }\n formData.append(\"redeem_code\", this.state.inputBody[\"redeem_code\"]);\n formData.append(\"redeem_name_th\", this.state.inputBody[\"redeem_name_th\"]);\n formData.append(\"redeem_description_th\",this.state.inputBody[\"redeem_description_th\"]);\n formData.append(\"redeem_name_en\", this.state.inputBody[\"redeem_name_en\"]);\n formData.append(\"redeem_description_en\",this.state.inputBody[\"redeem_description_en\"]);\n formData.append(\"redeem_point\", this.state.inputBody[\"redeem_point\"]);\n formData.append(\"redeem_category_id\",this.state.inputBody[\"redeem_category_id\"]);\n formData.append(\"redeem_count\",this.state.inputBody[\"redeem_count\"]);\n formData.append(\"redeem_note\",\"-\");\n formData.append(\"redeem_date_start\", this.state.inputBody[\"redeem_date_start\"]);\n formData.append(\"redeem_date_end\", this.state.inputBody[\"redeem_date_end\"]);\n formData.append(\"is_open\",this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 2);\n\n redeemAction.createRedeem(formData).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = selectedOption => {\n let { inputBody, errors } = this.state;\n inputBody[\"redeem_category_id\"] = selectedOption.value;\n this.state.errors[\"redeem_category_id\"] = null;\n this.setState({ selectedOption, inputBody, errors });\n };\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() {\n let { selectedOption } = this.state;\n return (\n
\n
\n
\n

เพิ่มรายการรับแต้ม

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_name_th\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_name_en\"]}\n
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_description_th\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_description_en\"]}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"redeem_point\"]}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"redeem_category_id\"]}\n
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"redeem_count\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_date_start\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_date_end\"]}
\n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"redeem_image\"]}
\n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { redeemAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Redeem_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {\n redeem_category_id: 0\n },\n selectOption: [],\n selectedOption: {}\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmEdit = this.onConfirmEdit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOption } = this.state;\n var params = this.props.match.params\n\n redeemAction.getRedeemCategoryList().then(res => {\n for (var i in res.data) {\n selectOption.push({\n label: res.data[i].redeem_category_name_th,\n value: res.data[i].redeem_category_id\n });\n }\n this.setState({ selectOption });\n });\n this.setState({ redeemid: params.redeem_id })\n this.getRedeemDataByID(params.redeem_id)\n }\n\n getRedeemDataByID(id) {\n var { selectedOption, inputBody } = this.state;\n redeemAction.getRedeemDataByID(id).then(e => {\n if(e.isSuccess === true) {\n var resp = e.data['0']\n inputBody = resp\n\n if(inputBody['redeem_image'] === Base_API.reward_category_image) {\n inputBody['oldImage'] = `${Base_API.reward}/images/default.png`\n } else {\n inputBody['oldImage'] = inputBody['redeem_image']\n }\n selectedOption['label'] = inputBody['redeem_category_name_th']\n selectedOption['value'] = inputBody['redeem_category_id']\n this.setState({ selectedOption, inputBody: inputBody })\n } else {\n this.onModalError('ผิดพลาด', e.message)\n }\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmEdit()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/redeem/list\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"redeem_code\"]) {\n formIsValid = false;\n errors[\"redeem_code\"] = \"*กรุณากรอกรหัสรายการรับแต้ม\";\n }\n\n if (!inputBody[\"redeem_name_th\"]) {\n formIsValid = false;\n errors[\"redeem_name_th\"] = \"*กรุณากรอกชื่อรายการรับแต้ม (TH)\";\n }\n\n if (!inputBody[\"redeem_name_en\"]) {\n formIsValid = false;\n errors[\"redeem_name_en\"] = \"*กรุณากรอกชื่อรายการรับแต้ม (EN)\";\n }\n\n if (!inputBody[\"redeem_description_th\"]) {\n formIsValid = false;\n errors[\"redeem_description_th\"] = \"*กรุณากรอกรายละเอียดรายการรับแต้ม (TH)\";\n }\n\n if (!inputBody[\"redeem_description_en\"]) {\n formIsValid = false;\n errors[\"redeem_description_en\"] = \"*กรุณากรอกรายละเอียดรายการรับแต้ม (EN)\";\n }\n\n if (!inputBody[\"redeem_point\"]) {\n formIsValid = false;\n errors[\"redeem_point\"] = \"*กรุณากรอกคะแนนที่ได้รับ\";\n }\n if (!inputBody[\"redeem_category_id\"]) {\n formIsValid = false;\n errors[\"redeem_category_id\"] = \"*กรุณาเลือกประเภทของรายการ\";\n }\n if (!inputBody[\"redeem_count\"]) {\n formIsValid = false;\n errors[\"redeem_count\"] = \"*กรุณากรอกจำนวนของรายการ\";\n }\n if (!inputBody[\"redeem_image\"]) {\n formIsValid = false;\n errors[\"redeem_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n if (!inputBody[\"redeem_date_start\"]) {\n formIsValid = false;\n errors[\"redeem_date_start\"] = \"*กรุณากรอกวันที่เริ่มต้น\";\n }\n if (!inputBody[\"redeem_date_end\"]) {\n formIsValid = false;\n errors[\"redeem_date_end\"] = \"*กรุณาวันที่สิ้นสุด\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmEdit(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n if(typeof(this.state.inputBody[\"redeem_image\"]) === 'object') {\n formData.append(\"redeem_image\", this.state.inputBody[\"redeem_image\"]);\n }\n formData.append(\"redeem_code\", this.state.inputBody[\"redeem_code\"]);\n formData.append(\"redeem_name_th\", this.state.inputBody[\"redeem_name_th\"]);\n formData.append(\"redeem_description_th\",this.state.inputBody[\"redeem_description_th\"]);\n formData.append(\"redeem_name_en\", this.state.inputBody[\"redeem_name_en\"]);\n formData.append(\"redeem_description_en\",this.state.inputBody[\"redeem_description_en\"]);\n formData.append(\"redeem_point\", this.state.inputBody[\"redeem_point\"]);\n formData.append(\"redeem_category_id\",this.state.inputBody[\"redeem_category_id\"]);\n formData.append(\"redeem_count\",this.state.inputBody[\"redeem_count\"]);\n formData.append(\"redeem_note\",\"-\");\n formData.append(\"redeem_date_start\", this.state.inputBody[\"redeem_date_start\"]);\n formData.append(\"redeem_date_end\", this.state.inputBody[\"redeem_date_end\"]);\n formData.append(\"is_open\",this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 2);\n\n redeemAction.updateRedeem(formData, this.state.redeemid).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = selectedOption => {\n let { inputBody, errors } = this.state;\n inputBody[\"redeem_category_id\"] = selectedOption.value;\n this.state.errors[\"redeem_category_id\"] = null;\n this.setState({ selectedOption, inputBody, errors });\n };\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() {\n let { selectedOption } = this.state;\n return (\n
\n
\n
\n

แก้ไขรางวัล - {this.state.inputBody[\"redeem_name_th\"]}

\n
\n
\n
\n
\n {this.state.inputBody[\"redeem_name_th\"]}\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_code\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_name_th\"]}\n
\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_name_en\"]}\n
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_description_th\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_description_en\"]}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"redeem_point\"]}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"redeem_category_id\"]}\n
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"redeem_count\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_date_start\"]}
\n
\n
\n
\n \n
\n \n
{this.state.errors[\"redeem_date_end\"]}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"redeem_image\"]}\n
\n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { redeemAction } from \"../../../../_actions\"\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Redeem_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n onError(ev) {\n console.log(ev)\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"redeem_id\"\n },\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"redeem_image\"\n },\n {\n title: \"รหัสรายการ\",\n data: \"redeem_code\"\n },\n {\n title: \"ชื่อรายการ\",\n data: \"redeem_name_th\"\n },\n {\n title: \"คะแนน (P)\",\n data: \"redeem_point\"\n },\n {\n title: \"ประเภท\",\n data: \"redeem_category_name_th\"\n },\n {\n title: \"จำนวน (รางวัล)\",\n data: \"redeem_count\"\n },\n {\n title: \"วันที่สร้าง\",\n data: \"created_at\"\n },\n {\n title: \"สถานะการใช้งาน\",\n data: \"is_open\"\n },\n {\n title: \" จัดการ\",\n class: \"text-center\",\n data: \"redeem_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`${rowData.redeem_name}`);\n },\n orderable: false\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(``);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.reward}/redeem`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[7, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 2;\n var formData = new FormData();\n formData.append('is_open', val)\n\n redeemAction.activateRedeem(id, formData).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var rewardId = $(this).data(\"id\");\n modalAlert = () => (\n onConfirmDelete(rewardId)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(redeemId) {\n redeemAction.deleteRedeem(redeemId).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

รายการของรับแต้ม

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { redeemAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Redeem_Category_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {}\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/redeem/category\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"redeem_category_name_th\"]) {\n formIsValid = false;\n errors[\"redeem_category_name_th\"] = \"*กรุณากรอกชื่อหมวดหมู่รายการรับแต้ม ภาษาไทย\";\n }\n\n if (!inputBody[\"redeem_category_name_en\"]) {\n formIsValid = false;\n errors[\"redeem_category_name_en\"] = \"*กรุณากรอกชื่อหมวดหมู่รายการรับแต้ม ภาษาอังกฤษ\";\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n formData.append(\"redeem_category_name_th\",this.state.inputBody[\"redeem_category_name_th\"]);\n formData.append(\"redeem_category_name_en\",this.state.inputBody[\"redeem_category_name_en\"]);\n formData.append(\"redeem_category_subtitle_th\",\"-\");\n formData.append(\"redeem_category_subtitle_en\",\"-\");\n formData.append(\"is_open\",this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 2);\n formData.append(\"user_id\", 1);\n\n redeemAction.createRedeemCategory(formData).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n render() {\n return (\n
\n
\n
\n

เพิ่มหมวดหมู่รายการรับแต้ม

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_category_name_th\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"redeem_category_name_en\"]}\n
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { redeemAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\nlet modalAlert;\n\nexport class Redeem_Category_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n typeProgram: null,\n selectType: null,\n inputBody: {},\n rewardid: 0\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n var params = this.props.match.params\n this.setState({ redeemid: params.redeem_id })\n this.getRedeemDataByID(params.redeem_id)\n }\n\n getRedeemDataByID(id) {\n redeemAction.getRedeemCategoryDataByID(id).then(e => {\n if(e.isSuccess === true) {\n var newObject = Object.assign(e.data, this.state.inputBody)\n // if(newObject['rewards_category_image'] === Base_API.rewards_category_image) {\n // newObject['oldImage'] = `${process.env.PUBLIC_URL}/images/default.png`\n // } else {\n // newObject['oldImage'] = newObject['rewards_category_image']\n // }\n this.setState({ inputBody: newObject })\n } else {\n this.onModalError('ผิดพลาด', e.message)\n }\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/redeem/category\";\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n if (!inputBody[\"redeem_category_name_th\"]) {\n formIsValid = false;\n errors[\"redeem_category_name_th\"] = \"*กรุณากรอกชื่อหมวดหมู่รายการรับแต้ม ภาษาไทย\";\n }\n\n if (!inputBody[\"redeem_category_name_en\"]) {\n formIsValid = false;\n errors[\"redeem_category_name_en\"] = \"*กรุณากรอกชื่อหมวดหมู่รายการรับแต้ม ภาษาอังกฤษ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n // if(typeof(this.state.inputBody[\"rewards_category_image\"]) === 'object') {\n // formData.append(\"rewards_category_image\", this.state.inputBody[\"rewards_category_image\"]);\n // }\n formData.append(\"redeem_category_name_th\",this.state.inputBody[\"redeem_category_name_th\"]);\n formData.append(\"redeem_category_name_en\",this.state.inputBody[\"redeem_category_name_en\"]);\n formData.append(\"redeem_category_subtitle_th\",\"-\");\n formData.append(\"redeem_category_subtitle_en\",\"-\");\n\n formData.append(\"is_open\",this.state.inputBody[\"is_open\"] ? this.state.inputBody[\"is_open\"] : 2);\n formData.append(\"user_id\", 1);\n\n redeemAction.updateRedeemCategory(formData, this.state.redeemid).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n if (e.target.name === \"is_open\") {\n inputBody[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n inputBody[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n onChangeUploadHandler = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n inputBody,\n errors\n });\n };\n\n onImageError(e) {\n e.target.setAttribute(\"src\", `${process.env.PUBLIC_URL}/images/default.png`);\n }\n\n render() {\n return (\n
\n
\n
\n

แก้ไขหมวดหมู่รายการรับแต้ม

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n {this.state.errors[\"redeem_category_name_th\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"redeem_category_name_en\"]}\n
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { redeemAction } from \"../../../../_actions\"\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../reward.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Redeem_Category extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n onError(ev) {\n console.log(ev)\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"redeem_category_id\"\n },\n {\n title: \"ชื่อหมวดหมู่ (TH)\",\n data: \"redeem_category_name_th\"\n },\n {\n title: \"ชื่อหมวดหมู่ (EN)\",\n data: \"redeem_category_name_en\"\n },\n {\n title: \"วันที่สร้าง\",\n data: \"created_at\"\n },\n {\n title: \"วันที่แก้ไข\",\n data: \"updated_at\"\n },\n {\n title: \"สถานะการใช้งาน\",\n data: \"is_open\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"redeem_category_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(``);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.reward}/redeem_category`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[3, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 2;\n var formData = new FormData();\n\n formData.append('is_open', val)\n\n redeemAction.activateRedeemCategory(id, formData).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var rwid = $(this).data(\"id\");\n modalAlert = () => (\n onConfirmDelete(rwid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n redeemAction.deleteRedeemCategory(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction,memberAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../news.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class News_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n \n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false,\n showLoader: \"none\"\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n // {\n // title: \"รูปภาพ\",\n // class: \"text-center\",\n // data: \"news_image\"\n // },\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"news_id\"\n },\n {\n title: \"หัวข้อข่าวสาร (TH)\",\n class: \"text-left w-50\",\n data: \"news_title\"\n },\n {\n title: \"รายละเอียดข่าวสาร (TH)\",\n class: \"text-left\",\n data: \"news_description\"\n },\n {\n title: \"Link ข่าวสาร\",\n class: \"text-left\",\n data: \"news_link\"\n },\n {\n title: \"การใช้งาน\",\n class: \"text-center\",\n data: \"news_active\"\n },\n {\n title: \"การแจ้งเตือนอัตโนมัติ\",\n class: \"text-center\",\n data: \"is_autonoti\"\n },\n {\n title: \"วันและเวลาการแจ้งเตือนอัตโนมัติ\",\n class: \"text-center\",\n data: \"autonoti_datetime\"\n },\n {\n title: \"วันที่แก้ไขรายการ\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"news_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n //
\n // \n // \n //\n\n //
\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.news}/news/news`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[7, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n var formData = new FormData();\n formData.append(\"news_active\", fval);\n\n newsAction.activateNews(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", \".sent-massage\", function () {\n var id = $(this).data(\"content\");\n // var Message = $(this).is(\":checked\") === true ? 1 : 2;\n\n newsAction.getNewsId(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n\n let inputData = {\n Title_th: e.data.news_title,\n Title_en: e.data.news_title_en,\n Message_th: e.data.news_description,\n Message_en: e.data.news_description_en,\n Receive: \"ALL\",\n Type: \"1\",\n news_id: e.data.news_id,\n open_type: e.data.news_open_type,\n }\n\n modalAlert = () => (\n onConfirmSent(inputData)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการส่งข่าวสารนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n var fval = 1;\n\n var formData = new FormData();\n formData.append(\"news_delete\", fval);\n\n modalAlert = () => (\n onConfirmDelete(formData,mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmSent(inputData) {\n state.setState({ modal: null });\n state.setState({\n showLoader: \"block\"\n })\n memberAction.sentNotificationAll(inputData).then(e => {\n state.setState({\n showLoader: \"none\"\n })\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n }\n\n function onConfirmDelete(formData,id) {\n\n newsAction.updateDeleteNews(formData,id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n\n }\n\n render() {\n console.log(this.state.showLoader);\n return (\n
\n
\n
\n
\n
\n
\n

แจ้งเตือนข่าวสารทั่วไป

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { newsAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport Select from 'react-select';\nimport \"../news.css\";\n\n\nlet modalAlert;\nexport class News_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {},\n errors: {},\n isStatus: true,\n isAutoNoti: false,\n status: 2,\n autoNotiStatus: 0,\n delete: 2,\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/news/news\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let { isAutoNoti } = this.state;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"newsTitle\"]) {\n formIsValid = false;\n errors[\"newsTitle\"] = \"*กรุณากรอกรายละเอียดข่าวสาร\";\n }\n\n // if (!fields[\"newsDescription\"]) {\n // formIsValid = false;\n // errors[\"newsDescription\"] = \"*กรุณากรอกรายละเอียดข่าวสาร\";\n // }\n\n if (!fields[\"newsTitle_en\"]) {\n formIsValid = false;\n errors[\"newsTitle_en\"] = \"*กรุณากรอกรายละเอียดข่าวสาร (EN)\";\n }\n\n // if (!fields[\"newsLink\"]) {\n // formIsValid = false;\n // errors[\"newsLink\"] = \"*กรุณากรอก Link ข่าวสาร\";\n // }\n\n // if (!fields[\"newsDescription_en\"]) {\n // formIsValid = false;\n // errors[\"newsDescription_en\"] = \"*กรุณากรอกรายละเอียดข่าวสาร (EN)\";\n // }\n\n // if (!fields[\"newsStart\"]) {\n // formIsValid = false;\n // errors[\"newsStart\"] = \"*กรุณาเลือกวันที่แจ้งเตือน\";\n // }\n\n if (!fields[\"news_image\"]) {\n formIsValid = false;\n errors[\"news_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n }\n\n if (isAutoNoti) {\n if(!fields[\"autonoti_datetime\"])\n {\n formIsValid = false;\n errors[\"autonoti_datetime\"] = \"*กรุณาระบุวันและเวลาแจ้งเตืือนอัตโนมัติ\";\n }\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = new FormData();\n formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n formData.append(\"news_title_en\", this.state.fields[\"newsTitle_en\"]);\n formData.append(\"news_link\", (this.state.fields[\"newsLink\"] ? this.state.fields[\"newsLink\"] : \"\"));\n formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n formData.append(\"news_image\", this.state.fields[\"news_image\"]);\n formData.append(\"news_open_type\", \"home\");\n // formData.append(\"news_start\", this.state.fields[\"newsStart\"]);\n formData.append(\"news_active\", this.state[\"status\"]);\n formData.append(\"news_delete\", this.state[\"delete\"]);\n formData.append(\"is_autonoti\", this.state.autoNotiStatus);\n formData.append(\"autonoti_datetime\", this.state.fields[\"autonoti_datetime\"]);\n\n newsAction.createNews(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n const target = e.target;\n const name = target.name;\n let status;\n\n if (name == \"isStatus\") {\n this.setState({ isStatus: !this.state.isStatus });\n if (this.state.isStatus == true) {\n this.setState({ status: \"1\" });\n } else {\n this.setState({ status: \"2\" });\n }\n }\n if(name == \"isAutoNoti\"){\n this.setState({ isAutoNoti: !this.state.isAutoNoti })\n\n if(this.state.isAutoNoti == true){\n this.setState({ autoNotiStatus: '0' })\n }else{\n this.setState({ autoNotiStatus: '1' })\n }\n }\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n\n render() {\n return (\n
\n
\n
\n

แจ้งเตือนข่าวสารทั่วไป

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n
\n
\n \n
\n {this.state.errors.news_image}\n
\n
\n
\n
\n
\n
\n \n
\n \n
{this.state.errors.newsTitle}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.newsTitle_en}
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription}
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription_en}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.newsLink}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.newsStart}
\n
\n
\n\n */}\n\n {/*
\n \n
\n \n
\n {this.state.errors.news_image}\n
\n
\n
*/}\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
{this.state.errors.autonoti_datetime}
\n
\n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { newsAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport Select from 'react-select';\nimport \"../news.css\";\nimport moment from \"moment-timezone\";\n\nlet modalAlert;\n\nexport class News_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n fields: {},\n errors: {},\n typeProgram: null,\n selectType: null,\n isStatus: '',\n isAutoNoti: '',\n status: '',\n autoNotiStatus: '',\n news_id: this.props.match.params.news_id\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.onConfirmDelete = this.onConfirmDelete.bind(this);\n this.handleSubmitEditImage = this.handleSubmitEditImage.bind(this);\n this.onUpdateNews = this.onUpdateNews.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getNewsByID(params.news_id);\n }\n\n getNewsByID(news_id) {\n newsAction.getNewsId(news_id).then(e => {\n console.log('e: ', e.data);\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n newsTitle: e.data.news_title,\n newsDescription: e.data.news_description,\n newsTitle_en: e.data.news_title_en,\n newsLink: e.data.news_link,\n newsDescription_en: e.data.news_description_en,\n newsImage: e.data.news_image,\n isStatus: e.data.news_active,\n isAutoNoti: e.data.is_autonoti,\n autonoti_datetime: !!e.data.autonoti_datetime ? moment(e.data.autonoti_datetime).format(\"Y-MM-DD\")+\"T\"+moment(e.data.autonoti_datetime).format(\"HH:mm:ss\") : '',\n news_id: news_id,\n }\n });\n\n this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n this.setState({status: this.state.fields[\"isStatus\"]});\n this.setState({isAutoNoti: this.state.fields[\"isAutoNoti\"]});\n this.setState({autoNotiStatus: this.state.fields[\"isAutoNoti\"]});\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/news/news\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let {isAutoNoti} = this.state;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"newsTitle\"]) {\n formIsValid = false;\n errors[\"newsTitle\"] = \"*กรุณากรอกหัวข้อ (TH)\";\n }\n\n if (!fields[\"newsDescription\"]) {\n formIsValid = false;\n errors[\"newsDescription\"] = \"*กรุณากรอกรายละเอียด (EN)\";\n }\n\n if (!fields[\"newsTitle_en\"]) {\n formIsValid = false;\n errors[\"newsTitle_en\"] = \"*กรุณากรอกหัวข้อ (EN)\";\n }\n\n if (!fields[\"newsDescription_en\"]) {\n formIsValid = false;\n errors[\"newsDescription_en\"] = \"*กรุณากรอกรายละเอียด (EN)\";\n }\n\n // if (!fields[\"newsStart\"]) {\n // formIsValid = false;\n // errors[\"newsStart\"] = \"*กรุณาเลือกวันที่เริ่มต้นข่าวสาร\";\n // }\n\n if (!fields[\"newsImage\"]) {\n formIsValid = false;\n errors[\"newsImage\"] = \"*กรุณาแนบไฟล์\";\n }\n console.log('fields: ', fields);\n if (isAutoNoti) {\n if(!fields[\"autonoti_datetime\"])\n {\n formIsValid = false;\n errors[\"autonoti_datetime\"] = \"*กรุณาระบุวันและเวลาแจ้งเตืือนอัตโนมัติ\";\n }\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n formData.append(\"news_title_en\", this.state.fields[\"newsTitle_en\"]);\n formData.append(\"news_link\", (this.state.fields[\"newsLink\"] ? this.state.fields[\"newsLink\"] : \"\"));\n formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n formData.append(\"news_open_type\", \"home\");\n formData.append(\"news_image\", this.state.fields[\"newsImage\"]);\n formData.append(\"news_active\", this.state.status);\n formData.append(\"is_autonoti\", this.state.autoNotiStatus);\n formData.append(\"autonoti_datetime\", this.state.fields[\"autonoti_datetime\"]);\n\n newsAction.updateNews(formData, this.state.fields[\"news_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onUpdateNews(ev) {\n this.setState({ modal: null });\n\n var formData = new FormData();\n formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n formData.append(\"news_title_en\", this.state.fields[\"newsTitle_en\"]);\n formData.append(\"news_link\", (this.state.fields[\"newsLink\"] ? this.state.fields[\"newsLink\"] : \"\"));\n formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n formData.append(\"news_open_type\", \"home\");\n formData.append(\"news_image\", this.state.fields[\"newsImage_new\"]);\n formData.append(\"news_active\", this.state.status);\n\n newsAction.updateNews(formData, this.state.fields[\"news_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n\n this.setState({ fields, errors });\n\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '2' })\n }else{\n this.setState({ status: '1' })\n }\n\n }\n if(name == \"isAutoNoti\"){\n this.setState({ isAutoNoti: !this.state.isAutoNoti })\n\n if(this.state.isAutoNoti == true){\n this.setState({ autoNotiStatus: '0' })\n }else{\n this.setState({ autoNotiStatus: '1' })\n }\n }\n }\n\n handleClickEdit = () => {\n window.$('#ModalAddImage').modal('show')\n };\n \n onConfirmDelete = () => {\n this.setState({ modal: null });\n\n newsAction.deleteNewsContentByID(this.state.fields[\"news_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n };\n\n validateFormAddImage() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"newsImage_new\"]) {\n formIsValid = false;\n errors[\"newsImage_new\"] = \"*กรุณาแนบรูปภาพข่าวสาร\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onModalQuestionAddContent(head, body, type) {\n modalAlert = () => (\n this.onConfirmCreateContent(type)}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleClickDelete = (id) => {\n modalAlert = () => (\n this.onConfirmDelete(id)}\n onCancel={() => this.onCancel()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestionEditContent(head, body) {\n modalAlert = () => (\n this.onUpdateNews()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmitEditImage() {\n if (this.validateFormAddImage()) {\n this.onModalQuestionEditContent(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n render() {\n let { fields } = this.state;\n\n return (\n
\n
\n
\n

แก้ไขแจ้งเตือนข่าวสารทั่วไป

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n
\n \n
\n
\n this.handleClickEdit()}\n value=\"แก้ไข\"\n />\n   \n {/* this.handleClickDelete()}\n value=\"ลบ\"\n /> */}\n
\n
\n
\n \n
\n \n
{this.state.errors.newsTitle}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.newsTitle_en}
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription}
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription_en}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.newsLink}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.newsImage}
\n \n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.newsStart}
\n
\n
\n */}\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
{this.state.errors.autonoti_datetime}
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n\n {/* modelAddImage */}\n
\n
\n
\n
\n \n

เปลี่ยนรูปข่าวสาร

\n
\n
\n
\n
\n รูปภาพ (.jpg) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.newsImage_new}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../promotion.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class NewsPromotionBanner extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"วันที่แก้ไขข้อมูล\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n // {\n // title: \"รูปภาพ\",\n // class: \"text-center\",\n // data: \"news_image\"\n // },\n {\n title: \"รายละเอียดข่าวสารโปรโมชัน (TH)\",\n class: \"text-left\",\n data: \"news_description\",\n width: \"200px\"\n },\n {\n title: \"จำนวนไลค์\",\n class: \"text-center\",\n data: \"countLike\"\n },\n {\n title: \"วันที่เริ่มต้น\",\n class: \"text-center\",\n data: \"news_start\"\n },\n {\n title: \"วันที่สิ้นสุด\",\n class: \"text-center\",\n data: \"news_end\"\n },\n {\n title: \"การใช้งาน\",\n class: \"text-center\",\n data: \"news_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"news_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [ \n // {\n // targets: 1,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td)\n // .html(`${rowData.news_title}`);\n // },\n // orderable: false\n // },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n \n
\n
\n `);\n\n // \n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.news}/news/promotion`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n\n var formData = new FormData();\n formData.append(\"news_active\", fval);\n formData.append(\"news_image\", '-');\n\n newsAction.activatePromotion(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n newsAction.deleteNews(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

ข่าวสารโปรโมชั่น

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport Select from 'react-select';\nimport \"../promotion.css\";\n\nimport { Editor } from \"react-draft-wysiwyg\";\nimport { EditorState, ContentState,convertToRaw,convertFromHTML } from \"draft-js\";\nimport draftToHtml from \"draftjs-to-html\";\nimport htmlToDraft from 'html-to-draftjs';\nimport { stateFromHTML } from 'draft-js-import-html';\n\nimport \"react-draft-wysiwyg/dist/react-draft-wysiwyg.css\";\n\nlet modalAlert;\n\nexport class NewsPromotionBanner_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n modalManageContent: null,\n messageCreate: \"\",\n fields: {\n \"content\": []\n },\n fieldsget: {},\n errors: {},\n typeProgram: null,\n selectType: null,\n isStatus: '',\n status: '',\n nameImage: '-',\n editorState: EditorState.createEmpty(),\n editorStateDes: EditorState.createEmpty(),\n length_image: 0,\n length_image_video: 0\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.handleSubmitAddImage = this.handleSubmitAddImage.bind(this);\n this.handleSubmitAddVideo = this.handleSubmitAddVideo.bind(this);\n this.handleSubmitEditImage = this.handleSubmitEditImage.bind(this);\n this.handleSubmitEditVideo = this.handleSubmitEditVideo.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmManageContent = this.onConfirmManageContent.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onConfirmCreateContent = this.onConfirmCreateContent.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n\n\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getPromotionByID(params.news_id);\n }\n\n convertHTMLtoEditor(data) {\n const contentBlock = htmlToDraft(data);\n const contentState = ContentState.createFromBlockArray(contentBlock.contentBlocks);\n const editorState = EditorState.createWithContent(contentState);\n return editorState\n }\n\n getPromotionByID(news_id) {\n\n newsAction.getPromotionId(news_id).then(e => {\n if (e.isSuccess === true) {\n // var news_desc = this.convertHTMLtoEditor(e.data.news_description);\n var news_desc_sub = this.convertHTMLtoEditor(e.data.news_image_sub)\n\n this.setState({\n fields: {\n ...this.state.fields,\n newsTitle: e.data.news_title,\n newsDescription: e.data.news_description,\n newsTitle_en: e.data.news_title_en,\n newsDescription_en: e.data.news_description_en,\n newsStart: e.data.news_start,\n newsEnd: e.data.news_end,\n newsImage: e.data.news_image,\n newsImage_sub: news_desc_sub,\n isStatus: e.data.news_active,\n content: e.data.content,\n news_id: news_id,\n updated_at: e.data.updated_at,\n }\n });\n\n let length_image = 0\n let length_image_video = 0\n\n for(var i in e.data.content){\n if(e.data.content[i].promotion_type == \"image\"){\n length_image += 1\n }else if(e.data.content[i].promotion_type == \"video\"){\n length_image_video += 1\n }\n }\n\n this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n this.setState({\n status: this.state.fields[\"isStatus\"],\n length_image: length_image,\n length_image_video: length_image_video\n });\n\n\n if(news_desc_sub != null || news_desc_sub != \"\"){\n var rawHtml = draftToHtml(convertToRaw(news_desc_sub.getCurrentContent()));\n this.setState({ news_desc_sub, newsImgSub: rawHtml });\n\n let { fields } = this.state;\n fields['newsImage_sub'] = news_desc_sub\n this.setState({ news_desc_sub, fields });\n }\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalSuccessManageContent(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n \n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestionAddContent(head, body, type) {\n modalAlert = () => (\n this.onConfirmCreateContent(type)}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestionEditContent(head, body, type) {\n modalAlert = () => (\n this.onConfirmUpdateContent(type)}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n handleSubmitAddImage(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('image')) {\n this.onModalQuestionAddContent(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\", 'image');\n }\n }\n\n handleSubmitAddVideo(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('video')) {\n this.onModalQuestionAddContent(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\", 'video');\n }\n }\n\n handleSubmitEditImage(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('image')) {\n this.onModalQuestionEditContent(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\", 'image');\n }\n }\n\n handleSubmitEditVideo(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('video')) {\n this.onModalQuestionEditContent(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\", 'video');\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/news/promotion\";\n }\n\n onConfirmManageContent() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/news/promotion/edit/${this.state.fields['news_id']}`;\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n // if (!fields[\"newsTitle\"]) {\n // formIsValid = false;\n // errors[\"newsTitle\"] = \"*กรุณากรอกหัวข้อข่าวสาร (TH)\";\n // }\n\n if (!fields[\"newsDescription\"]) {\n formIsValid = false;\n errors[\"newsDescription\"] = \"*กรุณากรอกคำอธิบายภาพ (TH)\";\n }\n\n // if (!fields[\"newsTitle_en\"]) {\n // formIsValid = false;\n // errors[\"newsTitle_en\"] = \"*กรุณากรอกหัวข้อข่าวสาร (EN)\";\n // }\n\n if (!fields[\"newsDescription_en\"]) {\n formIsValid = false;\n errors[\"newsDescription_en\"] = \"*กรุณากรอกคำอธิบายภาพ (EN)\";\n }\n\n if (!fields[\"newsImage\"]) {\n formIsValid = false;\n errors[\"newsImage\"] = \"*กรุณาแนบไฟล์\";\n }\n\n if (!fields[\"newsStart\"]) {\n formIsValid = false;\n errors[\"newsStart\"] = \"*กรุณากรอกวันที่เริ่มต้นข่าวสาร\";\n }\n\n if (!fields[\"newsEnd\"]) {\n formIsValid = false;\n errors[\"newsEnd\"] = \"*กรุณากรอกวันที่สิ้นสุดข่าวสาร\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n validateFormAddImage(type) {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if(type == \"image\"){\n if (!fields[\"promotion_images\"]) {\n formIsValid = false;\n errors[\"promotion_images\"] = \"*กรุณาแนบรูปภาพโปรโมชัน\";\n }\n \n if (!fields[\"promotion_sort\"]) {\n formIsValid = false;\n errors[\"promotion_sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n }else if(type == \"video\"){\n if (!fields[\"video_promotion_images\"]) {\n formIsValid = false;\n errors[\"video_promotion_images\"] = \"*กรุณาแนบวีดีโอโปรโมชัน\";\n }\n\n if (!fields[\"video_promotion_image_video\"]) {\n formIsValid = false;\n errors[\"video_promotion_image_video\"] = \"*กรุณาแนบรูปหน้าปกวีดีโอ\";\n }\n \n if (!fields[\"video_promotion_sort\"]) {\n formIsValid = false;\n errors[\"video_promotion_sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n validateFormAddVideo() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"video_promotion_image_video\"]) {\n formIsValid = false;\n errors[\"video_promotion_image_video\"] = \"*กรุณาแนบวีดีโอโปรโมชัน\";\n }\n\n if (!fields[\"video_promotion_images\"]) {\n formIsValid = false;\n errors[\"video_promotion_images\"] = \"*กรุณาแนบรูปภาพโปรโมชัน\";\n }\n\n if (!fields[\"video_promotion_sort\"]) {\n formIsValid = false;\n errors[\"video_promotion_sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n \n var formData = new FormData();\n formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n formData.append(\"news_title_en\", this.state.fields[\"newsTitle_en\"]);\n formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n // formData.append(\"news_image\", this.state.fields[\"newsImage\"]);\n // formData.append(\"news_image_sub\", this.state.newsImgSub);\n formData.append(\"news_start\", this.state.fields[\"newsStart\"]);\n formData.append(\"news_end\", this.state.fields[\"newsEnd\"]);\n formData.append(\"news_active\", this.state.status);\n\n newsAction.updatePromotion(formData, this.state.fields[\"news_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onConfirmCreateContent(type) {\n this.setState({ modal: null });\n \n var formData = new FormData();\n if(type == \"image\"){\n var promotion_image_video = this.state.fields[\"promotion_image_video\"]\n var promotion_images = this.state.fields[\"promotion_images\"]\n var promotion_sort = this.state.fields[\"promotion_sort\"]\n }else if(type == \"video\"){\n var promotion_image_video = this.state.fields[\"video_promotion_image_video\"]\n var promotion_images = this.state.fields[\"video_promotion_images\"]\n var promotion_sort = this.state.fields[\"video_promotion_sort\"]\n\n }\n formData.append(\"news_id\", this.state.fields[\"news_id\"]);\n formData.append(\"promotion_image_video\", promotion_image_video);\n formData.append(\"promotion_images\", promotion_images);\n formData.append(\"promotion_type\", type);\n formData.append(\"promotion_sort\", promotion_sort);\n\n newsAction.insertContent(formData)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccessManageContent(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onConfirmUpdateContent(type) {\n this.setState({ modal: null });\n \n var formData = new FormData();\n if(type == \"image\"){\n var promotion_image_video = this.state.fields[\"promotion_image_video\"]\n var promotion_images = this.state.fields[\"promotion_images\"]\n var promotion_sort = this.state.fields[\"promotion_sort\"]\n }else if(type == \"video\"){\n var promotion_image_video = this.state.fields[\"video_promotion_image_video\"]\n var promotion_images = this.state.fields[\"video_promotion_images\"]\n var promotion_sort = this.state.fields[\"video_promotion_sort\"]\n\n }\n formData.append(\"promotion_image_video\", promotion_image_video);\n formData.append(\"promotion_images\", promotion_images);\n formData.append(\"promotion_sort\", promotion_sort);\n\n console.log(this.state.fields);\n\n newsAction.updateContent(this.state.fields['promotion_content_id'], formData)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccessManageContent(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n handleClickDelete = (id) => {\n modalAlert = () => (\n this.onConfirmDelete(id)}\n onCancel={() => this.onCancel()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n\n \n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '0' })\n }else{\n this.setState({ status: '1' })\n }\n\n }\n}\n\nhandleClickAdd = (type) => {\n this.setState({\n typeManage:\"add\",\n fields: {\n ...this.state.fields,\n promotion_sort: \"\",\n video_promotion_sort: \"\",\n promotion_image_video: \"\",\n promotion_images: \"\"\n }\n })\n if(type == 'image'){\n window.$('#ModalAddImage').modal('show')\n }else if(type == 'video'){\n window.$('#ModalAddvideo').modal('show')\n }\n};\n\nhandleClickEdit = (content_id, type) => {\n newsAction.getContent(content_id)\n .then(e => {\n\n if (e.isSuccess === true) {\n this.setState({\n typeManage:\"edit\",\n fields: {\n ...this.state.fields,\n promotion_content_id: e.data[0].promotion_content_id,\n news_id: e.data[0].news_id,\n promotion_image_video: e.data[0].promotion_image_video,\n promotion_images: e.data[0].promotion_images,\n promotion_type: e.data[0].promotion_type,\n promotion_sort: e.data[0].promotion_sort,\n video_promotion_images: e.data[0].promotion_images,\n video_promotion_sort: e.data[0].promotion_sort,\n promotion_images_old: e.data[0].promotion_images,\n video_promotion_image_video: e.data[0].promotion_image_video,\n promotion_image_video_old: e.data[0].promotion_image_video\n }\n });\n\n\n if(type == 'image'){\n window.$('#ModalAddImage').modal('show')\n }else if(type == 'video'){\n window.$('#ModalAddvideo').modal('show')\n }\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n};\n\nonConfirmDelete = (content_id) => {\n newsAction.deleteContent(content_id)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccessManageContent(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n};\n\n\n onEditorStateChange = editorStateDes => {\n var rawHtml = draftToHtml(convertToRaw(editorStateDes.getCurrentContent()));\n this.setState({ editorStateDes, newsDescription: rawHtml });\n let { fields } = this.state;\n fields['newsDescription'] = editorStateDes\n this.setState({ editorStateDes, fields });\n };\n\n onSubEditorStateChange = (editorState) => {\n var rawHtml = draftToHtml(convertToRaw(editorState.getCurrentContent()));\n this.setState({ editorState, newsImgSub: rawHtml });\n\n let { fields } = this.state;\n fields['newsImage_sub'] = editorState\n this.setState({ editorState, fields });\n };\n\n render() {\n function uploadImageCallBack(file) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest(); // eslint-disable-line no-undef\n xhr.open(\"POST\", `${Base_API.upload_img}/image/uploads`);\n const data = new FormData(); // eslint-disable-line no-undef\n data.append(\"image\", file);\n xhr.send(data);\n xhr.addEventListener(\"load\", () => {\n const response = JSON.parse(xhr.responseText);\n resolve(response);\n });\n xhr.addEventListener(\"error\", () => {\n const error = JSON.parse(xhr.responseText);\n reject(error);\n });\n });\n }\n\n let listContent_image = this.state.fields[\"content\"].map(( item, content ) => {\n return (\n (item.promotion_type == \"image\" \n ? \n
\n
\n \n
\n
\n this.handleClickEdit(item.promotion_content_id,'image')}\n value=\"แก้ไข\"\n />\n   \n this.handleClickDelete(item.promotion_content_id)}\n value=\"ลบ\"\n />\n
\n
\n : \"\"\n )\n );\n })\n\n let listContent_image_video = this.state.fields[\"content\"].map(( item, content ) => {\n return (\n (item.promotion_type == \"video\" \n ? \n
\n
\n
\n \n
\n
\n this.handleClickEdit(item.promotion_content_id,'video')}\n value=\"แก้ไข\"\n />\n   \n this.handleClickDelete(item.promotion_content_id)}\n value=\"ลบ\"\n />\n
\n
\n
\n
\n \n
\n
\n
\n \n : \"\"\n )\n );\n })\n\n console.log(this.state);\n return (\n
\n
\n
\n

แก้ไขข่าวสารโปรโมชั่น

\n
\n\n
\n this.handleSubmit(e)}\n >\n
\n \n
\n รูปภาพ (.jpg สูงสุด 4 รูป)\n
\n {listContent_image}\n
\n = 4 ? \"btn-disabled disabled\" : \"\")}\n value=\"เพิ่มรูปภาพโปรโมชัน\"\n onClick={()=>this.handleClickAdd('image')}\n />\n
\n
\n วีดีโอ (.mp4 สูงสุด 1 คลิป)\n
\n {listContent_image_video}\n
\n = 1 ? \"btn-disabled disabled\" : \"\")}\n value=\"เพิ่มวีดีโอข่าวสาร\"\n onClick={()=>this.handleClickAdd('video')}\n />\n
\n {/*
\n \n
\n \n
{this.state.errors.newsTitle}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.newsTitle_en}
\n
\n
*/}\n\n {/*
\n \n
\n \n
\n {this.state.errors.newsImage}\n
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.newsImage}
\n
\n
*/}\n\n
\n\n
\n \n
\n\n \n\n {/*\n \n\n */}\n
{this.state.errors.newsDescription}
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription_en}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.newsImage_sub}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.newsImage_sub}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.newsStart}
\n
\n\n \n
\n \n
{this.state.errors.newsEnd}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n \n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n\n{/* modelAddImage */}\n
\n
\n
\n
\n \n

เพิ่มรูปภาพโปรโมชัน

\n
\n
\n {this.state.typeManage == \"edit\" ?\n
\n
\n \n
\n
:\n \"\"\n }\n \n
\n\n
\n รูปภาพ (.jpg) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.promotion_images}\n
\n
\n
\n\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort}\n
\n
\n
\n
\n
\n \n {this.state.typeManage == \"add\"\n ? \n : \n }\n
\n
\n
\n
\n\n{/* modelAddVideo */}\n
\n
\n
\n
\n \n

เพิ่มวีดีโอโปรโมชัน

\n
\n
\n {this.state.typeManage == \"edit\" ?\n
\n
\n \n
\n
:\n \"\"\n }\n
\n
\n วีดีโอ (.mp4) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.video_promotion_images}\n
\n
\n
\n\n {this.state.typeManage == \"edit\" ?\n
\n
\n \n
\n
:\n \"\"\n }\n\n
\n
\n รูปภาพหน้าปกวีดีโอสารโปรโมชั่น (.jpg) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.video_promotion_image_video}\n
\n
\n
\n\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.video_promotion_sort}\n
\n
\n
\n
\n
\n \n {this.state.typeManage == \"add\"\n ? \n : \n } \n
\n
\n
\n
\n \n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport Select from \"react-select\";\nimport \"../promotion.css\";\n// import { Editor } from \"react-draft-wysiwyg\";\nimport { EditorState, convertToRaw } from \"draft-js\";\nimport draftToHtml from \"draftjs-to-html\";\nimport \"react-draft-wysiwyg/dist/react-draft-wysiwyg.css\";\n\nlet today = new Date();\nlet year = today.getFullYear()\nlet month_num = (today.getMonth() + 1)\nlet month = (month_num < 9 ? \"0\"+month_num.toString() : month_num)\nlet date_num = today.getDate()\nlet date = (date_num < 9 ? \"0\"+date_num.toString() : date_num)\n\nvar datenow = year + '-' + month + '-' + date;\n\nlet modalAlert;\nexport class NewsPromotionB_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n rewardsList: null,\n rewardName: {\n name_en: '',\n name_th: ''\n },\n dataInit: {\n currentBanner: null,\n rewardId: null\n },\n fields: {\n dest_type: null\n // newsUpdate: datenow,\n },\n errors: {},\n typeProgram: null,\n selectType: null,\n isStatus: true,\n status: 0,\n delete: 0,\n news_like: \"0\",\n editorState: EditorState.createEmpty(),\n editorStateDes: EditorState.createEmpty()\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.test = this.test.bind(this);\n }\n\n componentDidMount(){\n this.DataInit();\n }\n\n DataInit(){\n // Get Rewards List for Dropdown\n new Promise(resolve => {\n newsAction.getRewardsList()\n .then(data => {\n console.log(data);\n this.setState({\n rewardsList: data\n });\n resolve(data);\n })\n })\n .then((rewardData) => {\n // Get Promotion Banner Init\n newsAction.getPromotionBanner()\n .then(res => {\n let data = res.data; \n console.log('Get Promotion Banner: ', data);\n \n if(data !== undefined)\n {\n let {reward_id, name_en, name_th, dest_type, dest_url} = this.state.fields\n\n this.setState({\n dataInit: {\n currentBanner: data.banner_promotion_image,\n rewardId: data.rw_id\n },\n status: String(data.is_active),\n isStatus: data.is_active === 1 ? true : false\n })\n if(data.rw_id !== 0 && data.rw_id !== \"\")\n {\n name_en = data.name_en;\n name_th = data.name_th; \n reward_id = data.rw_id;\n }\n dest_type = data.dest_type;\n dest_url = data.dest_url;\n this.setState({\n fields: {\n ...this.state.fields,\n reward_id,\n name_en,\n name_th,\n dest_type,\n dest_url\n }\n })\n console.log(this.state.fields);\n }\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n if (this.validateForm()) {\n console.log('Submit Fields Data: ', this.state.fields)\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/news/promotion\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n\n // if (!fields[\"newsDescription\"]) {\n // formIsValid = false;\n // errors[\"newsDescription\"] = \"*กรุณากรอกคำอธิบายภาพ (TH)\";\n // }\n\n // if (!fields[\"newsDescription_en\"]) {\n // formIsValid = false;\n // errors[\"newsDescription_en\"] = \"*กรุณากรอกคำอธิบายภาพ (EN)\";\n // }\n\n // if (!fields[\"news_image\"]) {\n // formIsValid = false;\n // errors[\"news_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n // if (!fields[\"newsStart\"]) {\n // formIsValid = false;\n // errors[\"newsStart\"] = \"*กรุณากรอกวันที่เริ่มต้นข่าวสาร\";\n // }\n\n // if (!fields[\"newsEnd\"]) {\n // formIsValid = false;\n // errors[\"newsEnd\"] = \"*กรุณากรอกวันที่สิ้นสุดข่าวสาร\";\n // }\n\n // if (!fields[\"promobanner\"]) {\n // formIsValid = false;\n // errors[\"promobanner\"] = \"*กรุณาแนบรูปโปรโมชั่นแบนเนอร์\";\n // }\n\n if (fields[\"dest_type\"] === 'rewards' && !fields[\"reward_id\"]) {\n formIsValid = false;\n errors[\"reward_id\"] = \"*กรุณาแนบเลือก รีีวาร์ด ปลายทาง\";\n }\n // if (fields[\"dest_type\"] === 'url' && !fields[\"dest_url\"]) {\n // formIsValid = false;\n // errors[\"dest_url\"] = \"*กรุณาแนบระบุ URL ปลายทาง\";\n // }\n\n // if (!fields[\"news_image_sub\"]) {\n // formIsValid = false;\n // errors[\"news_image_sub\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n // if (!fields[\"news_image_1\"] && !fields[\"news_image_2\"] && !fields[\"news_image_3\"] && !fields[\"news_image_4\"] && !fields[\"news_video_1\"]) {\n // formIsValid = false;\n // errors[\"news_image_1\"] = \"*กรุณาแนบรูปภาพข่าวสาร หรือวีดีโอข่าวสารอย่างน้อย 1 อย่าง\";\n // errors[\"news_video_1\"] = \"*กรุณาแนบรูปภาพข่าวสาร หรือวีดีโอข่าวสารอย่างน้อย 1 อย่าง\";\n // }\n\n // if (fields[\"news_image_1\"] && !fields[\"promotion_sort_1\"]) {\n // formIsValid = false;\n // errors[\"promotion_sort_1\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n // }\n\n // if (fields[\"news_image_2\"] && !fields[\"promotion_sort_2\"]) {\n // formIsValid = false;\n // errors[\"promotion_sort_2\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n // }\n\n // if (fields[\"news_image_3\"] && !fields[\"promotion_sort_3\"]) {\n // formIsValid = false;\n // errors[\"promotion_sort_3\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n // }\n\n // if (fields[\"news_image_4\"] && !fields[\"promotion_sort_4\"]) {\n // formIsValid = false;\n // errors[\"promotion_sort_4\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n // }\n\n // if (fields[\"news_video_1\"] && !fields[\"promotion_sort_5\"]) {\n // formIsValid = false;\n // errors[\"promotion_sort_5\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n // }\n\n // if (fields[\"news_video_1\"] && !fields[\"news_image_video_1\"]) {\n // formIsValid = false;\n // errors[\"news_image_video_1\"] = \"*กรุณาแนบรูปภาพหน้าปกวีดีโอ\";\n // }\n\n // if (fields[\"news_image_1\"] && fields[\"news_image_1\"].type != 'image/jpeg') {\n // formIsValid = false;\n // errors[\"news_image_1\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n // }\n\n // if (fields[\"news_image_2\"] && fields[\"news_image_2\"].type != 'image/jpeg') {\n // formIsValid = false;\n // errors[\"news_image_2\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n // }\n\n // if (fields[\"news_image_3\"] && fields[\"news_image_3\"].type != 'image/jpeg') {\n // formIsValid = false;\n // errors[\"news_image_3\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n // }\n\n // if (fields[\"news_image_4\"] && fields[\"news_image_4\"].type != 'image/jpeg') {\n // formIsValid = false;\n // errors[\"news_image_4\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n // }\n\n // if (fields[\"news_image_video_1\"] && fields[\"news_image_video_1\"].type != 'image/jpeg') {\n // formIsValid = false;\n // errors[\"news_image_video_1\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n // }\n\n // if (fields[\"news_video_1\"] && fields[\"news_video_1\"].type != 'video/mp4') {\n // formIsValid = false;\n // errors[\"news_video_1\"] = \"*กรุณาแนบเฉพาะวีดีโอ (.mp4)\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n // formData.append(\"news_image\", this.state.fields[\"news_image\"]);\n // formData.append(\"news_image_sub\", this.state.fields[\"news_image_sub\"]);\n // formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n // formData.append(\"news_type\", this.state[\"newsType\"]);\n // formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n // formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n\n let destURL = this.state.fields[\"dest_url\"];\n let destType = this.state.fields[\"dest_type\"];\n let nameEN = this.state.fields[\"name_en\"];\n let nameTH = this.state.fields[\"name_th\"];\n let rewardID = this.state.fields[\"reward_id\"];\n\n formData.append(\"promobanner\", this.state.fields[\"promobanner\"]);\n formData.append(\"reward_id\", !!rewardID ? rewardID :'');\n formData.append(\"banner_active\", this.state[\"status\"]);\n formData.append(\"name_en\", !!nameEN ? nameEN : '');\n formData.append(\"name_th\", !!nameTH ? nameTH : '');\n formData.append(\"dest_type\", !!destType ? destType : 'default');\n formData.append(\"dest_url\", !!destURL ? destURL : '');\n \n newsAction.createPromotionBanner(formData).then(e => {\n if(e.status === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n const target = e.target;\n const name = target.name;\n let status;\n\n if(name === 'dest_url')\n {\n this.setState({\n fields: {\n ...this.state.fields,\n dest_url: e.target.value\n }\n })\n }\n\n if (name == \"isStatus\") {\n this.setState({ isStatus: !this.state.isStatus });\n if (this.state.isStatus == true) {\n this.setState({ status: \"1\" });\n } else {\n this.setState({ status: \"0\" });\n }\n }\n };\n\n handleSelectChange = e => {\n let name = e.target.name;\n let value = e.target.value;\n\n let { fields, errors } = this.state;\n fields[name] = value;\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n }); \n\n console.log('Name: ', name);\n console.log('Value: ', value);\n\n if(name === 'dest_type')\n {\n this.state.fields[\"reward_id\"] = '';\n this.state.fields[\"name_en\"] = '';\n this.state.fields[\"name_th\"] = '';\n this.setState({\n dataInit: {\n ...this.state.dataInit,\n rewardId: 0\n }\n })\n }\n\n if(name === 'reward_id')\n {\n let dataSelected = this.state.rewardsList.filter(item => item.rewards_id === Number(value))\n console.log(dataSelected);\n this.state.fields[\"dest_url\"] = '';\n this.state.fields[\"name_en\"] = dataSelected[0].rewards_name_en;\n this.state.fields[\"name_th\"] = dataSelected[0].rewards_name_th;\n this.setState({\n dataInit: {\n ...this.state.dataInit,\n rewardId: value\n }\n })\n }\n }\n\n test = e => {\n console.log(e.target.id);\n };\n\n onEditorStateChange = editorState => {\n var rawHtml = draftToHtml(convertToRaw(editorState.getCurrentContent()));\n this.setState({ editorState, newsImgSub: rawHtml });\n\n let { fields,errors } = this.state;\n\n if(editorState.getCurrentContent().hasText()){\n fields[\"news_image_sub\"] = true;\n this.state.errors[\"news_image_sub\"] = null;\n this.setState({ fields,errors });\n }else{\n fields[\"news_image_sub\"] = false;\n }\n\n };\n\n // onEditorStateDesChange = editorStateDes => {\n // var rawHtml = draftToHtml(convertToRaw(editorStateDes.getCurrentContent()));\n // this.setState({ editorStateDes, newsDescription: rawHtml });\n //\n // let { fields,errors } = this.state;\n //\n // if(editorStateDes.getCurrentContent().hasText()){\n // fields[\"newsDescription\"] = true;\n // this.state.errors[\"newsDescription\"] = null;\n // this.setState({ fields,errors });\n // }else{\n // fields[\"newsDescription\"] = false;\n // }\n //\n //\n //\n // };\n\n render() {\n const { editorState } = this.state;\n const { editorStateDes } = this.state; \n\n function uploadImageCallBack(file) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest(); // eslint-disable-line no-undef\n xhr.open(\"POST\", `${Base_API.upload_img}/image/uploads`);\n const data = new FormData(); // eslint-disable-line no-undef\n data.append(\"image\", file);\n xhr.send(data);\n xhr.addEventListener(\"load\", () => {\n const response = JSON.parse(xhr.responseText);\n resolve(response);\n });\n xhr.addEventListener(\"error\", () => {\n const error = JSON.parse(xhr.responseText);\n reject(error);\n });\n });\n }\n\n return (\n
\n
\n
\n

เพิ่มข่าวสารโปรโมชั่น (แบนเนอร์)

\n
\n
\n\n {/* Current Banner */}\n
\n \n {this.state.dataInit.currentBanner === null\n ? \n ไม่มี\n :\n \n }\n
\n\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n
\n
\n รูปภาพ (.jpg สูงสุด 1 รูป)\n
\n
\n
\n
\n \n
\n {this.state.errors.promobanner}\n
\n
\n
\n\n {/*//! Destination Type */}\n
\n {/* label */}\n
\n
\n ประเภทปลายทาง\n
\n
\n \n
\n\n {/*//! Rewards Dest & URL Dest */}\n {this.state.fields[\"dest_type\"] !== null && this.state.fields[\"dest_type\"] === 'rewards' ?\n
\n {/* label */}\n
\n
\n รีวาร์ดปลายทาง\n
\n
\n {/* select rewards */}\n
\n
\n {this.state.rewardsList !== null ?\n \n :\n \n }\n {/* alert error */}\n
\n {this.state.errors.reward_id}\n
\n
\n
\n
\n : this.state.fields[\"dest_type\"] === 'url'\n ?\n
\n {/* label */}\n
\n
\n URL ปลายทาง\n
\n
\n {/* select rewards */}\n
\n
\n \n {/* alert error */}\n
\n {this.state.errors.dest_url}\n
\n
\n
\n
\n : null\n }\n\n {/*//! Banner Upload (2) */}\n {/*
\n
\n \n
\n {this.state.errors.news_image_2}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_2}\n
\n
\n
*/}\n\n {/*//! Banner Upload (3) */}\n {/*
\n
\n \n
\n {this.state.errors.news_image_3}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_3}\n
\n
\n
*/}\n\n {/*//! Banner Upload (4) */}\n {/*
\n
\n \n
\n {this.state.errors.news_image_4}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_4}\n
\n
\n
*/}\n\n
\n \n {/*//! Video Upload */}\n {/* \n
\n
\n
\n วีดีโอ (.mp4 สูงสุด 1 คลิป)\n
\n
\n
\n
\n \n
\n {this.state.errors.news_video_1}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_5}\n
\n
\n
\n
*/}\n\n {/*//! Video Cover Image Upload */}\n {/* \n
\n
\n
\n \n
\n {this.state.errors.news_image_video_1}\n
\n
\n
\n
*/}\n\n
\n\n {/*//! Details Promotion (TH & EN) */}\n {/*
\n \n
\n \n
\n {this.state.errors.newsDescription}\n
\n
\n
\n
\n \n
\n \n \n
{this.state.errors.newsDescription_en}
\n
\n
*/}\n\n {/*//! Promotion Details (Img) Upload */}\n {/*
\n \n
\n\n \n\n
\n {this.state.errors.news_image_sub}\n
\n
\n
*/}\n\n {/*
\n \n
\n \n
\n {this.state.errors.newsUpdate}\n
\n
\n
*/}\n\n {/*
\n \n
\n \n
\n {this.state.errors.newsStart}\n
\n
\n\n \n
\n \n
{this.state.errors.newsEnd}
\n
\n
*/}\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../promotion.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class NewsPromotion_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"วันที่แก้ไขข้อมูล\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n // {\n // title: \"รูปภาพ\",\n // class: \"text-center\",\n // data: \"news_image\"\n // },\n {\n title: \"รายละเอียดข่าวสารโปรโมชัน (TH)\",\n class: \"text-left\",\n data: \"news_description\",\n width: \"200px\"\n },\n {\n title: \"จำนวนไลค์\",\n class: \"text-center\",\n data: \"countLike\"\n },\n {\n title: \"วันที่เริ่มต้น\",\n class: \"text-center\",\n data: \"news_start\"\n },\n {\n title: \"วันที่สิ้นสุด\",\n class: \"text-center\",\n data: \"news_end\"\n },\n {\n title: \"การใช้งาน\",\n class: \"text-center\",\n data: \"news_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"news_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [ \n // {\n // targets: 1,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td)\n // .html(`${rowData.news_title}`);\n // },\n // orderable: false\n // },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n\n // \n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.news}/news/promotion`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n\n var formData = new FormData();\n formData.append(\"news_active\", fval);\n formData.append(\"news_image\", '-');\n\n newsAction.activatePromotion(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n newsAction.deletePromotionByID(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

ข่าวสารโปรโมชั่น

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport Select from \"react-select\";\nimport \"../promotion.css\";\n// import { Editor } from \"react-draft-wysiwyg\";\nimport { EditorState, convertToRaw } from \"draft-js\";\nimport draftToHtml from \"draftjs-to-html\";\nimport \"react-draft-wysiwyg/dist/react-draft-wysiwyg.css\";\n\nlet today = new Date();\nlet year = today.getFullYear()\nlet month_num = (today.getMonth() + 1)\nlet month = (month_num < 9 ? \"0\"+month_num.toString() : month_num)\nlet date_num = today.getDate()\nlet date = (date_num < 9 ? \"0\"+date_num.toString() : date_num)\n\nvar datenow = year + '-' + month + '-' + date;\n\nlet modalAlert;\nexport class NewsPromotion_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n fields: {\n // newsUpdate: datenow,\n },\n errors: {},\n typeProgram: null,\n selectType: null,\n isStatus: true,\n status: 0,\n delete: 0,\n news_like: \"0\",\n editorState: EditorState.createEmpty(),\n editorStateDes: EditorState.createEmpty()\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.test = this.test.bind(this);\n }\n\n componentDidMount(){\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/news/promotion\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n\n if (!fields[\"newsDescription\"]) {\n formIsValid = false;\n errors[\"newsDescription\"] = \"*กรุณากรอกคำอธิบายภาพ (TH)\";\n }\n\n if (!fields[\"newsDescription_en\"]) {\n formIsValid = false;\n errors[\"newsDescription_en\"] = \"*กรุณากรอกคำอธิบายภาพ (EN)\";\n }\n\n // if (!fields[\"news_image\"]) {\n // formIsValid = false;\n // errors[\"news_image\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n if (!fields[\"newsStart\"]) {\n formIsValid = false;\n errors[\"newsStart\"] = \"*กรุณากรอกวันที่เริ่มต้นข่าวสาร\";\n }\n\n if (!fields[\"newsEnd\"]) {\n formIsValid = false;\n errors[\"newsEnd\"] = \"*กรุณากรอกวันที่สิ้นสุดข่าวสาร\";\n }\n\n // if (!fields[\"news_image_sub\"]) {\n // formIsValid = false;\n // errors[\"news_image_sub\"] = \"*กรุณาแนบไฟล์รูปภาพ\";\n // }\n\n if (!fields[\"news_image_1\"] && !fields[\"news_image_2\"] && !fields[\"news_image_3\"] && !fields[\"news_image_4\"] && !fields[\"news_video_1\"]) {\n formIsValid = false;\n errors[\"news_image_1\"] = \"*กรุณาแนบรูปภาพข่าวสาร หรือวีดีโอข่าวสารอย่างน้อย 1 อย่าง\";\n errors[\"news_video_1\"] = \"*กรุณาแนบรูปภาพข่าวสาร หรือวีดีโอข่าวสารอย่างน้อย 1 อย่าง\";\n }\n\n if (fields[\"news_image_1\"] && !fields[\"promotion_sort_1\"]) {\n formIsValid = false;\n errors[\"promotion_sort_1\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n }\n\n if (fields[\"news_image_2\"] && !fields[\"promotion_sort_2\"]) {\n formIsValid = false;\n errors[\"promotion_sort_2\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n }\n\n if (fields[\"news_image_3\"] && !fields[\"promotion_sort_3\"]) {\n formIsValid = false;\n errors[\"promotion_sort_3\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n }\n\n if (fields[\"news_image_4\"] && !fields[\"promotion_sort_4\"]) {\n formIsValid = false;\n errors[\"promotion_sort_4\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n }\n\n if (fields[\"news_video_1\"] && !fields[\"promotion_sort_5\"]) {\n formIsValid = false;\n errors[\"promotion_sort_5\"] = \"*กรุณากรอกลำดับการแสดงผล\";\n }\n\n if (fields[\"news_video_1\"] && !fields[\"news_image_video_1\"]) {\n formIsValid = false;\n errors[\"news_image_video_1\"] = \"*กรุณาแนบรูปภาพหน้าปกวีดีโอ\";\n }\n\n if (fields[\"news_image_1\"] && fields[\"news_image_1\"].type != 'image/jpeg') {\n formIsValid = false;\n errors[\"news_image_1\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n }\n\n if (fields[\"news_image_2\"] && fields[\"news_image_2\"].type != 'image/jpeg') {\n formIsValid = false;\n errors[\"news_image_2\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n }\n\n if (fields[\"news_image_3\"] && fields[\"news_image_3\"].type != 'image/jpeg') {\n formIsValid = false;\n errors[\"news_image_3\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n }\n\n if (fields[\"news_image_4\"] && fields[\"news_image_4\"].type != 'image/jpeg') {\n formIsValid = false;\n errors[\"news_image_4\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n }\n\n if (fields[\"news_image_video_1\"] && fields[\"news_image_video_1\"].type != 'image/jpeg') {\n formIsValid = false;\n errors[\"news_image_video_1\"] = \"*กรุณาแนบเฉพาะรูป (.jpg)\";\n }\n\n if (fields[\"news_video_1\"] && fields[\"news_video_1\"].type != 'video/mp4') {\n formIsValid = false;\n errors[\"news_video_1\"] = \"*กรุณาแนบเฉพาะวีดีโอ (.mp4)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = new FormData();\n // formData.append(\"news_image\", this.state.fields[\"news_image\"]);\n // formData.append(\"news_image_sub\", this.state.fields[\"news_image_sub\"]);\n // formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n // formData.append(\"news_type\", this.state[\"newsType\"]);\n formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n formData.append(\"news_start\", this.state.fields[\"newsStart\"]);\n formData.append(\"news_end\", this.state.fields[\"newsEnd\"]);\n formData.append(\"news_active\", this.state[\"status\"]);\n formData.append(\"news_delete\", 0);\n formData.append(\"news_like\", 0);\n\n formData.append(\"news_image_1\", this.state.fields[\"news_image_1\"]);\n formData.append(\"promotion_sort_1\", this.state.fields[\"promotion_sort_1\"]);\n\n formData.append(\"news_image_2\", this.state.fields[\"news_image_2\"]);\n formData.append(\"promotion_sort_2\", this.state.fields[\"promotion_sort_2\"]);\n\n formData.append(\"news_image_3\", this.state.fields[\"news_image_3\"]);\n formData.append(\"promotion_sort_3\", this.state.fields[\"promotion_sort_3\"]);\n\n formData.append(\"news_image_4\", this.state.fields[\"news_image_4\"]);\n formData.append(\"promotion_sort_4\", this.state.fields[\"promotion_sort_4\"]);\n\n formData.append(\"news_image_video_1\", this.state.fields[\"news_image_video_1\"]);\n formData.append(\"news_video_1\", this.state.fields[\"news_video_1\"]);\n formData.append(\"promotion_sort_5\", this.state.fields[\"promotion_sort_5\"]);\n\n newsAction.createPromotion(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n const target = e.target;\n const name = target.name;\n let status;\n\n if (name == \"isStatus\") {\n this.setState({ isStatus: !this.state.isStatus });\n if (this.state.isStatus == true) {\n this.setState({ status: \"1\" });\n } else {\n this.setState({ status: \"0\" });\n }\n }\n };\n\n test = e => {\n console.log(e.target.id);\n };\n\n onEditorStateChange = editorState => {\n var rawHtml = draftToHtml(convertToRaw(editorState.getCurrentContent()));\n this.setState({ editorState, newsImgSub: rawHtml });\n\n let { fields,errors } = this.state;\n\n if(editorState.getCurrentContent().hasText()){\n fields[\"news_image_sub\"] = true;\n this.state.errors[\"news_image_sub\"] = null;\n this.setState({ fields,errors });\n }else{\n fields[\"news_image_sub\"] = false;\n }\n\n };\n\n // onEditorStateDesChange = editorStateDes => {\n // var rawHtml = draftToHtml(convertToRaw(editorStateDes.getCurrentContent()));\n // this.setState({ editorStateDes, newsDescription: rawHtml });\n //\n // let { fields,errors } = this.state;\n //\n // if(editorStateDes.getCurrentContent().hasText()){\n // fields[\"newsDescription\"] = true;\n // this.state.errors[\"newsDescription\"] = null;\n // this.setState({ fields,errors });\n // }else{\n // fields[\"newsDescription\"] = false;\n // }\n //\n //\n //\n // };\n\n render() {\n const { editorState } = this.state;\n const { editorStateDes } = this.state; \n\n function uploadImageCallBack(file) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest(); // eslint-disable-line no-undef\n xhr.open(\"POST\", `${Base_API.upload_img}/image/uploads`);\n const data = new FormData(); // eslint-disable-line no-undef\n data.append(\"image\", file);\n xhr.send(data);\n xhr.addEventListener(\"load\", () => {\n const response = JSON.parse(xhr.responseText);\n resolve(response);\n });\n xhr.addEventListener(\"error\", () => {\n const error = JSON.parse(xhr.responseText);\n reject(error);\n });\n });\n }\n\n return (\n
\n
\n
\n

เพิ่มข่าวสารโปรโมชั่น

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n
\n
\n รูปภาพ (.jpg สูงสุด 4 รูป)\n
\n
\n
\n
\n \n
\n {this.state.errors.news_image_1}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_1}\n
\n
\n
\n
\n
\n \n
\n {this.state.errors.news_image_2}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_2}\n
\n
\n
\n
\n
\n \n
\n {this.state.errors.news_image_3}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_3}\n
\n
\n
\n
\n
\n \n
\n {this.state.errors.news_image_4}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_4}\n
\n
\n
\n
\n \n \n
\n
\n
\n วีดีโอ (.mp4 สูงสุด 1 คลิป)\n
\n
\n
\n
\n \n
\n {this.state.errors.news_video_1}\n
\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort_5}\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n {this.state.errors.news_image_video_1}\n
\n
\n
\n
\n
\n\n\n
\n \n
\n \n\n
\n {this.state.errors.newsDescription}\n
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription_en}
\n
\n
\n\n {/*
\n \n
\n\n \n\n
\n {this.state.errors.news_image_sub}\n
\n
\n
*/}\n\n {/*
\n \n
\n \n
\n {this.state.errors.newsUpdate}\n
\n
\n
*/}\n\n
\n \n
\n \n
\n {this.state.errors.newsStart}\n
\n
\n\n \n
\n \n
{this.state.errors.newsEnd}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { newsAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport Select from 'react-select';\nimport \"../promotion.css\";\n\nimport { Editor } from \"react-draft-wysiwyg\";\nimport { EditorState, ContentState,convertToRaw,convertFromHTML } from \"draft-js\";\nimport draftToHtml from \"draftjs-to-html\";\nimport htmlToDraft from 'html-to-draftjs';\nimport { stateFromHTML } from 'draft-js-import-html';\n\nimport \"react-draft-wysiwyg/dist/react-draft-wysiwyg.css\";\n\nlet modalAlert;\n\nexport class NewsPromotion_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n modalManageContent: null,\n messageCreate: \"\",\n fields: {\n \"content\": []\n },\n fieldsget: {},\n errors: {},\n typeProgram: null,\n selectType: null,\n isStatus: '',\n status: '',\n nameImage: '-',\n editorState: EditorState.createEmpty(),\n editorStateDes: EditorState.createEmpty(),\n length_image: 0,\n length_image_video: 0\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.handleSubmitAddImage = this.handleSubmitAddImage.bind(this);\n this.handleSubmitAddVideo = this.handleSubmitAddVideo.bind(this);\n this.handleSubmitEditImage = this.handleSubmitEditImage.bind(this);\n this.handleSubmitEditVideo = this.handleSubmitEditVideo.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmManageContent = this.onConfirmManageContent.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onConfirmCreateContent = this.onConfirmCreateContent.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n\n\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getPromotionByID(params.news_id);\n }\n\n convertHTMLtoEditor(data) {\n const contentBlock = htmlToDraft(data);\n const contentState = ContentState.createFromBlockArray(contentBlock.contentBlocks);\n const editorState = EditorState.createWithContent(contentState);\n return editorState\n }\n\n getPromotionByID(news_id) {\n\n newsAction.getPromotionId(news_id).then(e => {\n if (e.isSuccess === true) {\n // var news_desc = this.convertHTMLtoEditor(e.data.news_description);\n var news_desc_sub = this.convertHTMLtoEditor(e.data.news_image_sub)\n\n this.setState({\n fields: {\n ...this.state.fields,\n newsTitle: e.data.news_title,\n newsDescription: e.data.news_description,\n newsTitle_en: e.data.news_title_en,\n newsDescription_en: e.data.news_description_en,\n newsStart: e.data.news_start,\n newsEnd: e.data.news_end,\n newsImage: e.data.news_image,\n newsImage_sub: news_desc_sub,\n isStatus: e.data.news_active,\n content: e.data.content,\n news_id: news_id,\n updated_at: e.data.updated_at,\n }\n });\n\n let length_image = 0\n let length_image_video = 0\n\n for(var i in e.data.content){\n if(e.data.content[i].promotion_type == \"image\"){\n length_image += 1\n }else if(e.data.content[i].promotion_type == \"video\"){\n length_image_video += 1\n }\n }\n\n this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n this.setState({\n status: this.state.fields[\"isStatus\"],\n length_image: length_image,\n length_image_video: length_image_video\n });\n\n\n if(news_desc_sub != null || news_desc_sub != \"\"){\n var rawHtml = draftToHtml(convertToRaw(news_desc_sub.getCurrentContent()));\n this.setState({ news_desc_sub, newsImgSub: rawHtml });\n\n let { fields } = this.state;\n fields['newsImage_sub'] = news_desc_sub\n this.setState({ news_desc_sub, fields });\n }\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalSuccessManageContent(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n \n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestionAddContent(head, body, type) {\n modalAlert = () => (\n this.onConfirmCreateContent(type)}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestionEditContent(head, body, type) {\n modalAlert = () => (\n this.onConfirmUpdateContent(type)}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\");\n }\n }\n\n handleSubmitAddImage(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('image')) {\n this.onModalQuestionAddContent(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\", 'image');\n }\n }\n\n handleSubmitAddVideo(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('video')) {\n this.onModalQuestionAddContent(\"Confirm\", \"คุณต้องการเพิ่มข้อมูล ?\", 'video');\n }\n }\n\n handleSubmitEditImage(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('image')) {\n this.onModalQuestionEditContent(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\", 'image');\n }\n }\n\n handleSubmitEditVideo(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateFormAddImage('video')) {\n this.onModalQuestionEditContent(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\", 'video');\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/news/promotion\";\n }\n\n onConfirmManageContent() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/news/promotion/edit/${this.state.fields['news_id']}`;\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n // if (!fields[\"newsTitle\"]) {\n // formIsValid = false;\n // errors[\"newsTitle\"] = \"*กรุณากรอกหัวข้อข่าวสาร (TH)\";\n // }\n\n if (!fields[\"newsDescription\"]) {\n formIsValid = false;\n errors[\"newsDescription\"] = \"*กรุณากรอกคำอธิบายภาพ (TH)\";\n }\n\n // if (!fields[\"newsTitle_en\"]) {\n // formIsValid = false;\n // errors[\"newsTitle_en\"] = \"*กรุณากรอกหัวข้อข่าวสาร (EN)\";\n // }\n\n if (!fields[\"newsDescription_en\"]) {\n formIsValid = false;\n errors[\"newsDescription_en\"] = \"*กรุณากรอกคำอธิบายภาพ (EN)\";\n }\n\n if (!fields[\"newsImage\"]) {\n formIsValid = false;\n errors[\"newsImage\"] = \"*กรุณาแนบไฟล์\";\n }\n\n if (!fields[\"newsStart\"]) {\n formIsValid = false;\n errors[\"newsStart\"] = \"*กรุณากรอกวันที่เริ่มต้นข่าวสาร\";\n }\n\n if (!fields[\"newsEnd\"]) {\n formIsValid = false;\n errors[\"newsEnd\"] = \"*กรุณากรอกวันที่สิ้นสุดข่าวสาร\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n validateFormAddImage(type) {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if(type == \"image\"){\n if (!fields[\"promotion_images\"]) {\n formIsValid = false;\n errors[\"promotion_images\"] = \"*กรุณาแนบรูปภาพโปรโมชัน\";\n }\n \n if (!fields[\"promotion_sort\"]) {\n formIsValid = false;\n errors[\"promotion_sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n }else if(type == \"video\"){\n if (!fields[\"video_promotion_images\"]) {\n formIsValid = false;\n errors[\"video_promotion_images\"] = \"*กรุณาแนบวีดีโอโปรโมชัน\";\n }\n\n if (!fields[\"video_promotion_image_video\"]) {\n formIsValid = false;\n errors[\"video_promotion_image_video\"] = \"*กรุณาแนบรูปหน้าปกวีดีโอ\";\n }\n \n if (!fields[\"video_promotion_sort\"]) {\n formIsValid = false;\n errors[\"video_promotion_sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n validateFormAddVideo() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"video_promotion_image_video\"]) {\n formIsValid = false;\n errors[\"video_promotion_image_video\"] = \"*กรุณาแนบวีดีโอโปรโมชัน\";\n }\n\n if (!fields[\"video_promotion_images\"]) {\n formIsValid = false;\n errors[\"video_promotion_images\"] = \"*กรุณาแนบรูปภาพโปรโมชัน\";\n }\n\n if (!fields[\"video_promotion_sort\"]) {\n formIsValid = false;\n errors[\"video_promotion_sort\"] = \"*กรุณากรอกลำดับการแสดง\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n \n var formData = new FormData();\n formData.append(\"news_title\", this.state.fields[\"newsTitle\"]);\n formData.append(\"news_description\", this.state.fields[\"newsDescription\"]);\n formData.append(\"news_title_en\", this.state.fields[\"newsTitle_en\"]);\n formData.append(\"news_description_en\", this.state.fields[\"newsDescription_en\"]);\n // formData.append(\"news_image\", this.state.fields[\"newsImage\"]);\n // formData.append(\"news_image_sub\", this.state.newsImgSub);\n formData.append(\"news_start\", this.state.fields[\"newsStart\"]);\n formData.append(\"news_end\", this.state.fields[\"newsEnd\"]);\n formData.append(\"news_active\", this.state.status);\n\n newsAction.updatePromotion(formData, this.state.fields[\"news_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onConfirmCreateContent(type) {\n this.setState({ modal: null });\n \n var formData = new FormData();\n if(type == \"image\"){\n var promotion_image_video = this.state.fields[\"promotion_image_video\"]\n var promotion_images = this.state.fields[\"promotion_images\"]\n var promotion_sort = this.state.fields[\"promotion_sort\"]\n }else if(type == \"video\"){\n var promotion_image_video = this.state.fields[\"video_promotion_image_video\"]\n var promotion_images = this.state.fields[\"video_promotion_images\"]\n var promotion_sort = this.state.fields[\"video_promotion_sort\"]\n\n }\n formData.append(\"news_id\", this.state.fields[\"news_id\"]);\n formData.append(\"promotion_image_video\", promotion_image_video);\n formData.append(\"promotion_images\", promotion_images);\n formData.append(\"promotion_type\", type);\n formData.append(\"promotion_sort\", promotion_sort);\n\n newsAction.insertContent(formData)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccessManageContent(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onConfirmUpdateContent(type) {\n this.setState({ modal: null });\n \n var formData = new FormData();\n if(type == \"image\"){\n var promotion_image_video = this.state.fields[\"promotion_image_video\"]\n var promotion_images = this.state.fields[\"promotion_images\"]\n var promotion_sort = this.state.fields[\"promotion_sort\"]\n }else if(type == \"video\"){\n var promotion_image_video = this.state.fields[\"video_promotion_image_video\"]\n var promotion_images = this.state.fields[\"video_promotion_images\"]\n var promotion_sort = this.state.fields[\"video_promotion_sort\"]\n\n }\n formData.append(\"promotion_image_video\", promotion_image_video);\n formData.append(\"promotion_images\", promotion_images);\n formData.append(\"promotion_sort\", promotion_sort);\n\n console.log(this.state.fields);\n\n newsAction.updateContent(this.state.fields['promotion_content_id'], formData)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccessManageContent(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n handleClickDelete = (id) => {\n modalAlert = () => (\n this.onConfirmDelete(id)}\n onCancel={() => this.onCancel()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onChangeUploadHandler = e => {\n\n \n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '0' })\n }else{\n this.setState({ status: '1' })\n }\n\n }\n}\n\nhandleClickAdd = (type) => {\n this.setState({\n typeManage:\"add\",\n fields: {\n ...this.state.fields,\n promotion_sort: \"\",\n video_promotion_sort: \"\",\n promotion_image_video: \"\",\n promotion_images: \"\"\n }\n })\n if(type == 'image'){\n window.$('#ModalAddImage').modal('show')\n }else if(type == 'video'){\n window.$('#ModalAddvideo').modal('show')\n }\n};\n\nhandleClickEdit = (content_id, type) => {\n newsAction.getContent(content_id)\n .then(e => {\n\n if (e.isSuccess === true) {\n this.setState({\n typeManage:\"edit\",\n fields: {\n ...this.state.fields,\n promotion_content_id: e.data[0].promotion_content_id,\n news_id: e.data[0].news_id,\n promotion_image_video: e.data[0].promotion_image_video,\n promotion_images: e.data[0].promotion_images,\n promotion_type: e.data[0].promotion_type,\n promotion_sort: e.data[0].promotion_sort,\n video_promotion_images: e.data[0].promotion_images,\n video_promotion_sort: e.data[0].promotion_sort,\n promotion_images_old: e.data[0].promotion_images,\n video_promotion_image_video: e.data[0].promotion_image_video,\n promotion_image_video_old: e.data[0].promotion_image_video\n }\n });\n\n\n if(type == 'image'){\n window.$('#ModalAddImage').modal('show')\n }else if(type == 'video'){\n window.$('#ModalAddvideo').modal('show')\n }\n\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n};\n\nonConfirmDelete = (content_id) => {\n newsAction.deleteContent(content_id)\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccessManageContent(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n};\n\n\n onEditorStateChange = editorStateDes => {\n var rawHtml = draftToHtml(convertToRaw(editorStateDes.getCurrentContent()));\n this.setState({ editorStateDes, newsDescription: rawHtml });\n let { fields } = this.state;\n fields['newsDescription'] = editorStateDes\n this.setState({ editorStateDes, fields });\n };\n\n onSubEditorStateChange = (editorState) => {\n var rawHtml = draftToHtml(convertToRaw(editorState.getCurrentContent()));\n this.setState({ editorState, newsImgSub: rawHtml });\n\n let { fields } = this.state;\n fields['newsImage_sub'] = editorState\n this.setState({ editorState, fields });\n };\n\n render() {\n function uploadImageCallBack(file) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest(); // eslint-disable-line no-undef\n xhr.open(\"POST\", `${Base_API.upload_img}/image/uploads`);\n const data = new FormData(); // eslint-disable-line no-undef\n data.append(\"image\", file);\n xhr.send(data);\n xhr.addEventListener(\"load\", () => {\n const response = JSON.parse(xhr.responseText);\n resolve(response);\n });\n xhr.addEventListener(\"error\", () => {\n const error = JSON.parse(xhr.responseText);\n reject(error);\n });\n });\n }\n\n let listContent_image = this.state.fields[\"content\"].map(( item, content ) => {\n return (\n (item.promotion_type == \"image\" \n ? \n
\n
\n \n
\n
\n this.handleClickEdit(item.promotion_content_id,'image')}\n value=\"แก้ไข\"\n />\n   \n this.handleClickDelete(item.promotion_content_id)}\n value=\"ลบ\"\n />\n
\n
\n : \"\"\n )\n );\n })\n\n let listContent_image_video = this.state.fields[\"content\"].map(( item, content ) => {\n return (\n (item.promotion_type == \"video\" \n ? \n
\n
\n
\n \n
\n
\n this.handleClickEdit(item.promotion_content_id,'video')}\n value=\"แก้ไข\"\n />\n   \n this.handleClickDelete(item.promotion_content_id)}\n value=\"ลบ\"\n />\n
\n
\n
\n
\n \n
\n
\n
\n \n : \"\"\n )\n );\n })\n\n console.log(this.state);\n return (\n
\n
\n
\n

แก้ไขข่าวสารโปรโมชั่น

\n
\n\n
\n this.handleSubmit(e)}\n >\n
\n \n
\n รูปภาพ (.jpg สูงสุด 4 รูป)\n
\n {listContent_image}\n
\n = 4 ? \"btn-disabled disabled\" : \"\")}\n value=\"เพิ่มรูปภาพโปรโมชัน\"\n onClick={()=>this.handleClickAdd('image')}\n />\n
\n
\n วีดีโอ (.mp4 สูงสุด 1 คลิป)\n
\n {listContent_image_video}\n
\n = 1 ? \"btn-disabled disabled\" : \"\")}\n value=\"เพิ่มวีดีโอข่าวสาร\"\n onClick={()=>this.handleClickAdd('video')}\n />\n
\n {/*
\n \n
\n \n
{this.state.errors.newsTitle}
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.newsTitle_en}
\n
\n
*/}\n\n {/*
\n \n
\n \n
\n {this.state.errors.newsImage}\n
\n
\n
*/}\n\n {/*
\n \n
\n \n
{this.state.errors.newsImage}
\n
\n
*/}\n\n
\n\n
\n \n
\n\n \n\n {/*\n \n\n */}\n
{this.state.errors.newsDescription}
\n
\n
\n\n
\n \n
\n \n \n
{this.state.errors.newsDescription_en}
\n
\n
\n\n {/*
\n \n
\n \n
{this.state.errors.newsImage_sub}
\n
\n
*/}\n\n
\n \n
\n \n
{this.state.errors.newsImage_sub}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.newsStart}
\n
\n\n \n
\n \n
{this.state.errors.newsEnd}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n \n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n\n{/* modelAddImage */}\n
\n
\n
\n
\n \n

เพิ่มรูปภาพโปรโมชัน

\n
\n
\n {this.state.typeManage == \"edit\" ?\n
\n
\n \n
\n
:\n \"\"\n }\n \n
\n\n
\n รูปภาพ (.jpg) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.promotion_images}\n
\n
\n
\n\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.promotion_sort}\n
\n
\n
\n
\n
\n \n {this.state.typeManage == \"add\"\n ? \n : \n }\n
\n
\n
\n
\n\n{/* modelAddVideo */}\n
\n
\n
\n
\n \n

เพิ่มวีดีโอโปรโมชัน

\n
\n
\n {this.state.typeManage == \"edit\" ?\n
\n
\n \n
\n
:\n \"\"\n }\n
\n
\n วีดีโอ (.mp4) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.video_promotion_images}\n
\n
\n
\n\n {this.state.typeManage == \"edit\" ?\n
\n
\n \n
\n
:\n \"\"\n }\n\n
\n
\n รูปภาพหน้าปกวีดีโอสารโปรโมชั่น (.jpg) (500 x 500 px)\n
\n
\n \n
\n {this.state.errors.video_promotion_image_video}\n
\n
\n
\n\n
\n
\n ลำดับการแสดงผล\n
\n
\n \n
\n {this.state.errors.video_promotion_sort}\n
\n
\n
\n
\n
\n \n {this.state.typeManage == \"add\"\n ? \n : \n } \n
\n
\n
\n
\n \n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { BackofficeAction, memberAction } from \"../../../_actions\";\nimport { Base_API } from \"../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../member.css\";\n// import ReactExport from \"react-export-excel\";\nimport ReactExport from 'react-data-export';\nimport \"daterangepicker/daterangepicker.css\";\nimport \"daterangepicker\";\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\nconst ExcelColumn = ReactExport.ExcelFile.ExcelColumn;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth() + 1;\nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif (dd < 10) {\n dd = '0' + dd;\n}\n\nif (mm < 10) {\n mm = '0' + mm;\n}\n\nlet name_excel = dd + mm + yyyy + hh + mn + ss + ms + '-member'\n\nexport class Member_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n fetching: true,\n excelUrl: \"\",\n startDate: \"\",\n endDate: \"\"\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n //! Init Date Range Picker\n addDateRangeToSearch();\n //! Export Excel (ปิดใช้งาน)\n getExcelMembers();\n\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"ชื่อสมาชิก\",\n data: \"mem_firstname\"\n },\n {\n title: \"เบอร์โทรศัพท์\",\n data: \"mem_phone\"\n },\n {\n title: \"รหัสบัตรประชาชน\",\n class: \"text-center\",\n data: \"mem_idcard\"\n },\n {\n title: \"e-mail\",\n data: \"mem_email\"\n },\n {\n title: \"คะแนนคงเหลือ (P)\",\n class: \"text-center\",\n data: \"total_point\"\n },\n {\n title: \"วันเวลาที่ลงทะเบียน\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"mem_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function (td, cellData, rowData, row, col) {\n $(td)\n .html(row + 1);\n }\n },\n {\n targets: 1,\n createdCell: function (td, cellData, rowData, row, col) {\n $(td)\n .html(`${cellData} ${rowData.mem_lastname}`);\n }\n },\n {\n targets: 7,\n createdCell: function (td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 8,\n createdCell: function (td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n ประวัติการใช้-แลกแต้ม\n แก้ไข\n \n \n
\n\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.member}/api/member/v2/listMember`,\n type: \"GET\",\n dataType: \"JSON\",\n data: (data) => {\n data.datestart = this.state.startDate; \n data.dateend = this.state.endDate; \n return data;\n }\n },\n order: [[1, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n // lengthMenu: [[10, 25, 50, dataLength], [10, 25, 50, \"All\"]],\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n state.setState({\n inputBody: {\n is_active: fval,\n }\n });\n let formData = new FormData();\n formData.append('mem_id', fid)\n\n memberAction.activateMember(state.state.inputBody, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n if (fval === 2) {\n memberAction.logoutMember(formData).then(res => {\n if (res.isSuccess === true) {\n onModalSuccess(\"Success\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n })\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function () {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"cleartoken\"]', function () {\n var mcid = $(this).data(\"content\");\n console.log(mcid)\n modalAlert = () => (\n onConfirmDeleteToken(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบโทเคนนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n memberAction.deleteMemberV2(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n function onConfirmDeleteToken(id) {\n memberAction.deleteTokenMember(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n })\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n // Get Excel Members\n function getExcelMembers() {\n console.log('test export')\n BackofficeAction.getExcelMemberList()\n .then(res => {\n console.log(res)\n if (res.status === true) {\n state.setState({ excelUrl: res.data })\n }\n })\n }\n\n function addDateRangeToSearch() {\n setTimeout(() => {\n const filterDiv = $(\".dataTables_filter\");\n if (!filterDiv.length) return;\n \n // เพิ่ม Input Date Range ข้าง ๆ Search ของ DataTable\n filterDiv.append(\n ``\n );\n \n // เปิดใช้งาน DateRangePicker\n $(\"#dateRange\").daterangepicker(\n {\n locale: { format: \"YYYY-MM-DD\" },\n // startDate: state.state.startDate,\n // endDate: state.state.endDate,\n autoUpdateInput: false,\n },\n function (start, end) {\n $(\"#dateRange\").val(start.format(\"YYYY-MM-DD\") + \" - \" + end.format(\"YYYY-MM-DD\"));\n state.setState(\n { startDate: start.format(\"YYYY-MM-DD\"), endDate: end.format(\"YYYY-MM-DD\") },\n // callback function\n () => {\n console.log('selected start: ', state.state.startDate);\n console.log('selected end: ', state.state.endDate);\n table.ajax.reload();\n }\n );\n }\n );\n }, 500);\n };\n }\n\n render() {\n const { fetching } = this.state;\n if (fetching) {\n console.log(fetching);\n } else {\n console.log(fetching);\n }\n var dataExportMember = []\n let data = this.state.dataExportMember\n for (var i in data) {\n dataExportMember.push(\n [\n { value: parseInt(i) + 1 },\n { value: data[i].mem_firstname + ' ' + data[i].mem_lastname },\n { value: (data[i].mem_phone ? data[i].mem_phone : \"\") },\n { value: (data[i].mem_idcard ? data[i].mem_idcard : \"\") },\n { value: (data[i].mem_address ? data[i].mem_address : \"\") },\n { value: (data[i].districts ? data[i].districts : \"\") },\n { value: (data[i].amphoe ? data[i].amphoe : \"\") },\n { value: (data[i].provinces ? data[i].provinces : \"\") },\n { value: (data[i].mem_zipcode ? data[i].mem_zipcode : \"\") },\n { value: data[i].total_point },\n { value: data[i].created_at },\n { value: (data[i].is_active == 1 ? 'active' : 'inactive'), style: { fill: { fgColor: { rgb: (data[i].is_active == 1 ? \"FF00FF00\" : \"FFFF0000\") } } } },\n ],\n )\n }\n\n multiDataSet = [\n {\n columns: [\n { title: \"#\" },//pixels width \n { title: \"ชื่อสมาชิก\", width: { wch: 40 } },//char width \n { title: \"เบอร์โทรศัพท์\", width: { wch: 20 } },\n { title: \"รหัสบัตรประชาชน\", width: { wch: 20 } },\n { title: \"ที่อยู่\", width: { wch: 50 } },\n { title: \"แขวง/ตำบล\", width: { wch: 20 } },\n { title: \"เขต/อำเภอ\", width: { wch: 20 } },\n { title: \"จังหวัด\", width: { wch: 20 } },\n { title: \"รหัสไปรษณีย์\", width: { wch: 10 } },\n { title: \"คะแนนคงเหลือ\", width: { wch: 15 } },\n { title: \"วันเวลาที่ลงทะเบียน\", width: { wch: 15 } },\n { title: \"สถานะ\" },\n ],\n data: dataExportMember\n\n }\n ];\n console.log(multiDataSet);\n\n return (\n
\n
\n
\n

รายชื่อข้อมูลสมาชิก

\n
\n \n \n เพิ่มสมาชิก\n \n \n {this.state.excelUrl !== \"\"\n ?\n \n \n Export Excel\n \n \n :\n \n Export Excel\n \n\n }\n
\n
\n
\n
\n \n\n \n {this.state.modal}\n version.2.1.4\n \n );\n }\n}\n","import React from \"react\";\nimport { memberAction } from '../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../member.css\";\nimport Select from 'react-select';\n\nlet modalAlert;\n\nexport class Member_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {},\n errors: {},\n isStatus: false,\n status: 2,\n delete: 2,\n provinceName:[],\n amphoeName:[],\n districtName:[],\n zip_code:'',\n mem_password: '',\n cf_password: '',\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n memberAction.getProvince()\n .then(res => {\n this.setState({\n provinceName: res.data\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/member\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"mem_firstname\"]) {\n formIsValid = false;\n errors[\"mem_firstname\"] = \"*กรุณากรอกชื่อจริง.\";\n }\n\n if (!fields[\"mem_lastname\"]) {\n formIsValid = false;\n errors[\"mem_lastname\"] = \"*กรุณากรอกนามสกุลจริง.\";\n }\n\n if (!fields[\"mem_phone\"]) {\n formIsValid = false;\n errors[\"mem_phone\"] = \"*กรุณากรอกเบอร์โทรศัพท์.\";\n }\n\n if (!fields[\"mem_email\"]) {\n formIsValid = false;\n errors[\"mem_email\"] = \"*กรุณากรอก e-mail.\";\n }\n\n if (!fields[\"mem_password\"]) {\n formIsValid = false;\n errors[\"mem_password\"] = \"*หรุณากรอกรหัสผ่าน\";\n }\n\n if (!fields[\"cf_password\"]) {\n formIsValid = false;\n errors[\"cf_password\"] = \"*กรุณากรอกยืนยันรหัสผ่าน\";\n }else{\n if (fields['mem_password'] !== fields['cf_password']) {\n formIsValid = false;\n errors[\"cf_password\"] = \"*กรุณากรอกให้ตรงกับรหัสผ่าน.\";\n }\n }\n\n if (!fields[\"mem_birthdate\"]) {\n formIsValid = false;\n errors[\"mem_birthdate\"] = \"*กรุณากรอก วัน/เดือน/ปี เกิด.\";\n }\n\n if (!fields[\"mem_idcard\"]) {\n formIsValid = false;\n errors[\"mem_idcard\"] = \"*กรุณากรอกรหัสบัตรประชาชน.\";\n }\n\n \n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n const inputBody = {\n mem_firstname: this.state.fields[\"mem_firstname\"],\n mem_lastname: this.state.fields[\"mem_lastname\"],\n mem_phone: this.state.fields[\"mem_phone\"],\n mem_email: this.state.fields[\"mem_email\"],\n mem_password: this.state.fields[\"mem_password\"],\n mem_birthdate: this.state.fields[\"mem_birthdate\"],\n mem_idcard: this.state.fields[\"mem_idcard\"],\n mem_address: this.state.fields[\"mem_address\"],\n mem_district: this.state.fields[\"mem_district\"],\n mem_country: this.state.fields[\"mem_country\"],\n mem_province: this.state.fields[\"mem_province\"],\n mem_zipcode: this.state.zip_code,\n is_active: this.state.status,\n is_delete: this.state[\"delete\"],\n }\n memberAction.createMember(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n let status;\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n if(this.state.isStatus == true){\n this.setState({ status: '1' })\n }else{\n this.setState({ status: '2' })\n }\n }\n }\n\n handleProvinceChange = (selectedOption) => {\n\n let { fields, errors } = this.state;\n\n if(selectedOption != null){\n fields[\"mem_province\"] = selectedOption.value;\n this.state.errors[\"mem_province\"] = null;\n }else{\n fields[\"mem_province\"] = null\n }\n\n this.setState({\n selectedOptionAmphoe: null,\n selectedOptionDistrict: null,\n })\n\n\n this.setState({ fields, errors });\n\n memberAction.getAmphoe(this.state.fields[\"mem_province\"])\n .then(res => {\n this.setState({\n amphoeName: res.data\n })\n })\n\n memberAction.getDistrict()\n .then(res => {\n this.setState({\n districtName: res.data\n })\n })\n }\n\n handleAmphoeChange = (selectedOptionAmphoe) => {\n let { fields, errors } = this.state;\n\n if(selectedOptionAmphoe != null){\n fields[\"mem_country\"] = selectedOptionAmphoe.value;\n this.state.errors[\"mem_country\"] = null;\n }else{\n fields[\"mem_country\"] = null\n }\n\n this.setState({selectedOptionAmphoe, fields, errors });\n\n memberAction.getDistrict(this.state.fields[\"mem_country\"])\n .then(res => {\n this.setState({\n districtName: res.data\n })\n })\n }\n\n handleDistrictChange = (selectedOptionDistrict) => {\n let { fields, errors } = this.state;\n\n if(selectedOptionDistrict != null){\n fields[\"mem_district\"] = selectedOptionDistrict.value;\n this.state.errors[\"mem_district\"] = null;\n this.state.errors[\"mem_zipcode\"] = null;\n }else{\n fields[\"mem_district\"] = null\n }\n\n this.setState({ selectedOptionDistrict, fields, errors });\n this.getZipcodeByID(fields[\"mem_district\"]);\n }\n\n getZipcodeByID(id_district) {\n\n memberAction.getZipcode(id_district).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n zip_code: e.data.zip_code\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n\n }\n\n\n\n render() {\n\n let optionsProvince = this.state.provinceName.map(function (provinceName) {\n return { value: provinceName.id, label: provinceName.name_th };\n })\n\n let optionsAmphoe = this.state.amphoeName.map(function (amphoe) {\n return { value: amphoe.id, label: amphoe.name_th };\n })\n\n let optionsDistrict = this.state.districtName.map(function (district) {\n return { value: district.id, label: district.name_th };\n })\n\n const {\n selectedOptionAmphoe,\n selectedOptionDistrict\n } = this.state;\n\n\n\n\n return (\n
\n
\n
\n

เพิ่มสมาชิก

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.mem_firstname}
\n
\n\n \n
\n \n
{this.state.errors.mem_lastname}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.mem_phone}
\n
\n\n \n
\n \n
{this.state.errors.mem_email}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.mem_password}
\n
\n\n \n
\n \n
{this.state.errors.cf_password}
\n
\n\n\n
\n\n
\n \n
\n \n
{this.state.errors.mem_birthdate}
\n
\n\n \n
\n \n
{this.state.errors.mem_idcard}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.mem_address}
\n
\n\n \n
\n \n
{this.state.errors.mem_province}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.mem_country}
\n
\n\n \n
\n \n
{this.state.errors.mem_district}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.mem_zipcode}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { memberAction } from \"../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../member.css\";\nimport Select from 'react-select';\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\n\nlet modalAlert;\n\nexport class Member_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n fields: {},\n errors: {},\n typeProgram: null,\n selectType: null,\n provinceName:[],\n amphoeName:[],\n districtName:[],\n zipcode:'',\n isStatus: '',\n status: '',\n birthdate: new Date()\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getMemberDataByID(params.mem_id);\n\n memberAction.getProvince()\n .then(res => {\n this.setState({\n provinceName: res.data\n })\n })\n }\n\n getMemberDataByID(mem_id) {\n\n memberAction.getMemberId(mem_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n firstname: e.data.mem_firstname,\n lastname: e.data.mem_lastname,\n phone: e.data.mem_phone,\n email: e.data.mem_email,\n birthdate: e.data.mem_birthdate,\n idcard: e.data.mem_idcard,\n address: e.data.mem_address,\n zipcode: e.data.mem_zipcode,\n isStatus: e.data.is_active,\n isDelete: e.data.is_delete,\n district: (e.data.mem_district != null ? e.data.mem_district.id : ''),\n country: (e.data.mem_country != null ? e.data.mem_country.id : ''),\n province: (e.data.mem_province != null ? e.data.mem_province.id : ''),\n province_name: (e.data.mem_province != null ? e.data.mem_province.name_th : ''),\n country_name: (e.data.mem_country != null ? e.data.mem_country.name_th : '') ,\n district_name: (e.data.mem_district != null ? e.data.mem_district.name_th : ''),\n mem_id: mem_id\n }\n });\n this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n this.setState({status: this.state.fields[\"isStatus\"]});\n this.setState({\n defaultProvince:\n {\n label: this.state.fields[\"province_name\"],\n value: this.state.fields[\"province\"]\n },\n defaultCountry:\n {\n label: this.state.fields[\"country_name\"],\n value: this.state.fields[\"country\"]\n },\n defaultDistrict:\n {\n label: this.state.fields[\"district_name\"],\n value: this.state.fields[\"district\"]\n }\n });\n\n if(this.state.fields[\"province\"]){\n memberAction.getAmphoe(this.state.fields[\"province\"])\n .then(res => {\n this.setState({\n amphoeName: res.data\n })\n })\n }\n\n if(this.state.fields[\"country\"]){\n memberAction.getDistrict(this.state.fields[\"country\"])\n .then(res => {\n this.setState({\n districtName: res.data\n })\n })\n }\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/member\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"firstname\"]) {\n formIsValid = false;\n errors[\"firstname\"] = \"*กรุณากรอกชื่อจริง.\";\n }\n\n if (!fields[\"lastname\"]) {\n formIsValid = false;\n errors[\"lastname\"] = \"*กรุณากรอกนามสกุล.\";\n }\n\n if (!fields[\"phone\"]) {\n formIsValid = false;\n errors[\"phone\"] = \"*กรุณากรอกเบอร์โทรศัพท์.\";\n }\n\n if (!fields[\"email\"]) {\n formIsValid = false;\n errors[\"email\"] = \"*กรุณากรอก e-mail.\";\n }\n\n if (!fields[\"birthdate\"]) {\n formIsValid = false;\n errors[\"birthdate\"] = \"*กรุณากรอกวัน/เดือน/ปี เกิด.\";\n }\n\n // if (!fields[\"idcard\"]) {\n // formIsValid = false;\n // errors[\"idcard\"] = \"*กรุณากรอกเลขประจำตัวประชาชน.\";\n // }\n\n // if (!fields[\"address\"]) {\n // formIsValid = false;\n // errors[\"address\"] = \"*กรุณากรอกที่อยู่.\";\n // }\n\n // if (!fields[\"district\"]) {\n // formIsValid = false;\n // errors[\"district\"] = \"*กรุณากรอกตำบล/แขวง.\";\n // }\n\n // if (!fields[\"country\"]) {\n // formIsValid = false;\n // errors[\"country\"] = \"*กรุณากรอกเขต/อำเภอ.\";\n // }\n\n // if (!fields[\"province\"]) {\n // formIsValid = false;\n // errors[\"province\"] = \"*กรุณากรอกจังหวัด.\";\n // }\n\n // if (!fields[\"zipcode\"]) {\n // formIsValid = false;\n // errors[\"zipcode\"] = \"*กรุณากรอกรหัสไปรษณีย์.\";\n // }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n\n const inputBody = {\n mem_firstname: this.state.fields[\"firstname\"],\n mem_lastname: this.state.fields[\"lastname\"],\n mem_phone: this.state.fields[\"phone\"],\n mem_email: this.state.fields[\"email\"],\n mem_password: this.state.fields[\"password\"],\n mem_birthdate: this.state.fields[\"birthdate\"],\n mem_idcard: this.state.fields[\"idcard\"],\n mem_address: this.state.fields[\"address\"],\n mem_district: this.state.fields[\"district\"],\n mem_country: this.state.fields[\"country\"],\n mem_province: this.state.fields[\"province\"],\n mem_zipcode: this.state.fields[\"zipcode\"],\n is_active: this.state[\"isStatus\"],\n is_delete: this.state[\"delete\"],\n }\n\n\n memberAction.update_Member(inputBody, this.state.fields[\"mem_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleDateChange = date => {\n this.setState({\n birthdate: date\n });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '2' })\n }else{\n this.setState({ status: '1' })\n }\n }\n}\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n handleProvinceChange = (selectedOption) => {\n\n let { fields, errors } = this.state;\n\n if(selectedOption != null){\n fields[\"province\"] = selectedOption.value;\n this.state.errors[\"province\"] = null;\n }else{\n fields[\"province\"] = null\n }\n\n fields[\"country\"] = null;\n fields[\"district\"] = null;\n\n this.setState({\n defaultProvince:\n {\n label: selectedOption.label,\n value: selectedOption.value\n }\n })\n\n this.setState({\n defaultCountry: null,\n defaultDistrict: null,\n fields: {\n ...this.state.fields,\n zipcode: null\n }\n\n })\n\n\n this.setState({ fields, errors });\n\n memberAction.getAmphoe(this.state.fields[\"province\"])\n .then(res => {\n this.setState({\n amphoeName: res.data\n })\n })\n\n memberAction.getDistrict()\n .then(res => {\n this.setState({\n districtName: res.data\n })\n })\n }\n\n handleAmphoeChange = (selectedOptionAmphoe) => {\n let { fields, errors } = this.state;\n\n if(selectedOptionAmphoe != null){\n fields[\"country\"] = selectedOptionAmphoe.value;\n this.state.errors[\"country\"] = null;\n }else{\n fields[\"country\"] = null\n }\n\n this.setState({selectedOptionAmphoe, fields, errors });\n\n this.setState({\n defaultCountry:\n {\n label: selectedOptionAmphoe.label,\n value: selectedOptionAmphoe.value\n }\n })\n\n memberAction.getDistrict(this.state.fields[\"country\"])\n .then(res => {\n this.setState({\n districtName: res.data\n })\n })\n }\n\n handleDistrictChange = (selectedOptionDistrict) => {\n let { fields, errors } = this.state;\n\n if(selectedOptionDistrict != null){\n fields[\"district\"] = selectedOptionDistrict.value;\n this.state.errors[\"district\"] = null;\n this.state.errors[\"mem_zipcode\"] = null;\n }else{\n fields[\"district\"] = null\n }\n\n this.setState({ selectedOptionDistrict, fields, errors });\n\n this.setState({\n defaultDistrict:\n {\n label: selectedOptionDistrict.label,\n value: selectedOptionDistrict.value\n }\n })\n\n this.getZipcodeByID(fields[\"district\"]);\n }\n\n getZipcodeByID(id_district) {\n\n memberAction.getZipcode(id_district).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields:{\n ...this.state.fields,\n zipcode: e.data.zip_code\n }\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n\n }\n\n render() {\n\n let optionsProvince = this.state.provinceName.map(function (provinceName) {\n return { value: provinceName.id, label: provinceName.name_th };\n })\n\n let optionsAmphoe = this.state.amphoeName.map(function (amphoe) {\n return { value: amphoe.id, label: amphoe.name_th };\n })\n\n let optionsDistrict = this.state.districtName.map(function (district) {\n return { value: district.id, label: district.name_th };\n })\n\n const {\n selectedOptionAmphoe,\n selectedOptionDistrict\n } = this.state;\n\n return (\n
\n
\n
\n

แก้ไขข้อมูลสมาชิก

\n
\n
\n
\n this.handleSubmit(e)}\n >\n\n
\n
\n \n
\n \n
{this.state.errors.firstname}
\n
\n\n \n
\n \n
{this.state.errors.lastname}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.phone}
\n
\n\n \n
\n \n
{this.state.errors.email}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.birthdate}
\n
\n\n \n
\n \n
{this.state.errors.idcard}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.address}
\n
\n\n \n
\n \n
{this.state.errors.province}
\n
\n\n
\n\n
\n \n
\n \n
{this.state.errors.country}
\n
\n \n
\n \n
{this.state.errors.district}
\n
\n\n
\n\n
\n \n
\n \n
{this.state.errors.zipcode}
\n
\n\n
\n\n
\n \n
\n \n
\n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { pointAction } from \"../../../_actions\";\nimport { Base_API } from \"../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport ReactExport from 'react-data-export';\nimport \"../member.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-historypoint'\n\nexport class Member_Point extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n inputBody: [],\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n\n var params = this.props.match.params;\n\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"redeemOrderNo\"\n },\n {\n title: \"ชื่อรายการ\",\n class: \"text-center\",\n data: \"name\"\n },\n // {\n // title: \"วันที่รับคะแนน\",\n // class: \"text-center\",\n // data: \"createdOn\"\n // },\n // {\n // title: \"รหัสรีวอร์ด\",\n // class: \"text-center\",\n // data: \"rewards_code\"\n // },\n // {\n // title: \"ชื่อรีวอร์ด\",\n // class: \"text-center\",\n // data: \"rewards_name\"\n // },\n {\n title: \"รหัสรายการอ้างอิง\",\n class: \"text-center\",\n data: \"redeemOrderNo\"\n },\n {\n title: \"คะแนน\",\n class: \"text-center\",\n data: \"point\"\n },\n // {\n // title: \"คะแนนที่ใช้\",\n // class: \"text-center\",\n // data: \"point\"\n // },\n {\n title: \"สาขา\",\n class: \"text-center\",\n data: \"branch\"\n },\n {\n title: \"วันที่ทำรายการ\",\n class: \"text-center\",\n data: \"createdOn\"\n },\n // {\n // title: \"ลบ\",\n // class: \"text-center\",\n // data: \"p_id\"\n // },\n\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: true\n },\n // {\n // targets: 2,\n // createdCell: function(td, cellData, rowData, row, col) {\n // let list_code = '';\n // if(cellData === null) list_code = `${rowData.earn_code}`\n // else list_code = `${cellData}`\n\n // $(td).html(list_code);\n // },\n // orderable: false\n // },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`${!!cellData ? cellData : '-'}`);\n },\n orderable: false\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n let pointType = rowData.pointType;\n if(pointType === 'earn')\n {\n $(td).html(`+${cellData}`);\n }else\n {\n $(td).html(`${cellData}`);\n }\n },\n orderable: false\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`${!!cellData ? cellData : '-'}`);\n },\n orderable: false\n },\n // {\n // targets: 4,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td).html(`-${cellData}`);\n // },\n // orderable: false\n // },\n // {\n // targets: 7,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td)\n // .html(`\n //
\n // \n //
\n // `);\n // }\n // }\n ],\n ajax: {\n url: `${Base_API.point}/api/point/v2/logPoint/${params.mem_id}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[1, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n \n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n\n function onConfirmDelete(cid) {\n pointAction.deleteManagePoint(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n pointAction.exportExcelPointLog(params.mem_id)\n .then(res => {\n this.setState({\n dataExcel: res.data\n })\n })\n }\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataExcel\n\n for(var i in data){\n dataExcel.push(\n [\n {value: i+1},\n {value: (data[i].p_receive_date ? data[i].p_receive_date : \"\")},\n {value: (data[i].earn_code ? data[i].earn_code : \"\")},\n {value: data[i].earn_name ? data[i].earn_name : \"\"},\n {value: data[i].order_ref ? data[i].order_ref : \"\"},\n {value: data[i].p_remain_point ? \"+\" + data[i].p_remain_point : \"0\"},\n {value: data[i].p_point ? \"-\" + data[i].p_point : \"0\"},\n {value: data[i].created_at ? data[i].created_at : \"\"}\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"วันที่รับคะนน\", width: {wch: 20}},//char width \n {title: \"รหัสรีวอร์ด\", width: {wch: 20}},\n {title: \"ชื่อรีวอร์ด\", width: {wch: 40}},\n {title: \"รหัสรายการอ้างอิง\", width: {wch: 20}},\n {title: \"คะแนนที่ได้รับ\", width: {wch: 10}},\n {title: \"คะแนนที่ใช้\", width: {wch: 10}},\n {title: \"สาขา\"},\n {title: \"วันที่ทำรายการ\", width: {wch: 20}},\n ],\n data: dataExcel\n \n }\n ];\n\n return (\n
\n
\n
\n

ประวัติการได้รับ - การใช้คะแนน

\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { adminAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../admin.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Admin_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"ad_firstname\"\n },\n {\n title: \"ขื่อ-นามสกุล\",\n class: \"text-left\",\n data: \"ad_firstname\"\n },\n {\n title: \"เบอร์โทรศัพท์\",\n class: \"text-left\",\n data: \"ad_phone\"\n },\n {\n title: \"E-Mail\",\n class: \"text-left\",\n data: \"ad_email\"\n },\n {\n title: \"Username\",\n class: \"text-left\",\n data: \"ad_username\"\n },\n {\n title: \"ระดับ\",\n class: \"text-left\",\n data: \"level_name\"\n },\n // {\n // title: \"สถานะ\",\n // class: \"text-center\",\n // data: \"is_active\"\n // },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"ad_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${cellData} ${rowData.ad_lastname}`);\n },\n orderable: true\n },\n // {\n // targets: 6,\n // createdCell: function(td, cellData, rowData, row, col) {\n // $(td)\n // .html(`\n // \n // `);\n // },\n // orderable: true\n // },\n {\n targets:6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.admin}/users`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[6, \"asc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 2;\n\n state.setState({\n inputBody : {\n is_active: val,\n }\n });\n\n adminAction.ActiveAdmin(state.state.inputBody, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n adminAction.deleteAdminById(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

ผู้ดูแลระบบ

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { adminAction, branchAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../admin.css\";\nimport Select from \"react-select\";\n\nlet modalAlert;\n\nexport class Admin_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n selectOptionLevel: [],\n selectOptionBranch: [],\n select: {\n level: {\n value: \"\"\n },\n branch: {\n value: \"\"\n }\n },\n fields: {\n 'ad_b_status': 0\n },\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOptionLevel, selectOptionBranch } = this.state;\n\n adminAction.listLevelAdmin().then(res => {\n for (var i in res.data) {\n selectOptionLevel.push({\n label: res.data[i].level_name,\n value: res.data[i].level_id\n });\n }\n this.setState({ selectOptionLevel });\n });\n\n branchAction.listBranchAll().then(res_branch => {\n for (var j in res_branch.data) {\n selectOptionBranch.push({\n label: res_branch.data[j].b_name,\n value: res_branch.data[j].b_id\n });\n }\n this.setState({ selectOptionBranch });\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/admin\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let select = this.state.select;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"firstName\"]) {\n formIsValid = false;\n errors[\"firstName\"] = \"*กรุณากรอกชื่อ.\";\n }\n\n if (!fields[\"lastName\"]) {\n formIsValid = false;\n errors[\"lastName\"] = \"*กรุณากรอกนามสกุล.\";\n }\n\n if (!fields[\"telephone\"]) {\n formIsValid = false;\n errors[\"telephone\"] = \"*กรุณากรอกเบอร์โทรศัพท์\";\n }\n\n if (!fields[\"email\"]) {\n formIsValid = false;\n errors[\"email\"] = \"*กรุณากรอก e-mail\";\n }\n\n if (!fields[\"password\"]) {\n formIsValid = false;\n errors[\"password\"] = \"*กรุณากรอกรหัสผ่าน\";\n }\n\n if (!fields[\"cf_password\"]) {\n formIsValid = false;\n errors[\"cf_password\"] = \"*กรุณากรอกยืนยันรหัสผ่าน\";\n }\n\n if (!fields[\"username\"]) {\n formIsValid = false;\n errors[\"username\"] = \"*กรุณากรอก username\";\n }\n\n if (select.level[\"value\"] == \"\") {\n formIsValid = false;\n errors[\"level\"] = \"*กรุณาเลือกระดับ\";\n }\n\n if(fields[\"password\"] !== \"\" && typeof fields[\"password\"] !== 'undefined'){\n if (fields[\"password\"].length < 8) {\n formIsValid = false;\n errors[\"password\"] = \"*กรุณากรอกรหัสผ่านอย่างน้อย 8 ตัว\";\n }\n }\n\n if(fields[\"cf_password\"] !== \"\" && typeof fields[\"password\"] !== 'undefined'){\n if (fields[\"password\"] !== fields[\"cf_password\"]) {\n formIsValid = false;\n errors[\"cf_password\"] = \"*ยืนยันรหัสผ่านไม่ถูกต้อง\";\n }\n }\n\n if (fields[\"ad_b_status\"] == 1 && !select.branch[\"value\"]) {\n formIsValid = false;\n errors[\"branch\"] = \"*กรุณาเลือกสาขาที่สังกัด\";\n }\n console.log(fields[\"ad_b_status\"] == 1 && !select.branch[\"value\"]);\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n\n validateData() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if(fields[\"password\"] !== \"\" && typeof fields[\"password\"] !== 'undefined'){\n if (fields[\"password\"].length < 8) {\n formIsValid = false;\n errors[\"password\"] = \"*กรุณากรอกรหัสผ่านอย่างน้อย 8 ตัว\";\n }\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = ({\n 'ad_firstname' : this.state.fields[\"firstName\"],\n 'ad_lastname' : this.state.fields[\"lastName\"],\n 'ad_phone' : this.state.fields[\"telephone\"],\n 'ad_email' : this.state.fields[\"email\"],\n 'ad_username' : this.state.fields[\"username\"],\n 'ad_password' : this.state.fields[\"password\"],\n \"ad_level\" : this.state.select.level[\"value\"],\n 'ad_b_status' : this.state.fields[\"ad_b_status\"],\n 'ad_b_id' : this.state.select.branch[\"value\"],\n 'is_active' : this.state.fields[\"is_active\"] ? this.state.fields[\"is_active\"] : 0,\n 'is_delete' : 0\n });\n\n adminAction.createAdmin(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = (e, action) => {\n let { select, fields, errors } = this.state; \n select[action.name] = {\n label: e.label,\n value: e.value\n };\n this.state.errors[action.name] = null;\n this.setState({ select, fields, errors });\n };\n\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\" || e.target.name === \"ad_b_status\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n\n // this.validateData();\n\n\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n\n render() {\n let { select } = this.state;\n\n return (\n
\n
\n
\n

เพิ่มข้อมูลผู้ดูแลระบบ

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.firstName}
\n
\n\n \n
\n \n
{this.state.errors.lastName}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.telephone}
\n
\n\n \n
\n \n
{this.state.errors.email}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"level\"]}
\n
\n\n \n
\n \n
{this.state.errors.username}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.password}
\n
\n\n \n
\n \n
{this.state.errors.cf_password}
\n
\n
\n\n
\n \n
\n
\n \n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { adminAction, branchAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport $ from 'jquery'\nimport \"../admin.css\";\nlet modalAlert;\n\nexport class Admin_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalResetPassword: null,\n modalOption: {},\n // messageCreate: \"\",\n modalReset: false,\n showPassword: false,\n resetPasswordText: \"\",\n fields: {},\n select: {},\n errors: {},\n // levelList: [],\n selectOptionLevel: [],\n selectOptionBranch: [],\n // level: null,\n // branch: null,\n admin_id: this.props.match.params.admin_id\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.onConfirmResetPassword = this.onConfirmResetPassword.bind(this);\n }\n\n componentDidMount() {\n let { selectOptionLevel, selectOptionBranch } = this.state;\n\n const {\n match: { params }\n } = this.props;\n this.getDataByID(params.admin_id);\n\n // adminAction.listLevelAdmin()\n // .then(res => {\n // this.setState({\n // levelList: res.data\n // })\n // })\n\n adminAction.listLevelAdmin().then(res => {\n for (var i in res.data) {\n selectOptionLevel.push({\n label: res.data[i].level_name,\n value: res.data[i].level_id\n });\n }\n this.setState({ selectOptionLevel });\n });\n\n branchAction.listBranchAll().then(res_branch => {\n for (var j in res_branch.data) {\n selectOptionBranch.push({\n label: res_branch.data[j].b_name,\n value: res_branch.data[j].b_id\n });\n }\n this.setState({ selectOptionBranch });\n });\n }\n\n getDataByID(admin_id) {\n adminAction.getAdminId(admin_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n ad_firstname: e.data.ad_firstname,\n ad_lastname: e.data.ad_lastname,\n ad_phone: e.data.ad_phone,\n ad_email: e.data.ad_email,\n ad_username: e.data.ad_username,\n ad_password: e.data.ad_password,\n ad_b_status: e.data.ad_b_status,\n is_active: e.data.is_active,\n ad_id: admin_id\n }\n });\n this.setState({\n select: {\n level : {\n ...this.state.select.level,\n label: e.data.level_name,\n value: e.data.level_id,\n },\n branch : {\n ...this.state.select.branch,\n label: e.data.b_name,\n value: e.data.b_id,\n },\n }\n });\n\n // this.setState({select:\n // {\n // label: this.state.fields[\"level_name\"],\n // value: this.state.fields[\"level_id\"]\n // }\n // });\n\n // this.setState({branch:\n // {\n // label: this.state.fields[\"b_name\"],\n // value: this.state.fields[\"b_id\"]\n // }\n // });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestionResetPassword(head, body) {\n modalAlert = () => (\n this.onConfirmResetPassword()}\n onCancel={() => this.onCancelResetPassword()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modalResetPassword: modalAlert() });\n }\n\n onCancelResetPassword = () => {\n this.setState({\n modalResetPassword: null\n })\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/admin\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let select = this.state.select;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"ad_firstname\"]) {\n formIsValid = false;\n errors[\"ad_firstname\"] = \"*กรุณากรอกชื่อจริง\";\n }\n if (!fields[\"ad_lastname\"]) {\n formIsValid = false;\n errors[\"ad_lastname\"] = \"*กรุณากรอกนามสกุล\";\n }\n if (!fields[\"ad_phone\"]) {\n formIsValid = false;\n errors[\"ad_phone\"] = \"*กรุณากรอกเบอร์โทรศัพท์\";\n }\n if (!fields[\"ad_email\"]) {\n formIsValid = false;\n errors[\"ad_email\"] = \"*กรุณากรอก E-Mail\";\n }\n if (!fields[\"ad_username\"]) {\n formIsValid = false;\n errors[\"ad_username\"] = \"*กรุณากรอก Username\";\n }\n if (!fields[\"ad_oldPassword\"]) {\n formIsValid = false;\n errors[\"ad_oldPassword\"] = \"*กรุณากรอกรหัสผ่านเดิม\";\n }\n\n if(fields[\"ad_newPassword\"] !== \"\" && typeof fields[\"ad_newPassword\"] !== \"undefined\"){\n if(fields[\"ad_newPassword\"].length < 8){\n formIsValid = false;\n errors[\"ad_newPassword\"] =\"*กรุณากรอกรหัสผ่านอย่างน้อย 8 ตัว\";\n }\n }\n if (fields[\"ad_b_status\"] == 1 && !select.branch[\"value\"]) {\n formIsValid = false;\n errors[\"branch\"] = \"*กรุณาเลือกสาขาที่สังกัด\";\n }\n\n if (fields[\"ad_newPassword\"] !== \"\" && typeof fields[\"ad_newPassword\"] !== \"undefined\" && (fields[\"ad_cfNewPassword\"] === \"\" || typeof fields[\"ad_cfNewPassword\"] === \"undefined\")) {\n formIsValid = false;\n errors[\"ad_cfNewPassword\"] = \"*กรุณากรอกยืนยันรหัสผ่าน\";\n }else{\n if(fields[\"ad_cfNewPassword\"] !== \"\" && typeof fields[\"ad_cfNewPassword\"] && fields[\"ad_newPassword\"] !== \"\" && typeof fields[\"ad_newPassword\"] !== \"undefined\"){\n if (fields[\"ad_newPassword\"] !== fields[\"ad_cfNewPassword\"]) {\n formIsValid = false;\n errors[\"ad_cfNewPassword\"] = \"*ยืนยันรหัสผ่านไม่ถูกต้อง\";\n }\n }\n\n }\n\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n var md5 = require('md5');\n this.setState({ modal: null });\n var formData = {\n \"ad_firstname\" : this.state.fields[\"ad_firstname\"],\n \"ad_lastname\" : this.state.fields[\"ad_lastname\"],\n \"ad_phone\" : this.state.fields[\"ad_phone\"],\n \"ad_email\" : this.state.fields[\"ad_email\"],\n \"ad_username\" : this.state.fields[\"ad_username\"],\n \"ad_level\" : this.state.select.level[\"value\"],\n 'ad_b_status' : this.state.fields[\"ad_b_status\"],\n 'ad_b_id' : this.state.select.branch[\"value\"],\n \"is_active\" : this.state.fields[\"is_active\"],\n \"ad_password\" : (this.state.fields[\"ad_newPassword\"] ? md5(this.state.fields[\"ad_newPassword\"]) : ''),\n \"ad_oldPassword\" : md5(this.state.fields[\"ad_oldPassword\"])\n }\n\n adminAction.updateAdmin(formData, this.state.fields[\"ad_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = (e, action) => {\n let { select, fields, errors } = this.state; \n select[action.name] = {\n label: e.label,\n value: e.value\n };\n this.state.errors[action.name] = null;\n this.setState({ select, fields, errors });\n };\n \n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\" || e.target.name === \"ad_b_status\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onConfirmResetPassword = e => {\n var md5 = require('md5');\n let {resetPasswordText, admin_id} = this.state;\n\n var formData = {\n \"new_password\" : md5(resetPasswordText),\n }\n\n adminAction.resetPasswordAdmin(formData, admin_id)\n .then(res => {\n console.log('reset password: ', res);\n if(res.isSuccess)\n {\n // Close Modal & Popup Confirm\n $(\"#btn-closeresetpmodal\").click();\n this.setState({ modalResetPassword: null });\n this.onModalSuccess(\"Success\", res.message);\n }else\n {\n this.onModalError(\"Error\", res.message);\n }\n })\n\n }\n\n handleShowPasswordChange = e => {\n let {showPassword} = this.state;\n this.setState({\n showPassword: !showPassword\n }); \n }\n\n handleInputResetPasswordChange = async(e) => {\n let value = e.target.value;\n this.setState({\n resetPasswordText: value\n })\n await this.validateFormResetPassword(value);\n }\n\n handleSubmitResetPassword = async e => {\n await this.validateFormResetPassword(this.state.resetPasswordText);\n this.onModalQuestionResetPassword(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n\n validateFormResetPassword = (msg) => {\n return new Promise(async resolve => {\n let {errors} = this.state; \n let error = {}\n if(!!msg && msg.length >= 6)\n {\n resolve();\n error[\"reset_password\"] = \"\";\n }else\n {\n error[\"reset_password\"] = \"*กรอกรหัสผ่านให้ครบถ้วน (อย่างน้อย 6 ตัวอักษร)\"; \n }\n this.setState({\n errors: {...errors, ...error}\n })\n })\n }\n\n render() {\n let { select, showPassword } = this.state;\n\n let modalResetPassword = (\n
\n {/* */}\n
\n
\n
\n
\n

รีเซทรหัสผ่าน

\n \n \n \n {showPassword ? \n // show password\n \n : \n // hide password\n \n }\n \n \n

{this.state.errors[\"reset_password\"]}

\n
\n
\n \n \n
\n
\n
\n
\n
\n )\n \n\n return (\n
\n
\n
\n

แก้ไขข้อมูลผู้ดูแลระบบ

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n\n
\n \n
\n \n
{this.state.errors.ad_firstname}
\n
\n\n \n
\n \n
{this.state.errors.ad_lastname}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.ad_phone}
\n
\n\n \n
\n \n
{this.state.errors.ad_email}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"level\"]}
\n
\n \n
\n \n
{this.state.errors.ad_username}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"ad_oldPassword\"]}\n
\n
\n \n
\n \n
\n {this.state.errors[\"ad_newPassword\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"ad_cfNewPassword\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n {this.state.modalResetPassword}\n {modalResetPassword}\n
\n );\n }\n}\n","import React from \"react\";\nimport { adminAction, branchAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport \"../admin.css\";\nlet modalAlert;\n\nexport class Admin_EditPassword extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n // messageCreate: \"\",\n fields: {},\n select: {},\n errors: {},\n // levelList: [],\n selectOptionLevel: [],\n selectOptionBranch: [],\n // level: null,\n // branch: null,\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOptionLevel, selectOptionBranch } = this.state;\n\n const {\n match: { params }\n } = this.props;\n this.getDataByID(params.admin_id);\n }\n\n getDataByID(admin_id) {\n adminAction.getAdminId(admin_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n ad_firstname: e.data.ad_firstname,\n ad_lastname: e.data.ad_lastname,\n ad_phone: e.data.ad_phone,\n ad_email: e.data.ad_email,\n ad_username: e.data.ad_username,\n ad_password: e.data.ad_password,\n ad_b_status: e.data.ad_b_status,\n is_active: e.data.is_active,\n ad_id: admin_id\n }\n });\n this.setState({\n select: {\n level : {\n ...this.state.select.level,\n label: e.data.level_name,\n value: e.data.level_id,\n },\n branch : {\n ...this.state.select.branch,\n label: e.data.b_name,\n value: e.data.b_id,\n },\n }\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/homepage\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let select = this.state.select;\n let errors = {};\n let formIsValid = true;\n\n \n if (!fields[\"ad_oldPassword\"]) {\n formIsValid = false;\n errors[\"ad_oldPassword\"] = \"*กรุณากรอกรหัสผ่านเดิม\";\n }\n\n if(fields[\"ad_newPassword\"] !== \"\" && typeof fields[\"ad_newPassword\"] !== \"undefined\"){\n if(fields[\"ad_newPassword\"].length < 8){\n formIsValid = false;\n errors[\"ad_newPassword\"] =\"*กรุณากรอกรหัสผ่านอย่างน้อย 8 ตัว\";\n }\n }\n if (fields[\"ad_newPassword\"] !== \"\" && typeof fields[\"ad_newPassword\"] !== \"undefined\" && (fields[\"ad_cfNewPassword\"] === \"\" || typeof fields[\"ad_cfNewPassword\"] === \"undefined\")) {\n formIsValid = false;\n errors[\"ad_cfNewPassword\"] = \"*กรุณากรอกยืนยันรหัสผ่าน\";\n }else{\n if(fields[\"ad_cfNewPassword\"] !== \"\" && typeof fields[\"ad_cfNewPassword\"] && fields[\"ad_newPassword\"] !== \"\" && typeof fields[\"ad_newPassword\"] !== \"undefined\"){\n if (fields[\"ad_newPassword\"] !== fields[\"ad_cfNewPassword\"]) {\n formIsValid = false;\n errors[\"ad_cfNewPassword\"] = \"*ยืนยันรหัสผ่านไม่ถูกต้อง\";\n }\n }\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var md5 = require('md5');\n var formData = {\n \"ad_password\" : md5(this.state.fields[\"ad_newPassword\"]),\n \"ad_oldPassword\" : md5(this.state.fields[\"ad_oldPassword\"])\n }\n\n adminAction.updateAdmin(formData, this.state.fields[\"ad_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = (e, action) => {\n let { select, fields, errors } = this.state; \n select[action.name] = {\n label: e.label,\n value: e.value\n };\n this.state.errors[action.name] = null;\n this.setState({ select, fields, errors });\n };\n \n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\" || e.target.name === \"ad_b_status\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n render() {\n let { select } = this.state;\n\n return (\n
\n
\n
\n

แก้ไขรหัสผ่าน

\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"ad_oldPassword\"]}\n
\n
\n \n
\n \n
\n {this.state.errors[\"ad_newPassword\"]}\n
\n
\n
\n\n
\n \n
\n \n
{this.state.errors[\"ad_cfNewPassword\"]}
\n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { adminAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../level.css\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Level_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"ชื่อสิทธิ์\",\n class: \"text-center\",\n data: \"level_name\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"level_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: true\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n\n
\n
\n \n \n \n\n \n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.admin}/level`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var id = $(this).data(\"id\");\n var val = $(this).is(\":checked\") === true ? 1 : 2;\n\n state.setState({\n inputBody : {\n is_active: val,\n }\n });\n\n adminAction.activateLevel(state.state.inputBody, id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n // $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n // var mcid = $(this).data(\"content\");\n // modalAlert = () => (\n // onConfirmDelete(mcid)}\n // onCancel={() => onConfirm()}\n // >\n // คุณต้องการลบข้อมูลนี้หรือไม่ ?\n // \n // );\n //\n // state.setState({ show: true, modal: modalAlert() });\n // });\n\n // function onConfirmDelete(cid) {\n // adminAction.deleteEatinCategory(cid).then(e => {\n // if (e.isSuccess === false) {\n // onModalError(\"Error\", e.message);\n // } else {\n // onModalSuccess(\"Success\", e.message);\n // table.ajax.reload();\n // }\n // });\n // }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n return (\n
\n
\n
\n

สิทธิ์ผู้ดูแลระบบ

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { adminAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../level.css\";\nimport Select from \"react-select\";\n\nlet modalAlert;\n\nexport class Level_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n selectOption: [],\n selectedOption: null,\n fields: {\n level_id: 0\n },\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/level\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"level_name\"]) {\n formIsValid = false;\n errors[\"level_name\"] = \"*กรุณากรอกชื่อสิทธิ์ผู้ดูแลระบบ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = ({\n 'level_name' : this.state.fields[\"level_name\"],\n 'is_active' : this.state.fields[\"is_active\"] ? this.state.fields[\"is_active\"] : 0,\n 'menu_general' : this.state.fields[\"menu_general\"] ? this.state.fields[\"menu_general\"] : 0,\n 'menu_promotion' : this.state.fields[\"menu_promotion\"] ? this.state.fields[\"menu_promotion\"] : 0,\n 'menu_branch' : this.state.fields[\"menu_branch\"] ? this.state.fields[\"menu_branch\"] : 0,\n 'menu_branch_queue' : this.state.fields[\"menu_branch_queue\"] ? this.state.fields[\"menu_branch_queue\"] : 0,\n 'menu_branch_detail' : this.state.fields[\"menu_branch_detail\"] ? this.state.fields[\"menu_branch_detail\"] : 0,\n 'menu_preorder' : this.state.fields[\"menu_preorder\"] ? this.state.fields[\"menu_preorder\"] : 0,\n 'menu_preorder_sub_order_eatin' : this.state.fields[\"menu_preorder_sub_order_eatin\"] ? this.state.fields[\"menu_preorder_sub_order_eatin\"] : 0,\n 'menu_preorder_sub_order_takehome' : this.state.fields[\"menu_preorder_sub_order_takehome\"] ? this.state.fields[\"menu_preorder_sub_order_takehome\"] : 0,\n 'menu_preorder_sub_product_preorder' : this.state.fields[\"menu_preorder_sub_product_preorder\"] ? this.state.fields[\"menu_preorder_sub_product_preorder\"] : 0,\n 'menu_preorder_sub_product_by_branch' : this.state.fields[\"menu_preorder_sub_product_by_branch\"] ? this.state.fields[\"menu_preorder_sub_product_by_branch\"] : 0,\n 'menu_preorder_sub_product_preorder_category' : this.state.fields[\"menu_preorder_sub_product_preorder_category\"] ? this.state.fields[\"menu_preorder_sub_product_preorder_category\"] : 0,\n 'menu_order_online' : this.state.fields[\"menu_order_online\"] ? this.state.fields[\"menu_order_online\"] : 0,\n 'menu_order_online_sub_order' : this.state.fields[\"menu_order_online_sub_order\"] ? this.state.fields[\"menu_order_online_sub_order\"] : 0,\n 'menu_order_online_sub_receive_order' : this.state.fields[\"menu_order_online_sub_receive_order\"] ? this.state.fields[\"menu_order_online_sub_receive_order\"] : 0,\n 'menu_order_online_sub_product_by_branch' : this.state.fields[\"menu_order_online_sub_product_by_branch\"] ? this.state.fields[\"menu_order_online_sub_product_by_branch\"] : 0,\n 'menu_order_online_sub_product_online' : this.state.fields[\"menu_order_online_sub_product_online\"] ? this.state.fields[\"menu_order_online_sub_product_online\"] : 0,\n 'menu_order_online_sub_product_online_category' : this.state.fields[\"menu_order_online_sub_product_online_category\"] ? this.state.fields[\"menu_order_online_sub_product_online_category\"] : 0,\n 'menu_rewards' : this.state.fields[\"menu_rewards\"] ? this.state.fields[\"menu_rewards\"] : 0,\n 'menu_rewards_category' : this.state.fields[\"menu_rewards_category\"] ? this.state.fields[\"menu_rewards_category\"] : 0,\n 'menu_rewards_items' : this.state.fields[\"menu_rewards_items\"] ? this.state.fields[\"menu_rewards_items\"] : 0,\n 'menu_rewards_staff' : this.state.fields[\"menu_rewards_staff\"] ? this.state.fields[\"menu_rewards_staff\"] : 0,\n 'menu_rewards_history' : this.state.fields[\"menu_rewards_history\"] ? this.state.fields[\"menu_rewards_history\"] : 0,\n 'menu_news' : this.state.fields[\"menu_news\"] ? this.state.fields[\"menu_news\"] : 0,\n 'menu_member' : this.state.fields[\"menu_member\"] ? this.state.fields[\"menu_member\"] : 0,\n 'menu_member_list' : this.state.fields[\"menu_member_list\"] ? this.state.fields[\"menu_member_list\"] : 0,\n 'menu_staffs' : this.state.fields[\"menu_staffs\"] ? this.state.fields[\"menu_staffs\"] : 0,\n 'menu_point_log' : this.state.fields[\"menu_point_log\"] ? this.state.fields[\"menu_point_log\"] : 0,\n 'menu_point_earn' : this.state.fields[\"menu_point_earn\"] ? this.state.fields[\"menu_point_earn\"] : 0,\n 'menu_point_burn' : this.state.fields[\"menu_point_burn\"] ? this.state.fields[\"menu_point_burn\"] : 0,\n 'menu_ewallet' : this.state.fields[\"menu_ewallet\"] ? this.state.fields[\"menu_ewallet\"] : 0,\n 'menu_ewallet_account' : this.state.fields[\"menu_ewallet_account\"] ? this.state.fields[\"menu_ewallet_account\"] : 0,\n 'menu_ewallet_transaction' : this.state.fields[\"menu_ewallet_transaction\"] ? this.state.fields[\"menu_ewallet_transaction\"] : 0,\n 'menu_ewallet_report' : this.state.fields[\"menu_ewallet_report\"] ? this.state.fields[\"menu_ewallet_report\"] : 0,\n 'menu_admin' : this.state.fields[\"menu_admin\"] ? this.state.fields[\"menu_admin\"] : 0,\n 'menu_admin_list' : this.state.fields[\"menu_admin_list\"] ? this.state.fields[\"menu_admin_list\"] : 0,\n 'menu_permission' : this.state.fields[\"menu_permission\"] ? this.state.fields[\"menu_permission\"] : 0,\n 'menu_problem' : this.state.fields[\"menu_problem\"] ? this.state.fields[\"menu_problem\"] : 0,\n 'menu_problem_title' : this.state.fields[\"menu_problem_title\"] ? this.state.fields[\"menu_problem_title\"] : 0,\n 'menu_problem_list' : this.state.fields[\"menu_problem_list\"] ? this.state.fields[\"menu_problem_list\"] : 0,\n });\n\n adminAction.createLevel(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = selectedOption => {\n let { fields, errors } = this.state;\n fields[\"level_id\"] = selectedOption.value;\n this.state.errors[\"level_name\"] = null;\n this.setState({ selectedOption, fields, errors });\n };\n\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"level_name\") {\n fields[e.target.name] = e.target.value;\n } else {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n }\n\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n\n };\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n\n render() {\n let { selectedOption } = this.state;\n\n return (\n
\n
\n
\n

เพิ่มสิทธิ์ผู้ดูแลระบบ

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.level_name}
\n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n \n
\n \n
\n
\n\n
\n \n
\n
\n\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n \n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n \n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { adminAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\n\nimport \"../level.css\";\n\nlet modalAlert;\n\nexport class Level_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n fields: {},\n errors: {},\n levelList: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.getDataByID(params.level_id);\n }\n\n getDataByID(level_id) {\n adminAction.getLevelById(level_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n level_name: e.data.level_name,\n is_active: e.data.is_active,\n level_id: level_id,\n\n menu_general : e.data.menu_general,\n menu_promotion : e.data.menu_promotion,\n menu_branch : e.data.menu_branch,\n menu_branch_queue : e.data.menu_branch_queue,\n menu_branch_detail : e.data.menu_branch_detail,\n menu_preorder : e.data.menu_preorder,\n menu_preorder_sub_order_eatin : e.data.menu_preorder_sub_order_eatin,\n menu_preorder_sub_order_takehome : e.data.menu_preorder_sub_order_takehome,\n menu_preorder_sub_product_preorder : e.data.menu_preorder_sub_product_preorder,\n menu_preorder_sub_product_by_branch : e.data.menu_preorder_sub_product_by_branch,\n menu_preorder_sub_product_preorder_category : e.data.menu_preorder_sub_product_preorder_category,\n menu_order_online : e.data.menu_order_online,\n menu_order_online_sub_order : e.data.menu_order_online_sub_order,\n menu_order_online_sub_receive_order : e.data.menu_order_online_sub_receive_order,\n menu_order_online_sub_product_by_branch : e.data.menu_order_online_sub_product_by_branch,\n menu_order_online_sub_product_online : e.data.menu_order_online_sub_product_online,\n menu_order_online_sub_product_online_category : e.data.menu_order_online_sub_product_online_category,\n menu_product_online_sub_product_online : e.data.menu_product_online_sub_product_online,\n menu_rewards : e.data.menu_rewards,\n menu_rewards_category : e.data.menu_rewards_category,\n menu_rewards_items : e.data.menu_rewards_items,\n menu_rewards_staff : e.data.menu_rewards_staff,\n menu_rewards_history : e.data.menu_rewards_history,\n menu_news : e.data.menu_news,\n menu_member : e.data.menu_member,\n menu_member_list : e.data.menu_member_list,\n menu_staffs : e.data.menu_staffs,\n menu_point_log : e.data.menu_point_log,\n menu_point_earn : e.data.menu_point_earn,\n menu_point_burn : e.data.menu_point_burn,\n menu_ewallet : e.data.menu_ewallet,\n menu_ewallet_account : e.data.menu_ewallet_account,\n menu_ewallet_transaction : e.data.menu_ewallet_transaction,\n menu_ewallet_report : e.data.menu_ewallet_report,\n menu_admin : e.data.menu_admin,\n menu_admin_list : e.data.menu_admin_list,\n menu_permission : e.data.menu_permission,\n menu_problem : e.data.menu_problem,\n menu_problem_title : e.data.menu_problem_title,\n menu_problem_list : e.data.menu_problem_list\n }\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/level\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"level_name\"]) {\n formIsValid = false;\n errors[\"level_name\"] = \"*กรุณากรอกชื่อสิทธิ์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var formData = {\n \"level_name\" : this.state.fields[\"level_name\"],\n \"is_active\" : this.state.fields[\"is_active\"],\n 'menu_general' : this.state.fields[\"menu_general\"] ? this.state.fields[\"menu_general\"] : 0,\n 'menu_promotion' : this.state.fields[\"menu_promotion\"] ? this.state.fields[\"menu_promotion\"] : 0,\n 'menu_branch' : this.state.fields[\"menu_branch\"] ? this.state.fields[\"menu_branch\"] : 0,\n 'menu_branch_queue' : this.state.fields[\"menu_branch_queue\"] ? this.state.fields[\"menu_branch_queue\"] : 0,\n 'menu_branch_detail' : this.state.fields[\"menu_branch_detail\"] ? this.state.fields[\"menu_branch_detail\"] : 0,\n 'menu_preorder' : this.state.fields[\"menu_preorder\"] ? this.state.fields[\"menu_preorder\"] : 0,\n 'menu_preorder_sub_order_eatin' : this.state.fields[\"menu_preorder_sub_order_eatin\"] ? this.state.fields[\"menu_preorder_sub_order_eatin\"] : 0,\n 'menu_preorder_sub_order_takehome' : this.state.fields[\"menu_preorder_sub_order_takehome\"] ? this.state.fields[\"menu_preorder_sub_order_takehome\"] : 0,\n 'menu_preorder_sub_product_preorder' : this.state.fields[\"menu_preorder_sub_product_preorder\"] ? this.state.fields[\"menu_preorder_sub_product_preorder\"] : 0,\n 'menu_preorder_sub_product_by_branch' : this.state.fields[\"menu_preorder_sub_product_by_branch\"] ? this.state.fields[\"menu_preorder_sub_product_by_branch\"] : 0,\n 'menu_preorder_sub_product_preorder_category' : this.state.fields[\"menu_preorder_sub_product_preorder_category\"] ? this.state.fields[\"menu_preorder_sub_product_preorder_category\"] : 0,\n 'menu_order_online' : this.state.fields[\"menu_order_online\"] ? this.state.fields[\"menu_order_online\"] : 0,\n 'menu_order_online_sub_order' : this.state.fields[\"menu_order_online_sub_order\"] ? this.state.fields[\"menu_order_online_sub_order\"] : 0,\n 'menu_order_online_sub_receive_order' : this.state.fields[\"menu_order_online_sub_receive_order\"] ? this.state.fields[\"menu_order_online_sub_receive_order\"] : 0,\n 'menu_order_online_sub_product_by_branch' : this.state.fields[\"menu_order_online_sub_product_by_branch\"] ? this.state.fields[\"menu_order_online_sub_product_by_branch\"] : 0,\n 'menu_order_online_sub_product_online' : this.state.fields[\"menu_order_online_sub_product_online\"] ? this.state.fields[\"menu_order_online_sub_product_online\"] : 0,\n 'menu_order_online_sub_product_online_category' : this.state.fields[\"menu_order_online_sub_product_online_category\"] ? this.state.fields[\"menu_order_online_sub_product_online_category\"] : 0,\n 'menu_product_online_sub_product_online' : this.state.fields[\"menu_product_online_sub_product_online\"] ? this.state.fields[\"menu_product_online_sub_product_online\"] : 0,\n 'menu_rewards' : this.state.fields[\"menu_rewards\"] ? this.state.fields[\"menu_rewards\"] : 0,\n 'menu_rewards_category' : this.state.fields[\"menu_rewards_category\"] ? this.state.fields[\"menu_rewards_category\"] : 0,\n 'menu_rewards_items' : this.state.fields[\"menu_rewards_items\"] ? this.state.fields[\"menu_rewards_items\"] : 0,\n 'menu_rewards_staff' : this.state.fields[\"menu_rewards_staff\"] ? this.state.fields[\"menu_rewards_staff\"] : 0,\n 'menu_rewards_history' : this.state.fields[\"menu_rewards_history\"] ? this.state.fields[\"menu_rewards_history\"] : 0,\n 'menu_news' : this.state.fields[\"menu_news\"] ? this.state.fields[\"menu_news\"] : 0,\n 'menu_member' : this.state.fields[\"menu_member\"] ? this.state.fields[\"menu_member\"] : 0,\n 'menu_member_list' : this.state.fields[\"menu_member_list\"] ? this.state.fields[\"menu_member_list\"] : 0,\n 'menu_staffs' : this.state.fields[\"menu_staffs\"] ? this.state.fields[\"menu_staffs\"] : 0,\n 'menu_point_log' : this.state.fields[\"menu_point_log\"] ? this.state.fields[\"menu_point_log\"] : 0,\n 'menu_point_earn' : this.state.fields[\"menu_point_earn\"] ? this.state.fields[\"menu_point_earn\"] : 0,\n 'menu_point_burn' : this.state.fields[\"menu_point_burn\"] ? this.state.fields[\"menu_point_burn\"] : 0,\n 'menu_ewallet' : this.state.fields[\"menu_ewallet\"] ? this.state.fields[\"menu_ewallet\"] : 0,\n 'menu_ewallet_account' : this.state.fields[\"menu_ewallet_account\"] ? this.state.fields[\"menu_ewallet_account\"] : 0,\n 'menu_ewallet_transaction' : this.state.fields[\"menu_ewallet_transaction\"] ? this.state.fields[\"menu_ewallet_transaction\"] : 0,\n 'menu_ewallet_report' : this.state.fields[\"menu_ewallet_report\"] ? this.state.fields[\"menu_ewallet_report\"] : 0,\n 'menu_admin' : this.state.fields[\"menu_admin\"] ? this.state.fields[\"menu_admin\"] : 0,\n 'menu_admin_list' : this.state.fields[\"menu_admin_list\"] ? this.state.fields[\"menu_admin_list\"] : 0,\n 'menu_permission' : this.state.fields[\"menu_permission\"] ? this.state.fields[\"menu_permission\"] : 0,\n 'menu_problem' : this.state.fields[\"menu_problem\"] ? this.state.fields[\"menu_problem\"] : 0,\n 'menu_problem_title' : this.state.fields[\"menu_problem_title\"] ? this.state.fields[\"menu_problem_title\"] : 0,\n 'menu_problem_list' : this.state.fields[\"menu_problem_list\"] ? this.state.fields[\"menu_problem_list\"] : 0,\n\n }\n\n adminAction.updateLevel(formData, this.state.fields[\"level_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"level_name\") {\n fields[e.target.name] = e.target.value;\n } else {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n render() {\n console.log(this.state.fields);\n return (\n
\n
\n
\n

แก้ไขข้อมูลสิทธิ์ผู้ดูแลระบบ

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.level_name}
\n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../problem.css\";\n\n$.DataTable = require(\"datatables.net\");\n\nexport class List_Problem extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n\n this.state = {\n\n };\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"problem_id\"\n },\n {\n title: \"หัวข้อ\",\n data: \"problem_title\"\n },\n {\n title: \"รายละเอียด\",\n data: \"problem_description\"\n },\n {\n title: \"วันที่แจ้งปัญหา\",\n class: \"text-center\",\n data: \"created_at\"\n }\n\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`${cellData}`);\n },\n orderable: false\n }\n \n ],\n ajax: {\n url: `${Base_API.member}/problem/listsProblem`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n\n render() {\n return (\n
\n
\n
\n

รายการแจ้งปัญหาการใช้งาน

\n
\n \n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { memberAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../ewallet.css\";\nimport Lightbox from 'react-image-lightbox';\nimport 'react-image-lightbox/style.css';\nimport ReactExport from 'react-data-export';\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\nconst ExcelColumn = ReactExport.ExcelFile.ExcelColumn;\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-problem'\n\n$.DataTable = require(\"datatables.net\");\n\nexport class List_Problem_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n\n this.state = {\n photoIndex: 0,\n isOpen: false,\n modal: null,\n preview_image: \"\"\n };\n }\n\n componentDidMount() {\n memberAction.exportProblemList().then(res => {\n this.setState({\n dataExport: res.data\n })\n })\n\n const columns = [\n {\n title: \"วันที่แจ้งปัญหา\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"รูปภาพ\",\n class: \"text-center\",\n data: \"problem_ewallet_image\"\n },\n {\n title: \"e-mail ผู้แจ้ง\",\n class: \"text-center\",\n data: \"mem_email\"\n },\n {\n title: \"เบอร์โทรศัพท์\",\n class: \"text-center\",\n data: \"mem_phone\"\n },\n {\n title: \"หัวข้อ\",\n class: \"text-center\",\n data: \"problem_ewallet_title_name\"\n },\n {\n title: \"รายละเอียด\",\n class: \"text-center text-long-title\",\n data: \"problem_ewallet_description\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"status_problem\"\n },\n // {\n // title: \"\",\n // class: \"text-center\",\n // data: \"problem_ewallet_id\"\n // }\n\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${rowData.problem_ewallet_title_name} \n
\n
\n `);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${!!cellData ? '+66 '+cellData : 'ไม่พบข้อมูล'}
`);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n console.log(cellData)\n $(td)\n .html(`

${cellData===0 ? 'ยังไม่ได้รับการแก้ไข' : 'แก้ไขแล้ว'}

`);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.member}/api/v1/problem`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n \n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".previewimg\", function () {\n let preview_image = $(this).data(\"id\");\n\n state.setState({ \n isOpen: true ,\n preview_image: preview_image\n })\n });\n\n $(this.refs.main).on(\"click\", 'input[name=\"update-status\"]', function (e) {\n e.target.checked = !e.target.checked; \n let problem_id = $(this).data(\"id\");\n modalAlert = () => (\n onConfirmUpdateStatus(problem_id, !e.target.checked)}\n onCancel={() => onConfirm()}\n >\n คุณต้องอัพเดตสถานะนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmUpdateStatus(id, status) {\n\n let formData = {\n \"status_problem\": status===true ? 1 : 0\n };\n\n memberAction.updateProblemEwallet(id, formData).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n const { photoIndex, isOpen } = this.state;\n var dataExport = []\n let data = this.state.dataExport \n for(var i in data){\n dataExport.push(\n [\n {value: parseInt(i)+1},\n {value: data[i].created_at},\n {value: (data[i].problem_ewallet_image ? data[i].problem_ewallet_image : \"\")},\n {value: (data[i].mem_email ? data[i].mem_email : \"\")},\n {value: data[i].problem_ewallet_title_name},\n {value: data[i].problem_ewallet_description}\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"วันที่แจ้งปัญหา\", width: {wch: 40}},//char width \n {title: \"รูปภาพ\", width: {wch: 20}},\n {title: \"e-mail ผู้แจ้ง\", width: {wch: 20}},\n {title: \"คะแนนคงเหลือ\", width: {wch: 15}},\n {title: \"วันเวลาที่ลงทะเบียน\", width: {wch: 15}},\n {title: \"สถานะ\"},\n ],\n data: dataExport\n \n }\n ];\n return (\n
\n
\n
\n

รายการแจ้งปัญหาการใช้งาน

\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n
\n \n \n {isOpen && (\n this.setState({ isOpen: false })}\n />\n )}\n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../ewallet.css\";\n\n$.DataTable = require(\"datatables.net\");\n\nexport class List_Problem_Ewallet_Title extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n\n this.state = {\n\n };\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"problem_ewallet_title_id\"\n },\n {\n title: \"หัวข้อ (TH)\",\n class: \"text-center\",\n data: \"problem_ewallet_title_name_th\"\n },\n {\n title: \"หัวข้อ (EN)\",\n class: \"text-center\",\n data: \"problem_ewallet_title_name_en\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"problem_ewallet_title_id\"\n }\n\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: true\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n \n
\n
\n `);\n\n //
\n // \n // \n //\n\n //
\n },\n orderable: false\n }\n \n ],\n ajax: {\n url: `${Base_API.ewallet}/api/v1/problem_ewallet_title`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[3, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n\n render() {\n return (\n
\n
\n
\n

รายการหัวข้อแจ้งปัญหาการใช้งาน

\n \n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../../ewallet.css\";\n\nlet modalAlert;\n\nexport class Create_Problem_Ewallet_Title extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {},\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/ewallet/problem/title\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if(!fields[\"problem_ewallet_title_name_th\"]){\n formIsValid = false;\n errors[\"problem_ewallet_title_name_th\"] = \"*กรุณากรอกหัวข้อ (TH)\";\n }\n\n if(!fields[\"problem_ewallet_title_name_en\"]){\n formIsValid = false;\n errors[\"problem_ewallet_title_name_en\"] = \"*กรุณากรอกหัวข้อ (EN)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = ({\n 'problem_ewallet_title_name_th' : this.state.fields[\"problem_ewallet_title_name_th\"],\n 'problem_ewallet_title_name_en' : this.state.fields[\"problem_ewallet_title_name_en\"],\n 'is_active' : this.state.fields[\"is_active\"] ? this.state.fields[\"is_active\"] : 2,\n 'is_delete' : 2\n });\n\n ewalletAction.createProblemEwalletTitle(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 2;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n\n // this.validateData();\n\n\n };\n\n\n\n render() {\n let { selectedOption } = this.state;\n\n return (\n
\n
\n
\n

เพิ่มหัวข้อแจ้งปัญหาการใช้งาน

\n
\n
\n\n\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.problem_ewallet_title_name_th}
\n
\n\n \n
\n \n
{this.state.errors.problem_ewallet_title_name_en}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../ewallet.css\";\n\nlet modalAlert;\n\nexport class Edit_Problem_Ewallet_Title extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n isStatus: '',\n status: '',\n\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getProblemTitleByID(params.problem_ewallet_title_id);\n }\n\n getProblemTitleByID(id) {\n\n ewalletAction.getProblemEwalletTitle(id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n problem_ewallet_title_id: e.data.problem_ewallet_title_id,\n problem_ewallet_title_name_th: e.data.problem_ewallet_title_name_th,\n problem_ewallet_title_name_en: e.data.problem_ewallet_title_name_en,\n isStatus: e.data.is_active,\n }\n });\n this.setState({isStatus: String(this.state.fields[\"isStatus\"]) == \"1\"});\n this.setState({status: this.state.fields[\"isStatus\"]});\n \n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/ewallet/problem/title\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"problem_ewallet_title_name_th\"]) {\n formIsValid = false;\n errors[\"problem_ewallet_title_name_th\"] = \"*กรุณากรอกหัวข้อ (TH)\";\n }\n\n if (!fields[\"problem_ewallet_title_name_en\"]) {\n formIsValid = false;\n errors[\"problem_ewallet_title_name_en\"] = \"*กรุณากรอกหัวข้อ (EN)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n\n const inputBody = {\n problem_ewallet_title_name_th: this.state.fields[\"problem_ewallet_title_name_th\"],\n problem_ewallet_title_name_en: this.state.fields[\"problem_ewallet_title_name_en\"],\n is_active: this.state[\"status\"],\n is_delete: this.state[\"delete\"],\n }\n\n\n ewalletAction.updateProblemEwalletTitle(inputBody, this.state.fields[\"problem_ewallet_title_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleDateChange = date => {\n this.setState({\n birthdate: date\n });\n };\n\n handleInputChange = e => {\n\n const target = e.target;\n const name = target.name;\n\n\n if(name == \"isStatus\"){\n this.setState({ isStatus: !this.state.isStatus })\n\n if(this.state.isStatus == true){\n this.setState({ status: '2' })\n }else{\n this.setState({ status: '1' })\n }\n }\n}\n\n onChangeUploadHandler = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.files[0];\n this.state.errors[e.target.name] = null;\n this.setState({\n fields,\n errors\n });\n };\n\n\n render() {\n\n const {\n\n } = this.state;\n\n return (\n
\n
\n
\n

แก้ไขหัวข้อแจ้งปัญหาการใช้งาน

\n
\n
\n
\n this.handleSubmit(e)}\n >\n\n
\n
\n \n
\n \n
{this.state.errors.problem_ewallet_title_name_th}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.problem_ewallet_title_name_en}
\n
\n
\n\n\n
\n \n
\n \n
\n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { ewalletAction } from \"../../../../_actions\";\nimport \"../account.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-user-ewallet'\n\nlet newDate = new Date()\nlet month = newDate.getMonth() + 1;\nif(month < 10) month = '0'+ month\nlet year = newDate.getFullYear();\n\n\nlet dataSearch = {\n s_MemberNumber: '-',\n s_Firstname: '-',\n s_Lastname: '-',\n s_Phone: '-',\n s_IDCard: '-',\n s_RegisDate: '-'\n}\n\n\nexport class Overview_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n fields: {},\n excelUrl: \"\",\n isExportBtn: true,\n exportBtnLabel: \"Export Excel\",\n errors: {},\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n // this.exportExcel(dataSearch)\n }\n\n showTable(dataSearch){ \n const columns = [\n {\n title: \"Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Firstname\",\n class: \"text-center\",\n data: \"ewallet_firstname_th\"\n },\n {\n title: \"Lastname\",\n class: \"text-center\",\n data: \"ewallet_lastname_th\"\n },\n {\n title: \"Phone no.\",\n class: \"text-center\",\n data: \"mem_phone\"\n },\n {\n title: \"ID Card\",\n class: \"text-center\",\n data: \"mem_idcard\"\n },\n {\n title: \"Net Amount\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Register Date\",\n class: \"text-center\",\n data: \"created_at\",\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"ewallet_active\"\n },\n {\n title: \"Manage\",\n class: \"text-center\",\n data: \"mem_number\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(cellData);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`
${cellData}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n let status=\"\"\n if(cellData==1){\n status = `ปกติ`\n }else{\n status = `ถูกบล็อค`\n }\n $(td).html(`
${status}
`);\n }\n },\n {\n targets:8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n Topup\n
\n
\n
\n `);\n },\n orderable: false\n } \n ],\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/account_users?searchRegisDate=${dataSearch.s_RegisDate}&searchMemberNumber=${dataSearch.s_MemberNumber}&searchFirstname=${dataSearch.s_Firstname}&searchLastname=${dataSearch.s_Lastname}&searchPhone=${dataSearch.s_Phone}&searchIDCard=${dataSearch.s_IDCard}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n console.log(data)\n return data;\n }\n },\n order: [[1, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n }); \n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n e.preventDefault()\n if (this.validateForm()) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n var dataSearch = {\n s_MemberNumber: (this.state.fields[\"searchMemberNumber\"] ? this.state.fields[\"searchMemberNumber\"] : ''),\n s_Firstname: (this.state.fields[\"searchFirstname\"] ? this.state.fields[\"searchFirstname\"] : ''),\n s_Lastname: (this.state.fields[\"searchLastname\"] ? this.state.fields[\"searchLastname\"] : ''),\n s_Phone: (this.state.fields[\"searchPhone\"] ? this.state.fields[\"searchPhone\"] : ''),\n s_IDCard: (this.state.fields[\"searchIDCard\"] ? this.state.fields[\"searchIDCard\"] : ''),\n s_RegisDate: (this.state.fields[\"searchRegisDate\"] ? this.state.fields[\"searchRegisDate\"] : ''),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n }\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if(!fields[\"searchMemberNumber\"] && \n !fields[\"searchFirstname\"] && \n !fields[\"searchLastname\"] && \n !fields[\"searchPhone\"] && \n !fields[\"searchIDCard\"] && \n !fields[\"searchRegisDate\"]\n ){\n formIsValid = false;\n errors[\"searchRegisDate\"] = \"*กรุณากรอกข้อมูลค้นหาอย่างน้อย 1 ช่อง\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n\n handleSubmitAll(e) {\n var table = $('#dataTable').DataTable();\n table.destroy();\n e.preventDefault()\n var dataSearch = {\n s_MemberNumber: '',\n s_Firstname: '',\n s_Lastname: '',\n s_Phone: '',\n s_IDCard: '',\n s_RegisDate: '',\n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors['searchRegisDate'] = null;\n this.setState({ fields, errors });\n };\n\n clearSearch = (e) => {\n var table = $('#dataTable').DataTable();\n table.destroy();\n let { fields } = this.state;\n fields['searchMemberNumber']='-';\n fields['searchFirstname']='-';\n fields['searchLastname']='-';\n fields['searchPhone']='-';\n fields['searchIDCard']='-';\n fields['searchRegisDate']='-';\n\n let dataSearch = {\n s_MemberNumber: '-',\n s_Firstname: '-',\n s_Lastname: '-',\n s_Phone: '-',\n s_IDCard: '-',\n s_RegisDate: '-'\n }\n this.showTable(dataSearch);\n\n this.setState({ fields });\n\n };\n\n\n exportExcel = (dataSearch) => {\n console.log(dataSearch);\n ewalletAction.getAccountEWallet(dataSearch)\n .then(res => {\n console.log(res);\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n handleExportEwalletAccounts = () => {\n this.setState({\n isExportBtn: false,\n exportBtnLabel: \"Loading...\" \n })\n\n ewalletAction.exportExcelEwalletAccounts()\n .then((res) => {\n console.log('export ewallet accounts: ', res);\n if(res.status === true)\n {\n this.setState({\n excelUrl: res.data,\n isExportBtn: true,\n exportBtnLabel: \"Export Excel\" \n })\n window.location.href = res.data;\n }\n })\n }\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n let ewallet_active = \"\"\n for(var i in data){\n if(data[i].ewallet_active == 1){ewallet_active = \"ปกติ\" }\n else {ewallet_active = \"ปิดการใช้งาน\" }\n\n dataExcel.push(\n [\n {value: data[i].mem_number},\n {value: data[i].ewallet_firstname_th},\n {value: data[i].ewallet_lastname_th},\n {value: data[i].mem_phone},\n {value: data[i].mem_idcard},\n {value: data[i].net_amount},\n {value: data[i].created_at},\n {value: ewallet_active}\n ],\n )\n } \n \n console.log(dataExcel);\n \n multiDataSet = [\n {\n columns: [\n {title: \"Member Number\", width: {wch: 20}},//pixels width \n {title: \"Firstname\", width: {wch: 20}},//char width \n {title: \"Lastname\", width: {wch: 20}},//char width \n {title: \"Phone no.\", width: {wch: 20}},//char width \n {title: \"ID Card\", width: {wch: 20}},//char width \n {title: \"Net Amount\", width: {wch: 10}},//char width \n {title: \"Register Date\", width: {wch: 20}},//char width \n {title: \"Status\t\", width: {wch: 10}},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. บัญช
  4. \n
  5. Overview
  6. \n
\n \n\n \n
\n
\n
\n
\n

Merchant Account Overview

\n \n
\n \n
\n
\n
Member Number
\n
\n \n
\n
\n
\n
Firstname
\n
\n \n
\n
Lastname
\n
\n \n
\n
\n
\n
Phone no.
\n
\n \n
\n
ID Card
\n
\n \n
\n
\n
\n
Register Date
\n
\n \n
{this.state.errors.searchRegisDate}
\n\n
\n
\n
\n
\n this.handleSubmit(e)}/>  \n this.handleSubmitAll(e)}/>  \n {/* this.clearSearch(e)}/>   */}\n
\n
\n
\n
\n
\n \n
\n {/* {this.state.excelUrl !== \"\"\n ? \n \n \n Export Excel\n \n \n :\n \n Export Excel\n \n } */}\n {this.state.isExportBtn ?\n \n {this.state.exportBtnLabel}\n \n : \n \n {this.state.exportBtnLabel}\n \n }\n {/* \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n */}\n
\n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { ewalletAction } from \"../../../../_actions\";\nimport \"../account.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\n\nexport class Detail_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n fields: {},\n merchant_name: 'After You'\n };\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n \n ewalletAction.getDetailTransaction(params.transaction_id).then(e => {\n \n this.setState({\n fields: {\n ...this.state.fields,\n transaction_id: e.data.transaction_id,\n transaction_description: e.data.transaction_description,\n transaction_amount: e.data.transaction_amount,\n fx_rate: e.data.fx_rate,\n total_amount: e.data.total_amount,\n MDR: e.data.MDR,\n transaction_fee: e.data.transaction_fee,\n VAT: e.data.VAT,\n EWT: e.data.EWT,\n transaction_status: e.data.transaction_status,\n settlement_Initiated_by: e.data.settlement_Initiated_by,\n payment_channel_name: e.data.payment_channel_name,\n mem_number: e.data.mem_number,\n cardholder_name: e.data.cardholder_name,\n cardholder_email: e.data.cardholder_email,\n approval_code: e.data.approval_code,\n transaction_date: e.data.transaction_date,\n updated_at: e.data.updated_at,\n settlement_type: e.data.settlement_type,\n branch_code: e.data.branch_code,\n selected_bank_country: e.data.selected_bank_country,\n selected_bank_name: e.data.selected_bank_name,\n system_bank_country: e.data.system_bank_country,\n system_bank_name: e.data.system_bank_name,\n cardholder_IP: e.data.cardholder_IP,\n IP_country: e.data.IP_country,\n IP_region: e.data.IP_region,\n IP_city: e.data.IP_city,\n }\n })\n })\n }\n\n\n render() {\n // console.log(parseFloat(this.state.fields.total_amount).replace(/,/g,'')));\n \n // var TextHolder = \"I am a React Native Developer.\"\n // var NewText = TextHolder.replace(\"Developer\", \"App Builder\");\n // console.log(TextHolder);\n // console.log(typeof TextHolder);\n // console.log(NewText);\n\n // var total_amount = this.state.fields.total_amount\n // console.log(total_amount);\n // console.log(typeof total_amount);\n // var NewTextq = total_amount.replace(\",\", \"\");\n // console.log(NewTextq);\n \n\n \n\n let net_amount = parseFloat(this.state.fields.total_amount) - (parseFloat(this.state.fields.MDR) + parseFloat(this.state.fields.transaction_fee) + parseFloat(this.state.fields.VAT) + parseFloat(this.state.fields.EWT))\n let name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-detail-'+this.state.fields.transaction_id\n\n var dataExcel = [\n [\n {\n value: \"Transaction ID\",\n },\n {\n value: this.state.fields.transaction_id,\n },\n ],\n [\n {\n value: \"Merchant Name\",\n },\n {\n value: this.state.merchant_name\n },\n ],\n [\n {\n value: \"Description\"\n },\n {\n value: this.state.fields.transaction_description\n },\n ],\n [\n {\n value: \"Transaction Amount\"\n },\n {\n value: \"THB \" + this.state.fields.transaction_amount\n },\n ],\n [\n {\n value: \"FX Rate\"\n },\n {\n value: \"THB \" + this.state.fields.fx_rate\n },\n ],\n [\n {\n value: \"Total Amount\"\n },\n {\n value: \"THB \" + this.state.fields.total_amount\n },\n ],\n [\n {\n value: \"MDR\"\n },\n {\n value: \"THB \" + this.state.fields.MDR\n },\n ],\n [\n {\n value: \"Transaction Fee\"\n },\n {\n value: \"THB \" + this.state.fields.transaction_fee\n },\n ],\n [\n {\n value: \"VAT\"\n },\n {\n value: \"THB \" + this.state.fields.VAT\n },\n ],\n [\n {\n value: \"EWT\"\n },\n {\n value: \"THB \" + this.state.fields.EWT\n },\n ],\n [\n {\n value: \"Net Amount\"\n },\n {\n value: \"THB \" + this.state.fields.net_amount\n },\n ],\n [\n {\n value: \"Status\"\n },\n {\n value: this.state.fields.transaction_status\n },\n ],\n [\n {\n value: \"Settlement Initiated By\"\n },\n {\n value: this.state.fields.settlement_Initiated_by\n },\n ],\n [\n {\n value: \"Payment Channel\"\n },\n {\n value: this.state.fields.payment_channel_name\n },\n ],\n [\n {\n value: \"Cardholder name\"\n },\n {\n value: this.state.fields.cardholder_name\n },\n ],\n [\n {\n value: \"Cardholder Email\"\n },\n {\n value: this.state.fields.cardholder_email\n },\n ],\n [\n {\n value: \"Member Number\"\n },\n {\n value: this.state.fields.mem_number\n },\n ],\n [\n {\n value: \"Approval Code\"\n },\n {\n value: this.state.fields.approval_code\n },\n ],\n [\n {\n value: \"Transaction Date/Time\"\n },\n {\n value: this.state.fields.created_at\n },\n ],\n [\n {\n value: \"Void/Settlement Date/Time\"\n },\n {\n value: this.state.fields.updated_at\n },\n ],\n [\n {\n value: \"Verified By Visa/MasterCard Secure Code\"\n },\n {\n value: this.state.fields.secure_code\n },\n ],\n [\n {\n value: \"Selected Bank Country\"\n },\n {\n value: this.state.fields.selected_bank_country\n },\n ],\n [\n {\n value: \"Selected Bank Name\"\n },\n {\n value: this.state.fields.selected_bank_name\n },\n ],\n [\n {\n value: \"System Bank Country\"\n },\n {\n value: this.state.fields.system_bank_country\n },\n ],\n [\n {\n value: \"System Bank Name\"\n },\n {\n value: this.state.fields.system_bank_name\n },\n ],\n [\n {\n value: \"Cardholder IP\"\n },\n {\n value: this.state.fields.IP_city\n },\n ],\n [\n {\n value: \"IP Country\"\n },\n {\n value: this.state.fields.cardholder_IP\n },\n ],\n [\n {\n value: \"IP Region\"\n },\n {\n value: this.state.fields.IP_region\n },\n ],\n [\n {\n value: \"IP City\"\n },\n {\n value: this.state.fields.IP_city\n },\n ],\n [\n {\n value: \"Message to Merchant\"\n },\n {\n value: this.state.fields.transaction_comment\n },\n ],\n \n\n\n ]\n\n \n multiDataSet = [\n {\n columns: [\n {title: \"Transaction Details\", width: {wch: 40}},//pixels width \n {title: \"\", width: {wch: 40}},//char width \n\n ],\n data: dataExcel\n }\n ];\n return (\n
\n \n \n
\n
\n
\n

Transaction Details

\n
\n
\n
Transaction ID:
\n
{this.state.fields.transaction_id}
\n
\n
\n
Merchant Name:
\n
{this.state.merchant_name}
\n
\n
\n
Description:
\n
{this.state.fields.transaction_description}
\n
\n
\n
Transaction Amount:
\n
{this.state.fields.transaction_amount}
\n
\n
\n
FX Rate:
\n
{this.state.fields.fx_rate}
\n
\n
\n
Total Amount:
\n
{this.state.fields.total_amount}
\n
\n
\n
MDR:
\n
{this.state.fields.MDR}
\n
\n
\n
Transaction Fee:
\n
{this.state.fields.transaction_fee}
\n
\n
\n
VAT:
\n
{this.state.fields.VAT}
\n
\n
\n
EWT:
\n
{this.state.fields.EWT}
\n
\n
\n
Net Amount:
\n
{Number(parseFloat(net_amount).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
\n
\n
\n
Status:
\n
{this.state.fields.transaction_status}
\n
\n
\n
Settlement Initiated By:
\n
{this.state.fields.settlement_Initiated_by}
\n
\n
\n
\n
\n
\n
Payment Channel:
\n
{this.state.fields.payment_channel_name}
\n
\n
\n
Cardholder name:
\n
{this.state.fields.cardholder_name}
\n
\n
\n
Cardholder Email:
\n
{this.state.fields.cardholder_email}
\n
\n
\n
Member Number:
\n
{this.state.fields.mem_number}
\n
\n
\n
Approval Code:
\n
{this.state.fields.approval_code}
\n
\n
\n
Transaction Date/Time:
\n
{this.state.fields.created_date}
\n
\n
\n
Void/Settlement Date/Time:
\n
{this.state.fields.updated_at}
\n
\n
\n
\n
\n
\n
Verified By Visa/MasterCard Secure Code:
\n
\n
\n
\n
Selected Bank Country:
\n
{this.state.fields.selected_bank_country}
\n
\n
\n
Selected Bank Name:
\n
{this.state.fields.selected_bank_name}
\n
\n
\n
System Bank Country:
\n
{this.state.fields.system_bank_country}
\n
\n
\n
System Bank Name:
\n
{this.state.fields.system_bank_name}
\n
\n
\n
Cardholder IP:
\n
{this.state.fields.cardholder_IP}
\n
\n
\n
IP Country:
\n
{this.state.fields.IP_country}
\n
\n
\n
IP Region:
\n
{this.state.fields.IP_region}
\n
\n
\n
IP City:
\n
{this.state.fields.IP_city}
\n
\n
\n
\n
\n
\n
Fraud Response Code:
\n
\n
\n
\n
Fraud Response Description:
\n
\n
\n
\n
PGW Response Code:
\n
\n
\n
\n
PGW Response Description:
\n
\n
\n
\n
\n
\n
\n
Message to Merchant:
\n
{this.state.fields.transaction_comment}
\n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../account.css\";\nimport ReactExport from 'react-data-export';\nimport { ewalletAction } from \"../../../../_actions\";\n\n\n$.DataTable = require(\"datatables.net\");\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-withdraw'\n\n\nexport class Withdraw_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n\n this.state = {\n\n };\n }\n\n componentDidMount() {\n this.showTable();\n this.exportExcel()\n\n }\n\n showTable(){\n const columns = [\n {\n title: \"Withdraw Options\",\n class: \"text-center\",\n data: \"transaction_description\"\n },\n {\n title: \"Processing Time\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"Cost\",\n class: \"text-center\",\n data: \"transaction_amount\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/account_withdraw`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n exportExcel = () => {\n ewalletAction.getWithdrawList()\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_description},\n {value: data[i].created_at},\n {value: data[i].transaction_amount},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Withdraw Options\", width: {wch: 40}},//char width \n {title: \"Processing Time\", width: {wch: 20}},\n {title: \"Cost\", width: {wch: 20}},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. บัญชี
  4. \n
  5. Whitdraw
  6. \n
\n\n \n
\n
\n
\n
\n
\n

Withdraw Funds

\n
\n
\n \n \n ขอทำรายการ\n \n \n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n
\n \n\n \n \n \n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { ewalletAction } from \"../../../../_actions\";\nimport \"../account.css\";\nlet modalAlert;\n\nexport class WithdrawFund_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n ewalletAction.getAccountMerchant()\n .then(res => {\n this.setState({\n amount_balance: res.data.amount_balance,\n })\n })\n }\n\n handleSubmit(event) { \n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\n \"Confirm\"\n ); \n }\n }\n\n resetInput(e) { \n let { fields } = this.state;\n fields['withdraw_amount'] = '';\n this.setState({ fields });\n\n }\n \n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n\n var data = {\n \"transaction_amount\": this.state.fields[\"withdraw_amount\"],\n \"transaction_description\": \"Withdraw by AU\"\n }\n\n\n ewalletAction.withdrawForAU(data)\n .then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n Processing fee:\t0 THB
Payable amount:\t{this.state.fields[\"withdraw_amount\"]} ฿
คุณต้องการ withdraw ?
\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/ewallet/account/withdraw\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"withdraw_amount\"]) {\n formIsValid = false;\n errors[\"withdraw_amount\"] = \"*กรุณากรอกจำนวนเงินที่ต้องการ withdraw\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n\n render() {\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. บัญชี
  4. \n
  5. Whitdraw
  6. \n
  7. Whitdraw Funds
  8. \n
\n \n
\n
\n
this.handleSubmit(e)}>\n
\n

Withdraw Funds

\n
\n

Merchant details

\n
\n
Name of account:
\n
After You
\n
\n
\n

Enter amount of withdrawal

\n
\n \n
\n {(parseFloat(this.state.amount_balance)).toLocaleString()} ฿\n
\n
\n
\n \n
\n \n
\n
{this.state.errors.withdraw_amount}
\n\n
\n

*การขอทำรายการ withdraw จะไม่มีผลจำนวนเงินในระบบ

\n
\n
\n \n \n
\n
\n
\n
\n \n
\n
\n {this.state.modal}\n\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../account.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-transaction-history'\n\nlet newDate = new Date()\nlet month = newDate.getMonth() + 1;\nif(month < 10) month = '0'+ month\nlet year = newDate.getFullYear();\n\n\nlet dataSearch = {\n s_This_Month: '',\n s_Month: '',\n s_From: '',\n s_To: ''\n}\n\n\nexport class History_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {},\n s_Type: 'option_month'\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){ \n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Report Date\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"Transaction No.\",\n class: \"text-center\",\n data: \"invoice_no\"\n },\n {\n title: \"Member Number\",\n class: \"text-center\",\n data: \"mem_number\",\n },\n {\n title: \"Firstname\",\n class: \"text-center\",\n data: \"mem_firstname\",\n },\n {\n title: \"Lastname\",\n class: \"text-center\",\n data: \"mem_lastname\",\n },\n {\n title: \"Transaction Type\",\n class: \"text-center\",\n data: \"transaction_type\"\n },\n {\n title: \"Description\",\n class: \"text-center\",\n data: \"transaction_description\"\n },\n {\n title: \"Payment Channel\",\n class: \"text-center\",\n data: \"payment_channel_id\"\n },\n {\n title: \"Transaction Amount (฿)\",\n class: \"text-center\",\n data: \"transaction_amount\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(cellData);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n let data = '';\n if(cellData == 'T') data = `Topup`;\n else if(cellData == 'W') data = `Pay`;\n else if(cellData == 'V') data = `Void`;\n else if(cellData == 'R') data = `Refund`;\n else if(cellData == 'RT') data = `Refund Topup`;\n else if(cellData == 'VT') data = `Void Topup`;\n $(td)\n .html(`
${data}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n let data = '';\n if(cellData == '1') data = `E-Wallet`;\n else if(cellData == '2') data = `Credit/Debit`;\n else if(cellData == '3') data = `POS`;\n else if(cellData == '5') data = `Backoffice`;\n $(td)\n .html(`
${data}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/history_transaction?searchType=${this.state.s_Type}&searchThisMonth=${dataSearch.s_This_Month}&searchMonth=${dataSearch.s_Month}&searchFrom=${dataSearch.s_From}&searchTo=${dataSearch.s_To}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[1, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n }); \n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n s_This_Month: year+'-'+month,\n s_Month: (this.state.fields[\"searchMonth\"] ? this.state.fields[\"searchMonth\"] : ''),\n s_From: (this.state.fields[\"searchFrom\"] ? this.state.fields[\"searchFrom\"] : ''),\n s_To: (this.state.fields[\"searchTo\"] ? this.state.fields[\"searchTo\"] : ''),\n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n // this.state.errors[action.name] = null;\n this.setState({ fields });\n };\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n handleOptionChange = (e) => {\n this.setState({\n s_Type: e.target.value\n });\n }\n\n exportExcel = (dataSearch) => {\n ewalletAction.getHistoryList(dataSearch, this.state.s_Type)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() {\n\n var dateNow = new Date();\n\n let arrPreviousMonth = []\n\n for(var i = 0; i < 5; i++){\n dateNow.setMonth(dateNow.getMonth() -1);\n\n let monthNow = dateNow.getMonth()+1;\n if(monthNow < 10) monthNow = '0'+ monthNow\n\n let yearNow = dateNow.getFullYear();\n\n arrPreviousMonth.push(\n {value: yearNow+'-'+monthNow, label: monthNow+'/'+yearNow}\n )\n \n }\n\n let optionsPreviousMonth = arrPreviousMonth.map(function (item) {\n return { value: item.value, label: item.label };\n })\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n let transaction_type_name = \"\"\n let payment_channel_name = \"\"\n for(var i in data){\n if(data[i].transaction_type == 'T'){transaction_type_name = \"Topup\" }\n else if(data[i].transaction_type == 'W'){transaction_type_name = \"Pay\" }\n else if(data[i].transaction_type == 'V'){transaction_type_name = \"Void\" }\n else if(data[i].transaction_type == 'R'){transaction_type_name = \"Refund\" }\n else if(data[i].transaction_type == 'VT'){transaction_type_name = \"Void Topup\" }\n else if(data[i].transaction_type == 'RT'){transaction_type_name = \"Refund Topup\" }\n \n if(data[i].payment_channel_id == '1'){payment_channel_name = \"E-Wallet\" }\n else if(data[i].payment_channel_id == '2'){payment_channel_name = \"Credit/debit\" }\n else if(data[i].payment_channel_id == '3'){payment_channel_name = \"POS\" }\n else if(data[i].payment_channel_id == '5'){payment_channel_name = \"Backoffice\" }\n\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].created_at},\n {value: data[i].invoice_no},\n {value: data[i].mem_number},\n {value: data[i].mem_firstname},\n {value: data[i].mem_lastname},\n {value: transaction_type_name},\n {value: data[i].transaction_description},\n {value: payment_channel_name},\n {value: data[i].transaction_amount},\n\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Report Date\", width: {wch: 40}},//char width \n {title: \"Transaction No.\", width: {wch: 40}},//char width \n {title: \"Member Number\", width: {wch: 40}},//char width \n {title: \"Firstname\", width: {wch: 40}},//char width \n {title: \"Lastname\", width: {wch: 40}},//char width \n {title: \"Transaction Type\", width: {wch: 40}},//char width \n {title: \"Description\", width: {wch: 40}},\n {title: \"Payment Channel\", width: {wch: 20}},\n {title: \"Transaction Amont (฿)\", width: {wch: 20}}\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. History
  4. \n
  5. Search
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n\n
\n

Account History

\n
\n

Statement Period

\n
\n \n
\n \n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n
\n To\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../transaction.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar dataSearch = {\n searchTransactionID: '-'\n}\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-transaction-list'\n\n\nconst optionsChannel = [\n { value: '', label: 'All' },\n { value: '1', label: 'E-Wallet' },\n { value: '2', label: 'Cradit/Dabit' },\n { value: '3', label: 'POS' },\n];\n\nconst optionsType = [\n { value: '', label: 'All' },\n { value: 'T', label: 'Topup' },\n { value: 'W', label: 'Pay' },\n { value: 'V', label: 'Void' },\n { value: 'VT', label: 'Void (Topup)' },\n { value: 'R', label: 'Refund' },\n];\n\nexport class Transaction_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n fields: {},\n\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){ \n const columns = [\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Transaction Number\",\n class: \"text-center\",\n data: \"invoice_no\"\n },\n {\n title: \"Transction Type\",\n class: \"text-center\",\n data: \"transaction_type\"\n },\n {\n title: \"Transaction Description\",\n class: \"text-center\",\n data: \"transaction_description\"\n },\n {\n title: \"Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Member Firstame\",\n class: \"text-center\",\n data: \"mem_firstname\"\n },\n {\n title: \"Member Lastname\",\n class: \"text-center\",\n data: \"mem_lastname\"\n },\n {\n title: \"Phone no.\",\n class: \"text-center\",\n data: \"mem_phone\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Transaction Amount (฿)\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Manage\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${(cellData ? cellData : '')}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n var data = '';\n if(cellData == 'T') data = `Topup`\n else if(cellData == 'W') data = `Pay`\n else if(cellData == 'R') data = `Refund`\n else if(cellData == 'V') data = `Void`\n else if(cellData == 'VT') data = `Void (Topup)`\n else data = `-`\n\n $(td).html(`
${data}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 10,\n createdCell: function(td, cellData, rowData, row, col) {\n let disableDeleteBtn = true;\n let transaction_type = String(rowData.transaction_type).toLowerCase();\n if(transaction_type === 't' || transaction_type === 'w') disableDeleteBtn = false;\n var btn_manage = \"\"\n btn_manage = \n `
\n
\n \n \n \n\n
\n Refund & Void\n ${disableDeleteBtn ? `` :''}\n
\n
\n
`\n $(td).html(btn_manage);\n // \n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/transactions?searchTransactionID=${dataSearch.searchTransactionID}&searchTransactionType=${dataSearch.searchTransactionType}&searchInvoiceNo=${dataSearch.searchInvoiceNo}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchPaymentChannelID=${dataSearch.searchPaymentChannelID}&searchTransactionStatus=${dataSearch.searchTransactionStatus}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}&searchPhoneNo=${dataSearch.searchPhoneNo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[8, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: false,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n ewalletAction.deleteTransaction(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n\n }\n\n\n handleSubmit(e) { \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n searchTransactionID: (this.state.fields[\"searchTransactionID\"] ? this.state.fields[\"searchTransactionID\"] : ''),\n searchMemNumber: (this.state.fields[\"searchMemNumber\"] ? this.state.fields[\"searchMemNumber\"] : ''),\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : ''),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : ''),\n searchCardholderName: (this.state.fields[\"searchCardholderName\"] ? this.state.fields[\"searchCardholderName\"] : ''),\n // searchApprovalCode: (this.state.fields[\"searchApprovalCode\"] ? this.state.fields[\"searchApprovalCode\"] : ''),\n searchPaymentChannelID: (this.state.fields[\"searchPaymentChannelID\"] ? this.state.fields[\"searchPaymentChannelID\"] : ''),\n searchTransactionType: (this.state.fields[\"searchTransactionType\"] ? this.state.fields[\"searchTransactionType\"] : ''),\n searchInvoiceNo: (this.state.fields[\"searchInvoiceNo\"] ? this.state.fields[\"searchInvoiceNo\"] : ''),\n searchPhoneNo: (this.state.fields[\"searchPhoneNo\"] ? this.state.fields[\"searchPhoneNo\"] : '') \n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.getSearchList(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n \n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].transaction_id},\n {value: (data[i].invoice_no ? data[i].invoice_no : \"\")},\n {value: data[i].transaction_type},\n {value: (data[i].transaction_description ? data[i].transaction_description : \"\")},\n {value: (data[i].mem_number ? data[i].mem_number : \"\")},\n {value: (data[i].mem_firstname ? data[i].mem_firstname : \"\")},\n {value: (data[i].mem_lastname ? data[i].mem_lastname : \"\")},\n {value: data[i].mem_phone},\n {value: data[i].created_at},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: (data[i].fees != 'Nan' ? data[i].fees : 0.00)},\n {value: (data[i].net_amount ? data[i].total_amount : 0.00)},\n {value: data[i].transaction_status},\n ],\n )\n } \n // console.log(dataExcel);\n \n multiDataSet = [\n {\n columns: [\n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Transaction Number\", width: {wch: 40}},//char width \n {title: \"Transaction Type\", width: {wch: 20}},//char width \n {title: \"Transaction Description\", width: {wch: 40}},//char width \n {title: \"Member Number\", width: {wch: 20}},\n {title: \"Member Firstname\", width: {wch: 20}},\n {title: \"Member Lastname\", width: {wch: 20}},\n {title: \"Phone no.\", width: {wch: 15}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Transaction
  4. \n
  5. Search
  6. \n
\n \n\n\n\n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Ewallet Transactions

\n
\n \n
\n
\n
Transaction No.
\n
\n \n
\n
Transaction Number
\n
\n \n
\n
\n
\n
Member Number
\n
\n \n
\n
Member Name
\n
\n \n
\n
\n
\n
Phone no.
\n
\n \n
\n
\n
\n
From Date/Time
\n
\n \n
\n
Until Date/Time
\n
\n \n
\n
\n
\n
Transaction Channel
\n
\n \n
\n\n
Transaction Type
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport { ewalletAction } from \"../../../../_actions\";\nimport \"../transaction.css\";\nimport ReactExport from 'react-data-export';\n\n\n$.DataTable = require(\"datatables.net\");\n\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-recent'\n\n\nexport class Transaction_Recent extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n };\n }\n\n componentDidMount() {\n this.showTable();\n this.exportExcel()\n\n }\n\n showTable(){\n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Card Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Settlement Date/Time\",\n class: \"text-center\",\n data: \"settlement_date\", \n },\n {\n title: \"Transaction Amount\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Frees (฿)\",\n class: \"text-center\",\n data: \"fees\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"transaction_status\"\n },\n {\n title: \"\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})} ฿
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n // var status = '';\n // if(rowData.status_payment == '1') status = `${cellData}`\n // else if(rowData.status_payment == '2') status = `${cellData}`\n // else if(rowData.status_payment == '3') status = `${cellData}`\n // else status = `ไม่ระบุสถานะ`\n $(td).html(`${cellData}`);\n },\n orderable: false\n },\n {\n targets: 10,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`\n
\n \n \n \n
\n `);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/recent`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n exportExcel = () => {\n ewalletAction.getRecentList()\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_id},\n {value: data[i].mem_number},\n {value: data[i].created_at},\n {value: data[i].settlement_date},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: data[i].fees},\n {value: data[i].net_amount},\n {value: data[i].transaction_status},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Card Member Number\", width: {wch: 20}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Settlement Date/Time\", width: {wch: 15}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Transaction
  4. \n
  5. Recent
  6. \n
\n \n \n
\n
\n
\n
\n
\n

Recent Transactions

\n
\n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../transaction.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar dataSearch = {}\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-search'\n\n\n\nexport class Transaction_Search extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {},\n payment_channel:[],\n transection_status:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n\n ewalletAction.getListChannelEwallet()\n .then(res => {\n this.setState({\n payment_channel: res.data\n })\n })\n\n ewalletAction.getListStatusEwallet()\n .then(res => { \n this.setState({\n transection_status: res.data\n })\n })\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Card Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Settlement Date/Time\",\n class: \"text-center\",\n data: \"settlement_date\", \n },\n {\n title: \"Transaction Amount\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Frees (฿)\",\n class: \"text-center\",\n data: \"fees\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"transaction_status\"\n },\n {\n title: \"\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n // var status = '';\n // if(rowData.status_payment == '1') status = `${cellData}`\n // else if(rowData.status_payment == '2') status = `${cellData}`\n // else if(rowData.status_payment == '3') status = `${cellData}`\n // else status = `ไม่ระบุสถานะ`\n $(td).html(`${cellData}`);\n },\n orderable: false\n },\n {\n targets: 10,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`\n
\n \n \n \n
\n `);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/transactions?searchTransactionID=${dataSearch.searchTransactionID}&searchApprovalCode=${dataSearch.searchApprovalCode}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchPaymentChannelID=${dataSearch.searchPaymentChannelID}&searchTransactionStatus=${dataSearch.searchTransactionStatus}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}&searchSettlementFrom=${dataSearch.searchSettlementFrom}&searchSettlementTo=${dataSearch.searchSettlementTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionID: (this.state.fields[\"searchTransactionID\"] ? this.state.fields[\"searchTransactionID\"] : ''),\n searchMemNumber: (this.state.fields[\"searchMemNumber\"] ? this.state.fields[\"searchMemNumber\"] : ''),\n searchTransactionStatus: (this.state.fields[\"searchTransactionStatus\"] ? this.state.fields[\"searchTransactionStatus\"] : ''),\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : ''),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : ''),\n searchSettlementFrom: (this.state.fields[\"searchSettlementFrom\"] ? this.state.fields[\"searchSettlementFrom\"] : ''),\n searchSettlementTo: (this.state.fields[\"searchSettlementTo\"] ? this.state.fields[\"searchSettlementTo\"] : ''),\n searchPaymentChannelID: (this.state.fields[\"searchPaymentChannelID\"] ? this.state.fields[\"searchPaymentChannelID\"] : ''),\n searchCardholderName: (this.state.fields[\"searchCardholderName\"] ? this.state.fields[\"searchCardholderName\"] : ''),\n searchApprovalCode: (this.state.fields[\"searchApprovalCode\"] ? this.state.fields[\"searchApprovalCode\"] : ''),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n // this.state.errors[action.name] = null;\n this.setState({ fields });\n };\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n handleOptionChange = (e) => {\n this.setState({\n s_Type: e.target.value\n });\n }\n\n exportExcel = (dataSearch) => {\n ewalletAction.getSearchList(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() { \n let optionsStatus = this.state.transection_status.map(function (status) {\n return { value: status.transaction_status_short_name, label: status.transaction_status_name };\n })\n\n let optionsChannel = this.state.payment_channel.map(function (channel) {\n return { value: channel.payment_channel_id, label: channel.payment_channel_name };\n })\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_id},\n {value: data[i].mem_number},\n {value: data[i].created_at},\n {value: data[i].settlement_date},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: data[i].fees},\n {value: data[i].net_amount},\n {value: data[i].transaction_status},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Card Member Number\", width: {wch: 20}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Settlement Date/Time\", width: {wch: 15}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Transaction
  4. \n
  5. Search
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Search Transactions

\n
\n \n
\n
\n
Transaction Number
\n
\n \n
\n
Approval Code
\n
\n \n
\n
\n
\n
Member Number
\n
\n \n
\n
Member Name
\n
\n \n
\n
\n\n
\n
Payment Channel
\n
\n \n
\n
Transaction Status
\n
\n \n
\n
\n
\n
From Date/Time
\n
\n \n
\n
Until Date/Time
\n
\n \n
\n
\n
\n
Settlement From
\n
\n \n
\n
Settlement Until
\n
\n \n
\n
\n \n\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../transaction.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar dataSearch = {}\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-void'\n\n\n\nexport class Transaction_Void extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {},\n payment_channel:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n\n ewalletAction.getListChannelEwallet()\n .then(res => {\n this.setState({\n payment_channel: res.data\n })\n })\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Card Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Settlement Date/Time\",\n class: \"text-center\",\n data: \"settlement_date\", \n },\n {\n title: \"Transaction Amount\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Frees (฿)\",\n class: \"text-center\",\n data: \"fees\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"transaction_status\"\n },\n {\n title: \"\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData} ฿
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n // var status = '';\n // if(rowData.status_payment == '1') status = `${cellData}`\n // else if(rowData.status_payment == '2') status = `${cellData}`\n // else if(rowData.status_payment == '3') status = `${cellData}`\n // else status = `ไม่ระบุสถานะ`\n $(td).html(`${cellData}`);\n },\n orderable: false\n },\n {\n targets: 10,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`\n
\n \n \n \n
\n `);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/void?searchTransactionID=${dataSearch.searchTransactionID}&searchApprovalCode=${dataSearch.searchApprovalCode}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchPaymentChannelID=${dataSearch.searchPaymentChannelID}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.getVoidList(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionID: (this.state.fields[\"searchTransactionID\"] ? this.state.fields[\"searchTransactionID\"] : ''),\n searchMemNumber: (this.state.fields[\"searchMemNumber\"] ? this.state.fields[\"searchMemNumber\"] : ''),\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : ''),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : ''),\n searchPaymentChannelID: (this.state.fields[\"searchPaymentChannelID\"] ? this.state.fields[\"searchPaymentChannelID\"] : ''),\n searchCardholderName: (this.state.fields[\"searchCardholderName\"] ? this.state.fields[\"searchCardholderName\"] : ''),\n searchApprovalCode: (this.state.fields[\"searchApprovalCode\"] ? this.state.fields[\"searchApprovalCode\"] : ''),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n // this.state.errors[action.name] = null;\n this.setState({ fields });\n };\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n\n\n render() {\n \n let optionsChannel = this.state.payment_channel.map(function (channel) {\n return { value: channel.payment_channel_id, label: channel.payment_channel_name };\n })\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_id},\n {value: data[i].mem_number},\n {value: data[i].created_at},\n {value: data[i].settlement_date},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: data[i].fees},\n {value: data[i].net_amount},\n {value: data[i].transaction_status},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Card Member Number\", width: {wch: 20}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Settlement Date/Time\", width: {wch: 15}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Transaction
  4. \n
  5. Search
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Search Void Transactions

\n
\n \n
\n
\n
Transaction Number
\n
\n \n
\n
Approval Code
\n
\n \n
\n
\n
\n
Member Number
\n
\n \n
\n
Member Name
\n
\n \n
\n
\n
\n
From Date/Time
\n
\n \n
\n
Until Date/Time
\n
\n \n
\n
\n
\n
Payment Channel
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n {/* \n \n เพิ่มการขอ Void\n \n */}\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n \n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../transaction.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar dataSearch = {}\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-refund'\n\n\nexport class Transaction_Refund extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {},\n payment_channel:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n\n ewalletAction.getListChannelEwallet()\n .then(res => {\n this.setState({\n payment_channel: res.data\n })\n })\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Card Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Settlement Date/Time\",\n class: \"text-center\",\n data: \"settlement_date\", \n },\n {\n title: \"Transaction Amount\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Frees (฿)\",\n class: \"text-center\",\n data: \"fees\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"transaction_status\"\n },\n {\n title: \"\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})} ฿
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${Number(parseFloat(cellData).toFixed(2)).toLocaleString('en', {minimumFractionDigits: 2})}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n // var status = '';\n // if(rowData.status_payment == '1') status = `${cellData}`\n // else if(rowData.status_payment == '2') status = `${cellData}`\n // else if(rowData.status_payment == '3') status = `${cellData}`\n // else status = `ไม่ระบุสถานะ`\n $(td).html(`${cellData}`);\n },\n orderable: false\n },\n {\n targets: 10,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`\n
\n \n \n \n
\n `);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/refund?searchTransactionID=${dataSearch.searchTransactionID}&searchApprovalCode=${dataSearch.searchApprovalCode}&searchMemNumber=${dataSearch.searchMemNumber}&searchCardholderName=${dataSearch.searchCardholderName}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionID: (this.state.fields[\"searchTransactionID\"] ? this.state.fields[\"searchTransactionID\"] : ''),\n searchMemNumber: (this.state.fields[\"searchMemNumber\"] ? this.state.fields[\"searchMemNumber\"] : ''),\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : ''),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : ''),\n searchCardholderName: (this.state.fields[\"searchCardholderName\"] ? this.state.fields[\"searchCardholderName\"] : ''),\n searchApprovalCode: (this.state.fields[\"searchApprovalCode\"] ? this.state.fields[\"searchApprovalCode\"] : ''),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n // this.state.errors[action.name] = null;\n this.setState({ fields });\n };\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.getRefundList(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_id},\n {value: data[i].mem_number},\n {value: data[i].created_at},\n {value: data[i].settlement_date},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: data[i].fees},\n {value: data[i].net_amount},\n {value: data[i].transaction_status},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Card Member Number\", width: {wch: 20}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Settlement Date/Time\", width: {wch: 15}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Transaction
  4. \n
  5. Search
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Search Void Transactions

\n
\n \n
\n
\n
Transaction Number
\n
\n \n
\n
Approval Code
\n
\n \n
\n
\n
\n
Member Number
\n
\n \n
\n
Member Name
\n
\n \n
\n
\n
\n
From Date/Time
\n
\n \n
\n
Until Date/Time
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n {/* \n \n เพิ่มการ Refund\n \n */}\n\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n \n\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../topup.css\";\nimport Select from \"react-select\";\n\nlet modalAlert;\n\nexport class Topup_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {\n settlement_Initiated_by: 'backoffice',\n payment_channel_id: 5,\n approval_code: ''\n },\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n let { selectOption } = this.state;\n\n const {\n match: { params }\n } = this.props;\n\n let mem_number = params.mem_number\n \n this.setState({\n admin_id: localStorage.getItem('ad_b_id'),\n mem_number: mem_number\n })\n\n this.getMemberByNumber(mem_number)\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/ewallet/account/overview\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"transaction_amount\"]) {\n formIsValid = false;\n errors[\"transaction_amount\"] = \"*กรุณากรอกจำนวนเงิน\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var inputBody = ({\n 'transaction_amount' : this.state.fields[\"transaction_amount\"],\n 'payment_channel_id' : this.state.fields[\"payment_channel_id\"],\n 'mem_number' : this.state.fields[\"mem_number\"],\n 'approval_code' : this.state.fields[\"approval_code\"],\n 'transaction_comment' : this.state.fields[\"transaction_comment\"],\n 'settlement_Initiated_by': this.state.fields['settlement_Initiated_by']\n\n }); \n ewalletAction.createTopup(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n getMemberByNumber(mem_number) { \n let { fields } = this.state;\n\n ewalletAction.getMemberByNumber(mem_number).then(res => {\n fields['mem_number'] = res.data.mem_number\n fields['ewallet_firstname_th'] = res.data.ewallet_firstname_th\n fields['ewallet_lastname_th'] = res.data.ewallet_lastname_th\n this.setState({ fields });\n })\n }\n\n\n render() {\n let { selectedOption } = this.state; \n\n return (\n
\n
\n
\n

Topup E-Wallet

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n
\n \n
{this.state.errors.transaction_amount}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.transaction_comment}
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../topup.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar dataSearch = {}\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-topup'\n\n\nconst optionsChannel = [\n { value: '0', label: 'All' },\n { value: '1', label: 'POS' },\n { value: '2', label: 'Backend' },\n { value: '3', label: 'Mobile Banking' },\n];\n\nexport class Topup_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n fields: {},\n\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){ \n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Transaction Description\",\n class: \"text-center\",\n data: \"transaction_description\"\n },\n {\n title: \"Card Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Settlement Date/Time\",\n class: \"text-center\",\n data: \"settlement_date\", \n },\n {\n title: \"Transaction Amount (฿)\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Frees (฿)\",\n class: \"text-center\",\n data: \"fees\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"transaction_status\"\n },\n {\n title: \"\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n // var status = '';\n // if(rowData.status_payment == '1') status = `${cellData}`\n // else if(rowData.status_payment == '2') status = `${cellData}`\n // else if(rowData.status_payment == '3') status = `${cellData}`\n // else status = `ไม่ระบุสถานะ`\n $(td).html(`${cellData}`);\n },\n orderable: false\n },\n {\n targets: 11,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`\n
\n \n \n \n
\n `);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/topup?searchTransactionID=${dataSearch.searchTransactionID}&searchMemNumber=${dataSearch.searchMemNumber}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}&searchCardholderName=${dataSearch.searchCardholderName}&searchTransactionChannel=${dataSearch.searchTransactionChannel}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[5, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: false,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n\n handleSubmit(e) { \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n searchTransactionID: (this.state.fields[\"searchTransactionID\"] ? this.state.fields[\"searchTransactionID\"] : ''),\n searchMemNumber: (this.state.fields[\"searchMemNumber\"] ? this.state.fields[\"searchMemNumber\"] : ''),\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : ''),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : ''),\n searchCardholderName: (this.state.fields[\"searchCardholderName\"] ? this.state.fields[\"searchCardholderName\"] : ''),\n searchApprovalCode: (this.state.fields[\"searchApprovalCode\"] ? this.state.fields[\"searchApprovalCode\"] : ''),\n searchTransactionChannel: (this.state.fields[\"searchTransactionChannel\"] ? this.state.fields[\"searchTransactionChannel\"] : '')\n \n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.getTopupList(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_id},\n {value: data[i].transaction_description},\n {value: data[i].mem_number},\n {value: data[i].created_at},\n {value: data[i].settlement_date},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: data[i].fees},\n {value: data[i].net_amount},\n {value: data[i].transaction_status},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Transaction Description\", width: {wch: 40}},//char width \n {title: \"Card Member Number\", width: {wch: 20}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Settlement Date/Time\", width: {wch: 15}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Topup
  4. \n
  5. Search
  6. \n
\n\n\n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Topup Transactions

\n
\n \n
\n
\n
Transaction Number
\n
\n \n
\n
Approval Code
\n
\n \n
\n
\n
\n
Member Number
\n
\n \n
\n
Member Name
\n
\n \n
\n
\n
\n
From Date/Time
\n
\n \n
\n
Until Date/Time
\n
\n \n
\n
\n
\n
Transaction Channel
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n เพิ่มการ Topup\n \n \n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../refund.css\";\nimport Select from \"react-select\";\n\nlet modalAlert;\n\nexport class Refund_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {\n settlement_Initiated_by: 'backoffice',\n payment_channel_id: 5,\n approval_code: ''\n },\n disableRefundRadio: false\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n const {\n match: { params }\n } = this.props;\n\n this.setState({\n transaction_id: params.transaction_id,\n mem_number: params.mem_number\n })\n\n this.getDetailTransaction(params.transaction_id)\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการบันทึกข้อมูล ?')\n }\n }\n\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/ewallet/account/overview\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let chk = this.state.chk;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"chk_type\"]) {\n formIsValid = false;\n errors[\"chk_type\"] = \"*กรุณากรอกวิธีการคืนเงิน\";\n }\n if (!fields[\"transaction_amount\"]) {\n formIsValid = false;\n errors[\"transaction_amount\"] = \"*กรุณากรอกจำนวนเงิน\";\n }\n console.log('fields: ', fields);\n if (parseFloat(fields[\"transaction_amount\"]) > parseFloat(fields['total_amount'])) {\n formIsValid = false;\n errors[\"transaction_amount\"] = \"*กรุณากรอกจำนวนเงินที่ต้องการ refund น้อยกว่าจำนวนเงินที่ชำระ\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let transaction_amount = this.state.fields[\"transaction_amount\"]\n transaction_amount=transaction_amount.replace(/\\,/g,''); // 1125, but a string, so convert it to number\n transaction_amount=parseFloat(transaction_amount);\n\n \n var inputBody = ({\n \"transaction_type\" : (this.state.fields['transaction_type'] == 'T' ? 'VT' : this.state.fields[\"chk_type\"]),\n \"transaction_id_ref\" : this.state.transaction_id,\n 'transaction_amount' : transaction_amount,\n 'payment_channel_id' : this.state.fields[\"payment_channel_id\"],\n 'mem_number' : this.state.fields[\"mem_number\"],\n 'approval_code' : this.state.fields[\"approval_code\"],\n 'transaction_comment' : this.state.fields[\"transaction_comment\"],\n 'transaction_description' : ( this.state.fields['transaction_type'] == 'T' && this.state.fields[\"chk_type\"] == \"V\" \n ? \"Void Topup via Backoffice\" \n : (this.state.fields['transaction_type'] != 'T' && this.state.fields[\"chk_type\"] == \"V\" \n ? \"Void via Backoffice\" \n : \"Refund via Backoffice\")),\n 'settlement_Initiated_by': this.state.fields['settlement_Initiated_by']\n\n }); \n ewalletAction.createRefund(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { readOnly, fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n\n if(fields['chk_type'] == \"V\"){\n fields[\"transaction_amount\"] = fields[\"total_amount\"];\n readOnly = true\n }else if(fields['chk_type'] == \"R\"){\n // fields[\"transaction_amount\"] = \"\"\n readOnly = false\n }\n this.state.errors[e.target.name] = null;\n this.setState({ readOnly, fields, errors });\n };\n\n getDetailTransaction(transaction_id) { \n let { fields, disableRefundRadio } = this.state;\n\n ewalletAction.getDetailTransaction(transaction_id).then(res => {\n let transaction_type = String(res.data.transaction_type).toLowerCase();\n fields['transaction_type'] = res.data.transaction_type\n fields['transaction_description'] = res.data.transaction_description\n fields['total_amount'] = String(res.data.total_amount).replace(/,/g, '');\n fields['transaction_amount'] = String(res.data.transaction_amount).replace(/,/g, '');\n fields['settlement_date'] = res.data.settlement_date\n fields['invoice_no'] = res.data.invoice_no\n fields['cardholder_name'] = res.data.cardholder_name\n if(transaction_type === 't'){\n disableRefundRadio = true;\n }\n this.setState({ fields, disableRefundRadio });\n })\n }\n\n\n render() {\n return (\n
\n
\n
\n

Refund & Void E-Wallet

\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n\n
\n \n
\n
\n \n \n
\n
\n \n \n
\n
{this.state.errors.chk_type}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.transaction_amount}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.transaction_comment}
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { ewalletAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../refund.css\";\nimport Select from \"react-select\";\nimport ReactExport from 'react-data-export';\n\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar dataSearch = {}\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-transaction-topup'\n\n\nconst optionsChannel = [\n { value: '0', label: 'All' },\n { value: '1', label: 'POS' },\n { value: '2', label: 'Backend' },\n { value: '3', label: 'Mobile Banking' },\n];\n\nexport class Refund_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n fields: {},\n\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){ \n const columns = [\n {\n title: \"#\",\n class: \"text-center\",\n data: \"num\"\n },\n {\n title: \"Transaction No\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n {\n title: \"Transaction Description\",\n class: \"text-center\",\n data: \"transaction_description\"\n },\n {\n title: \"Card Member Number\",\n class: \"text-center\",\n data: \"mem_number\"\n },\n {\n title: \"Date/Time\",\n class: \"text-center\",\n data: \"created_at\", \n },\n {\n title: \"Settlement Date/Time\",\n class: \"text-center\",\n data: \"settlement_date\", \n },\n {\n title: \"Transaction Amount (฿)\",\n class: \"text-center\",\n data: \"transaction_amount\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Frees (฿)\",\n class: \"text-center\",\n data: \"fees\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n {\n title: \"Status\",\n class: \"text-center\",\n data: \"transaction_status\"\n },\n {\n title: \"\",\n class: \"text-center\",\n data: \"transaction_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n },\n orderable: false\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 8,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 9,\n createdCell: function(td, cellData, rowData, row, col) {\n // var status = '';\n // if(rowData.status_payment == '1') status = `${cellData}`\n // else if(rowData.status_payment == '2') status = `${cellData}`\n // else if(rowData.status_payment == '3') status = `${cellData}`\n // else status = `ไม่ระบุสถานะ`\n $(td).html(`${cellData}`);\n },\n orderable: false\n },\n {\n targets: 11,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td).html(`\n
\n \n \n \n
\n `);\n },\n orderable: false\n }\n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/search/topup?searchTransactionID=${dataSearch.searchTransactionID}&searchMemNumber=${dataSearch.searchMemNumber}&searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}&searchCardholderName=${dataSearch.searchCardholderName}&searchTransactionChannel=${dataSearch.searchTransactionChannel}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[5, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: false,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n\n handleSubmit(e) { \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n var dataSearch = {\n searchTransactionID: (this.state.fields[\"searchTransactionID\"] ? this.state.fields[\"searchTransactionID\"] : ''),\n searchMemNumber: (this.state.fields[\"searchMemNumber\"] ? this.state.fields[\"searchMemNumber\"] : ''),\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : ''),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : ''),\n searchCardholderName: (this.state.fields[\"searchCardholderName\"] ? this.state.fields[\"searchCardholderName\"] : ''),\n searchApprovalCode: (this.state.fields[\"searchApprovalCode\"] ? this.state.fields[\"searchApprovalCode\"] : ''),\n searchTransactionChannel: (this.state.fields[\"searchTransactionChannel\"] ? this.state.fields[\"searchTransactionChannel\"] : '')\n \n }\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name] = e.value;\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.getTopupList(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n dataExcel.push(\n [\n {value: data[i].num},\n {value: data[i].transaction_id},\n {value: data[i].transaction_description},\n {value: data[i].mem_number},\n {value: data[i].created_at},\n {value: data[i].settlement_date},\n {value: data[i].transaction_amount},\n {value: data[i].total_amount},\n {value: data[i].fees},\n {value: data[i].net_amount},\n {value: data[i].transaction_status},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"Transaction No\", width: {wch: 40}},//char width \n {title: \"Transaction Description\", width: {wch: 40}},//char width \n {title: \"Card Member Number\", width: {wch: 20}},\n {title: \"Date/Time\", width: {wch: 20}},\n {title: \"Settlement Date/Time\", width: {wch: 15}},\n {title: \"Transaction Amount\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Frees (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n {title: \"Status\"},\n ],\n data: dataExcel\n }\n ];\n\n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Topup
  4. \n
  5. Search
  6. \n
\n\n\n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Topup Transactions

\n
\n \n
\n
\n
Transaction Number
\n
\n \n
\n
Approval Code
\n
\n \n
\n
\n
\n
Member Number
\n
\n \n
\n
Member Name
\n
\n \n
\n
\n
\n
From Date/Time
\n
\n \n
\n
Until Date/Time
\n
\n \n
\n
\n
\n
Transaction Channel
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n เพิ่มการ Topup\n \n \n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../report.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-report-daily-settlement'\n\nvar dataSearch = {}\n\n\nexport class Report_Daily_Settlement_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {\n searchTransactionFrom: yyyy+'-'+mm+'-'+dd,\n searchTransactionTo: yyyy+'-'+mm+'-'+dd,\n \n },\n payment_channel:[],\n transection_status:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n\n ewalletAction.getListChannelEwallet()\n .then(res => {\n this.setState({\n payment_channel: res.data\n })\n })\n\n ewalletAction.getListStatusEwallet()\n .then(res => { \n this.setState({\n transection_status: res.data\n })\n })\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"Date\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Total MDR (฿)\",\n class: \"text-center\",\n data: \"total_MDR\", \n },\n {\n title: \"Total Transaction Fee (฿)\",\n class: \"text-center\",\n data: \"total_transaction_fee\", \n },\n {\n title: \"Total VAT (฿)\",\n class: \"text-center\",\n data: \"total_VAT\"\n },\n {\n title: \"Total EWT (฿)\",\n class: \"text-center\",\n data: \"total_EWT\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n \n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n let d = new Date(cellData);\n let date = d.getDate()\n let month = d.getMonth()+1\n let year = d.getFullYear()\n if(date<10) date='0'+date;\n if(month<10) month='0'+month;\n \n $(td)\n .html(`
${year}/${month}/${date}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n \n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/report/daily?searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : yyyy+'-'+mm+'-'+dd),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : yyyy+'-'+mm+'-'+dd),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.reportDailySettlement(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() { \n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n let d = new Date(data[i].created_at);\n let date = d.getDate()\n let month = d.getMonth()+1\n let year = d.getFullYear()\n if(date<10) date='0'+date;\n if(month<10) month='0'+month;\n\n dataExcel.push(\n [\n // {value: data[i].num},\n {value: year + '/' + month + '/' + date},\n {value: data[i].total_amount},\n {value: data[i].total_MDR},\n {value: data[i].total_transaction_fee},\n {value: data[i].total_VAT},\n {value: data[i].total_EWT},\n {value: data[i].net_amount},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n // {title: \"#\"},//pixels width \n {title: \"Date\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Total MDR (฿)\", width: {wch: 20}},\n {title: \"Total Transaction Fee (฿)\", width: {wch: 20}},\n {title: \"Total VAT (฿)\", width: {wch: 20}},\n {title: \"Total EWT (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n\n ],\n data: dataExcel\n }\n ];\n \n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Report
  4. \n
  5. Daily Settlement
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Daily Settlement Report

\n
\n \n
\n \n
\n
Select Day: From
\n
\n \n
\n
To
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../report.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-report-daily-refund'\n\nvar dataSearch = {}\n\n\nexport class Report_Daily_Refund_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {\n searchTransactionFrom: yyyy+'-'+mm+'-'+dd,\n searchTransactionTo: yyyy+'-'+mm+'-'+dd,\n \n },\n payment_channel:[],\n transection_status:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n\n ewalletAction.getListChannelEwallet()\n .then(res => {\n this.setState({\n payment_channel: res.data\n })\n })\n\n ewalletAction.getListStatusEwallet()\n .then(res => { \n this.setState({\n transection_status: res.data\n })\n })\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"Date\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Total MDR (฿)\",\n class: \"text-center\",\n data: \"total_MDR\", \n },\n {\n title: \"Total Transaction Fee (฿)\",\n class: \"text-center\",\n data: \"total_transaction_fee\", \n },\n {\n title: \"Total VAT (฿)\",\n class: \"text-center\",\n data: \"total_VAT\"\n },\n {\n title: \"Total EWT (฿)\",\n class: \"text-center\",\n data: \"total_EWT\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n \n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n let d = new Date(cellData);\n let date = d.getDate()\n let month = d.getMonth()\n let year = d.getFullYear()\n if(date<10) date='0'+date;\n if(month<10) month='0'+month;\n \n $(td)\n .html(`
${year}/${month}/${date}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n \n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/report/daily/refund?searchTransactionFrom=${dataSearch.searchTransactionFrom}&searchTransactionTo=${dataSearch.searchTransactionTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionFrom: (this.state.fields[\"searchTransactionFrom\"] ? this.state.fields[\"searchTransactionFrom\"] : yyyy+'-'+mm+'-'+dd),\n searchTransactionTo: (this.state.fields[\"searchTransactionTo\"] ? this.state.fields[\"searchTransactionTo\"] : yyyy+'-'+mm+'-'+dd),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n // this.state.errors[e.target.name] = null;\n this.setState({ fields });\n };\n\n exportExcel = (dataSearch) => {\n ewalletAction.reportDailyRefund(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() { \n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n let d = new Date(data[i].created_at);\n let date = d.getDate()\n let month = d.getMonth()\n let year = d.getFullYear()\n if(date<10) date='0'+date;\n if(month<10) month='0'+month;\n\n dataExcel.push(\n [\n // {value: data[i].num},\n {value: year + '/' + month + '/' + date},\n {value: data[i].total_amount},\n {value: data[i].total_MDR},\n {value: data[i].total_transaction_fee},\n {value: data[i].total_VAT},\n {value: data[i].total_EWT},\n {value: data[i].net_amount},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n // {title: \"#\"},//pixels width \n {title: \"Date\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Total MDR (฿)\", width: {wch: 20}},\n {title: \"Total Transaction Fee (฿)\", width: {wch: 20}},\n {title: \"Total VAT (฿)\", width: {wch: 20}},\n {title: \"Total EWT (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n\n ],\n data: dataExcel\n }\n ];\n \n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Report
  4. \n
  5. Daily Refund
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Daily Refund Report

\n
\n \n
\n \n
\n
Select Day: From
\n
\n \n
\n
To
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../report.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) dd='0'+dd;\nif(mm<10) var mm_lable='0'+mm;\n\nlet name_excel = yyyy+mm_lable+dd+hh+mn+ss+ms+'-report-monthly-settlement'\n\nvar dataSearch = {}\n\nlet arrYear = []\nfor(var i = 2 ; i >= 0; i--){\n let year3 = date.getFullYear();\n arrYear.push(\n {value: year3 - i, label: year3 - i}\n )\n}\n\nconst arrMonth = [\n {value: '01', label: 'Jan'},\n {value: '02', label: 'Feb'},\n {value: '03', label: 'Mar'},\n {value: '04', label: 'Apr'},\n {value: '05', label: 'May'},\n {value: '06', label: 'Jun'},\n {value: '07', label: 'Jul'},\n {value: '08', label: 'Aug'},\n {value: '09', label: 'Sep'},\n {value: '10', label: 'Oct'},\n {value: '11', label: 'Nov'},\n {value: '12', label: 'Dec'},\n]\n\n\nexport class Report_Monthly_Settlement_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {\n searchTransactionMonthFrom: {\n label: arrMonth[mm-1].label, \n value: arrMonth[mm-1].value\n },\n searchTransactionYearFrom: {\n label: arrYear[2].label, \n value: arrYear[2].value\n },\n searchTransactionMonthTo: {\n label: arrMonth[mm-1].label, \n value: arrMonth[mm-1].value\n },\n searchTransactionYearTo: {\n label: arrYear[2].label, \n value: arrYear[2].value\n },\n \n },\n payment_channel:[],\n transection_status:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"Month\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Total MDR (฿)\",\n class: \"text-center\",\n data: \"total_MDR\", \n },\n {\n title: \"Total Transaction Fee (฿)\",\n class: \"text-center\",\n data: \"total_transaction_fee\", \n },\n {\n title: \"Total VAT (฿)\",\n class: \"text-center\",\n data: \"total_VAT\"\n },\n {\n title: \"Total EWT (฿)\",\n class: \"text-center\",\n data: \"total_EWT\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n \n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n let d = new Date(cellData);\n let month = d.getMonth()+1\n let year = d.getFullYear()\n if(month<10) month='0'+month;\n \n $(td)\n .html(`
${month}/${year}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n \n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/report/monthly?searchTransactionMonthFrom=${dataSearch.searchTransactionMonthFrom}&searchTransactionYearFrom=${dataSearch.searchTransactionYearFrom}&searchTransactionMonthTo=${dataSearch.searchTransactionMonthTo}&searchTransactionYearTo=${dataSearch.searchTransactionYearTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionMonthFrom: (this.state.fields[\"searchTransactionMonthFrom\"].value ? this.state.fields[\"searchTransactionMonthFrom\"].value : mm_lable),\n searchTransactionYearFrom: (this.state.fields[\"searchTransactionYearFrom\"].value ? this.state.fields[\"searchTransactionYearFrom\"].value : yyyy),\n searchTransactionMonthTo: (this.state.fields[\"searchTransactionMonthTo\"].value ? this.state.fields[\"searchTransactionMonthTo\"].value : mm_lable),\n searchTransactionYearTo: (this.state.fields[\"searchTransactionYearTo\"].value ? this.state.fields[\"searchTransactionYearTo\"].value : yyyy),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n this.setState({ fields });\n };\n\n\n handleSelectChange = (e, action) => {\n\n let { fields } = this.state;\n fields[action.name].label = e.label;\n fields[action.name].value = e.value;\n this.setState({ fields });\n };\n\n\n exportExcel = (dataSearch) => {\n ewalletAction.reportMonthlySettlement(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() { \n console.log(this.state.fields);\n\n\n let optionsMonth = arrMonth.map(function (item) {\n return { value: item.value, label: item.label };\n })\n \n let optionsYear = arrYear.map(function (item) {\n return { value: item.value, label: item.label };\n }) \n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n let d = new Date(data[i].created_at);\n let month = d.getMonth()+1\n let year = d.getFullYear()\n if(month<10) month='0'+month;\n\n dataExcel.push(\n [\n // {value: data[i].num},\n {value: month+'/'+year},\n {value: data[i].total_amount},\n {value: data[i].total_MDR},\n {value: data[i].total_transaction_fee},\n {value: data[i].total_VAT},\n {value: data[i].total_EWT},\n {value: data[i].net_amount},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: \n [\n {title: \"Month\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Total MDR (฿)\", width: {wch: 20}},\n {title: \"Total Transaction Fee (฿)\", width: {wch: 20}},\n {title: \"Total VAT (฿)\", width: {wch: 20}},\n {title: \"Total EWT (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n ],\n \n\n data: dataExcel\n }\n ];\n\n \n \n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Report
  4. \n
  5. Monthly Settlement
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Monthly Settlement Report

\n
\n \n
\n \n
\n
Select Month: From
\n
\n \n \n
\n
To
\n
\n \n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport Select from 'react-select';\nimport { ewalletAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../report.css\";\nimport ReactExport from 'react-data-export';\n\n$.DataTable = require(\"datatables.net\");\n\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) dd='0'+dd;\nif(mm<10) var mm_lable='0'+mm;\n\nlet name_excel = yyyy+mm_lable+dd+hh+mn+ss+ms+'-report-monthly-settlement'\n\nvar dataSearch = {}\n\nlet arrYear = []\nfor(var i = 2 ; i >= 0; i--){\n let year3 = date.getFullYear();\n arrYear.push(\n {value: year3 - i, label: year3 - i}\n )\n}\n\nconst arrMonth = [\n {value: '01', label: 'Jan'},\n {value: '02', label: 'Feb'},\n {value: '03', label: 'Mar'},\n {value: '04', label: 'Apr'},\n {value: '05', label: 'May'},\n {value: '06', label: 'Jun'},\n {value: '07', label: 'Jul'},\n {value: '08', label: 'Aug'},\n {value: '09', label: 'Sep'},\n {value: '10', label: 'Oct'},\n {value: '11', label: 'Nov'},\n {value: '12', label: 'Dec'},\n]\n\n\nexport class Report_Monthly_Refund_Ewallet extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n fields: {\n searchTransactionMonthFrom: {\n label: arrMonth[mm-1].label, \n value: arrMonth[mm-1].value\n },\n searchTransactionYearFrom: {\n label: arrYear[2].label, \n value: arrYear[2].value\n },\n searchTransactionMonthTo: {\n label: arrMonth[mm-1].label, \n value: arrMonth[mm-1].value\n },\n searchTransactionYearTo: {\n label: arrYear[2].label, \n value: arrYear[2].value\n },\n \n },\n payment_channel:[],\n transection_status:[],\n };\n }\n\n componentDidMount() {\n this.showTable(dataSearch);\n }\n\n showTable(dataSearch){\n \n const columns = [\n {\n title: \"Month\",\n class: \"text-center\",\n data: \"created_at\"\n },\n {\n title: \"Total Amount (฿)\",\n class: \"text-center\",\n data: \"total_amount\"\n },\n {\n title: \"Total MDR (฿)\",\n class: \"text-center\",\n data: \"total_MDR\", \n },\n {\n title: \"Total Transaction Fee (฿)\",\n class: \"text-center\",\n data: \"total_transaction_fee\", \n },\n {\n title: \"Total VAT (฿)\",\n class: \"text-center\",\n data: \"total_VAT\"\n },\n {\n title: \"Total EWT (฿)\",\n class: \"text-center\",\n data: \"total_EWT\"\n },\n {\n title: \"Net Amount (฿)\",\n class: \"text-center\",\n data: \"net_amount\"\n },\n \n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n let d = new Date(cellData);\n let month = d.getMonth()+1\n let year = d.getFullYear()\n if(month<10) month='0'+month;\n \n $(td)\n .html(`
${month}/${year}
`);\n }\n },\n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n }\n },\n \n ],\n\n ajax: {\n url: `${Base_API.ewallet}/api/v1/ewallet/report/monthly/refund?searchTransactionMonthFrom=${dataSearch.searchTransactionMonthFrom}&searchTransactionYearFrom=${dataSearch.searchTransactionYearFrom}&searchTransactionMonthTo=${dataSearch.searchTransactionMonthTo}&searchTransactionYearTo=${dataSearch.searchTransactionYearTo}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[2, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: false,\n searching: false,\n processing: true,\n bLengthChange: true,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n handleSubmit(e) {\n \n var table = $('#dataTable').DataTable();\n table.destroy();\n\n e.preventDefault()\n dataSearch = {\n searchTransactionMonthFrom: (this.state.fields[\"searchTransactionMonthFrom\"].value ? this.state.fields[\"searchTransactionMonthFrom\"].value : mm_lable),\n searchTransactionYearFrom: (this.state.fields[\"searchTransactionYearFrom\"].value ? this.state.fields[\"searchTransactionYearFrom\"].value : yyyy),\n searchTransactionMonthTo: (this.state.fields[\"searchTransactionMonthTo\"].value ? this.state.fields[\"searchTransactionMonthTo\"].value : mm_lable),\n searchTransactionYearTo: (this.state.fields[\"searchTransactionYearTo\"].value ? this.state.fields[\"searchTransactionYearTo\"].value : yyyy),\n }\n\n this.showTable(dataSearch);\n this.exportExcel(dataSearch)\n\n }\n\n handleChange = e => {\n let { fields } = this.state;\n fields[e.target.name] = e.target.value;\n this.setState({ fields });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields } = this.state;\n fields[action.name].label = e.label;\n fields[action.name].value = e.value;\n this.setState({ fields });\n };\n\n\n exportExcel = (dataSearch) => {\n ewalletAction.reportMonthlyRefund(dataSearch)\n .then(res => {\n this.setState({\n dataTransSearch: res.data\n })\n })\n };\n\n\n render() { \n let optionsMonth = arrMonth.map(function (item) {\n return { value: item.value, label: item.label };\n })\n \n let optionsYear = arrYear.map(function (item) {\n return { value: item.value, label: item.label };\n }) \n\n var dataExcel = []\n let data = this.state.dataTransSearch \n for(var i in data){\n let d = new Date(data[i].created_at);\n let month = d.getMonth()+1\n let year = d.getFullYear()\n if(month<10) month='0'+month;\n\n dataExcel.push(\n [\n // {value: data[i].num},\n {value: month+'/'+year},\n {value: data[i].total_amount},\n {value: data[i].total_MDR},\n {value: data[i].total_transaction_fee},\n {value: data[i].total_VAT},\n {value: data[i].total_EWT},\n {value: data[i].net_amount},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: \n [\n {title: \"Month\", width: {wch: 20}},\n {title: \"Total Amount (฿)\", width: {wch: 20}},\n {title: \"Total MDR (฿)\", width: {wch: 20}},\n {title: \"Total Transaction Fee (฿)\", width: {wch: 20}},\n {title: \"Total VAT (฿)\", width: {wch: 20}},\n {title: \"Total EWT (฿)\", width: {wch: 20}},\n {title: \"Net Amount (฿)\", width: {wch: 20}},\n ],\n \n\n data: dataExcel\n }\n ];\n\n \n \n return (\n
\n
    \n
  1. E-Wallet
  2. \n
  3. Report
  4. \n
  5. Monthly Refund
  6. \n
\n\n \n
\n
\n\n
this.handleSubmit(e)}>\n
\n

Monthly Refund Report

\n
\n \n
\n \n
\n
Select Month: From
\n
\n \n \n
\n
To
\n
\n \n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n\n
\n
\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n \n
\n
\n
\n \n \n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../payment.css\";\n\n$.DataTable = require(\"datatables.net\");\n\nexport class List_Payment extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n\n this.state = {\n\n };\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"วันที่\",\n class: \"text-center\",\n data: \"created\"\n },\n {\n title: \"เวลา\",\n class: \"text-center\",\n data: \"time\"\n },\n {\n title: \"รหัสอ้างอิง\",\n class: \"text-center\",\n data: \"order_number\"\n },\n {\n title: \"วิธีการชำระเงิน\",\n class: \"text-center\",\n data: \"source_object\"\n },\n {\n title: \"รายละเอียด\",\n class: \"text-center\",\n data: \"description\"\n },\n {\n title: \"สถานะ\",\n class: \"text-center\",\n data: \"status\"\n },\n {\n title: \"จำนวนเงิน\",\n class: \"text-center\",\n data: \"amount\"\n }\n\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(rowData['date']);\n },\n orderable: false\n },\n ],\n ajax: {\n url: `${Base_API.payment_gateway}/api/gateway/payment`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"desc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n }\n\n\n render() {\n return (\n
\n
\n
\n

Transactions Payment Gateway

\n
\n \n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { productAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../product.css\";\nimport ReactExport from 'react-data-export';\nimport { promotionAction } from \"../../../../_actions/promotion.action\";\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nvar multiDataSet\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\n\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd.toString()+mm.toString()+yyyy.toString()+hh.toString()+mn.toString()+ss.toString()+ms.toString()+'-online-product'\n\nexport class Promotion_Payment_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n member: [],\n memberid: \"\",\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"promo_list_id\"\n },\n {\n title: \"รหัสโปรโมชั่น\",\n class: \"text-center\",\n data: \"promo_list_code\"\n },\n {\n title: \"เงื่อนไขโปรโมชั่น\",\n class: \"text-center\",\n data: \"promo_cate_name\"\n },\n {\n title: \"ช่องทางการชำระเงิน\",\n class: \"text-center\",\n data: \"payment_channel_name\"\n },\n {\n title: \"ราคา(Topup, ซื้อครบ)\",\n class: \"text-center\",\n data: \"purchase_price\"\n },\n {\n title: \"ประเภทออเดอร์\",\n class: \"text-center\",\n data: \"typeorder_name\"\n },\n {\n title: \"ประเภทของแถม\",\n class: \"text-center\",\n data: \"free_earn_name_en\"\n },\n {\n title: \"สถานะโปรโมชั่น\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"วันที่มีผล\",\n class: \"text-center\",\n data: \"effective_date\"\n },\n {\n title: \"วันที่แก้ไข\",\n class: \"text-center\",\n data: \"updated_at\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"promo_list_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(row+1);\n }\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: true\n },\n {\n targets: 10,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/api/payment_promotion`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[10, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 0;\n\n var formData = new FormData();\n formData.append(\"is_active\", fval);\n\n promotionAction.updatePaymentPromotionWithoutGiftById(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var mcid = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(mcid)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(cid) {\n promotionAction.deletePaymentPromotionById(cid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n\n var dataExcel = []\n let data = this.state.dataProduct \n\n for(var i in data){\n dataExcel.push(\n [\n {value: i},\n {value: data[i].pr_online_image},\n {value: data[i].pr_online_code},\n {value: data[i].pr_online_name},\n {value: data[i].pr_online_category_name},\n {value: data[i].pr_online_price},\n {value: data[i].pr_online_sort},\n {value: (data[i].is_active == 1 ? 'active' : 'inactive')}\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"#\"},//pixels width \n {title: \"URL รูปภาพ\", width: {wch: 40}},//char width \n {title: \"รหัสสินค้า\", width: {wch: 20}},\n {title: \"ชื่อสินค้า (TH)\", width: {wch: 40}},\n {title: \"หมวดหมู่\", width: {wch: 20}},\n {title: \"ราคาสินค้าตั้งต้น\", width: {wch: 10}},\n {title: \"ลำดับที่แสดง\", width: {wch: 15}},\n {title: \"สถานะ\"},\n ],\n data: dataExcel\n \n }\n ];\n\n return (\n
\n
\n
\n

จัดการโปรโมชั่นการชำระเงิน

\n
\n \n \n เพิ่มโปรโมชั่น\n \n \n\n {/* \n \n Import Excel\n \n \n\n \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n */}\n
\n
\n
\n
\n \n \n

ข้อควรระวัง: รายการที่เงื่อนไขเหมือนกันสามารถเปิดสถานะใช้งานพร้อมกันได้มากกว่าหนึ่งรายการ อาจทำให้การทำงานของโปรโมชั่นทับซ้อน

\n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { activityAction, productAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"./activity.css\";\nimport Select from 'react-select';\nimport { promotionAction } from \"../../../../_actions/promotion.action\";\nimport moment from \"moment-timezone\";\n\nlet modalAlert;\n\nexport class Create_Promotion_Payment extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n is_active: 0,\n },\n errors: {},\n promoCate: [],\n discountCate: [{label: 'เปอร์เซ็น', value: 'percentage'}, {label: 'บาท', value: 'baht'}],\n typeOrderCate: [{label: 'delivery', value: '1'}, {label: 'ems', value: '2'}, {label: 'pickup', value: '3'}, {label: 'snackbox', value: '4'}, {label: 'gift', value: '5'}],\n paymentChannel: [{label: 'E-Wallet', value: '1'}, {label: 'Credit/Debit Card', value: '2'}, {label: 'Cash On Delivery', value: '4'}],\n freeEarnCate: [],\n rewardsOption: []\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n promotionAction.listPaymentPromoCategory().then(res => {\n let options = res.data.map(function (item) {\n return { value: item.promo_cate_code, label: item.promo_cate_name };\n })\n this.setState({\n promoCate: options\n })\n })\n promotionAction.listPaymentPromoFreeEarnCategory().then(res => {\n let options = res.data.map(function (item) {\n return { value: item.free_earn_cate_id, label: item.free_earn_name_en };\n })\n this.setState({\n freeEarnCate: options\n })\n })\n promotionAction.getActiveRewardsDropdown().then(res => {\n let options = res.data.map(function (item) {\n return { value: item.rewards_code, label: item.rewards_name_th };\n })\n this.setState({\n rewardsOption: options\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/promotion/payment\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"promo_list_code\"]) {\n formIsValid = false;\n errors[\"promo_list_code\"] = \"*กรุณากรอกรหัสโปรโมชั่น\";\n }\n if (!fields[\"promo_cate_code\"]) {\n formIsValid = false;\n errors[\"promo_cate_code\"] = \"*กรุณาระบุเงื่อนไขโปรโมชั่น\";\n }\n if (!fields[\"start_date\"]) {\n formIsValid = false;\n errors[\"start_date\"] = \"*กรุณาระบุวันเริ่มต้นโปรโมชั่น\";\n }\n if (!fields[\"end_date\"]) {\n formIsValid = false;\n errors[\"end_date\"] = \"*กรุณาระบุวันสิ้นสุดโปรโมชั่น\";\n }\n if (fields[\"promo_cate_code\"] === 'PPMC001') { // สั่งออเดอร์ X ชำระเงินผ่านช่องทาง X รับฟรี Y\n if (!fields[\"typeorder_id\"]) {\n formIsValid = false;\n errors[\"typeorder_id\"] = \"*กรุณาระบุประเภทออเดอร์\";\n }\n if (!fields[\"payment_channel_id\"]) {\n formIsValid = false;\n errors[\"payment_channel_id\"] = \"*กรุณาระบุช่องทางการชำระเงิน\";\n }\n if (!fields[\"free_earn_cate_id\"]) {\n formIsValid = false;\n errors[\"free_earn_cate_id\"] = \"*กรุณาระบุประเภทของแถม\";\n }else\n {\n if(fields[\"free_earn_cate_id\"] === 1) \n {\n if(!fields[\"earn_point\"])\n {\n formIsValid = false;\n errors[\"earn_point\"] = \"*กรุณากรอกจำนวนพอยต์\"; \n }\n }\n if(fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4)\n {\n if(!fields[\"rewards_code\"])\n {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณารีวอร์ด\"; \n }\n }\n }\n if (!fields[\"purchase_price\"]) {\n formIsValid = false;\n errors[\"purchase_price\"] = \"*กรุณากรอกราคาซื้อขั้นต่ำ\";\n }\n }\n if (fields[\"promo_cate_code\"] === 'PPMC002') { // Topup X บาทแถมฟรี Y\n if (!fields[\"free_earn_cate_id\"]) {\n formIsValid = false;\n errors[\"free_earn_cate_id\"] = \"*กรุณาระบุประเภทของแถม\";\n }else\n {\n if(fields[\"free_earn_cate_id\"] === 1) \n {\n if(!fields[\"earn_point\"])\n {\n formIsValid = false;\n errors[\"earn_point\"] = \"*กรุณากรอกจำนวนพอยต์\"; \n }\n }\n if(fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4)\n {\n if(!fields[\"rewards_code\"])\n {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณารีวอร์ด\"; \n }\n }\n }\n if (!fields[\"purchase_price\"]) {\n formIsValid = false;\n errors[\"purchase_price\"] = \"*กรุณากรอกราคาซื้อขั้นต่ำ\";\n }\n }\n \n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let reqPayload = this.getReqPayload();\n promotionAction.createPaymentPromotion(reqPayload).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n getReqPayload = () => {\n let {fields} = this.state;\n let resData;\n if(fields[\"promo_cate_code\"] === \"PPMC001\") // สั่งออเดอร์ X ชำระเงินผ่านช่องทาง X รับฟรี Y\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"typeorder_id\": String(fields[\"typeorder_id\"].map(item => item.value)),\n \"payment_channel_id\": String(fields[\"payment_channel_id\"].map(item => item.value)),\n \"free_earn_cate_id\": fields[\"free_earn_cate_id\"],\n \"earn_point\": fields[\"free_earn_cate_id\"] === 1 ? parseInt(fields[\"earn_point\"]) : 0,\n \"rewards_code\": fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4 ? fields[\"rewards_code\"] : '',\n \"purchase_price\": parseFloat(fields[\"purchase_price\"]).toFixed(2),\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n if(fields[\"promo_cate_code\"] === \"PPMC002\") // Topup X บาทแถมฟรี Y\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"free_earn_cate_id\": fields[\"free_earn_cate_id\"],\n \"earn_point\": fields[\"free_earn_cate_id\"] === 1 ? parseInt(fields[\"earn_point\"]) : 0,\n \"rewards_code\": fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4 ? fields[\"rewards_code\"] : '',\n \"purchase_price\": parseFloat(fields[\"purchase_price\"]).toFixed(2),\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n return resData;\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n let name = e.target.name;\n let value = e.target.value;\n if(name === 'promo_list_code')\n {\n fields[name] = String(value).toUpperCase();\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }else\n {\n fields[name] = value;\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleMultiSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n let {promoCate, fields, typeOrderCate, paymentChannel, freeEarnCate, rewardsOption} = this.state;\n\n return (\n
\n
\n
\n

เพิ่มโปรโมชั่นการชำระเงิน

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.promo_list_code}
\n
\n \n \n
\n \n
{this.state.errors.promo_cate_code}
\n
\n
\n\n {fields[\"promo_cate_code\"] === 'PPMC001' && \n
\n \n
\n \n
{this.state.errors.typeorder_id}
\n
\n \n
\n \n
{this.state.errors.payment_channel_id}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PPMC002' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PPMC001' || fields[\"promo_cate_code\"] === 'PPMC002' ?\n
\n \n
\n \n
{this.state.errors.free_earn_cate_id}
\n
\n {/* Custom Point */}\n {fields[\"free_earn_cate_id\"] === 1 &&\n <>\n \n
\n \n
{this.state.errors.earn_point}
\n
\n \n }\n {/* Rewards */}\n {fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4 &&\n <>\n \n
\n \n
{this.state.errors.rewards_code}
\n
\n \n }\n
\n : ''\n }\n\n {fields[\"promo_cate_code\"] === 'PPMC001' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n\n {/* {fields[\"promo_cate_code\"] === 'PMCT001'\n &&\n
\n \n
\n \n
{this.state.errors.pr_online_category_id}
\n
\n
\n }\n {fields[\"promo_cate_code\"] === 'PMCT001' &&\n
\n \n
\n \n
{this.state.errors.quantity}
\n
\n\n \n
\n \n
{this.state.errors.discount_price}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PMCT002' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n {fields[\"promo_cate_code\"] === 'PMCT002' && \n
\n \n
\n \n
{this.state.errors.discount_type}
\n
\n
\n \n \n {fields[\"discount_type\"] === 'percentage' ? '%' : fields[\"discount_type\"] === 'baht' ? 'บาท' : ''}\n \n
{this.state.errors.discount_price}
\n
\n
\n } */}\n\n
\n \n
\n \n
{this.state.errors.start_date}
\n
\n\n \n
\n \n
{this.state.errors.end_date}
\n
\n
\n\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction, productAction } from \"../../../../_actions\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"./activity.css\";\nimport Select from 'react-select';\nimport { promotionAction } from \"../../../../_actions/promotion.action\";\nimport moment from \"moment-timezone\";\n\nlet modalAlert;\n\nexport class Edit_Promotion_Payment extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n is_active: 0,\n },\n errors: {},\n promoCate: [],\n discountCate: [{label: 'เปอร์เซ็น', value: 'percentage'}, {label: 'บาท', value: 'baht'}],\n typeOrderCate: [{label: 'delivery', value: '1'}, {label: 'ems', value: '2'}, {label: 'pickup', value: '3'}, {label: 'snackbox', value: '4'}, {label: 'gift', value: '5'}],\n paymentChannel: [{label: 'E-Wallet', value: '1'}, {label: 'Credit/Debit Card', value: '2'}, {label: 'Cash On Delivery', value: '4'}],\n freeEarnCate: [],\n rewardsOption: [],\n selectData: {},\n promo_list_id: this.props.match.params.promo_list_id,\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n async componentDidMount() {\n await this.fetchInit();\n this.initialInputData();\n }\n\n fetchInit() {\n return new Promise(async resolve => {\n let {promo_list_id} = this.state;\n const promoCategoryPromise = promotionAction.listPaymentPromoCategory();\n const promotionByIdPromise = promotionAction.getPaymentPromotionById(promo_list_id);\n const promoFreeEarnCatePromise = promotionAction.listPaymentPromoFreeEarnCategory();\n const promoActiveRewardsDDPromise = promotionAction.getActiveRewardsDropdown();\n \n const [promoCategoryRes, promotionByIdRes, promoFreeEarnCateRes, promoActiveRewardsDDRes] = await Promise.all([\n promoCategoryPromise,\n promotionByIdPromise,\n promoFreeEarnCatePromise, \n promoActiveRewardsDDPromise\n ]);\n \n const promoCateOptions = promoCategoryRes.data.map(item => ({\n value: item.promo_cate_code, label: item.promo_cate_name\n }));\n const promoFreeEarnCateOptions = promoFreeEarnCateRes.data.map(item => ({\n value: item.free_earn_cate_id, label: item.free_earn_name_en \n }))\n const promoActiveRewardsDdOptions = promoActiveRewardsDDRes.data.map(item => ({\n value: item.rewards_code, label: item.rewards_name_th\n }));\n const fieldsData = promotionByIdRes.data;\n \n this.setState({\n promoCate: promoCateOptions,\n fields: fieldsData,\n freeEarnCate: promoFreeEarnCateOptions,\n rewardsOption: promoActiveRewardsDdOptions\n }, () => {\n resolve();\n });\n });\n }\n\n initialInputData() {\n let {promoCate, fields, selectData, freeEarnCate, rewardsOption, typeOrderCate, paymentChannel} = this.state;\n let promoCateOptions = promoCate.filter((item) => item.value === fields[\"promo_cate_code\"])\n let promoFreeEarnCateOptions = freeEarnCate.filter((item) => item.value === fields[\"free_earn_cate_id\"])\n let promoActiveRewardsDdOptions = rewardsOption.filter((item) => item.value === fields[\"rewards_code\"])\n let promoTypeOrderOptions = [];\n let typeOrderList = String(fields[\"typeorder_id\"]).split(',');\n let promoPaymentChannelOptions = []\n let paymentChannelList = String(fields[\"payment_channel_id\"]).split(',');\n\n for(var i in typeOrderList)\n {\n for(var x in typeOrderCate)\n {\n if(typeOrderList[i] === typeOrderCate[x].value)\n {\n promoTypeOrderOptions.push(typeOrderCate[x])\n }\n }\n }\n for(var i in paymentChannelList)\n {\n for(var x in paymentChannel)\n {\n if(paymentChannelList[i] === paymentChannel[x].value)\n {\n promoPaymentChannelOptions.push(paymentChannel[x])\n }\n }\n }\n\n fields[\"payment_channel_id\"] = promoPaymentChannelOptions;\n fields[\"typeorder_id\"] = promoTypeOrderOptions;\n\n this.setState({\n selectData: {\n ...selectData, \n promo_cate_code: promoCateOptions, \n free_earn_cate_id: promoFreeEarnCateOptions, \n rewards_code: promoActiveRewardsDdOptions, \n typeorder_id: promoTypeOrderOptions,\n payment_channel_id: promoPaymentChannelOptions\n },\n fields\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/promotion/payment\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n console.log('fields: ', fields);\n\n if (!fields[\"promo_list_code\"]) {\n formIsValid = false;\n errors[\"promo_list_code\"] = \"*กรุณากรอกรหัสโปรโมชั่น\";\n }\n if (!fields[\"promo_cate_code\"]) {\n formIsValid = false;\n errors[\"promo_cate_code\"] = \"*กรุณาระบุเงื่อนไขโปรโมชั่น\";\n }\n if (!fields[\"start_date\"]) {\n formIsValid = false;\n errors[\"start_date\"] = \"*กรุณาระบุวันเริ่มต้นโปรโมชั่น\";\n }\n if (!fields[\"end_date\"]) {\n formIsValid = false;\n errors[\"end_date\"] = \"*กรุณาระบุวันสิ้นสุดโปรโมชั่น\";\n }\n if (fields[\"promo_cate_code\"] === 'PPMC001') { // สั่งออเดอร์ X ชำระเงินผ่านช่องทาง X รับฟรี Y\n if (!fields[\"typeorder_id\"] || fields[\"typeorder_id\"].length === 0) {\n formIsValid = false;\n errors[\"typeorder_id\"] = \"*กรุณาระบุประเภทออเดอร์\";\n }\n if (!fields[\"payment_channel_id\"] || fields[\"payment_channel_id\"].length === 0) {\n formIsValid = false;\n errors[\"payment_channel_id\"] = \"*กรุณาระบุช่องทางการชำระเงิน\";\n }\n if (!fields[\"free_earn_cate_id\"]) {\n formIsValid = false;\n errors[\"free_earn_cate_id\"] = \"*กรุณาระบุประเภทของแถม\";\n }else\n {\n if(fields[\"free_earn_cate_id\"] === 1) \n {\n if(!fields[\"earn_point\"])\n {\n formIsValid = false;\n errors[\"earn_point\"] = \"*กรุณากรอกจำนวนพอยต์\"; \n }\n }\n if(fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4)\n {\n if(!fields[\"rewards_code\"])\n {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณารีวอร์ด\"; \n }\n }\n }\n if (fields[\"purchase_price\"] < 0 || fields[\"purchase_price\"] === null || fields[\"purchase_price\"] === \"\") {\n formIsValid = false;\n errors[\"purchase_price\"] = \"*กรุณากรอกราคาซื้อขั้นต่ำ\";\n }\n }\n if (fields[\"promo_cate_code\"] === 'PPMC002') { // Topup X บาทแถมฟรี Y\n if (!fields[\"free_earn_cate_id\"]) {\n formIsValid = false;\n errors[\"free_earn_cate_id\"] = \"*กรุณาระบุประเภทของแถม\";\n }else\n {\n if(fields[\"free_earn_cate_id\"] === 1) \n {\n if(!fields[\"earn_point\"])\n {\n formIsValid = false;\n errors[\"earn_point\"] = \"*กรุณากรอกจำนวนพอยต์\"; \n }\n }\n if(fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4)\n {\n if(!fields[\"rewards_code\"])\n {\n formIsValid = false;\n errors[\"rewards_code\"] = \"*กรุณารีวอร์ด\"; \n }\n }\n }\n if (fields[\"purchase_price\"] < 0 || fields[\"purchase_price\"] === null || fields[\"purchase_price\"] === \"\") {\n formIsValid = false;\n errors[\"purchase_price\"] = \"*กรุณากรอกราคาซื้อขั้นต่ำ\";\n }\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let {promo_list_id} = this.state;\n let inputBody = this.getReqPayload();\n promotionAction.updatePaymentPromotionById(inputBody, promo_list_id).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n getReqPayload = () => {\n let {fields} = this.state;\n let resData;\n\n if(fields[\"promo_cate_code\"] === \"PPMC001\") // สั่งออเดอร์ X ชำระเงินผ่านช่องทาง X รับฟรี Y\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"typeorder_id\": String(fields[\"typeorder_id\"].map(item => item.value)),\n \"payment_channel_id\": String(fields[\"payment_channel_id\"].map(item => item.value)),\n \"free_earn_cate_id\": fields[\"free_earn_cate_id\"],\n \"earn_point\": fields[\"free_earn_cate_id\"] === 1 ? parseInt(fields[\"earn_point\"]) : 0,\n \"rewards_code\": fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4 ? fields[\"rewards_code\"] : '',\n \"purchase_price\": parseFloat(fields[\"purchase_price\"]).toFixed(2),\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n if(fields[\"promo_cate_code\"] === \"PPMC002\") // Topup X บาทแถมฟรี Y\n {\n resData = {\n \"is_active\": fields[\"is_active\"],\n \"promo_list_code\": fields[\"promo_list_code\"],\n \"promo_cate_code\": fields[\"promo_cate_code\"],\n \"typeorder_id\": \"\",\n \"payment_channel_id\": \"\",\n \"free_earn_cate_id\": fields[\"free_earn_cate_id\"],\n \"earn_point\": fields[\"free_earn_cate_id\"] === 1 ? parseInt(fields[\"earn_point\"]) : 0,\n \"rewards_code\": fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4 ? fields[\"rewards_code\"] : '',\n \"purchase_price\": parseFloat(fields[\"purchase_price\"]).toFixed(2),\n \"start_date\": moment(fields[\"start_date\"]).format('Y-MM-DD HH:mm:ss'),\n \"end_date\": moment(fields[\"end_date\"]).format('Y-MM-DD HH:mm:ss'),\n }\n }\n\n return resData;\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n let name = e.target.name;\n let value = e.target.value;\n if(name === 'promo_list_code')\n {\n fields[name] = String(value).toUpperCase();\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }else\n {\n fields[name] = value;\n this.state.errors[name] = null;\n this.setState({ fields, errors });\n }\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors, selectData } = this.state;\n fields[action.name] = e.value;\n selectData[action.name] = {value: e.value, label: e.label};\n this.state.errors[action.name] = null;\n this.setState({ fields, errors, selectData });\n };\n\n handleMultiSelectChange = (e, action) => {\n let { fields, errors, selectData } = this.state;\n fields[action.name] = e;\n selectData[action.name] = e;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors, selectData });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n let {promoCate, fields, typeOrderCate, paymentChannel, freeEarnCate, rewardsOption, selectData} = this.state;\n\n return (\n
\n
\n
\n

แก้ไขโปรโมชั่นการชำระเงิน

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.promo_list_code}
\n
\n \n \n
\n \n
{this.state.errors.promo_cate_code}
\n
\n
\n\n {fields[\"promo_cate_code\"] === 'PPMC001' && \n
\n \n
\n \n
{this.state.errors.typeorder_id}
\n
\n \n
\n \n
{this.state.errors.payment_channel_id}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PPMC002' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n\n {fields[\"promo_cate_code\"] === 'PPMC001' || fields[\"promo_cate_code\"] === 'PPMC002' ?\n
\n \n
\n \n
{this.state.errors.free_earn_cate_id}
\n
\n {/* Custom Point */}\n {fields[\"free_earn_cate_id\"] === 1 &&\n <>\n \n
\n \n
{this.state.errors.earn_point}
\n
\n \n }\n {/* Rewards */}\n {fields[\"free_earn_cate_id\"] === 3 || fields[\"free_earn_cate_id\"] === 4 ?\n <>\n \n
\n \n
{this.state.errors.rewards_code}
\n
\n \n : ''\n }\n
\n : ''\n }\n\n {fields[\"promo_cate_code\"] === 'PPMC001' && \n
\n \n
\n \n
{this.state.errors.purchase_price}
\n
\n
\n }\n\n
\n \n
\n \n
{this.state.errors.start_date}
\n
\n\n \n
\n \n
{this.state.errors.end_date}
\n
\n
\n\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { BackofficeAction, staffAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport ReactExport from 'react-data-export';\n\nimport \"../staff.css\";\nimport moment from \"moment-timezone\";\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\nconst ExcelColumn = ReactExport.ExcelFile.ExcelColumn;\n\n$.DataTable = require(\"datatables.net\");\nvar multiDataSet\n\nlet modalAlert;\nlet date = new Date()\nvar dd = date.getDate();\nvar mm = date.getMonth()+1; \nvar yyyy = date.getFullYear();\nvar hh = date.getHours();\nvar mn = date.getMinutes();\nvar ss = date.getSeconds();\nvar ms = date.getMilliseconds();\n\nif(dd<10) \n{\n dd='0'+dd;\n} \n\nif(mm<10) \n{\n mm='0'+mm;\n}\n\nlet name_excel = dd+mm+yyyy+hh+mn+ss+ms+'-staff'\n\nexport class Staff_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n resp: \"\",\n respid: [],\n show: false,\n modal: null,\n isModal: false,\n excelUrl: \"\"\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n getExcelStaffList();\n\n // Get Excel Members\n function getExcelStaffList() {\n BackofficeAction.getExcelStaffList()\n .then(res => {\n console.log(res)\n if(res.status === true)\n {\n state.setState({ excelUrl: res.data })\n }\n })\n }\n\n const columns = [\n {\n title: \"รหัสพนักงาน\",\n class: \"text-center\",\n data: \"staff_number\"\n },\n {\n title: \"ขื่อจริง\",\n class: \"text-left\",\n data: \"staff_firstname\"\n },\n {\n title: \"นามสกุล\",\n class: \"text-left\",\n data: \"staff_lastname\"\n },\n {\n title: \"วันเดือนปีเกิด\",\n class: \"text-center\",\n data: \"staff_birthdate\"\n },\n {\n title: \"แผนก\",\n class: \"text-left\",\n data: \"staff_department\"\n },\n {\n title: \"ตำแหน่ง\",\n class: \"text-left\",\n data: \"staff_position\"\n },\n {\n title: \"ประเภท\",\n class: \"text-center\",\n data: \"job_type\"\n },\n {\n title: \"เบอร์โทรศัพท์\",\n class: \"text-left\",\n data: \"mem_phone\"\n },\n {\n title: \"รหัสบัตรประชาชน\",\n class: \"text-left\",\n data: \"staff_idcard\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"staff_id\"\n },\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets:3,\n createdCell: function(td, cellData, rowData, row, col) {\n if(!!cellData)\n {\n $(td)\n .html(moment(cellData).format('DD-MM-YYYY'));\n }else\n {\n $(td)\n .html('-');\n }\n },\n orderable: false\n },\n {\n targets:6,\n createdCell: function(td, cellData, rowData, row, col) {\n if(!!cellData)\n {\n $(td)\n .html(cellData === 'full_time' ? 'Full Time' : 'Part Time');\n }else\n {\n $(td)\n .html('-');\n }\n },\n orderable: false\n },\n {\n targets:9,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.admin}/staff`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[8, \"asc\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n staffAction.deleteStaffById(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n }\n\n render() {\n var dataExport = []\n let data = this.state.dataExport \n for(var i in data){\n dataExport.push(\n [\n {value: (data[i].staff_number ? data[i].staff_number : \"\")},\n {value: (data[i].staff_firstname ? data[i].staff_firstname : \"\")},\n {value: (data[i].staff_lastname ? data[i].staff_lastname : \"\")},\n {value: (data[i].staff_department ? data[i].staff_department : \"\")},\n {value: (data[i].staff_position ? data[i].staff_position : \"\")},\n {value: (data[i].job_type ? data[i].job_type : \"\")},\n {value: (data[i].mem_phone ? data[i].mem_phone : \"\")},\n {value: (data[i].staff_idcard ? data[i].staff_idcard : \"\")}\n // {value: (data[i].is_active == 1 ? 'active' : 'inactive'), style: {fill: {fgColor: {rgb: (data[i].is_active == 1 ? \"FF00FF00\" : \"FFFF0000\")}}}},\n ],\n )\n } \n \n multiDataSet = [\n {\n columns: [\n {title: \"รหัสพนักงาน\"},\n {title: \"ชื่อจริง\", width: {wch: 30}},//char width \n {title: \"นามสกุล\", width: {wch: 30}},\n {title: \"แผนก\", width: {wch: 30}},\n {title: \"ตำแหน่ง\", width: {wch: 30}},\n {title: \"ประเภทพนักงาน\", width: {wch: 30}},\n {title: \"เบอร์โทรศัพท์\", width: {wch: 20}},\n {title: \"รหัสบัตรประชาชน\", width: {wch: 20}}\n ],\n data: dataExport\n }\n ];\n return (\n
\n
\n
\n

รายชื่อพนักงาน ( สำหรับสิทธิ์ในการแลกรีวอร์ด )

\n\n
\n \n \n \n เพิ่มรายชื่อพนักงาน\n \n \n\n {/* \n Export Excel\n \n }\n filename = {name_excel}\n >\n \n */}\n {this.state.excelUrl !== \"\"\n ? \n \n \n Export Excel\n \n \n :\n \n Export Excel\n \n }\n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { staffAction } from '../../../../_actions'\nimport SweetAlert from 'react-bootstrap-sweetalert';\nimport \"../staff.css\";\nimport Select from \"react-select\";\n\nlet modalAlert;\n\nexport class Staff_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {\n is_active: 0\n },\n typeJobs: [\n {\n label: 'Full Time',\n value: 'full_time'\n },\n {\n label: 'Part Time',\n value: 'part_time'\n }\n ]\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/staff\"\n }\n\n validateForm() {\n\n let fields = this.state.fields;\n let select = this.state.select;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"staff_number\"]) {\n formIsValid = false;\n errors[\"staff_number\"] = \"*กรุณากรอกรหัสพนักงาน\";\n }\n\n if (!fields[\"staff_firstname\"]) {\n formIsValid = false;\n errors[\"staff_firstname\"] = \"*กรุณากรอกชื่อ\";\n }\n\n if (!fields[\"staff_lastname\"]) {\n formIsValid = false;\n errors[\"staff_lastname\"] = \"*กรุณากรอกนามสกุล\";\n }\n\n if (!fields[\"staff_department\"]) {\n formIsValid = false;\n errors[\"staff_department\"] = \"*กรุณากรอกแผนก\";\n }\n\n if (!fields[\"staff_position\"]) {\n formIsValid = false;\n errors[\"staff_position\"] = \"*กรุณากรอกตำแหน่ง\";\n }\n\n if (!fields[\"staff_idcard\"]) {\n formIsValid = false;\n errors[\"staff_idcard\"] = \"*กรุณากรอกรหัสบัตรประชาชน\";\n }\n\n if (!fields[\"staff_birthdate\"]) {\n formIsValid = false;\n errors[\"staff_birthdate\"] = \"*กรุณากรอกวันเดือนปีเกิด\";\n }\n\n if (!fields[\"start_date\"]) {\n formIsValid = false;\n errors[\"start_date\"] = \"*กรุณากรอกวันที่เริ่มงาน\";\n }\n\n if (!fields[\"job_type\"]) {\n formIsValid = false;\n errors[\"job_type\"] = \"*กรุณาระบุประเภทงาน\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n var formData = ({\n 'staff_number' : this.state.fields[\"staff_number\"],\n 'staff_firstname' : this.state.fields[\"staff_firstname\"],\n 'staff_lastname' : this.state.fields[\"staff_lastname\"],\n 'staff_department' : this.state.fields[\"staff_department\"],\n 'staff_position' : this.state.fields[\"staff_position\"],\n 'staff_idcard' : this.state.fields[\"staff_idcard\"],\n 'staff_birthdate' : this.state.fields[\"staff_birthdate\"],\n 'is_active' : this.state.fields[\"is_active\"],\n 'job_type' : this.state.fields[\"job_type\"].value,\n 'start_date' : this.state.fields[\"start_date\"]\n });\n\n staffAction.createStaff(formData).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n\n };\n\n onSelectChange = (res, e) => {\n let name = e.name;\n let value = res.value;\n let { fields, errors } = this.state;\n if(name === 'job_type')\n {\n fields[name] = res;\n this.state.errors[name] = null;\n this.setState({ fields, errors }); \n }\n }\n\n render() {\n let { select } = this.state;\n\n return (\n
\n
\n
\n

เพิ่มข้อมูลพนักงาน

\n
\n
\n
\n
this.handleSubmit(e)}>\n
\n
\n \n
\n \n
{this.state.errors.staff_number}
\n
\n\n \n
\n \n
{this.state.errors.staff_idcard}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.staff_firstname}
\n
\n\n \n
\n \n
{this.state.errors.staff_lastname}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.staff_birthdate}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.staff_department}
\n
\n\n \n
\n \n
{this.state.errors.staff_position}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.start_date}
\n
\n\n \n
\n {/* */}\n \n
{this.state.errors.job_type}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { staffAction } from '../../../../_actions'\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport \"../staff.css\";\nlet modalAlert;\n\nexport class Staff_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n errors: {},\n fields: {\n is_active: 0\n },\n typeJobs: [\n {\n label: 'Full Time',\n value: 'full_time'\n },\n {\n label: 'Part Time',\n value: 'part_time'\n }\n ]\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.getDataByID(params.staff_id);\n }\n\n getDataByID(id) {\n staffAction.getStaff(id).then(e => {\n if (e.isSuccess === true) {\n console.log('staff: ', e.data)\n let {typeJobs} = this.state;\n let jobType = e.data.job_type;\n let jobTypeSelected = typeJobs.filter(item => item.value === jobType)[0];\n this.setState({\n fields: {\n ...this.state.fields,\n staff_id: e.data.staff_id,\n staff_number: e.data.staff_number,\n staff_firstname: e.data.staff_firstname,\n staff_lastname: e.data.staff_lastname,\n staff_department: e.data.staff_department,\n staff_position: e.data.staff_position,\n staff_idcard: e.data.staff_idcard,\n staff_birthdate: e.data.staff_birthdate,\n is_active: e.data.is_active,\n start_date: e.data.start_date,\n job_type: jobTypeSelected\n }\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/staff\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let select = this.state.select;\n let errors = {};\n let formIsValid = true;\n\n if (!fields[\"staff_number\"]) {\n formIsValid = false;\n errors[\"staff_number\"] = \"*กรุณากรอกรหัสพนักงาน\";\n }\n\n if (!fields[\"staff_firstname\"]) {\n formIsValid = false;\n errors[\"staff_firstname\"] = \"*กรุณากรอกชื่อ\";\n }\n\n if (!fields[\"staff_lastname\"]) {\n formIsValid = false;\n errors[\"staff_lastname\"] = \"*กรุณากรอกนามสกุล\";\n }\n\n if (!fields[\"staff_department\"]) {\n formIsValid = false;\n errors[\"staff_department\"] = \"*กรุณากรอกแผนก\";\n }\n\n if (!fields[\"staff_position\"]) {\n formIsValid = false;\n errors[\"staff_position\"] = \"*กรุณากรอกตำแหน่ง\";\n }\n\n if (!fields[\"staff_birthdate\"] || fields[\"staff_birthdate\"] == 'Invalid date') {\n formIsValid = false;\n errors[\"staff_birthdate\"] = \"*กรุณากรอกวันเดือนปีเกิด\";\n }\n\n if (!fields[\"staff_idcard\"]) {\n formIsValid = false;\n errors[\"staff_idcard\"] = \"*กรุณากรอกรหัสบัตรประชาชน\";\n }\n\n if (!fields[\"start_date\"]) {\n formIsValid = false;\n errors[\"start_date\"] = \"*กรุณากรอกวันที่เริ่มงาน\";\n }\n\n if (!fields[\"job_type\"]) {\n formIsValid = false;\n errors[\"job_type\"] = \"*กรุณาระบุประเภทงาน\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null });\n var formData = {\n 'staff_number' : this.state.fields[\"staff_number\"],\n 'staff_firstname' : this.state.fields[\"staff_firstname\"],\n 'staff_lastname' : this.state.fields[\"staff_lastname\"],\n 'staff_department' : this.state.fields[\"staff_department\"],\n 'staff_position' : this.state.fields[\"staff_position\"],\n 'staff_idcard' : this.state.fields[\"staff_idcard\"],\n 'staff_birthdate' : this.state.fields[\"staff_birthdate\"],\n 'is_active' : this.state.fields[\"is_active\"],\n 'job_type' : this.state.fields[\"job_type\"].value,\n 'start_date' : this.state.fields[\"start_date\"]\n }\n\n staffAction.updateStaff(formData, this.state.fields[\"staff_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleSelect = (e, action) => {\n let { select, fields, errors } = this.state; \n select[action.name] = {\n label: e.label,\n value: e.value\n };\n this.state.errors[action.name] = null;\n this.setState({ select, fields, errors });\n };\n \n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\" || e.target.name === \"ad_b_status\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n onSelectChange = (res, e) => {\n let name = e.name;\n let value = res.value;\n let { fields, errors } = this.state;\n if(name === 'job_type')\n {\n fields[name] = res;\n this.state.errors[name] = null;\n this.setState({ fields, errors }); \n }\n }\n\n render() {\n let { select, fields } = this.state;\n console.log(\"fields: \", fields);\n\n return (\n
\n
\n
\n

แก้ไขข้อมูลข้อมูลพนักงาน

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.staff_number}
\n
\n\n \n
\n \n
{this.state.errors.staff_idcard}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.staff_firstname}
\n
\n\n \n
\n \n
{this.state.errors.staff_lastname}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.staff_birthdate}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.staff_department}
\n
\n\n \n
\n \n
{this.state.errors.staff_position}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.start_date}
\n
\n\n \n
\n {/* */}\n \n
{this.state.errors.job_type}
\n
\n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { staffAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport Select from \"react-select\";\nimport moment from \"moment-timezone\"\nimport \"../staff.css\";\n\nlet modalAlert;\nlet checkbox_reward_type_receive = []\nvar checkbox_rewards_showtype = []\n\n\nexport class Ewallet_Staff_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: \"\",\n errors: {},\n inputBody: {}\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmEdit = this.onConfirmEdit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n var params = this.props.match.params\n this.setState({ staff_ewallet_id: params.staff_ewallet_id })\n this.getEwalletStaffByID(params.staff_ewallet_id)\n }\n\n getEwalletStaffByID(id) {\n var { \n inputBody \n } = this.state;\n staffAction.getEwalletStaff(id).then(e => {\n var resp = e.data\n inputBody = resp \n this.setState({ \n inputBody: inputBody\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmEdit()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = `/backoffice/staff`;\n }\n\n validateForm() {\n let inputBody = this.state.inputBody;\n let errors = {};\n let formIsValid = true;\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmEdit(ev) {\n this.setState({ modal: null });\n let data = {\n staff_ewallet_amount: this.state.inputBody[\"staff_ewallet_amount\"]\n }\n\n staffAction.updateEwalletStaff(this.state.inputBody['staff_ewallet_id'], data).then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { inputBody, errors } = this.state;\n inputBody[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ inputBody, errors });\n };\n\n render() { \n return (\n
\n
\n
\n

แก้ไขจำนวน e-wallet สำหรับพนักงาน ( ระบบจะเติม ewallet เมื่อถึงวันเกิดพนักงาน )

\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n
\n ชื่อพนักงาน\n
\n
\n ({this.state.inputBody[\"staff_number\"]}) {this.state.inputBody[\"staff_firstname\"]} {this.state.inputBody[\"staff_lastname\"]}\n
\n
\n
\n \n
\n \n
\n {this.state.errors[\"staff_ewallet_amount\"]}\n
\n
\n
\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\n// import { adminAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport { NavLink } from \"react-router-dom\";\nimport \"../../activity.css\";\n\nconst urlPath = window.location.hostname\nvar urlAU = \"\"\nconsole.log(urlPath);\nif (\n urlPath === \"https://afteryou-backoffice.podsable.com\" \n || \n urlPath === \"afteryou-backoffice.podsable.com\" \n || \n urlPath === \"grabapi.afteryoudessertcafe.com\" \n || \n urlPath === \"podsable.com\"\n ||\n urlPath === \"afteryoumobileprod.com\"\n ||\n urlPath === \"afteryoumobileuat.com\"\n ||\n urlPath === \"afteryoumobileuat.mmm2007.net\"\n) \n{\n urlAU = \"/backoffice\" \n}\n\nexport class Activity_All extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false\n };\n }\n\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n };\n\n componentDidMount() {\n \n }\n\n render() {\n return (\n
\n
\n
\n

กิจกรรมทั้งหมด

\n
\n \n
\n
\n \n
\n
\n \"Flash\n
\n
\n

Flash Sale

\n
\n
\n
\n
\n
\n \n
\n \"Friend\n
\n

Friend Get Friend

\n
\n
\n
\n
\n
\n \n
\n \"Free\n
\n

Discount Delivery

\n
\n
\n
\n
\n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport Select from 'react-select';\nconst moment = require('moment-timezone');\n\nlet modalAlert;\n\nexport class Activity_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n activity_friends: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n async componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.ActivityFriendGetByID(params.activity_id);\n\n await activityAction.FriendGetFriendList().then(res => {\n this.setState({\n activity_friends: res.data\n })\n })\n }\n\n ActivityFriendGetByID(activity_id) {\n activityAction.ActivityFriendGetByID(activity_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n activity_id: e.data.activity_id,\n activity_name: e.data.activity_name,\n datetime_start: moment(e.data.datetime_start).format(\"Y-MM-DD\")+\"T\"+moment(e.data.datetime_start).format(\"HH:mm:ss\"),\n datetime_stop: moment(e.data.datetime_stop).format(\"Y-MM-DD\")+\"T\"+moment(e.data.datetime_stop).format(\"HH:mm:ss\"),\n activity_desc_th: e.data.activity_desc_th,\n activity_desc_en: e.data.activity_desc_en,\n activity_ref_id: e.data.activity_ref_id,\n is_used: e.data.is_used\n }\n });\n\n this.setState({\n defaultActivityFriend:\n {\n label: e.data.invite_condition_name,\n value: e.data.activity_ref_id\n },\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/activity/friendgetfriend/list\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"datetime_start\"]) {\n formIsValid = false;\n errors[\"datetime_start\"] = \"*กรุณากรอกเวลาที่เริ่มกิจกรรม\";\n }\n\n if (!fields[\"datetime_stop\"]) {\n formIsValid = false;\n errors[\"datetime_stop\"] = \"*กรุณากรอกเวลาที่สิ้นสุดกิจกรรม\";\n }\n\n if (!fields[\"activity_desc_th\"]) {\n formIsValid = false;\n errors[\"activity_desc_th\"] = \"*กรุณารายละเอียดกิจกรรม (TH)\";\n }\n\n if (!fields[\"activity_desc_en\"]) {\n formIsValid = false;\n errors[\"activity_desc_en\"] = \"*กรุณารายละเอียดกิจกรรม (EN)\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n\n let inputBody = {\n datetime_start: this.state.fields[\"datetime_start\"],\n datetime_stop: this.state.fields[\"datetime_stop\"],\n activity_desc_th: this.state.fields[\"activity_desc_th\"],\n activity_desc_en: this.state.fields[\"activity_desc_en\"],\n activity_ref_id: this.state.defaultActivityFriend.value,\n is_used: this.state.fields[\"is_used\"]\n }\n\n activityAction.ActivityUpdate(inputBody, this.state.fields[\"activity_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_used\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n if(action.name == \"activity_ref_id\"){\n this.setState({\n defaultActivityFriend:\n {\n label: e.label,\n value: e.value\n }\n })\n }\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n\n render() {\n let optionsActivityFriend = this.state.activity_friends.map(function (activity) {\n return { value: activity.invite_condition_id, label: activity.invite_condition_name };\n })\n\n return (\n
\n
\n
\n

แก้ไขข้อมูลกิจกรรม {this.state.fields['activity_name']}

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.datetime_start}
\n
\n\n \n
\n \n
{this.state.errors.datetime_stop}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.activity_ref_id}
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"activity_desc_th\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n {this.state.errors[\"activity_desc_en\"]}\n
\n
\n
\n\n
\n \n
\n \n
\n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from 'react';\nimport { Route , withRouter} from 'react-router-dom';\nimport $ from \"jquery\";\nimport { activityAction } from \"../../../../../_actions\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../../activity.css\";\nimport { NavLink } from \"react-router-dom\";\n\n\nvar urlAU = \"\"\nconst urlPath = window.location.hostname\nif (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") {\n // urlAU = \"/afteryou\" \n}\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class Flashsale_Time_List extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n };\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ชื่อกิจกรรม\",\n class: \"text-center\",\n data: \"flashsale_name_th\"\n },\n {\n title: \"วันที่เริ่มกิจกรรม\",\n class: \"text-center\",\n data: \"flashsale_time_datetime_start\"\n },\n {\n title: \"วันที่สิ้นสุดกิจกรรม\",\n class: \"text-left\",\n data: \"flashsale_time_datetime_end\"\n },\n {\n title: \"เวลาเริ่มต้นการแสดง\",\n class: \"text-center\",\n data: \"flashsale_specific_time_start\"\n },\n {\n title: \"เวลาลิ้นสุดการแสดง\",\n class: \"text-left\",\n data: \"flashsale_specific_time_end\"\n },\n {\n title: \"หมวดหมู่ออเดอร์\",\n class: \"text-center\",\n data: \"typeorder_name\"\n },\n {\n title: \"การใช้งาน\",\n class: \"text-center\",\n data: \"is_active\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"flashsale_time_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [ \n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n \n `);\n },\n orderable: false\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n \n
\n
\n \n
\n \n `);\n\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/flashsale/list_time`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n let formData = {\n is_active: fval\n }\n\n activityAction.flashsaleUpdateTime(formData, fid).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n }\n });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"list_product_btn\"]', function() {\n var id = $(this).data(\"content\");\n var typeorder_name = $(this).data(\"name\");\n var timestart = $(this).data(\"timestart\");\n var timeend = $(this).data(\"timeend\");\n gotoListProduct(id,typeorder_name,timestart,timeend)\n });\n\n function onConfirmDelete(id) {\n activityAction.flashsaleDeleteTime(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function gotoListProduct(id,typeorder_name,timestart,timeend){\n sessionStorage.setItem('flashsale_time_datetime_start' , timestart)\n sessionStorage.setItem('flashsale_time_datetime_end' , timeend)\n sessionStorage.setItem('typeorder_name' , typeorder_name)\n window.location.href=`/backoffice/activity/flashsale/${id}/product/list`\n\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n render() {\n return (\n
\n
\n
\n

กิจกรรม Flash Sale

\n
\n \n \n เพิ่มรายการ\n \n \n\n {/* \n \n */}\n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { activityAction } from \"../../../../../_actions\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../../activity.css\";\nimport Select from 'react-select';\n\nlet modalAlert;\n\nexport class Flashsale_Time_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n is_active: 0,\n is_specific_time: 0\n },\n errors: {},\n orderType: [],\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n activityAction.listOrderType().then(res => {\n this.setState({\n orderType: res.data\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/activity/flashsale/time\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"flashsale_name_th\"]) {\n formIsValid = false;\n errors[\"flashsale_name_th\"] = \"*กรุณากรอกชื่อเริ่มกิจกรรม (TH)\";\n }\n if (!fields[\"flashsale_name_en\"]) {\n formIsValid = false;\n errors[\"flashsale_name_en\"] = \"*กรุณากรอกชื่อเริ่มกิจกรรม (EN)\";\n }\n\n if (!fields[\"flashsale_time_datetime_start\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_start\"] = \"*กรุณากรอกเวลาที่เริ่มกิจกรรม\";\n }\n\n if (!fields[\"flashsale_time_datetime_end\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_end\"] = \"*กรุณากรอกเวลาที่สิ้นสุดกิจกรรม\";\n }\n \n if(fields[\"is_specific_time\"] === 1)\n {\n if (!fields[\"flashsale_specific_time_start\"]) {\n formIsValid = false;\n errors[\"flashsale_specific_time_start\"] = \"*กรุณากรอกเวลาเริ่มต้นการแสดงสินค้า\";\n }\n \n if (!fields[\"flashsale_specific_time_end\"]) {\n formIsValid = false;\n errors[\"flashsale_specific_time_end\"] = \"*กรุณากรอกเวลาสิ้นสุดการแสดงสินค้า\";\n }\n }\n\n if (!fields[\"typeorder_id\"]) {\n formIsValid = false;\n errors[\"typeorder_id\"] = \"*กรุณาเลือกหมวดหมู่ออเดอร์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let inputBody = {\n flashsale_time_datetime_start: this.state.fields[\"flashsale_time_datetime_start\"],\n flashsale_time_datetime_end: this.state.fields[\"flashsale_time_datetime_end\"],\n flashsale_specific_time_start: this.state.fields[\"flashsale_specific_time_start\"],\n flashsale_specific_time_end: this.state.fields[\"flashsale_specific_time_end\"],\n typeorder_id: this.state.fields[\"typeorder_id\"],\n is_active: this.state.fields[\"is_active\"],\n is_specific_time: this.state.fields[\"is_specific_time\"],\n flashsale_name_en: this.state.fields[\"flashsale_name_en\"],\n flashsale_name_th: this.state.fields[\"flashsale_name_th\"]\n }\n activityAction.flashsaleInsertTimeV2(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n\n if(name === \"is_specific_time\")\n {\n if(e.target.checked === false)\n {\n fields.flashsale_specific_time_start = \"\"\n fields.flashsale_specific_time_end = \"\"\n }\n }\n }\n\n render() {\n let optionsTypeOrder = this.state.orderType.map(function (ordertype) {\n return { value: ordertype.typeorder_id, label: ordertype.typeorder_name };\n })\n\n return (\n
\n
\n
\n

เพิ่มเวลา Flash Sale

\n
\n
\n
\n \n
this.handleSubmit(e)}>\n\n
\n \n
\n \n
{this.state.errors.flashsale_name_th}
\n
\n\n \n
\n \n
{this.state.errors.flashsale_name_en}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.flashsale_time_datetime_start}
\n
\n\n \n
\n \n
{this.state.errors.flashsale_time_datetime_end}
\n
\n
\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
{this.state.errors.flashsale_specific_time_start}
\n
\n\n \n
\n \n
{this.state.errors.flashsale_specific_time_end}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.typeorder_id}
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction } from \"../../../../../_actions\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../../activity.css\";\nimport Select from 'react-select';\nconst moment = require('moment-timezone');\n\nlet modalAlert;\n\nexport class Flashsale_Time_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n orderType: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.flashsaleGetTime(params.flashsale_time_id);\n\n activityAction.listOrderType().then(res => {\n this.setState({\n orderType: res.data\n })\n })\n }\n\n flashsaleGetTime(flashsale_time_id) {\n\n activityAction.flashsaleGetTime(flashsale_time_id).then(e => {\n console.log('flashsaleGetTime: ', e);\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n flashsale_name_th: e.data.flashsale_name_th,\n flashsale_name_en: e.data.flashsale_name_en,\n flashsale_time_id: e.data.flashsale_time_id,\n flashsale_time_datetime_start: moment(e.data.flashsale_time_datetime_start).format(\"Y-MM-DD\")+\"T\"+moment(e.data.flashsale_time_datetime_start).format(\"HH:mm:ss\"),\n flashsale_time_datetime_end: moment(e.data.flashsale_time_datetime_end).format(\"Y-MM-DD\")+\"T\"+moment(e.data.flashsale_time_datetime_start).format(\"HH:mm:ss\"),\n flashsale_specific_time_start: e.data.flashsale_specific_time_start,\n flashsale_specific_time_end: e.data.flashsale_specific_time_end,\n typeorder_id: e.data.typeorder_id,\n typeorder_name: e.data.typeorder_name,\n is_specific_time: e.data.is_specific_time,\n is_active: e.data.is_active\n }\n });\n this.setState({isStatus: String(this.state.fields[\"is_active\"]) == \"1\"});\n this.setState({status: this.state.fields[\"is_active\"]});\n this.setState({\n defaultTypeOrder:\n {\n label: this.state.fields[\"typeorder_name\"],\n value: this.state.fields[\"typeorder_id\"]\n }\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/activity/flashsale/time\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"flashsale_name_th\"]) {\n formIsValid = false;\n errors[\"flashsale_name_th\"] = \"*กรุณากรอกชื่อเริ่มกิจกรรม (TH)\";\n }\n if (!fields[\"flashsale_name_en\"]) {\n formIsValid = false;\n errors[\"flashsale_name_en\"] = \"*กรุณากรอกชื่อเริ่มกิจกรรม (EN)\";\n }\n\n if (!fields[\"flashsale_time_datetime_start\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_start\"] = \"*กรุณากรอกเวลาที่เริ่มกิจกรรม\";\n }\n\n if (!fields[\"flashsale_time_datetime_end\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_end\"] = \"*กรุณากรอกเวลาที่สิ้นสุดกิจกรรม\";\n }\n\n if(fields[\"is_specific_time\"] === 1)\n {\n if (!fields[\"flashsale_specific_time_start\"]) {\n formIsValid = false;\n errors[\"flashsale_specific_time_start\"] = \"*กรุณากรอกเวลาเริ่มต้นการแสดงสินค้า\";\n }\n \n if (!fields[\"flashsale_specific_time_end\"]) {\n formIsValid = false;\n errors[\"flashsale_specific_time_end\"] = \"*กรุณากรอกเวลาสิ้นสุดการแสดงสินค้า\";\n }\n }\n\n if (!fields[\"typeorder_id\"]) {\n formIsValid = false;\n errors[\"typeorder_id\"] = \"*กรุณาเลือกหมวดหมู่ออเดอร์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n\n let inputBody = {\n flashsale_time_datetime_start: this.state.fields[\"flashsale_time_datetime_start\"],\n flashsale_time_datetime_end: this.state.fields[\"flashsale_time_datetime_end\"],\n flashsale_specific_time_start: this.state.fields[\"flashsale_specific_time_start\"],\n flashsale_specific_time_end: this.state.fields[\"flashsale_specific_time_end\"],\n is_specific_time: this.state.fields[\"is_specific_time\"],\n typeorder_id: this.state.fields[\"typeorder_id\"],\n is_active: this.state.fields[\"is_active\"],\n flashsale_name_en: this.state.fields[\"flashsale_name_en\"],\n flashsale_name_th: this.state.fields[\"flashsale_name_th\"]\n }\n\n activityAction.flashsaleUpdateTime(inputBody, this.state.fields[\"flashsale_time_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n if(action.name == \"typeorder_id\"){\n this.setState({\n defaultTypeOrder:\n {\n label: e.label,\n value: e.value\n }\n })\n }\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n\n if(name === \"is_specific_time\")\n {\n if(e.target.checked === false)\n {\n fields.flashsale_specific_time_start = \"\"\n fields.flashsale_specific_time_end = \"\"\n }\n }\n }\n\n\n render() {\n\n let optionsTypeOrder = this.state.orderType.map(function (ordertype) {\n return { value: ordertype.typeorder_id, label: ordertype.typeorder_name };\n })\n\n return (\n
\n
\n
\n

แก้ไขเวลา Flash Sale

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n\n
\n \n
\n \n
{this.state.errors.flashsale_name_th}
\n
\n\n \n
\n \n
{this.state.errors.flashsale_name_en}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.flashsale_time_datetime_start}
\n
\n\n \n
\n \n
{this.state.errors.flashsale_time_datetime_end}
\n
\n
\n\n
\n \n
\n \n
\n
\n
\n \n
\n \n
{this.state.errors.flashsale_specific_time_start}
\n
\n\n \n
\n \n
{this.state.errors.flashsale_specific_time_end}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.typeorder_id}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport $ from \"jquery\";\nimport { activityAction, productAction } from \"../../../../../_actions\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../../activity.css\";\nimport Select from 'react-select';\nimport { NavLink } from \"react-router-dom\";\nimport ReactModal from 'react-modal';\nconst moment = require('moment-timezone');\n\nvar urlAU = \"\"\nconst urlPath = window.location.hostname\nif (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") {\n // urlAU = \"/afteryou\" \n}\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\nconst customStyles = {\n content : {\n top: '40px',\n left: '20%',\n width: '60%',\n height: '40%',\n padding: '0px'\n }\n};\nexport class Flashsale_Product_List extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n products: [],\n fields: {},\n errors: {},\n typeorder_name: sessionStorage.getItem(\"typeorder_name\"),\n flashsale_time_datetime_start: moment(sessionStorage.getItem(\"flashsale_time_datetime_start\")).format(\"DD-MM-YYYY HH:mm:ss\"),\n flashsale_time_datetime_end: moment(sessionStorage.getItem(\"flashsale_time_datetime_end\")).format(\"DD-MM-YYYY HH:mm:ss\")\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.handleOpenModal = this.handleOpenModal.bind(this);\n this.handleCloseModal = this.handleCloseModal.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n\n }\n\n async componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.setState({flashsale_time_id: params.flashsale_time_id});\n\n await productAction.listProductIsactive().then(res => {\n this.setState({\n products: res.data\n })\n })\n\n const columns = [\n {\n title: \"รหัสสินค้า\",\n class: \"text-center\",\n data: \"pr_online_code\"\n },\n {\n title: \"ชื่อสินค้า\",\n class: \"text-left\",\n data: \"pr_online_name\"\n },\n {\n title: \"ราคาปกติ\",\n class: \"text-center\",\n data: \"pr_online_price\"\n },\n {\n title: \"ราคา Flash Sale\",\n class: \"text-center\",\n data: \"flashsale_product_price_discount\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"flashsale_product_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [ \n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`
${cellData}
`);\n },\n orderable: false\n },\n {\n targets: 4,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n \n \n
\n
\n \n
\n \n `);\n\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.product}/flashsale/list_product/${params.flashsale_time_id}`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"edit_btn\"]', async function() {\n var id = $(this).data(\"content\");\n\n await getDataProductById(id)\n\n state.setState({ \n flashsale_product_id: id,\n type: 'update',\n showModal: true \n });\n });\n\n function getDataProductById(id) {\n activityAction.flashsaleGetProduct(id).then(e => {\n if (e.isSuccess === true) {\n state.setState({\n fields: {\n ...state.state.fields,\n flashsale_product_id: e.data.flashsale_product_id,\n pr_online_id: e.data.pr_online_id,\n pr_online_code: e.data.pr_online_code,\n flashsale_product_price_discount: e.data.flashsale_product_price_discount,\n flashsale_time_id: e.data.flashsale_time_id,\n pr_online_name: e.data.pr_online_name\n }\n });\n state.setState({\n defaultProduct:\n {\n label: e.data.pr_online_code + \" - \" + e.data.pr_online_name,\n value: e.data.pr_online_id\n }\n });\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n function onConfirmDelete(id) {\n activityAction.flashsaleDeleteProduct(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n }\n\n handleSubmit(event, type) {\n event.preventDefault()\n this.setState({ modalOption: null })\n console.log(event);\n console.log(type);\n if (this.validateForm()) {\n if(type == \"create\"){\n this.onModalQuestionCreate('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }else if(type == \"update\"){\n this.onModalQuestionUpdate('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n }\n\n onModalQuestionCreate(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestionUpdate(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let inputBody = {\n pr_online_id: this.state.fields[\"pr_online_id\"],\n flashsale_product_price_discount: this.state.fields[\"flashsale_product_price_discount\"],\n flashsale_time_id: this.state.flashsale_time_id\n }\n activityAction.flashsaleInsertProduct(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n let inputBody = {\n flashsale_product_price_discount: this.state.fields[\"flashsale_product_price_discount\"],\n }\n\n activityAction.flashsaleUpdateProduct(inputBody, this.state.fields[\"flashsale_product_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"pr_online_id\"]) {\n formIsValid = false;\n errors[\"pr_online_id\"] = \"*กรุณาเลือกสินค้า Flash Sale\";\n }\n\n if (!fields[\"flashsale_product_price_discount\"]) {\n formIsValid = false;\n errors[\"flashsale_product_price_discount\"] = \"*กรุณากรอกราคาสินค้า Flash Sale\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n if(action.name == \"pr_online_id\"){\n this.setState({\n defaultProduct:\n {\n label: e.label,\n value: e.value\n }\n })\n }\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleOpenModal (type_event) {\n this.setState({ \n type: type_event,\n showModal: true \n });\n }\n\n onConfirm() {\n this.setState({ \n showModal: false,\n modal: null \n });\n window.location.reload();\n }\n \n handleCloseModal () {\n this.setState({ showModal: false });\n }\n\n render() {\n let optionsProducts = this.state.products.map(function (prouct) {\n return { value: prouct.pr_online_id, label: prouct.pr_online_code + \" - \" +prouct.pr_online_name };\n })\n\n return (\n
\n
\n
\n

สินค้า Flash Sale

\n
หมวดหมู่ออเดอร์: {(this.state.typeorder_name).toUpperCase()}
\n
เวลาเริ่ม - สิ้นสุดกิจกรรม: {this.state.flashsale_time_datetime_start +\" - \"+ this.state.flashsale_time_datetime_end}
\n
\n this.handleOpenModal('create')}\n >\n เพิ่มรายการ\n \n
\n
\n
\n
\n \n \n\n \n \n this.handleSubmit(e, this.state.type)}\n >\n
\n \n

แก้ไขข้อมูลสินค้าแต่ละสาขา

\n
\n
\n
\n \n
\n \n
\n
{this.state.errors.pr_online_id}
\n
\n
\n \n
\n \n
{this.state.errors.flashsale_product_price_discount}
\n
\n
\n \n\n
\n
\n \n \n
\n \n
\n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { activityAction } from \"../../../../../_actions\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../../activity.css\";\nimport Select from 'react-select';\n\nlet modalAlert;\n\nexport class Flashsale_Time_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n is_active: 0\n },\n errors: {},\n orderType: []\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n activityAction.listOrderType().then(res => {\n this.setState({\n orderType: res.data\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/activity/flashsale/time\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"flashsale_time_datetime_start\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_start\"] = \"*กรุณากรอกเวลาที่เริ่มกิจกรรม\";\n }\n\n if (!fields[\"flashsale_time_datetime_end\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_end\"] = \"*กรุณากรอกเวลาที่สิ้นสุดกิจกรรม\";\n }\n\n if (!fields[\"typeorder_id\"]) {\n formIsValid = false;\n errors[\"typeorder_id\"] = \"*กรุณาเลือกหมวดหมู่ออเดอร์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let inputBody = {\n flashsale_time_datetime_start: this.state.fields[\"flashsale_time_datetime_start\"],\n flashsale_time_datetime_end: this.state.fields[\"flashsale_time_datetime_end\"],\n typeorder_id: this.state.fields[\"typeorder_id\"],\n is_active: this.state.fields[\"is_active\"]\n }\n activityAction.flashsaleInsertTime(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n\n let optionsTypeOrder = this.state.orderType.map(function (ordertype) {\n return { value: ordertype.typeorder_id, label: ordertype.typeorder_name };\n })\n\n return (\n
\n
\n
\n

เพิ่มเวลา Flash Sale

\n
\n
\n
\n \n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.flashsale_time_datetime_start}
\n
\n
\n
\n \n
\n \n
{this.state.errors.flashsale_time_datetime_end}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.typeorder_id}
\n
\n
\n \n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction } from \"../../../../../_actions\";\nimport { Base_API } from \"../../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../../activity.css\";\nimport Select from 'react-select';\nconst moment = require('moment-timezone');\n\nlet modalAlert;\n\nexport class Flashsale_Time_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n orderType: []\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n const {\n match: { params }\n } = this.props;\n this.flashsaleGetTime(params.flashsale_time_id);\n\n activityAction.listOrderType().then(res => {\n this.setState({\n orderType: res.data\n })\n })\n }\n\n flashsaleGetTime(flashsale_time_id) {\n\n activityAction.flashsaleGetTime(flashsale_time_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n flashsale_time_id: e.data.flashsale_time_id,\n flashsale_time_datetime_start: moment(e.data.flashsale_time_datetime_start).format(\"Y-MM-DD\")+\"T\"+moment(e.data.flashsale_time_datetime_start).format(\"HH:mm:ss\"),\n flashsale_time_datetime_end: moment(e.data.flashsale_time_datetime_end).format(\"Y-MM-DD\")+\"T\"+moment(e.data.flashsale_time_datetime_start).format(\"HH:mm:ss\"),\n typeorder_id: e.data.typeorder_id,\n typeorder_name: e.data.typeorder_name,\n is_active: e.data.is_active\n }\n });\n this.setState({isStatus: String(this.state.fields[\"is_active\"]) == \"1\"});\n this.setState({status: this.state.fields[\"is_active\"]});\n this.setState({\n defaultTypeOrder:\n {\n label: this.state.fields[\"typeorder_name\"],\n value: this.state.fields[\"typeorder_id\"]\n }\n });\n\n console.log(this.state.fields);\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/activity/flashsale/time\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"flashsale_time_datetime_start\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_start\"] = \"*กรุณากรอกเวลาที่เริ่มกิจกรรม\";\n }\n\n if (!fields[\"flashsale_time_datetime_end\"]) {\n formIsValid = false;\n errors[\"flashsale_time_datetime_end\"] = \"*กรุณากรอกเวลาที่สิ้นสุดกิจกรรม\";\n }\n\n if (!fields[\"typeorder_id\"]) {\n formIsValid = false;\n errors[\"typeorder_id\"] = \"*กรุณาเลือกหมวดหมู่ออเดอร์\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n\n let inputBody = {\n flashsale_time_datetime_start: this.state.fields[\"flashsale_time_datetime_start\"],\n flashsale_time_datetime_end: this.state.fields[\"flashsale_time_datetime_end\"],\n typeorder_id: this.state.fields[\"typeorder_id\"],\n is_active: this.state.fields[\"is_active\"]\n }\n\n activityAction.flashsaleUpdateTime(inputBody, this.state.fields[\"flashsale_time_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n if (e.target.name === \"is_active\") {\n fields[e.target.name] = e.target.checked === true ? 1 : 0;\n } else {\n fields[e.target.name] = e.target.value;\n }\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n if(action.name == \"typeorder_id\"){\n this.setState({\n defaultTypeOrder:\n {\n label: e.label,\n value: e.value\n }\n })\n }\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n\n render() {\n\n let optionsTypeOrder = this.state.orderType.map(function (ordertype) {\n return { value: ordertype.typeorder_id, label: ordertype.typeorder_name };\n })\n console.log(this.state.fields);\n console.log(this.state.defaultTypeOrder);\n\n return (\n
\n
\n
\n

แก้ไขเวลา Flash Sale

\n
\n
\n
\n this.handleSubmit(e)}\n >\n
\n
\n \n
\n \n
{this.state.errors.flashsale_time_datetime_start}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.flashsale_time_datetime_end}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.typeorder_id}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n\n
\n
\n \n
\n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction, rewardAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport Select from 'react-select';\n\nlet modalAlert;\n\nexport class FriendGetFriend_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n invite_condition_ewallet_member: 0,\n invite_condition_rewards_amount_member: 0,\n invite_condition_ewallet_friend: 0,\n invite_condition_rewards_amount_friend: 0,\n invite_condition_max_friend_per_month: 1\n },\n errors: {},\n optionsRewards: [],\n rewards: []\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n async componentDidMount() {\n await rewardAction.listReward().then(res => {\n this.setState({\n rewards: res.data\n })\n })\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/activity/friendgetfriend/list\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"invite_condition_name\"]) {\n formIsValid = false;\n errors[\"invite_condition_name\"] = \"*กรุณากรอกชื่อกิจกรรม\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let inputBody = {\n invite_condition_name: this.state.fields[\"invite_condition_name\"],\n invite_condition_is_friend: this.state.fields[\"invite_condition_is_friend\"],\n invite_condition_privilege_friend: this.state.fields[\"invite_condition_privilege_friend\"],\n invite_condition_ewallet_friend: this.state.fields[\"invite_condition_ewallet_friend\"],\n invite_condition_rewards_id_friend: this.state.fields[\"invite_condition_rewards_id_friend\"],\n invite_condition_rewards_amount_friend: this.state.fields[\"invite_condition_rewards_amount_friend\"],\n invite_condition_is_member: this.state.fields[\"invite_condition_is_member\"],\n invite_condition_privilege_member: this.state.fields[\"invite_condition_privilege_member\"],\n invite_condition_ewallet_member: this.state.fields[\"invite_condition_ewallet_member\"],\n invite_condition_rewards_id_member: this.state.fields[\"invite_condition_rewards_id_member\"],\n invite_condition_rewards_amount_member: this.state.fields[\"invite_condition_rewards_amount_member\"],\n invite_condition_max_friend_per_month: this.state.fields[\"invite_condition_max_friend_per_month\"]\n }\n activityAction.FriendGetFriendCreate(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n let optionsRewards = this.state.rewards.map(function (reward) {\n return { value: reward.rewards_id, label: reward.rewards_name_th };\n })\n\n let optionsPrivilege = [\n { value: \"\", label: \"กรุณาเลือกสิทธิพิเศษ\" },\n { value: \"Reward\", label: \"Reward\" },\n // { value: \"E-Wallet\", label: \"E-Wallet\" }\n ]\n\n return (\n
\n
\n
\n

เพิ่มกิจกรรม Friend Get Friend

\n
\n
\n
\n \n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.invite_condition_name}
\n
\n
\n\n
\n\n
\n สำหรับสมาชิกเก่า\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_privilege_member}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_rewards_id_member}
\n
\n\n \n
\n \n
\n
\n\n
\n\n
\n สำหรับสมาชิกใหม่\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_privilege_friend}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_rewards_id_friend}
\n
\n\n \n
\n \n
\n
\n\n
\n \n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction, rewardAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport Select from 'react-select';\nconst moment = require('moment-timezone');\n\nlet modalAlert;\n\nexport class FriendGetFriend_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n optionsRewards: [],\n rewards: [],\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n async componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.FriendGetFriendGet(params.invite_condition_id);\n\n await rewardAction.listReward().then(res => {\n this.setState({\n rewards: res.data\n })\n })\n }\n\n FriendGetFriendGet(invite_condition_id) {\n activityAction.FriendGetFriendGet(invite_condition_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n invite_condition_id: e.data.invite_condition_id,\n invite_condition_name: e.data.invite_condition_name,\n invite_condition_is_friend: e.data.invite_condition_is_friend,\n invite_condition_privilege_friend: e.data.invite_condition_privilege_friend,\n invite_condition_ewallet_friend: e.data.invite_condition_ewallet_friend,\n invite_condition_rewards_id_friend: e.data.invite_condition_rewards_id_friend,\n invite_condition_rewards_amount_friend: e.data.invite_condition_rewards_amount_friend,\n invite_condition_is_member: e.data.invite_condition_is_member,\n invite_condition_privilege_member: e.data.invite_condition_privilege_member,\n invite_condition_ewallet_member: e.data.invite_condition_ewallet_member,\n invite_condition_rewards_id_member: e.data.invite_condition_rewards_id_member,\n invite_condition_rewards_amount_member: e.data.invite_condition_rewards_amount_member,\n invite_condition_max_friend_per_month: e.data.invite_condition_max_friend_per_month,\n }\n });\n this.setState({\n defaultPrivilegeFriend:\n {\n label: e.data.invite_condition_privilege_friend,\n value: e.data.invite_condition_privilege_friend\n },\n defaultPrivilegeMember:\n {\n label: e.data.invite_condition_privilege_member,\n value: e.data.invite_condition_privilege_member\n },\n defaultRewardFriend:\n {\n label: e.data.reward_name_friend,\n value: e.data.invite_condition_rewards_id_friend\n },\n defaultRewardMember:\n {\n label: e.data.reward_name_member,\n value: e.data.invite_condition_rewards_id_member\n },\n });\n\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/activity/friendgetfriend/list\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"invite_condition_name\"]) {\n formIsValid = false;\n errors[\"invite_condition_name\"] = \"*กรุณากรอกชื่อกิจกรรม\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n\n let inputBody = {\n invite_condition_name: this.state.fields[\"invite_condition_name\"],\n invite_condition_is_friend: this.state.fields[\"invite_condition_is_friend\"],\n invite_condition_privilege_friend: this.state.fields[\"invite_condition_privilege_friend\"],\n invite_condition_ewallet_friend: this.state.fields[\"invite_condition_ewallet_friend\"],\n invite_condition_rewards_id_friend: this.state.fields[\"invite_condition_rewards_id_friend\"],\n invite_condition_rewards_amount_friend: this.state.fields[\"invite_condition_rewards_amount_friend\"],\n invite_condition_is_member: this.state.fields[\"invite_condition_is_member\"],\n invite_condition_privilege_member: this.state.fields[\"invite_condition_privilege_member\"],\n invite_condition_ewallet_member: this.state.fields[\"invite_condition_ewallet_member\"],\n invite_condition_rewards_id_member: this.state.fields[\"invite_condition_rewards_id_member\"],\n invite_condition_rewards_amount_member: this.state.fields[\"invite_condition_rewards_amount_member\"],\n invite_condition_max_friend_per_month: this.state.fields[\"invite_condition_max_friend_per_month\"]\n }\n\n activityAction.FriendGetFriendUpdate(inputBody, this.state.fields[\"invite_condition_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n\n if(action.name == \"invite_condition_privilege_member\"){\n this.setState({\n defaultPrivilegeMember:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name == \"invite_condition_privilege_friend\"){\n this.setState({\n defaultPrivilegeFriend:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name == \"invite_condition_rewards_id_friend\"){\n this.setState({\n defaultRewardFriend:\n {\n label: e.label,\n value: e.value\n }\n })\n }else if(action.name == \"invite_condition_rewards_id_member\"){\n this.setState({\n defaultRewardMember:\n {\n label: e.label,\n value: e.value\n }\n })\n }\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n\n render() {\n\n let optionsRewards = this.state.rewards.map(function (reward) {\n return { value: reward.rewards_id, label: reward.rewards_name_th };\n })\n\n let optionsPrivilege = [\n { value: \"\", label: \"กรุณาเลือกสิทธิพิเศษ\" },\n { value: \"Reward\", label: \"Reward\" }\n // { value: \"E-Wallet\", label: \"E-Wallet\" }\n ]\n\n console.log(this.state.defaultPrivilegeMember);\n\n return (\n
\n
\n
\n

แก้ไขกิจกรรม Friend Get Friend

\n
\n
\n
\n \n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.invite_condition_name}
\n
\n
\n\n
\n\n
\n สำหรับสมาชิกเก่า\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_privilege_member}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_rewards_id_member}
\n
\n\n \n
\n \n
\n
\n\n
\n\n
\n สำหรับสมาชิกใหม่\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_privilege_friend}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.invite_condition_rewards_id_friend}
\n
\n\n \n
\n \n
\n
\n\n
\n\n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from 'react';\nimport $ from \"jquery\";\nimport { activityAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport { NavLink } from \"react-router-dom\";\nimport moment from \"moment-timezone\"\n\nvar urlAU = \"\"\nconst urlPath = window.location.hostname\nif (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") {\n // urlAU = \"/afteryou\" \n}\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class FriendGetFriend_List extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n activity_id: \"1\",\n fields: {}\n };\n }\n\n async componentDidMount() {\n await activityAction.ActivityFriendGetByID(this.state.activity_id).then(e => {\n this.setState({\n\n fields: {\n ...this.state.fields,\n activity_name: e.data.activity_name,\n datetime_start: moment(e.data.datetime_start).format(\"Y-MM-DD HH:mm:ss\"),\n datetime_stop: moment(e.data.datetime_stop).format(\"Y-MM-DD HH:mm:ss\"),\n activity_desc_th: e.data.activity_desc_th,\n invite_condition_name: e.data.invite_condition_name,\n is_used: e.data.is_used\n }\n })\n })\n\n const columns = [\n {\n title: \"ชื่อกิจกรรม\",\n class: \"text-left\",\n data: \"invite_condition_name\"\n },\n {\n title: \"ให้สิทธิพิเศษแก่สมาชิกเก่า\",\n class: \"text-center\",\n data: \"invite_condition_is_member\"\n },\n {\n title: \"ให้สิทธิพิเศษแก่สมาชิกใหม่\",\n class: \"text-center\",\n data: \"invite_condition_is_friend\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"invite_condition_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [ \n {\n targets: 1,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n ${cellData===1 ? \"\" : \"\"}\n
\n `);\n },\n orderable: false\n },\n {\n targets: 2,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n ${cellData===1 ? \"\" : \"\"}\n
\n `);\n },\n orderable: false\n },\n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n \n
\n \n `);\n\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.member}/api/friendgetfriend/list`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", \".activeBtn\", function () {\n var fid = $(this).data(\"id\");\n var fval = $(this).is(\":checked\") === true ? 1 : 2;\n\n\n var formData = new FormData();\n formData.append(\"news_active\", fval);\n formData.append(\"news_image\", '-');\n\n // newsAction.activatePromotion(formData, fid).then(e => {\n // if (e.isSuccess === false) {\n // onModalError(\"Error\", e.message);\n // } else {\n // onModalSuccess(\"Success\", e.message);\n // }\n // });\n });\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n console.log(id);\n activityAction.FriendGetFriendDelete(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n render() {\n console.log(this.state);\n return (\n
\n
\n
\n

ข้อมูลกิจกรรม Friend Get Friend

\n
\n \n \n แก้ไข\n \n \n\n
\n
\n
\n
\n
\n เวลาที่เริ่มกิจกรรม\n
\n
\n {this.state.fields['datetime_start']}\n
\n
\n เวลาที่สิ้นสุดกิจกรรม\n
\n
\n {this.state.fields['datetime_stop']}\n
\n
\n\n
\n
\n กิจกรรมที่ถูกใช้งาน\n
\n
\n {this.state.fields['invite_condition_name']}\n
\n
\n\n
\n
\n รายละเอียดกิจกรรม (TH)\n
\n
\n {this.state.fields['activity_desc_th']}\n
\n
\n\n
\n
\n สถานะการใช้กิจกรรม\n
\n
\n {this.state.fields['is_used'] == 1 ? \"ใช้งาน\" : \"ไม่ใช้งาน\"}\n
\n
\n
\n
\n\n
\n
\n

รายการกิจกรรม Friend Get Friend

\n
\n \n \n เพิ่มรายการ\n \n \n\n {/* \n \n */}\n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React from \"react\";\nimport { activityAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport Select from 'react-select';\nimport moment from \"moment-timezone\";\n\nlet modalAlert;\n\nexport class DiscountDelivery_Create extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n messageCreate: '',\n fields: {\n status_delivery_cost_free: 0,\n discount_delivery_cost: 0\n },\n errors: {}\n }\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCreate = this.onConfirmCreate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmCreate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show:true, modal: modalAlert() })\n }\n\n handleSubmit(event) {\n console.log('1');\n event.preventDefault()\n this.setState({ modalOption: null })\n\n if (this.validateForm()) {\n this.onModalQuestion('Confirm','คุณต้องการเพิ่มข้อมูล ?')\n }\n }\n\n onConfirm () {\n this.setState({ modal: null })\n window.location.href=\"/backoffice/activity/discount_delivery/list\"\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (!fields[\"total_amount_product_au\"]) {\n formIsValid = false;\n errors[\"total_amount_product_au\"] = \"*กรุณากรอกราคาที่ซื้อขั้นต่ำ\";\n }\n\n if (!fields[\"distance_min_delivery_free\"]) {\n formIsValid = false;\n errors[\"distance_min_delivery_free\"] = \"*กรุณากรอกระยะทางขั้นต่ำ\";\n }\n\n if (!fields[\"distance_max_delivery_free\"]) {\n formIsValid = false;\n errors[\"distance_max_delivery_free\"] = \"*กรุณากรอกระยะทางสูงสุด\";\n } \n\n if (fields[\"discount_delivery_time_start\"] == undefined) {\n formIsValid = false;\n errors[\"discount_delivery_time_start\"] = \"*กรุณาระบุวันที่เริ่มต้น\";\n }\n\n if (fields[\"discount_delivery_time_end\"] == undefined) {\n formIsValid = false;\n errors[\"discount_delivery_time_end\"] = \"กรุณาระบุวันที่สิ้นสุด\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmCreate(ev) {\n this.setState({ modal: null })\n let inputBody = {\n total_amount_product_au: this.state.fields[\"total_amount_product_au\"],\n distance_min_delivery_free: this.state.fields[\"distance_min_delivery_free\"],\n distance_max_delivery_free: this.state.fields[\"distance_max_delivery_free\"],\n status_delivery_cost_free: this.state.fields[\"status_delivery_cost_free\"],\n discount_delivery_cost: this.state.fields[\"discount_delivery_cost\"],\n discount_delivery_time_start: moment(this.state.fields[\"discount_delivery_time_start\"]).format('Y-MM-DD HH:mm:ss'),\n discount_delivery_time_end: moment(this.state.fields[\"discount_delivery_time_end\"]).format('Y-MM-DD HH:mm:ss'),\n }\n activityAction.DiscountDeliveryCreate(inputBody).then(e => {\n if(e.isSuccess === true) {\n this.onModalSuccess('Success', e.message)\n } else {\n this.onModalError('Error', e.message)\n }\n })\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n render() {\n\n return (\n
\n
\n
\n

เพิ่มข้อมูลกิจกรรม Discount Delivery

\n
\n
\n
\n \n
this.handleSubmit(e)}>\n \n
\n \n
\n \n
{this.state.errors.total_amount_product_au}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.distance_min_delivery_free}
\n
\n\n \n
\n \n
{this.state.errors.distance_max_delivery_free}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n \n
\n \n
\n \n
{this.state.errors.discount_delivery_time_start}
\n
\n\n \n
\n \n
{this.state.errors.discount_delivery_time_end}
\n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from \"react\";\nimport { activityAction, rewardAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport Select from 'react-select';\nconst moment = require('moment-timezone');\n\nlet modalAlert;\n\nexport class DiscountDelivery_Edit extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n show: false,\n modal: null,\n modalOption: {},\n fields: {},\n errors: {},\n rewards: [],\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmUpdate = this.onConfirmUpdate.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n async componentDidMount() {\n const {\n match: { params }\n } = this.props;\n this.DiscountDeliveryGet(params.discount_delivery_id);\n }\n\n DiscountDeliveryGet(discount_delivery_id) {\n activityAction.DiscountDeliveryGet(discount_delivery_id).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n fields: {\n ...this.state.fields,\n discount_delivery_id: e.data.discount_delivery_id,\n total_amount_product_au: e.data.total_amount_product_au,\n distance_min_delivery_free: e.data.distance_min_delivery_free,\n distance_max_delivery_free: e.data.distance_max_delivery_free,\n status_delivery_cost_free: e.data.status_delivery_cost_free,\n discount_delivery_cost: e.data.discount_delivery_cost,\n discount_delivery_time_start: moment(e.data.discount_delivery_time_start).format('YYYY-MM-DDTHH:mm'), \n discount_delivery_time_end: moment(e.data.discount_delivery_time_end).format('YYYY-MM-DDTHH:mm') \n }\n })\n } else {\n this.onModalError(\"Error\", \"ไม่พบข้อมูลดังกล่าว\");\n }\n });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalWarning(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalQuestion(head, body) {\n modalAlert = () => (\n this.onConfirmUpdate()}\n onCancel={() => this.onCancel()}\n >\n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n this.setState({ modalOption: null });\n\n if (this.validateForm()) {\n this.onModalQuestion(\"Confirm\", \"คุณต้องการแก้ไขข้อมูล ?\");\n }\n }\n\n onConfirm() {\n this.setState({ modal: null });\n window.location.href = \"/backoffice/activity/discount_delivery/list\";\n }\n\n validateForm() {\n let fields = this.state.fields;\n let errors = {};\n let formIsValid = true; \n\n if (fields[\"total_amount_product_au\"] == undefined) {\n formIsValid = false;\n errors[\"total_amount_product_au\"] = \"*กรุณากรอกราคาที่ซื้อขั้นต่ำ\";\n }\n\n if (fields[\"distance_min_delivery_free\"] == undefined) {\n formIsValid = false;\n errors[\"distance_min_delivery_free\"] = \"*กรุณากรอกระยะทางขั้นต่ำ\";\n }\n\n if (fields[\"distance_max_delivery_free\"] == undefined) {\n formIsValid = false;\n errors[\"distance_max_delivery_free\"] = \"*กรุณากรอกระยะทางสูงสุด\";\n }\n\n if (fields[\"discount_delivery_time_start\"] == undefined) {\n formIsValid = false;\n errors[\"discount_delivery_time_start\"] = \"*กรุณาระบุวันที่เริ่มต้น\";\n }\n\n if (fields[\"discount_delivery_time_end\"] == undefined) {\n formIsValid = false;\n errors[\"discount_delivery_time_end\"] = \"กรุณาระบุวันที่สิ้นสุด\";\n }\n\n this.setState({\n errors: errors\n });\n return formIsValid;\n }\n\n onConfirmUpdate(ev) {\n this.setState({ modal: null });\n\n let inputBody = {\n total_amount_product_au: this.state.fields[\"total_amount_product_au\"],\n distance_min_delivery_free: this.state.fields[\"distance_min_delivery_free\"],\n distance_max_delivery_free: this.state.fields[\"distance_max_delivery_free\"],\n status_delivery_cost_free: this.state.fields[\"status_delivery_cost_free\"],\n discount_delivery_cost: this.state.fields[\"discount_delivery_cost\"],\n discount_delivery_time_start: moment(this.state.fields[\"discount_delivery_time_start\"]).format('Y-MM-DD HH:mm:ss'),\n discount_delivery_time_end: moment(this.state.fields[\"discount_delivery_time_end\"]).format('Y-MM-DD HH:mm:ss'),\n }\n\n activityAction.DiscountDeliveryUpdate(inputBody, this.state.fields[\"discount_delivery_id\"])\n .then(e => {\n if (e.isSuccess === true) {\n this.onModalSuccess(\"Success\", e.message);\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n handleChange = e => {\n console.log('value: ', e.target.value);\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n\n handleInputChange = e => {\n let fields = this.state.fields\n let name = e.target.name;\n fields[name] = e.target.checked == true ? 1 : 0\n this.setState({ fields })\n }\n\n\n render() {\n return (\n
\n
\n
\n

แก้ไขกิจกรรม Discount Delivery

\n
\n
\n
\n \n
this.handleSubmit(e)}>\n
\n \n
\n \n
{this.state.errors.total_amount_product_au}
\n
\n
\n\n
\n \n
\n \n
{this.state.errors.distance_min_delivery_free}
\n
\n\n \n
\n \n
{this.state.errors.distance_max_delivery_free}
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
{this.state.errors.discount_delivery_time_start}
\n
\n\n \n
\n \n
{this.state.errors.discount_delivery_time_end}
\n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n {this.state.modal}\n
\n );\n }\n}\n","import React from 'react';\nimport $ from \"jquery\";\nimport { activityAction } from \"../../../../_actions\";\nimport { Base_API } from \"../../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../../activity.css\";\nimport { NavLink } from \"react-router-dom\";\nimport moment from \"moment-timezone\"\n\nvar urlAU = \"\"\nconst urlPath = window.location.hostname\nif (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") {\n // urlAU = \"/afteryou\" \n}\n\n$.DataTable = require(\"datatables.net\");\nlet modalAlert;\n\nexport class DiscountDelivery_List extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n activity_id: \"1\",\n fields: {}\n };\n }\n\n componentDidMount() {\n const columns = [\n {\n title: \"ราคาที่ซื้อขั้นต่ำ\",\n class: \"text-center\",\n data: \"total_amount_product_au\"\n },\n {\n title: \"ระยะทางขั้นต่ำ\",\n class: \"text-center\",\n data: \"distance_min_delivery_free\"\n },\n {\n title: \"ระยะทางสูงสุด\",\n class: \"text-center\",\n data: \"distance_max_delivery_free\"\n },\n {\n title: \"สถานะส่งฟรี\",\n class: \"text-center\",\n data: \"status_delivery_cost_free\"\n },\n {\n title: \"ส่วนลดค่าส่ง\",\n class: \"text-center\",\n data: \"discount_delivery_cost\"\n },\n {\n title: \"วันเวลาเริ่มต้น\",\n class: \"text-center\",\n data: \"discount_delivery_time_start\"\n },\n {\n title: \"วันเวลาสิ้นสุด\",\n class: \"text-center\",\n data: \"discount_delivery_time_end\"\n },\n {\n title: \"จัดการ\",\n class: \"text-center\",\n data: \"discount_delivery_id\"\n }\n ];\n let table = $(this.refs.main).DataTable({\n columnDefs: [ \n {\n targets: 3,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n ${cellData===1 ? \"\" : \"\"}\n
\n `);\n\n },\n orderable: false\n },\n {\n targets: 5,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(!!cellData ? moment(cellData).format('DD-MM-Y HH:mm') : '-')\n },\n orderable: false\n },\n {\n targets: 6,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(!!cellData ? moment(cellData).format('DD-MM-Y HH:mm') : '-')\n },\n orderable: false\n },\n {\n targets: 7,\n createdCell: function(td, cellData, rowData, row, col) {\n $(td)\n .html(`\n
\n
\n \n \n \n\n
\n แก้ไข\n \n
\n
\n
\n `);\n },\n orderable: false\n }\n ],\n ajax: {\n url: `${Base_API.order_online}/api/DiscountDelivery/list`,\n type: \"GET\",\n dataType: \"JSON\",\n data: data => {\n return data;\n }\n },\n order: [[0, \"ASC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n \"language\": {\n processing: 'Loading..n. '\n },\n });\n\n var state = this;\n\n $(this.refs.main).on(\"click\", 'button[name=\"delete_btn\"]', function() {\n var id = $(this).data(\"content\");\n modalAlert = () => (\n onConfirmDelete(id)}\n onCancel={() => onConfirm()}\n >\n คุณต้องการลบข้อมูลนี้หรือไม่ ?\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n });\n\n function onConfirmDelete(id) {\n activityAction.DiscountDeliveryDelete(id).then(e => {\n if (e.isSuccess === false) {\n onModalError(\"Error\", e.message);\n } else {\n onModalSuccess(\"Success\", e.message);\n table.ajax.reload();\n }\n });\n }\n\n function onConfirm(ev) {\n state.setState({ modal: null });\n }\n\n function onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n function onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n state.setState({ show: true, modal: modalAlert() });\n }\n\n }\n\n handleChange = (e) => {\n let { fields, errors } = this.state;\n fields[e.target.name] = e.target.value;\n this.state.errors[e.target.name] = null;\n this.setState({ fields, errors });\n };\n\n handleSelectChange = (e, action) => {\n let { fields, errors } = this.state;\n fields[action.name] = e.value;\n this.state.errors[action.name] = null;\n this.setState({ fields, errors });\n };\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n onModalSuccess(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n render() {\n return (\n
\n
\n
\n

ข้อมูลกิจกรรม Discount Delivery

\n
\n \n \n เพิ่มรายการ\n \n \n\n {/* \n \n */}\n
\n
\n
\n
\n \n \n {this.state.modal}\n \n );\n }\n}\n","import React, {useState, useEffect} from 'react'\nimport LoadingGif from '../../assets/images/icons/loading.gif'\nimport {Base_API} from '../../_constants/matcher'\nimport {orderAction} from '../../_actions/order.action'\nimport './edtpmchsts.style.css'\nimport SweetAlert from \"react-bootstrap-sweetalert\";\n\nfunction Edit_PaymentChannel_Status() {\n\n const [data, setData] = useState(null);\n const [channelList, setChannelList] = useState({\n od_ewallet: false,\n od_credit: false,\n od_cod: false,\n topup_pos: false,\n topup_credit: false,\n topup_payplus: false\n });\n const [modal, setModal] = useState(null);\n const [show, setShow] = useState(false);\n\n useEffect(() => {\n dataInit();\n }, [])\n\n const dataInit = async() => {\n let channelList = await paymentChannelStatusInit();\n await checkboxInit(channelList);\n }\n\n const paymentChannelStatusInit = () => {\n return new Promise(async resolve => {\n orderAction.getPaymentChannelStatus()\n .then(res => {\n if(res.isSuccess === true)\n {\n setData(res.data);\n resolve(res.data);\n }\n })\n })\n }\n \n const checkboxInit = (data) => {\n return new Promise(async resolve => {\n console.log('data', data);\n setChannelList({\n ...channelList,\n od_ewallet: data.order_ewallet_status,\n od_credit: data.order_credit_status,\n od_cod: data.order_cod_status,\n topup_pos: data.topup_pos_status,\n topup_credit: data.topup_credit_status,\n topup_payplus: data.topup_payplus_status\n })\n document.getElementById('od-ewallet').checked = data.order_ewallet_status;\n document.getElementById('od-credit').checked = data.order_credit_status;\n document.getElementById('od-cod').checked = data.order_cod_status;\n document.getElementById('topup-pos').checked = data.topup_pos_status;\n document.getElementById('topup-credit').checked = data.topup_credit_status;\n document.getElementById('toppu-pp').checked = data.topup_payplus_status;\n })\n }\n\n const handleChange = e => {\n let checked = e.target.checked;\n let newChannelList = channelList;\n newChannelList[e.target.name] = checked;\n\n orderAction.updatePaymentChannelStatus(newChannelList) \n .then(res => {\n console.log(res);\n if(res.isSuccess === true)\n {\n onModalSuccess('Success', 'อััพเดตสถานะสำเร็จ');\n }\n })\n }\n\n const onModalSuccess = (head, body) => {\n let modalAlert = () => (\n \n {body}\n \n );\n \n setShow(true);\n setModal(modalAlert());\n }\n\n const onConfirm = () => {\n setModal(null);\n }\n\n\n return (\n
\n {/* header text */}\n

ออเดอร์

\n {/* switch lists */}\n
\n

E-Wallet

\n \n
\n
\n

Credit/Debit

\n \n
\n
\n

Cash on Delivery (COD)

\n \n
\n\n {/* header text */}\n

เติมเงิน E-Wallet

\n {/* switch lists */}\n
\n

POS

\n \n
\n
\n

Credit/Debit

\n \n
\n
\n

Pay Plus

\n \n
\n {modal}\n
\n )\n}\n\nexport default Edit_PaymentChannel_Status","import React from \"react\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\n\nimport { Redirect } from 'react-router'\nimport \"./login.css\";\nimport { adminAction } from \"../../_actions\";\n\nlet modalAlert;\n\nclass LoginPage extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n username: \"\",\n password: \"\",\n submitted: false\n };\n this.handleChange = this.handleChange.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n }\n\n componentDidMount() {\n document.body.style.backgroundColor = \"#000000\";\n document.body.style.backgroundImage = `linear-gradient(rgba(0,0,0), rgba(0,0,0,.5)),url(${process.env.PUBLIC_URL}/images/afteryou_bg.png)`;\n document.body.style.backgroundRepeat = 'no-repeat';\n document.body.style.backgroundSize = '100%';\n document.body.style.backgroundPosition = 'center';\n\n }\n\n handleChange(e) {\n const { name, value } = e.target;\n this.setState({ [name]: value });\n \n }\n\n handleSubmit(e) {\n console.log(e);\n e.preventDefault();\n this.setState({ submitted: true });\n this.handleLogin(this.state.username,this.state.password)\n }\n\n handleLogin(username,password) {\n let inputData = {\n ad_username : username,\n ad_password : password\n }\n \n adminAction.checkLogin(inputData).then(e => { \n\n if (e.isSuccess === true && e.data[0].is_active === 1) {\n localStorage.setItem(\"admin_id\", e.data[0].ad_id)\n localStorage.setItem(\"user\", username)\n localStorage.setItem(\"level\", e.data[0].ad_level)\n localStorage.setItem(\"ad_b_status\", e.data[0].ad_b_status)\n localStorage.setItem(\"ad_b_id\", e.data[0].ad_b_id)\n localStorage.setItem(\"login\", \"true\")\n window.location.href = \"/backoffice/homepage\";\n\n } else {\n this.onModalError(\"Error\", e.message);\n }\n });\n\n\n // if (this.state.username === \"admin\" && this.state.password === \"nilecon-after\") {\n // localStorage.setItem(\"username\", \"admin\")\n // localStorage.setItem(\"login\", \"true\")\n // window.location.href = \"homepage\";\n // } else {\n // return false\n // }\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n render() {\n const loginStatus = localStorage.getItem('login');\n const { username, password, submitted } = this.state;\n if (loginStatus === true) { return }\n\n return (\n
\n
\n\n
\n
\n
\n
\n
\n \"\"\n\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n เข้าสู่ระบบ{\" \"}\n \n \n
\n
\n \n {this.state.modal}\n\n
\n );\n }\n}\n\nexport default LoginPage;\n","import React from 'react'\nexport default () => (\n
\n
\n

404

\n
Oops, an error has occurred. Page not found!
\n
\n\n
\n
\n
\n
\n \n\n
\n \n
\n
\n\n \n \n
\n
\n
\n)\n","import { Base_API } from \"../_constants/matcher\";\nimport axios from \"axios\";\n\nexport const activitiesAction = {\n listEventsTypeActivities,\n};\n\nfunction listEventsTypeActivities() {\n return axios.get(`${Base_API.backoffice}/api/activity_log/events`).then(res => {\n return res.data;\n });\n} ","import React from 'react'\nimport './style.css'\nimport $ from 'jquery'\n\nexport const OverlayEvents_Switch = status => {\n if(status)\n {\n $('.evlevents-con')\n .css(\"display\", \"flex\")\n .hide()\n .fadeIn();\n }else\n {\n $('.evlevents-con').fadeOut();\n } \n}\n\nfunction OverlayEvents({ data = [] }) {\n return (\n
\n
\n
\n \n
\n
\n
\n \n \n \n \n \n \n \n \n {data.map((item, i) =>\n \n \n \n \n \n )}\n \n
#ประเภทคำขยายความ
{i + 1}{item.event_type}{item.event_desc}
\n
\n
\n
\n )\n}\n\nexport default OverlayEvents","import React from \"react\";\nimport $ from \"jquery\";\nimport { Base_API } from \"../../../_constants/matcher\";\nimport SweetAlert from \"react-bootstrap-sweetalert\";\nimport \"../activities.css\";\nimport { activitiesAction } from \"../../../_actions/activities.action\";\nimport { Tooltip } from 'primereact/tooltip';\nimport OverlayEvents, { OverlayEvents_Switch } from \"./overlayEvents\";\nimport OverlayLoading, { _OverlayLoadingSwitch } from \"../../../Components/OverlayLoading\";\nimport 'jquery-ui/ui/widgets/datepicker'; // Import jQuery UI datepicker\nimport 'jquery-ui/themes/base/datepicker.css'; // Optional: import datepicker CSS\nimport 'jquery-ui/ui/i18n/datepicker-th'; // Import Thai locale\nimport { BackofficeAction } from \"../../../_actions\";\n\n// Set the default regional settings to Thai\n$.datepicker.setDefaults($.datepicker.regional['th']);\n$.DataTable = require(\"datatables.net\");\n\nlet modalAlert;\n\nexport class Activities_Log extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.openModalHandler = this.openModalHandler.bind(this);\n this.closeModalHandler = this.closeModalHandler.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n this.state = {\n show: false,\n modal: null,\n isModal: false,\n eventsTypeList: [],\n filterGroup: {\n textSearch: '',\n date_start: '',\n date_end: ''\n }\n };\n }\n\n // Lifecycle Methods\n componentDidMount() {\n this.pageInit();\n this.initializeDataTable();\n this.initializeDatepickers();\n }\n\n // Data Handling\n async pageInit() {\n await this.initEventsTypeActivityLog();\n _OverlayLoadingSwitch(false);\n }\n\n async initEventsTypeActivityLog() {\n return new Promise(async resolve => {\n let { eventsTypeList } = this.state;\n let eventsRes = await activitiesAction.listEventsTypeActivities();\n if (eventsRes.isSuccess) {\n eventsTypeList = eventsRes.data;\n }\n this.setState({ eventsTypeList: eventsTypeList });\n console.log('eventsRes: ', eventsRes);\n resolve();\n });\n }\n\n exportExcelActivitiesLogByFilter = async () => {\n const { filterGroup } = this.state;\n let payload = {\n date_start: filterGroup.date_start,\n date_end: filterGroup.date_end,\n search: { value: filterGroup.textSearch, regex: 'false' },\n }\n _OverlayLoadingSwitch(true);\n await BackofficeAction.exportExcelActivitiesLog(payload)\n .then(res => {\n if (res.status) {\n let downloadUrl = res.data;\n this.downloadFileByURL(downloadUrl);\n } else {\n this.onModalError('ไม่สำเร็จ', res.msg)\n }\n _OverlayLoadingSwitch(false);\n });\n console.log('Export parameters:', filterGroup);\n }\n\n downloadFileByURL(downloadUrl) {\n // Create a temporary element to trigger download\n const link = document.createElement('a');\n link.href = downloadUrl;\n link.download = 'activities_log.xlsx'; // Set the desired file name\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n\n // DOM Manipulation\n initializeDataTable() {\n const columns = [\n {\n title: \"ลำดับ\",\n class: \"text-center\",\n data: \"id\"\n },\n {\n title: \"ผู้ใช้งาน\",\n class: \"text-center\",\n data: \"mem_phone\"\n },\n {\n title: \"อีเว้นท์\",\n class: \"text-center\",\n data: \"event_type\"\n },\n {\n title: \"คำขยายความ\",\n class: \"text-center\",\n data: \"event_desc\"\n },\n {\n title: \"วันที่บันทึก\",\n class: \"text-center\",\n data: \"created_at\"\n }\n ];\n\n this.table = $(this.refs.main).DataTable({\n columnDefs: [\n {\n targets: 0,\n createdCell: function (td, cellData, rowData, row, col) {\n $(td).html(row + 1);\n },\n orderable: false\n }\n ],\n ajax: {\n url: this.getDataTableUrl(),\n type: \"GET\",\n dataType: \"JSON\",\n data: data => data\n },\n order: [[4, \"DESC\"]],\n columns,\n serverSide: true,\n ordering: true,\n searching: true,\n processing: true,\n bLengthChange: false,\n language: {\n processing: 'Loading..n. '\n },\n initComplete: () => {\n // Attach event listener to DataTable's default search input\n let inputSearch = '#dataTable_filter input[type=\"search\"]'\n $(inputSearch).on('input', () => {\n const searchValue = $(inputSearch).val();\n // Update state or perform any additional actions based on search value\n this.setState(prevState => ({\n filterGroup: {\n ...prevState.filterGroup,\n textSearch: searchValue\n }\n }), () => {\n // Update the DataTable URL and reload with new filters\n this.table.ajax.url(this.getDataTableUrl()).load();\n });\n });\n }\n });\n\n // Re-initialize datepickers to ensure they are visible\n setTimeout(() => this.initializeDatepickers(), 100);\n }\n\n initializeDatepickers() {\n // Check if the datepickers are already initialized\n if (!$(\"#date_start\").hasClass(\"hasDatepicker\")) {\n // Append datepickers and clear filter button to DataTable filter\n const dateFilterHtml = `\n \n \n `;\n const clearFilterBtn = `\n \n `;\n \n $('#dataTable_filter').prepend(dateFilterHtml);\n $('#dataTable_filter').append(clearFilterBtn);\n \n $(\"#date_start\").datepicker({\n dateFormat: \"yy-mm-dd\",\n onSelect: (dateText) => this.handleDateChange('date_start', dateText + ' 00:00:00'),\n changeMonth: true,\n changeYear: true,\n });\n \n $(\"#date_end\").datepicker({\n dateFormat: \"yy-mm-dd\",\n onSelect: (dateText) => this.handleDateChange('date_end', dateText + ' 23:59:59'),\n changeMonth: true,\n changeYear: true,\n });\n \n // Event handler for the clear filter button\n $('.clearfilter-btn').click(() => {\n this.clearFilterHandler();\n });\n }\n }\n\n clearFilterHandler() {\n // Clear datepickers\n $(\"#date_start\").datepicker('setDate', null);\n $(\"#date_end\").datepicker('setDate', null);\n \n // Clear the DataTable's internal search and redraw the table\n const dataTable = $('#dataTable').DataTable();\n dataTable.search('').draw();\n \n // Clear date filters in state\n this.setState(prevState => ({\n filterGroup: {\n ...prevState.filterGroup,\n date_start: '',\n date_end: '',\n textSearch: ''\n }\n }), () => {\n // Reload DataTable with cleared filters\n this.table.ajax.url(this.getDataTableUrl()).load();\n });\n\n }\n\n handleDateChange = (field, dateText) => {\n this.setState(prevState => ({\n filterGroup: {\n ...prevState.filterGroup,\n [field]: dateText\n }\n }), () => {\n // Update the DataTable URL and reload with new filters\n this.table.ajax.url(this.getDataTableUrl()).load();\n });\n }\n\n // Event Handlers\n openModalHandler() {\n this.setState({\n isModal: true\n });\n }\n\n onModalError(head, body) {\n modalAlert = () => (\n \n {body}\n \n );\n\n this.setState({ show: true, modal: modalAlert() });\n }\n\n onCancel(ev) {\n this.setState({ modal: null });\n }\n\n closeModalHandler = () => {\n this.setState({\n isModal: false\n });\n }\n\n // Helper Methods\n getDataTableUrl() {\n const { filterGroup } = this.state;\n return `${Base_API.backoffice}/api/activity_log?date_start=${encodeURIComponent(filterGroup.date_start)}&date_end=${encodeURIComponent(filterGroup.date_end)}`;\n }\n\n render() {\n let { eventsTypeList } = this.state;\n return (\n
\n
\n
\n
\n

รายการบันทึกเข้าใช้งาน

\n
\n \n
\n \n
\n \n
\n
\n \n \n \n {this.state.modal}\n \n \n \n );\n }\n}\n\nexport default Activities_Log;\n","import React from 'react'\nimport { Switch, Route } from 'react-router-dom'\nimport { PrivateRoute } from '../_components'\n\nimport Home from '../pages/Home'\nimport { Banner_List,Banner_Edit } from '../pages/General'\nimport { BannerPromotion_List, BannerPromotion_Create, BannerPromotion_Edit } from '../pages/General'\nimport { Contact_List,Contact_Create,Contact_Edit } from '../pages/General/Contact'\n\nimport { PreOrder_List,PreOrder_Info,PreOrder_Edit } from '../pages/Preorder/PreorderOrder'\nimport { PreOrder_Receive_List,PreOrder_Receive_Info,PreOrder_Receive_Edit } from '../pages/Preorder/PreorderReceiveOrder'\nimport { Takehome_List,Takehome_Info,Takehome_Edit } from '../pages/Preorder/TakehomeOrder'\nimport { Category_Create, Category_Edit, Category_List,Category_Edit_Show } from '../pages/Preorder/PreorderCategory'\nimport { Product_Create, Product_Edit, Product_List } from '../pages/Preorder/PreorderProduct'\nimport { Product_Branch_List, Product_Branch_Edit } from '../pages/Preorder/PreorderProductBranch'\nimport { Queue_List } from '../pages/Preorder/PreorderQueue'\nimport { Branch_Create,Branch_List,Branch_Edit } from '../pages/Preorder/PreorderBranch'\n\nimport { Order_Online_List,Order_Online_Info,Order_Online_Edit } from '../pages/OrderOnline/OrderOnlineOrder'\nimport { Order_Online_Category_Create, Order_Online_Category_Edit, Order_Online_Category_List,Order_Online_Category_Edit_Show } from '../pages/OrderOnline/OrderOnlineCategory'\nimport { Order_Online_Recive_List,Order_Online_Recive_Info,Order_Online_Recive_Edit } from '../pages/OrderOnline/OrderOnlineReciveOrder'\nimport { Order_Online_Branch_Create,Order_Online_Branch_List,Order_Online_Branch_Edit } from '../pages/OrderOnline/OrderOnlineBranch'\nimport { Order_Online_Timelogs_List,Order_Online_Timelogs_Create,Order_Online_Timelogs_Edit,Order_Online_Timelogs_Info } from '../pages/OrderOnline/OrderOnlineTimelogs'\nimport { Product_Online_List,Product_Online_Create,Product_Online_Edit, Product_Online_ImportExcel } from '../pages/OrderOnline/OrderOnlineProduct'\nimport { Product_Online_Branch_List, Product_Online_Branch_Edit, Product_Online_Branch_Edit_By_Code } from '../pages/OrderOnline/ProductOnlineBranch'\nimport { Product_AddOn_List, Product_AddOn_Create, Product_AddOn_Edit } from '../pages/OrderOnline/ProductOnlineAddOn'\nimport { Promotion_List, Create_Promotion, Edit_Promotion } from '../pages/OrderOnline/Promotion'\n\nimport { Point_Earn_List } from '../pages/Point/PointEarn'\nimport { Point_Burn_List, Point_Burn_Info } from '../pages/Point/PointBurn'\nimport { Point_Manage } from '../pages/Point/PointManage'\nimport { Reward_Burn_List,Reward_Burn_Info } from '../pages/Rewards/RewardBurn'\nimport { Reward_List, Reward_Create, Reward_Edit } from '../pages/Rewards/RewardList'\nimport { Reward_Staff, Reward_Staff_List, Reward_Staff_Edit } from '../pages/Rewards/RewardStaff'\n\nimport { Reward_Category, Reward_Category_Create, Reward_Category_Edit } from '../pages/Rewards/RewardCategory'\nimport { Redeem_List, Redeem_Create, Redeem_Edit } from '../pages/Rewards/RedeemList'\nimport { Redeem_Category, Redeem_Category_Create, Redeem_Category_Edit } from '../pages/Rewards/RedeemCategory'\nimport { News_Create,News_List, News_Edit,News_Delete } from '../pages/News/News'\nimport { NewsPromotionBanner } from '../pages/News/Promotion/Banner'\nimport { NewsPromotionBanner_Edit } from '../pages/News/Promotion/Banner/Edit'\nimport { NewsPromotionB_Create } from '../pages/News/Promotion/Banner/Create'\nimport { NewsPromotion_Create,NewsPromotion_List,NewsPromotion_Edit } from '../pages/News/Promotion'\nimport { Member_Create,Member_List,Member_Edit,Member_Point } from '../pages/Member'\nimport { Admin_Create,Admin_List,Admin_Edit,Admin_EditPassword } from '../pages/Admin/Admin'\nimport { Level_List,Level_Create,Level_Edit } from '../pages/Admin/Level'\nimport { List_Problem } from '../pages/Problem/ProblemSystem'\nimport { List_Problem_Ewallet } from '../pages/Ewallet/ProblemEwallet'\nimport { List_Problem_Ewallet_Title,Create_Problem_Ewallet_Title,Edit_Problem_Ewallet_Title } from '../pages/Ewallet/ProblemEwalletTitle'\nimport { Overview_Ewallet,Detail_Ewallet } from '../pages/Ewallet/Account/Overview'\nimport { Withdraw_Ewallet,WithdrawFund_Ewallet } from '../pages/Ewallet/Account/Withdraw'\nimport { History_Ewallet } from '../pages/Ewallet/Account/History'\n// import { Transaction_Recent,Transaction_Search,Transaction_Void,Transaction_Refund } from '../pages/Ewallet/Transaction'\nimport { Transaction_List} from '../pages/Ewallet/Transaction'\nimport { Topup_Create } from '../pages/Ewallet/Topup'\nimport { Refund_Create } from '../pages/Ewallet/Refund'\nimport { Report_Daily_Settlement_Ewallet,Report_Daily_Refund_Ewallet,Report_Monthly_Settlement_Ewallet,Report_Monthly_Refund_Ewallet } from '../pages/Ewallet/Report'\nimport { List_Payment, Promotion_Payment_List, Edit_Promotion_Payment, Create_Promotion_Payment } from '../pages/Payment'\n\nimport { Staff_List, Staff_Create, Staff_Edit } from '../pages/Staff'\nimport { Ewallet_Staff_Edit } from '../pages/Staff/EwalletStaff'\n\nimport { Activity_All, Activity_Edit} from '../pages/Activity'\nimport { Flashsale_Time_List, Flashsale_Time_Create, Flashsale_Time_Edit } from '../pages/Activity'\nimport { Flashsale_Product_List } from '../pages/Activity'\nimport { FriendGetFriend_List, FriendGetFriend_Create, FriendGetFriend_Edit } from '../pages/Activity'\n\nimport { DiscountDelivery_List, DiscountDelivery_Create, DiscountDelivery_Edit } from '../pages/Activity'\n\nimport Edit_Payment_Channel_Status from '../pages/PaymentChannelStatus/edit'\n\nimport LoginPage from '../pages/LoginPage';\nimport NotFoundPages from '../pages/404'\nimport { Activities_Log } from '../pages/ActivitiesLog'\n\nconst chLogin = (localStorage.getItem('login') === null ? LoginPage : Home);\nconst urlPath = window.location.hostname\nvar urlAU = \"\"\n\nexport default () => (\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n\n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n {/* Promotion Banner */}\n \n \n \n\n \n \n \n \n \n \n \n\n \n\n \n \n \n \n\n \n \n \n \n\n {/* \n \n \n */}\n \n\n {/* */}\n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n\n \n\n \n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n\n \n \n \n \n \n\n \n\n \n \n)\n","import React, { Component } from \"react\";\nimport Routing from \"../../routes\";\nimport \"./login.css\"\n\nexport class LoginLayout extends Component {\n render() {\n return (\n
\n {/*
\n
\n \"\"\n\n \n
\n
*/}\n\n
\n
\n
\n \n
\n
\n
\n
\n );\n }\n}\n","import React, { Component } from \"react\";\nimport { NavLink } from \"react-router-dom\";\nimport { adminAction } from \"../../_actions\";\n\nimport \"./sidebar.css\";\n\nexport class Sidebar extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.handleActive = this.handleActive.bind(this);\n\n this.state = {\n active: 'Homepage',\n // active: '',\n subactive: '',\n level_admin: 0\n };\n\n }\n\n componentDidMount() {\n var level = localStorage.getItem('level')\n this.getLevelAdmin(level);\n }\n\n getLevelAdmin(level) {\n adminAction.getLevelById(level).then(e => {\n if (e.isSuccess === true) {\n this.setState({\n level_admin: e.data.level_id,\n menu_general : e.data.menu_general,\n menu_promotion : e.data.menu_promotion,\n\n menu_branch : e.data.menu_branch,\n menu_branch_queue : e.data.menu_branch_queue,\n menu_branch_detail : e.data.menu_branch_detail,\n\n menu_preorder : e.data.menu_preorder,\n menu_preorder_sub_order_eatin : e.data.menu_preorder_sub_order_eatin,\n menu_preorder_sub_order_takehome : e.data.menu_preorder_sub_order_takehome,\n menu_preorder_sub_product_preorder : e.data.menu_preorder_sub_product_preorder,\n menu_preorder_sub_product_by_branch : e.data.menu_preorder_sub_product_by_branch,\n menu_preorder_sub_product_preorder_category : e.data.menu_preorder_sub_product_preorder_category,\n\n menu_order_online : e.data.menu_order_online,\n menu_order_online_sub_order : e.data.menu_order_online_sub_order,\n menu_order_online_sub_receive_order : e.data.menu_order_online_sub_receive_order,\n menu_order_online_sub_product_by_branch : e.data.menu_order_online_sub_product_by_branch,\n menu_order_online_sub_product_online : e.data.menu_order_online_sub_product_online,\n menu_order_online_sub_product_online_category : e.data.menu_order_online_sub_product_online_category,\n\n menu_product_online : e.data.menu_product_online,\n menu_product_online_recommend : e.data.menu_product_online_recommend,\n menu_product_online_sub_product_online : e.data.menu_product_online_sub_product_online,\n menu_product_online_sub_product_addon : e.data.menu_product_online_sub_product_addon,\n menu_product_online_sub_product_by_branch : e.data.menu_product_online_sub_product_by_branch,\n menu_product_online_sub_product_online_category : e.data.menu_product_online_sub_product_online_category,\n\n menu_manage_promotion : e.data.menu_manage_promotion,\n menu_product_online_promotion : e.data.menu_product_online_promotion,\n menu_manage_promotion_sub_payment : e.data.menu_manage_promotion_sub_payment,\n \n menu_rewards : e.data.menu_rewards,\n menu_rewards_category: e.data.menu_rewards_category,\n menu_rewards_items: e.data.menu_rewards_items,\n menu_rewards_staff: e.data.menu_rewards_staff,\n menu_rewards_history: e.data.menu_rewards_history,\n\n menu_news : e.data.menu_news,\n\n menu_member : e.data.menu_member,\n menu_member_list: e.data.menu_member_list,\n menu_staffs: e.data.menu_staffs,\n\n menu_point_log : e.data.menu_point_log,\n menu_point_earn : e.data.menu_point_earn,\n menu_point_burn : e.data.menu_point_burn,\n\n menu_ewallet : e.data.menu_ewallet,\n menu_ewallet_account : e.data.menu_ewallet_account,\n menu_ewallet_transaction : e.data.menu_ewallet_transaction,\n menu_ewallet_report : e.data.menu_ewallet_report,\n\n menu_activity : e.data.menu_activity,\n\n menu_admin : e.data.menu_admin,\n menu_admin_list: e.data.menu_admin_list,\n menu_permission: e.data.menu_permission,\n\n activities_log: e.data.activities_log,\n\n menu_problem : e.data.menu_problem,\n menu_problem_title : e.data.menu_problem_title,\n menu_problem_list : e.data.menu_problem_list\n })\n \n }\n });\n }\n \n\n handleActive(menuItem,e) {\n this.setState({ active: '' });\n this.setState({ subactive: '' });\n this.setState({ active: menuItem });\n }\n\n handleActiveSubmenu(menuItem) {\n this.setState({ subactive: '' });\n this.setState({ subactive: menuItem });\n }\n\n\n render() {\n\n const activeStyle = 'active'\n const displaySubItem = { display: 'block' };\n const hideSubItem = { display: 'none' };\n let {level_admin} = this.state;\n\n const urlPath = window.location.hostname\n var urlAU = \"\"\n if (urlPath === \"https://podsable.com\" || urlPath === \"podsable.com\") {\n // urlAU = \"/afteryou\" \n }\n\n return (\n \n
\n
\n
\n
\n
\n
\n จัดการเมนู\n
\n
\n
\n
\n
\n
\n
    \n\n
  • \n \n \n แดชบอร์ด\n \n
  • \n\n
  • \n\t\t\t\t\t\t\t\t\t\n \n จัดการข้อมูลทั่วไป\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n รายการแบนเนอร์ทั้งหมด\n \n
    • \n
    • \n \n รายการข้อมูลติดต่อเรา\n \n
    • \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
  • \n \n \n จัดการข่าวโปรโมชั่น\n \n
  • \n\n
  • \n \n \n จัดการข่าวโปรโมชั่นแบนเนอร์\n \n
  • \n\n {/*
  • \n \n \n จัดการแบนเนอร์โปรโมชัน\n \n
  • */}\n\n
  • \n\t\t\t\t\t\t\t\t\t\n \n รายการสาขาทั้งหมด\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n รายการคิว (Queues)\n \n
    • \n
    • \n \n ข้อมูลสาขา\n \n
    • \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
  • \n \n \n จัดการรายการสั่งซื้อหน้าร้าน\n \n
      \n
    • \n \n รายการสั่งซื้อหน้าร้าน (Eatin)\n \n
    • \n {/*
    • \n \n รายการสั่งซื้อหน้าร้าน (Takehome)\n \n
    • */}\n {/*
    • \n \n รายการสินค้าพรีออเดอร์\n \n
    • */}\n {/*
    • \n \n รายการสินค้าพรีออเดอร์แต่ละสาขา\n \n
    • */}\n {/*
    • \n \n รายการหมวดหมู่สินค้าพรีออเดอร์\n \n
    • */}\n
    \n
  • \n\n
  • \n \n \n จัดการรายการสั่งซื้อออนไลน์\n \n
      \n
    • \n \n รายการสั่งซื้อออนไลน์\n \n
    • \n
    • \n \n รายการรับสินค้าสั่งซื้อออนไลน์\n \n
    • \n
    \n
  • \n\n
  • \n \n \n จัดการสินค้าออนไลน์\n \n
      \n
    • \n \n รายการสินค้าออนไลน์\n \n
    • \n
    • \n \n รายการสินค้าออนไลน์แต่ละสาขา\n \n
    • \n
    • \n \n รายการหมวดหมู่สินค้าออนไลน์\n \n
    • \n
    • \n \n รายการคุณลักษณะสินค้าออนไลน์\n \n
    • \n {/*
    • \n \n รายการสินค้าแนะนำ\n \n
    • */}\n
    \n
  • \n\n
  • \n \n \n จัดการรายการโปรโมชั่น\n \n
      \n
    • \n \n โปรโมชั่นสินค้า\n \n
    • \n
    • \n \n โปรโมชั่นการชำระเงิน\n \n
    • \n
    \n
  • \n\n
  • \n\t\t\t\t\t\t\t\t\t\n \n รายการรีวอร์ด\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n หมวดหมู่รีวอร์ด\n \n
    • \n
    • \n \n รายการรีวอร์ดทั้งหมด\n \n
    • \n
    • \n \n จัดการรายการรีวอร์ดสำหรับพนักงาน\n \n
    • \n
    • \n \n ประวัติการแลกรีวอร์ด\n \n
    • \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n {!!level_admin && level_admin === 1 ? //จำกัดสิทธิ์\n
  • \n \n \n ช่องทางการชำระเงิน\n \n
  • \n : null\n }\n\n
  • \n \n \n แจ้งเตือนข่าวสารทั่วไป\n \n
  • \n \n
  • \n\t\t\t\t\t\t\t\t\t\n \n สมาชิก\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n รายชื่อข้อมูลสมาชิก\n \n
    • \n
    • \n \n รายชื่อข้อมูลพนักงาน\n \n
    • \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
  • \n\t\t\t\t\t\t\t\t\t\n \n จัดการคะแนน\n \n\t\t\t\t\t\t\t\t\t
      \n {/*
    • \n \n แก้ไขข้อมูลการได้รับคะแนน\n \n
    • */}\n
    • \n \n ประวัติการรับคะแนน\n \n
    • \n\n
    • \n \n ประวัติการแลกคะแนน\n \n
    • \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
  • \n \n \n กิจกรรมพิเศษ\n \n
  • \n \n
  • \n\t\t\t\t\t\t\t\t\t\n \n E-Wallet\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n บัญชี\n \n
    • \n {/*
    • \n \n Transaction\n \n
    • */}\n
    • \n \n Transaction\n \n
    • \n
    • \n \n Report\n \n
    • \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
  • \n\t\t\t\t\t\t\t\t\t\n \n ผู้ดูแลระบบ\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n ผู้ดูแลระบบ\n \n
    • \n
    • \n \n สิทธิ์ผู้ดูแลระบบ\n \n
    • \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
  • \n \n \n บันทึกการเข้าใช้งานแอปพลิเคชั่น\n \n
  • \n\n
  • \n\t\t\t\t\t\t\t\t\t\n \n รายการแจ้งปัญหาการใช้งานระบบ\n \n\t\t\t\t\t\t\t\t\t
      \n
    • \n \n รายการหัวข้อแจ้งปัญหาการใช้งาน\n \n
    • \n\n
    • \n \n รายการแจ้งปัญหาการใช้งาน\n \n
    • \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\n
\n
\n
\n
\n
\n );\n }\n}\n","import React, { Component } from \"react\";\n\nexport class Footer extends Component {\n render() {\n return (\n
\n © 2019 Nilecon (T)Thailand. Ltd. All Rights\n Copyright © 2019 by Nilecon : Develop By Chalisa\n
\n );\n }\n}\n","import React from \"react\";\nimport { Redirect } from \"react-router\";\nimport { NavLink } from \"react-router-dom\";\nimport \"./header.css\";\n\nexport class Header extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n logout: false\n };\n }\n\n componentDidMount() {\n var admin_id = localStorage.getItem('admin_id')\n this.setState({ admin_id: admin_id })\n }\n\n render() {\n const { logout } = this.state;\n if (logout) {\n localStorage.clear();\n window.location.href='/backoffice'\n }\n\n return (\n
\n
\n
\n \"\"\n
\n
    \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
\n
\n\n
\n
    \n
  • \n \n \n \n
  • \n
\n \n
\n
\n );\n }\n}\n","import React, { Component } from \"react\";\nimport Routing from \"../../routes\";\nimport { Sidebar, Footer, Header } from \"../../_pagebuilder\";\n\nexport class NormalLayout extends Component {\n render() {\n return (\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n );\n }\n}\n","import React, { Component } from \"react\";\n\nexport class Subheader extends Component {\n render() {\n var tt = this.props.title\n\n return (\n
\n
\n
\n

{tt}

\n
\n
\n
\n );\n }\n}\n","import React from \"react\";\nimport { withRouter } from 'react-router-dom';\nimport { LoginLayout, NormalLayout } from \"./_layout\";\n\nclass App extends React.Component {\n render() {\n var layoutPage;\n var login = localStorage.getItem(\"login\")\n if (login === 'true') {\n layoutPage = \n } else {\n layoutPage = \n }\n return (\n
\n {layoutPage}\n
\n );\n }\n}\n\nexport default withRouter(App);\n","const isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n window.location.hostname === '[::1]' ||\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n)\n\nexport default function register() {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location)\n if (publicUrl.origin !== window.location.origin) {\n return\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`\n\n if (isLocalhost) {\n checkValidServiceWorker(swUrl)\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service worker.'\n )\n })\n } else {\n registerValidSW(swUrl)\n }\n })\n }\n}\n\nfunction registerValidSW(swUrl) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n console.log('New content available; refreshing...')\n window.location.reload() // 🔥 รีเฟรชทันทีเมื่อมีอัปเดต\n } else {\n console.log('Content is cached for offline use.')\n }\n }\n }\n }\n })\n .catch(error => {\n console.error('Error during service worker registration:', error)\n })\n}\n\nfunction checkValidServiceWorker(swUrl) {\n fetch(swUrl)\n .then(response => {\n if (\n response.status === 404 ||\n response.headers.get('content-type').indexOf('javascript') === -1\n ) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload()\n })\n })\n } else {\n registerValidSW(swUrl)\n }\n })\n .catch(() => {\n console.log('No internet connection found. App is running in offline mode.')\n })\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.getRegistrations().then(registrations => {\n registrations.forEach(registration => registration.unregister())\n })\n caches.keys().then(cacheNames => {\n cacheNames.forEach(cacheName => caches.delete(cacheName))\n })\n console.log('Service Worker & Cache Cleared')\n }\n}\n","import React from 'react'\nimport ReactDOM from 'react-dom'\nimport './index.css'\nimport App from './App'\nimport registerServiceWorker from './registerServiceWorker'\nimport { BrowserRouter } from 'react-router-dom'\n\nconst AppWithRouter = () => (\n \n \n \n)\n\nReactDOM.render(, document.getElementById('root'))\nregisterServiceWorker()\n"],"sourceRoot":""}