Esempio n. 1
0
 public ActionResult ActionSendMailCashAdvance(List<Guid> selectedIds, Guid userId, string host)
 {
     //List<Guid> lstHoldSalaryIDs = selectedIds.Split(',').Select(x => Guid.Parse(x)).ToList();
     var services = new FIN_CashAdvanceService();
     var status = services.ProcessSendMailForFirstApprove(host, userId, selectedIds[0]);
     return Json("");
 }
Esempio n. 2
0
 public ActionResult ActionSubmitCashAdvanceItem(List<Guid> selectedIds, string status, Guid userId)
 {
     //List<Guid> lstHoldSalaryIDs = selectedIds.Split(',').Select(x => Guid.Parse(x)).ToList();
     var services = new FIN_CashAdvanceService();
     services.ActionSubmit(selectedIds, status, userId);
     return Json("");
 }
Esempio n. 3
0
        public ActionResult ApprovedCashAdvance(Guid cashAdvanceId, Guid userId, string type)
        {
            var status = string.Empty;
            var message = string.Empty;

            var services = new FIN_CashAdvanceService();
            message = services.ApprovedCashAdvance(cashAdvanceId, userId, type);

            return Json(message, JsonRequestBehavior.AllowGet);
        }