Exemplo n.º 1
0
        public ActionResult TaxInvoicePrint(int id)
        {
            ViewBag.ReportName = "Tax Invoice Printing";
            LabelPrintingParam picker       = SessionDataModel.GetLabelPrintParam();
            string             monetaryunit = Session["MonetaryUnit"].ToString();

            //AccountsReportsDAO.CustomerInvoiceReport(id, monetaryunit);
            AccountsReportsDAO.CustomerTaxInvoiceReport(id, monetaryunit);
            return(View());
        }
Exemplo n.º 2
0
        public JsonResult DebitNoteVoucher(int id)
        {
            string reportpath = "";

            if (id != 0)
            {
                reportpath = AccountsReportsDAO.GenerateDebitNoteVoucherPrint(id);
            }

            return(Json(new { path = reportpath, result = "ok" }, JsonRequestBehavior.AllowGet));
        }