Esempio n. 1
0
        // *************************************************************************************
        // methods
        public MainProdPurchaseInfoModel getMainProdPurchaseInfo()
        {
            MainProdPurchaseInfoModel purchaseInfo = new MainProdPurchaseInfoModel();

            purchaseInfo.PurchaseInvoiceP1 = true;
            purchaseInfo.PurchaseInvoiceP5 = true;

            CRMInfoModel CRMStandard = new CRMInfoModel();

            CRMStandard.AccountNumber        = 2;
            CRMStandard.SpaceSize            = 3;
            purchaseInfo.PurchaseCRMStandard = CRMStandard;

            CRMInfoModel CRMAdvance = new CRMInfoModel();

            CRMAdvance.AccountNumber        = 3;
            CRMAdvance.SpaceSize            = 2;
            purchaseInfo.PurchaseCRMAdvance = CRMAdvance;

            return(purchaseInfo);
        }
Esempio n. 2
0
        public List <OrderInfoModel> getOrderInfoList()
        {
            List <OrderInfoModel> orderList     = new List <OrderInfoModel>();
            OrderInfoModel        orderHistory1 = new OrderInfoModel()
            {
                OrderNo       = "000000239",
                OrderDateTime = Convert.ToDateTime("2015/6/11 下午 05:55:00").ToString("yyyy/MM/dd HH:mm:ss"),
                ProdName      = "雲端電子發票",
                Price         = 11500.ToString("C0"),
                Status        = "處理中",
            };
            InvoideInfoModel invoiceInfo = new InvoideInfoModel()
            {
                ContractStartDate = Convert.ToDateTime("2015/06/17").ToString("yyyy/MM/dd"),
                ContractEndDate   = Convert.ToDateTime("2017/06/17").ToString("yyyy/MM/dd"),
                ContractValidYear = "兩年",
                AccountId         = "EN09000001",
                FeeItem           = "月租",
                StoreName         = "XXX中和店",
                Contact           = "王先生<BR>0987654321",
                InstalledAddress  = "台北市文山區XX路XX街X樓X號-X"
            };

            orderHistory1.InvoiceInfo = invoiceInfo;
            orderList.Add(orderHistory1);

            OrderInfoModel orderHistory2 = new OrderInfoModel()
            {
                OrderNo       = "000000240",
                OrderDateTime = Convert.ToDateTime("2015/6/11 下午 05:55:00").ToString("yyyy/MM/dd HH:mm:ss"),
                ProdName      = "CRM行銷高手",
                Price         = 11500.ToString("C0"),
                Status        = "處理中",
            };
            CRMInfoModel crmStdInfo = new CRMInfoModel()
            {
                AccountId     = "EN09000002",
                FeeItem       = "月租",
                AccountNumber = 2,
                SpaceSize     = 3,
            };

            orderHistory2.CRMInfo = crmStdInfo;
            orderList.Add(orderHistory2);

            OrderInfoModel orderHistory3 = new OrderInfoModel()
            {
                OrderNo       = "000000241",
                OrderDateTime = Convert.ToDateTime("2015/6/11 下午 05:55:00").ToString("yyyy/MM/dd HH:mm:ss"),
                ProdName      = "CRM豪華版",
                Price         = 11500.ToString("C0"),                   // momey mask
                Status        = "註銷中",
            };
            CRMInfoModel crmAdvInfo = new CRMInfoModel()
            {
                AccountId     = "EN09000003",
                FeeItem       = "月租",
                AccountNumber = 2,
                SpaceSize     = 3,
            };

            orderHistory3.CRMInfo = crmAdvInfo;
            orderList.Add(orderHistory3);

            return(orderList);
        }
Esempio n. 3
0
        public List<OrderInfoModel> getOrderInfoList()
        {
            List<OrderInfoModel> orderList = new List<OrderInfoModel>();
            OrderInfoModel orderHistory1 = new OrderInfoModel() {
                OrderNo = "000000239",
                OrderDateTime = Convert.ToDateTime("2015/6/11 下午 05:55:00").ToString("yyyy/MM/dd HH:mm:ss"),
                ProdName = "雲端電子發票",
                Price = 11500.ToString("C0"),
                Status = "處理中",
            };
            InvoideInfoModel invoiceInfo = new InvoideInfoModel() {
                ContractStartDate = Convert.ToDateTime("2015/06/17").ToString("yyyy/MM/dd"),
                ContractEndDate = Convert.ToDateTime("2017/06/17").ToString("yyyy/MM/dd"),
                ContractValidYear = "兩年",
                AccountId = "EN09000001",
                FeeItem = "月租",
                StoreName = "XXX中和店",
                Contact = "王先生<BR>0987654321",
                InstalledAddress = "台北市文山區XX路XX街X樓X號-X"
            };
            orderHistory1.InvoiceInfo = invoiceInfo;
            orderList.Add(orderHistory1);

            OrderInfoModel orderHistory2 = new OrderInfoModel() {
                OrderNo = "000000240",
                OrderDateTime = Convert.ToDateTime("2015/6/11 下午 05:55:00").ToString("yyyy/MM/dd HH:mm:ss"),
                ProdName = "CRM行銷高手",
                Price = 11500.ToString("C0"),
                Status = "處理中",
            };
            CRMInfoModel crmStdInfo = new CRMInfoModel() {
                AccountId = "EN09000002",
                FeeItem = "月租",
                AccountNumber = 2,
                SpaceSize = 3,
            };
            orderHistory2.CRMInfo = crmStdInfo;
            orderList.Add(orderHistory2);

            OrderInfoModel orderHistory3 = new OrderInfoModel() {
                OrderNo = "000000241",
                OrderDateTime = Convert.ToDateTime("2015/6/11 下午 05:55:00").ToString("yyyy/MM/dd HH:mm:ss"),
                ProdName = "CRM豪華版",
                Price = 11500.ToString("C0"),		// momey mask
                Status = "註銷中",
            };
            CRMInfoModel crmAdvInfo = new CRMInfoModel() {
                AccountId = "EN09000003",
                FeeItem = "月租",
                AccountNumber = 2,
                SpaceSize = 3,
            };
            orderHistory3.CRMInfo = crmAdvInfo;
            orderList.Add(orderHistory3);

            return orderList ;
        }
Esempio n. 4
0
        // *************************************************************************************
        // methods
        public MainProdPurchaseInfoModel getMainProdPurchaseInfo()
        {
            MainProdPurchaseInfoModel purchaseInfo = new MainProdPurchaseInfoModel() ;

            purchaseInfo.PurchaseInvoiceP1 = true;
            purchaseInfo.PurchaseInvoiceP5 = true;

            CRMInfoModel  CRMStandard = new CRMInfoModel() ;
            CRMStandard.AccountNumber = 2 ;
            CRMStandard.SpaceSize = 3 ;
            purchaseInfo.PurchaseCRMStandard = CRMStandard;

            CRMInfoModel CRMAdvance = new CRMInfoModel();
            CRMAdvance.AccountNumber = 3;
            CRMAdvance.SpaceSize = 2;
            purchaseInfo.PurchaseCRMAdvance = CRMAdvance;

            return purchaseInfo;
        }