Beispiel #1
0
 public Factura(string IDTrans, Cliente cliente, String tipoTrans, DateTime Fcontra, DateTime Fsal, DateTime Fent, double Edia, double Ekm,
                double km, double iva, double gas, double suplencia, Flota vehiculo) :
     base(IDTrans, cliente, tipoTrans, Fcontra, Fsal, Fent, Edia, Ekm, km, iva, gas, suplencia, vehiculo)
 {
     this.Client       = cliente;
     this.IDTransporte = IDTrans;
     this.TipoTransp   = tipoTrans;
     this.Fsal         = Fsal;
     this.Fentr        = Fent;
     this.FechaContra  = Fcontra;
     this.EDia         = Edia;
     this.EKm          = Ekm;
     this.Gs           = gas;
     this.Sup          = suplencia;
     this.IVA          = iva;
     this.KmRecorridos = km;
     this.Vehiculo     = vehiculo;
     // this.PrecioFactura = preciofactura;
 }
Beispiel #2
0
 public void Add(Flota r)
 {
     flotaList.Add(r);
 }
Beispiel #3
0
 public bool Contains(Flota item)
 {
     return(flotaList.Contains(item));
 }
Beispiel #4
0
 public bool Remove(Flota r)
 {
     return(flotaList.Remove(r));
 }
Beispiel #5
0
 public Reservas(string IdTransp, Cliente Cliente, string tipoTrans, DateTime FContra, DateTime Fsal, DateTime Fent, double EDia, double Ekm, double km, double iva, double gas, double suplencia, Flota vehiculo)
 {
     this.Cliente           = Cliente;
     this.IdTransporte      = IdTransp;
     this.TipoTransporte    = tipoTrans;
     this.FechaContratacion = FContra;
     this.Fsalida           = Fsal;
     this.Fentrega          = Fent;
     this.ImporteDia        = EDia;
     this.ImporteKm         = Ekm;
     this.kmRecorridos      = km;
     this.IVA       = iva;
     this.Gas       = gas;
     this.Suplencia = suplencia;
     this.Vehiculo  = vehiculo;
     // this.PrecioFactura = precioFactura;
 }
Beispiel #6
0
        public static Reservas Crea(string IdTransporte, Cliente Cliente, string tipoTrans, DateTime FContra, DateTime Fsal, DateTime Fent, double EDia, double Ekm, double km, double IVA, double gas, double suplencia, Flota vehiculo)
        {
            Reservas toret = null;

            toret = new Factura(IdTransporte, Cliente, tipoTrans, FContra, Fsal, Fent, EDia, Ekm, km, IVA, gas, suplencia, vehiculo);
            return(toret);
        }