Example #1
0
 public DataTable ObtenerDetalleDEPago(int idPago)
 {
     try
     {
         return(DaoPago.CrearDao().ObtenerDetalleDePagos(idPago));
     } catch
     {
         throw;
     }
 }
Example #2
0
        public Pago ObtenerInformacionDePagoCliente(int idCliente)
        {
            Pago      myPago      = new Pago();
            DataTable myDataTable = DaoPago.CrearDao().ObtenerInformacionPagoCliente(idCliente);

            if (myDataTable.Rows.Count.Equals(0))
            {
                return(null);
            }
            DataRow myRow = myDataTable.Rows[0];

            myPago.Id_Pago        = int.Parse(myRow["ID"].ToString());
            myPago.DiaVencimiento = int.Parse(myRow["Dia"].ToString());
            myPago.Saldo          = double.Parse(myRow["Saldo"].ToString());
            myPago.CuotasPactadas = int.Parse(myRow["Cuotas"].ToString());
            return(myPago);
        }
Example #3
0
 public CtrPago()
 {
     objDaoPago = new DaoPago();
 }
Example #4
0
 public CtrPago()
 {
     objpagodao = new DaoPago();
 }
Example #5
0
 public static int obtenerPedidoPorNroPedido(long nro_pedido)
 {
     return(DaoPago.obtenerPedidoPorNroPedido(nro_pedido));
 }
Example #6
0
 public static List <PedidoEnvioView> obtenerPedidosPagados()
 {
     return(DaoPago.obtenerPedidosPagados());
 }
Example #7
0
 public static void registrarPagoDelivery(int id, int id_estado)
 {
     DaoPago.registrarPagoDelivery(id, id_estado);
 }
Example #8
0
 public static void registrarPagoLocal(int id, int id_estado)
 {
     DaoPago.registrarPagoLocal(id, id_estado);
 }