예제 #1
0
        public static string PostRecord(NameValueCollection querystring, bool finalpost = false)
        {
            int         headerId    = int.TryParse(querystring.Get("HeaderID"), out headerId) ? headerId : 0;
            UserProfile userProfile = WebCommon.GetUserProfile();

            return(ExpenseShareDAL.PostRecord(headerId, userProfile.UserId, finalpost));
        }
예제 #2
0
        public static List <ExpenseShare> GetExpenseShare(NameValueCollection querystring)
        {
            string criteria = querystring.Get("Criteria");

            //int branchID = int.TryParse(querystring.Get("BranchID"), out branchID) ? branchID : 0;
            return(ExpenseShareDAL.GetExpenseShare(criteria));
        }
예제 #3
0
        public static string ManageExpenseShare(NameValueCollection querystring, NameValueCollection formdata)
        {
            string datTrans = querystring.Get("ESDate");

            //string dTrans = Convert.ToDateTime(datTrans).ToString();
            //DateTime dttr = DateTime.ParseExact(datTrans, "ddd MMM dd h:mm:ss KKKK yyyy", System.Globalization.CultureInfo.InvariantCulture);
            return(ExpenseShareDAL.ManageExpenseShare(datTrans));
        }
예제 #4
0
        public static List <ExpenseShareDetail> GetExpenseShareDetail(NameValueCollection querystring)
        {
            int rfID = int.TryParse(querystring.Get("HeaderID"), out rfID) ? rfID : 0;

            return(ExpenseShareDAL.GetExpenseShareDetail(rfID));
        }