예제 #1
0
 public void FillCashReg()
 {
     fromDate = Convert.ToDateTime(deFrom.EditValue);
     if (deTo.EditValue == null)
     {
         deTo.EditValue = Convert.ToDateTime(DateTime.Now.ToShortDateString());
     }
     toDate             = Convert.ToDateTime(deTo.EditValue);
     dtCash             = new DataTable();
     dtCash             = CashEntryDL.GetPayInfoRegister(fromDate, toDate);
     grdCash.DataSource = dtCash;
     FillGrid();
 }
예제 #2
0
 public static DataTable GetChangeGridCashReceiptRegister(int argCashRecpId)
 {
     return(CashEntryDL.GetChangeGridCashReceiptRegister(argCashRecpId));
 }
예제 #3
0
 public static DataTable GetPayInfoRegEntry(int argCashRecpId, int argLeadId, string argType)
 {
     return(CashEntryDL.GetPayInfoRegEntry(argCashRecpId, argLeadId, argType));
 }
예제 #4
0
 public static DataTable GetPayInfoRegister(DateTime argFrom, DateTime argTo)
 {
     return(CashEntryDL.GetPayInfoRegister(argFrom, argTo));
 }
예제 #5
0
 public static void UpdateCashDetails(int argCashRepId, DataTable dtPayInfo, int argCCId, int argBuyerId, decimal argAmt, DateTime argDate, string argType)
 {
     CashEntryDL.UpdateCashDetails(argCashRepId, dtPayInfo, argCCId, argBuyerId, argAmt, argDate, argType);
 }
예제 #6
0
 public static void InsertCashDetails(DataTable dtPayInfo, int argCCId, int argBuyerId, decimal argAmt, DateTime argDate, string argType)
 {
     CashEntryDL.InsertCashDetails(dtPayInfo, argCCId, argBuyerId, argAmt, argDate, argType);
 }
예제 #7
0
 public static DataTable GetPayInfo(int argBuyerId, string argType)
 {
     return(CashEntryDL.GetPayInfo(argBuyerId, argType));
 }
예제 #8
0
 public static DataTable GetBuyer(int argCCId)
 {
     return(CashEntryDL.GetBuyer(argCCId));
 }
예제 #9
0
 public static DataTable GetCostCentre()
 {
     return(CashEntryDL.GetCostCentre());
 }