'1,En', 'ct'=>'2,繁', 'cs'=>'2,簡'); // --------------------------------------------------------------------------------------------------------------- // Permission $GLOBALS['PERMISSION'] = array( 'LOGIN' =>'10003', //Standard Report 'REPORT_30001' =>'10100', 'REPORT_S30001' =>'10100', 'REPORT_30001B' =>'10100', 'REPORT_30001C' =>'10100', 'REPORT_30001_foodcourt' =>'10100', 'REPORT_30001_sky21' =>'10100', 'REPORT_30002' =>'10101', 'REPORT_30002C' =>'10101', 'REPORT_30002D' =>'10101', 'REPORT_S30002' =>'10101', 'REPORT_30003' =>'10102', 'REPORT_30003A' =>'10102', //Grand Lisboa 用 'REPORT_30005' =>'10103', 'REPORT_30005B' =>'10103', //Grand Lisboa 用 'REPORT_30008' =>'10104', 'REPORT_30008B' =>'10104', //Grand Lisboa 用 'REPORT_30009' =>'10105', 'REPORT_30010' =>'10106', 'REPORT_30010B' =>'10107', 'REPORT_30012' =>'10108', 'REPORT_30012B' =>'10108', 'REPORT_30014' =>'10121', 'REPORT_30029' =>'10109', 'REPORT_30029B' =>'10110', 'REPORT_30031' =>'10111', 'REPORT_30032' =>'10112', 'REPORT_30033' =>'10113', 'REPORT_30033B' =>'10113', 'REPORT_30033C' =>'10113', 'REPORT_30034' =>'10114', 'REPORT_30035' =>'10115', 'REPORT_30036' =>'10116', 'REPORT_30037' =>'10117', 'REPORT_30038' =>'10118', 'REPORT_30039' =>'10118', 'REPORT_TimeInOut' =>'10119', 'REPORT_VoidPaymentReport' =>'10120', 'REPORT_90003' =>'10125', 'REPORT_90004' =>'10126', 'REPORT_90006' =>'10123', 'REPORT_90007' =>'10124', 'REPORT_T0001' =>'10200', 'REPORT_T0002' =>'10201', 'REPORT_T0003' =>'10202', 'REPORT_T0004' =>'10224', 'REPORT_T0005' =>'10225', 'REPORT_T0006' =>'10226', 'REPORT_T0007' =>'10227', 'REPORT_T0008' =>'10228', 'REPORT_T0009' =>'10229', 'REPORT_T0010' =>'10230', 'REPORT_T0010A' =>'10236', 'REPORT_T0011' =>'10231', 'REPORT_T0012' =>'10232', 'REPORT_T0013' =>'10233', 'REPORT_T0014' =>'10234', 'REPORT_T0015' =>'10235', 'REPORT_T0016' =>'10237', 'REPORT_T0017' =>'10238', 'REPORT_T0018' =>'10239', 'REPORT_T0019' =>'10240', 'REPORT_T0020' =>'10241', 'REPORT_T0021' =>'10242', 'REPORT_T0022' =>'10243', //Macau Tower 'REPORT_30002B' =>'10203', 'REPORT_CheckBreakDown' =>'10204', 'REPORT_CrossOutletRevenue' =>'10205', 'REPORT_ItemizeDiscount' =>'10206', 'REPORT_ItemizePayment' =>'10207', //Payment Report by Member 'REPORT_Payment' =>'10208', //MUJI 'REPORT_DepartmentTotal' =>'10209', 'REPORT_StoreAccountingTotal' =>'10210', 'REPORT_SummaryOfDailyDisposal' =>'10211', 'REPORT_ItemizePayment_cost' =>'10212', 'REPORT_Hourly' =>'10213', //Nha Trang - single DB only 'REPORT_Headcount' =>'10214', 'REPORT_Sales' =>'10215', 'REPORT_StaffWelfareAndMessing' =>'10216', 'REPORT_ItemDetail' =>'10217', 'REPORT_ItemSalesAnalysisQuantity' =>'10218', //Fortune Hotel - single DB only 'REPORT_ItemDiscount' =>'10219', 'REPORT_ItemSalesAnalysis' =>'10220', 'REPORT_Revenue' =>'10221', //Request to use tran_sales_item 'REPORT_ItemSalesAnalysisDetail' =>'10222', 'REPORT_ItemSalesAnalysisSummary' =>'10223' ); // --------------------------------------------------------------------------------------------------------------- // Menus $GLOBALS['menus'] = array( array( '30001', //'30001B', //'30001C', //'30001_foodcourt', //'30001_sky21', //'S30001', '30002', //'30002B', //Macau Tower 用 //'30002C', //'30002D', //'S30002', '30003', //'30003A',//Grand Lisboa 用 '30005', //'30005B',//Grand Lisboa 用 '30008', //'30008B',//Grand Lisboa 用 '30009', '30010', '30010B', '30012', '30012B', '30014', '30029', '30029B', '30031', '30032', '30033', //'30033B', //'30033C', '30034', '30035', '30036', '30037', '30038', '30039', //'90003', //'90004', //'90006', //'90007', 'VoidPaymentReport', 'TimeInOut' ), array( //'T0001', //Advance Caterers 'T0002', //Advance Caterers ?????? //'T0003', //Advance Caterers //'T0004', //ET Troop ???????? //'T0005', //ET Troop Daily Closing //'T0006', //ET Troop Item Sales //'T0007', //??? //???? /* 'T0008', 'T0009', 'T0010', 'T0010A', 'T0011', 'T0012', 'T0013', 'T0014', 'T0015', 'T0016', //Daily Sales & Cost Report 'T0017', //Grand Lisboa 用 'T0018', //Grand Lisboa 用 'T0019', 'T0020', */ 'T0021', 'T0022' /* 'Headcount', //Nha Trang - single DB only 'Sales', //Nha Trang - single DB only 'StaffWelfareAndMessing', //Nha Trang - single DB only 'ItemDetail', //Nha Trang - single DB only 'ItemSalesAnalysisQuantity', //Nha Trang - single DB only */ //'Payment', //Fortune Hotel - Payment Report by Member //'Revenue', //Fortune Hotel - single DB only //'ItemDiscount', //Fortune Hotel - single DB only //'ItemSalesAnalysis', //Fortune Hotel - single DB only //'DepartmentTotal', //MUJI ONLY //'StoreAccountingTotal', //MUJI ONLY //'SummaryOfDailyDisposal', //MUJI ONLY //'ItemizePayment_cost', //'Hourly', //HoneyMoon - Request to use tran_sales_item //'ItemSalesAnalysisDetail', //'ItemSalesAnalysisSummary', //'CrossOutletRevenue', //Macau Tower //'CheckBreakDown', //Macau Tower //'ItemizeDiscount', //Macau Tower //'ItemizePayment' //Macau Tower )); // --------------------------------------------------------------------------------------------------------------- // SMTP $GLOBALS['SMTP_config'][0]['PHPMailer'] = true; $GLOBALS['SMTP_config'][0]['SMTPAuth'] = true; // turn on SMTP authentication $GLOBALS['SMTP_config'][0]['SMTPSecure'] = 'ssl'; $GLOBALS['SMTP_config'][0]['Host'] = ''; // SMTP servers $GLOBALS['SMTP_config'][0]['Port'] = 465; // SMTP port, Maybe 465 instead? SSL only? $GLOBALS['SMTP_config'][0]['Username'] = ''; // SMTP username $GLOBALS['SMTP_config'][0]['Password'] = ''; // SMTP password $GLOBALS['SMTP_config'][0]['From'] = ''; // 'noreply@posmaster.com.hk'; $GLOBALS['SMTP_config'][0]['FromName'] = 'Do Not Reply'; // 'My Name'; // --------------------------------------------------------------------------------------------------------------- // Other Settings define('SHOP_ID', '001'); define('POS_ID', '001'); define('ENABLE_CURRENT_DATE', true); // enable date - currect date option, true or false define('ENABLE_SHOP_DETAIL', false); // enable date - currect date option, true or false $GLOBALS['REPORT_SETTING']['SP_POS_IDS'] = array('100'); // 30002,30008,30033B,30038 for wechat use //T0016 Daily Sales & Cost Report $GLOBALS['REPORT_SETTING']['T0016'] = array('breakdown_dept_ids' =>array('1008'), 'takeaway_section_ids' =>array('00', '02'), 'cronjobs' =>array(array( 'to'=>'noreply@posmaster.com.hk', 'shop_id'=>'008' ), array( 'to'=>'', 'shop_id'=>'008' ))); // --------------------------------------------------------------------------------------------------------------- $specific_year = 2018; ?>