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()); }
public JsonResult DebitNoteVoucher(int id) { string reportpath = ""; if (id != 0) { reportpath = AccountsReportsDAO.GenerateDebitNoteVoucherPrint(id); } return(Json(new { path = reportpath, result = "ok" }, JsonRequestBehavior.AllowGet)); }