Ejemplo n.º 1
0
        public ActionResult loadBillTextDetailsPartial(string UniqueID = "0")
        {
            var bill = _allBilling.GetBillTextDetailsByUniqueID(Convert.ToInt64(UniqueID)).FirstOrDefault();

            bill.CompanyLogo = bill.CompanyLogo == null ? new byte[0] : bill.CompanyLogo;
            bill.BillLines   = _allBilling.GetBillLineTextDetailsByUniqueID(bill.UniqueID);
            return(View("~/Views/Billing/PartialViews/_viewBillDetailsForPrint.cshtml", bill));
        }