Esempio n. 1
0
 public static ExpenseList GetPendientesList(ECategoriaGasto categoria, PaymentInfo payment, bool childs)
 {
     return(GetPendientesList(categoria, payment, DateTime.MinValue, DateTime.MaxValue, childs));
 }
Esempio n. 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);
        }
Esempio n. 3
0
 public static LoanList GetPendientesList(PaymentInfo payment, DateTime from, DateTime till)
 {
     return(GetPendientesList(payment, null, from, till));
 }
Esempio n. 4
0
 public static LoanList GetByPagoList(PaymentInfo payment)
 {
     return(GetByPagoList(payment, null));
 }
Esempio n. 5
0
 public static LoanList GetPendientesList(PaymentInfo payment, LoanInfo loan)
 {
     return(GetPendientesList(payment, loan, DateTime.MinValue, DateTime.MaxValue));
 }
Esempio n. 6
0
 public static LoanList GetPendientesList(PaymentInfo payment)
 {
     return(GetPendientesList(payment, null));
 }
Esempio n. 7
0
 public static string SELECT(PaymentInfo source)
 {
     return(Payroll.SELECT(new QueryConditions {
         Payment = source
     }, false));
 }
Esempio n. 8
0
 public static PayrollList GetPendientesList(PaymentInfo pago, bool childs)
 {
     return(GetPendientesList(pago, DateTime.MinValue, DateTime.MaxValue, childs));
 }
Esempio n. 9
0
 public static string SELECT(PaymentInfo item)
 {
     return(SELECT(new Library.Store.QueryConditions {
         Payment = item, PaymentType = item.ETipoPago
     }));
 }