Exemplo n.º 1
0
        public PaymentInvoice GetInvoice(string invoiceid, string ownerid, string creatorid)
        {
            Business.DataLayer bd = new Business.DataLayer();


            Business.AppInvoice appinv      = bd.GetInvoice(invoiceid, ownerid, creatorid);
            PaymentInvoice      tempinvoice = new PaymentInvoice();

            tempinvoice.invoicedata   = appinv.data;
            tempinvoice.createddate   = appinv.createddate;
            tempinvoice.invstatus     = appinv.status;
            tempinvoice.toaccid       = "";
            tempinvoice.toaccountname = "";
            return(tempinvoice);
        }
Exemplo n.º 2
0
        public PaymentInvoice GetInvoice(string invoiceid, string ownerid, string creatorid)
        {
            Business.DataLayer bd = new Business.DataLayer();

            Business.AppInvoice appinv = bd.GetInvoice(invoiceid, ownerid, creatorid);
            PaymentInvoice tempinvoice = new PaymentInvoice();
            tempinvoice.invoicedata = appinv.data;
            tempinvoice.createddate = appinv.createddate;
            tempinvoice.invstatus = appinv.status;
            tempinvoice.toaccid = "";
            tempinvoice.toaccountname = "";
            return tempinvoice;
        }