コード例 #1
0
 public static ExpenseList GetPendientesList(ECategoriaGasto categoria, PaymentInfo payment, bool childs)
 {
     return(GetPendientesList(categoria, payment, DateTime.MinValue, DateTime.MaxValue, childs));
 }
コード例 #2
0
        public static ExpenseList GetByPagoAndPendientesList(ECategoriaGasto categoria, PaymentInfo pago, bool childs)
        {
            ExpenseList byPago     = GetByPagoList(pago, childs);
            ExpenseList pendientes = GetPendientesList(categoria, childs);

            ExpenseList list = new ExpenseList();

            list.IsReadOnly = false;

            foreach (ExpenseInfo item in byPago)
            {
                list.AddItem(item);
            }

            foreach (ExpenseInfo item in pendientes)
            {
                if (list.GetItem(item.Oid) == null)
                {
                    list.AddItem(item);
                }
            }

            list.IsReadOnly = true;

            return(list);
        }
コード例 #3
0
 public static LoanList GetPendientesList(PaymentInfo payment, DateTime from, DateTime till)
 {
     return(GetPendientesList(payment, null, from, till));
 }
コード例 #4
0
 public static LoanList GetByPagoList(PaymentInfo payment)
 {
     return(GetByPagoList(payment, null));
 }
コード例 #5
0
 public static LoanList GetPendientesList(PaymentInfo payment, LoanInfo loan)
 {
     return(GetPendientesList(payment, loan, DateTime.MinValue, DateTime.MaxValue));
 }
コード例 #6
0
 public static LoanList GetPendientesList(PaymentInfo payment)
 {
     return(GetPendientesList(payment, null));
 }
コード例 #7
0
 public static string SELECT(PaymentInfo source)
 {
     return(Payroll.SELECT(new QueryConditions {
         Payment = source
     }, false));
 }
コード例 #8
0
 public static PayrollList GetPendientesList(PaymentInfo pago, bool childs)
 {
     return(GetPendientesList(pago, DateTime.MinValue, DateTime.MaxValue, childs));
 }
コード例 #9
0
 public static string SELECT(PaymentInfo item)
 {
     return(SELECT(new Library.Store.QueryConditions {
         Payment = item, PaymentType = item.ETipoPago
     }));
 }