Ejemplo n.º 1
0
        private void PagPendientes(Pagos p)
        {
            p.ConsultaEng(p);


            if (p.EngConsec > 0)
            {
                p.Consec = p.EngConsec;

                p.ConsultaPago(p);
                p.ImportePendiente(p, cto, p.idTippag, p.NoEnganche);

                if (p.Importe == p.MontoPagado)
                {
                    p.EngContrato(p);
                    pendiente = false;

                    PagPendientes(p);
                }
                else
                {
                    pendiente = true;
                }
            }
            else
            {
                pendiente = false;
            }
        }