Exemple #1
0
        /// <summary>
        /// Get Invoice for add new
        /// </summary>
        /// <param name="id">House Bill Id</param>
        /// <param name="oId">Operation Id</param>
        /// <param name="iId">Invoice Id</param>
        /// <param name="iId">Invoice Type 0 all currencies .. 1 EGP .. 2 Other currencies</param>
        /// <returns></returns>
        public ActionResult Invoice(int id = 0, int oId = 0, int iId = 0, byte invType = 0)
        {
            ViewBag.PaymentTerm = ListCommonHelper.GetPaymentTerm("en").Where(x => x.Key < 6).ToList();
            var invObj = InvoiceHelper.GetInvoiceInfo(id, oId, iId, invType);

            return(View(invObj));
        }