Beispiel #1
0
 public FormListadoVentas()
 {
     InitializeComponent();
     ventaService = new FacturaVentaService(ConfigConnection.connectionString);
     dateTimeListadoCompra.Format        = DateTimePickerFormat.Custom;
     dateTimeListadoCompra.CustomFormat  = "dd/MM/yyyy";
     dateTimeListadoCompra1.Format       = DateTimePickerFormat.Custom;
     dateTimeListadoCompra1.CustomFormat = "dd/MM/yyyy";
 }
Beispiel #2
0
        public FormCrearVenta()
        {
            InitializeComponent();
            service         = new ClienteService(ConfigConnection.connectionString);
            productoService = new ProductoService(ConfigConnection.connectionString);
            VentaService    = new FacturaVentaService(ConfigConnection.connectionString);
            detalleFactura  = new DetalleFacturaVentaService(ConfigConnection.connectionString);

            //txtNumFactura.Text = VentaService.ConsultarIdFactura().ToString();


            InhabiltarText();



            LbelFechaFacturaVenta.Text = DateTime.Now.ToString("dd/MM/yyyy");
        }
Beispiel #3
0
 public FacturaVentaController(NaacCelularesContext context, IOptions <AppSetting> appSettings)
 {
     JwtService = new JwtService(appSettings);
     Service    = new FacturaVentaService(context);
     dispositivoMovilService = new DispositivoMovilService(context);
 }