Пример #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
     }));
 }