Exemplo n.º 1
0
        public ActionResult GridViewPartial_tipo_orden_pago()
        {
            cp_orden_pago_tipo_Bus bus_top = new cp_orden_pago_tipo_Bus();
            int IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa);
            var model     = bus_top.get_list();

            return(PartialView("_GridViewPartial_tipo_orden_pago", model));
        }
Exemplo n.º 2
0
        private void loadDataPanel()
        {
            try
            {
                cp_orden_pago_tipo_Bus         bus_TipoPago   = new cp_orden_pago_tipo_Bus();
                List <cp_orden_pago_tipo_Info> lista_pagoTipo = new List <cp_orden_pago_tipo_Info>();
                lista_pagoTipo = bus_TipoPago.Get_List_orden_pago_tipo_x_Empresa(param.IdEmpresa);

                List <ct_Plancta_Info> listPlanCta = new List <ct_Plancta_Info>();
                ct_Plancta_Bus         BusPlanCta  = new ct_Plancta_Bus();
                listPlanCta = BusPlanCta.Get_List_Plancta_x_ctas_Movimiento(param.IdEmpresa, ref MensajeError);


                cmbEstadoAproba.DataSource = BusestadoApro.Get_List_orden_pago_estado_aprob();
                generarBinding();


                gridControlTipoOrden_x_Empresa.DataSource = BindingList_x_orden_pago_tipo_x_empresa;



                gridControlForma.DataSource       = BindingList_orden_pago_formapago;
                gridControlEstado.DataSource      = BindingList_orden_pago_estado_aprob;
                gridControlTransaccion.DataSource = BindingList_TipoTransac;
                gridCmbCodModulo.DataSource       = moduloBus.Get_list_Modulo();
                gridCmbTipoTransaccion.DataSource = BusTipoTransac.Get_List_trans_a_generar_x_FormaPago_OP();


                cmbIdTipoCaja.DataSource         = cajaMoviBus.Get_list_Caja_Movimiento_Tipo(ref MensajeError);
                cmb_ctacble_x_tipo_op.DataSource = listPlanCta;
                cmb_ctaCble_Acre.DataSource      = listPlanCta;


                cmb_tipo_cbte_op.DataSource       = List_Cbtecble_tipo;
                cmb_tipo_cbte_op_x_anu.DataSource = List_Cbtecble_tipo;
            }
            catch (Exception ex)
            {
                Log_Error_bus.Log_Error(ex.ToString());
                MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }