Exemplo n.º 1
0
        public string GetLastSelectionData()
        {
            IPaymentFromCustomersListDAL purInvoice = new PaymentFromCustomersListDAL();
            var result = purInvoice.GetLastSelectionData();

            return(result);
        }
Exemplo n.º 2
0
        public string GetDateFormat()
        {
            IPaymentFromCustomersListDAL purInvoice = new PaymentFromCustomersListDAL();
            var result = purInvoice.GetDateFormat();

            return(result);
        }
Exemplo n.º 3
0
        public List <PaymentFromCustomersListEntity> GetAllPurInvoiceJson(string jsondata)
        {
            IPaymentFromCustomersListDAL purInvoice = new PaymentFromCustomersListDAL();
            var Invoicelist = purInvoice.GetAllPurInvoiceJson(jsondata);

            foreach (var item in Invoicelist)
            {
                if (item.InvoiceDateDateTime != null)
                {
                    item.InvoiceDate = Convert.ToString(item.InvoiceDateDateTime);
                }
                if (item.InvoiceAmountValue != null)
                {
                    item.InvoiceAmount = Convert.ToString(item.InvoiceAmountValue);
                }

                if (item.CashChequeAmount != null)
                {
                    item.CashAmount = Convert.ToString(item.CashChequeAmount);
                }

                if (item.CashChequeDateDate != null)
                {
                    item.CashChequeDate = Convert.ToString(item.CashChequeDateDate);
                }
            }
            return(Invoicelist);
        }