Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. var DateEm = function (nombre, direccion, telefono, nif) {
  2.  
  3. this.nombre = nombre;
  4. this.direccion = direccion;
  5. this.telefono = telefono;
  6. this.nif = nif;
  7. }
  8. var DateClient = function (nombre, direccion, telefono, nif) {
  9. this.nombre = nombre;
  10. this.direccion = direccion;
  11. this.telefono = telefono;
  12. this.nif = nif;
  13. }
  14. var Items = function (numFactura, tipoIVA, formaPago, fecha) {
  15. this.numFactura = numFactura;
  16. this.tipoIVA = tipoIVA;
  17. this.formaPago = formaPago;
  18. this.fecha = fecha;
  19. }
  20.  
  21. var nombreE = new DateEm('nuevaempresa', 'La calle de la empresa', 912934876, '96743658-Y');
  22. var DateClient = new DateClient('ile', 'calle del cliente', 945674587, '87656787-I');
  23. var Items = new Items('1542-R', '4%', 'efectivo', new Date());
  24. console.log(nombreE)
  25. console.log(DateClient)
  26. console.log(Items)
  27.  
  28. var Art = function (NumArticulo, NombreArt, descripccion, cantidad, precio) {
  29. this.NumArticulo = NumArticulo
  30. this.NombreArt = NombreArt
  31. this.descripccion = descripccion
  32. this.cantidad = cantidad
  33. this.precio = precio
  34. }
  35. var Id = new Art('15524-4', 'Angulos', 'Un agudo libro siempre y cuando se lea anguladamente', 1, 23)
  36. console.log(Id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement