public void generarRemito(Entrega instaciaEntrega, List <DetalleLogistica> instanciaListaDetalle)
        {
            IU_VistaPrevia vistaPrevia = new IU_VistaPrevia();

            vistaPrevia.tomarModelo(modeloRemito, "Orden de Remito");
            vistaPrevia.generarRemito(instaciaEntrega, instanciaListaDetalle);
            vistaPrevia.ShowDialog();
        }
 public Controlador_ArticulosBajoStock()
 {
     articuloSeleccionado  = new AriculoSeleccionado();
     _ariculoSeleccionados = new List <AriculoSeleccionado>();
     articulo      = new Articulo();
     vistaPrevia   = new IU_VistaPrevia();
     modeloListado = SistemaLaObra.Properties.Resources.Modelo_BajoStock;
     encargado     = new Encargado();
 }
 //PENDIENTE
 private bool mostrarVistaPrevia()
 {
     vistaPrevia = new IU_VistaPrevia();
     vistaPrevia.tomarModelo(modeloPresupuesto, "Presupuesto");
     vistaPrevia.generarPresupuesto(listaDetalle, presupuesto);
     vistaPrevia.btn_imprimir.Text = "Confirmar";
     vistaPrevia.ShowDialog();
     return(vistaPrevia.confirmacion);
 }
 private bool mostrarVistaPrevia()
 {
     vistaPrevia = new IU_VistaPrevia();
     vistaPrevia.tomarModelo(modeloNotaCredito, "Note de Credito");
     vistaPrevia.btn_imprimir.Text = "Confirmar";
     vistaPrevia.generarNotaDeCredito(listaDetalleNotaCredito, notaCredito);
     vistaPrevia.ShowDialog();
     return(vistaPrevia.confirmacion);
 }
Exemplo n.º 5
0
 public Controlador_RegistrarPedidoCompra(IU_RegistrarPedidoCompra interfaz)
 {
     _interfazPedidoCompra = interfaz;
     _interfazVistaPrevia  = new IU_VistaPrevia();
     articulo = new Articulo();
     _listaProveedoresArticulo = new ListaProveedoresArticulo();
     _compra           = new Compra();
     _detalleCompra    = new List <DetalleCompra>();
     _recepcion        = new Recepcion();
     _detalleLogistica = new List <DetalleLogistica>();
     modeloPedido      = Properties.Resources.ModeloPedido;
 }