Exemplo n.º 1
0
 public RegistroIngreso()
 {
     this.Id_Ingreso = 0;
     this.proveedor  = null;
     this.almacen    = null;
     this.Subtotal   = 0;
     this.Igv        = 0;
     this.Monto_igv  = 0;
     this.Total      = 0;
     this.detalles   = new List <DetalleRegistroIngreso>();
 }
Exemplo n.º 2
0
        private void LeerAlmaPrincipales()
        {
            String       id;
            FileStream   fs = new FileStream("AlmacenesPrincipales.txt", FileMode.Open, FileAccess.Read);
            StreamReader sr = new StreamReader(fs);

            while ((id = sr.ReadLine()) != null)
            {
                AlmacenPrincipal almPrin = new AlmacenPrincipal(Int32.Parse(id), sr.ReadLine(), sr.ReadLine());
                almPrincipal.Add(almPrin);
            }
            sr.Close();
            fs.Close();
        }
Exemplo n.º 3
0
 public RegistroIngreso(long id_Ingreso, Proveedor proveedor, AlmacenPrincipal almacen, DateTime fecha,
                        DateTime fecha_proceso, TTipoComprobante tipoComprobante, double subtotal,
                        double igv, double monto_igv, double total, TEstado estado)
 {
     this.Id_Ingreso      = id_Ingreso;
     this.Proveedor       = proveedor;
     this.Almacen         = almacen;
     this.Fecha           = fecha;
     this.Fecha_proceso   = fecha_proceso;
     this.TipoComprobante = tipoComprobante;
     this.Subtotal        = subtotal;
     this.Igv             = igv;
     this.Monto_igv       = monto_igv;
     this.Total           = total;
     this.Estado          = estado;
     this.detalles        = new List <DetalleRegistroIngreso>();
 }
Exemplo n.º 4
0
 public JefeDeAlmacen(long id_usuario, string nombre, string apellidos, string correo, string codigo, string contraseña, string descripcion_permisos,
                      AlmacenPrincipal almac) : base(id_usuario, nombre, apellidos, correo, codigo, contraseña, descripcion_permisos)
 {
     Almacen = almac;
 }