diff --git a/Imagenes/bolsos/dama/aaa/AF100-197.webp b/Imagenes/bolsos/AF100-197.webp similarity index 100% rename from Imagenes/bolsos/dama/aaa/AF100-197.webp rename to Imagenes/bolsos/AF100-197.webp diff --git a/data/categorias.json b/data/categorias.json index 2bc9f3c..f96ca18 100644 --- a/data/categorias.json +++ b/data/categorias.json @@ -24,5 +24,22 @@ ] } ] + }, + { + "id": "cacharro", + "nombre": "cacharro", + "icono": "🎁", + "subcategorias": [ + { + "id": "parlantes", + "nombre": "parlantes", + "subcategorias": [ + { + "id": "cables", + "nombre": "cables" + } + ] + } + ] } ] diff --git a/data/contraseñas.json b/data/contraseñas.json index 99e1849..b5f0c18 100644 --- a/data/contraseñas.json +++ b/data/contraseñas.json @@ -8,6 +8,15 @@ { "usuario": "juan", "contraseña": "123456", + "rol": "editor", + "permisos": [ + "productos", + "agotados" + ] + }, + { + "usuario": "juan carlos", + "contraseña": "123456", "rol": "vendedor", "permisos": [ "descargas" diff --git a/data/productos.json b/data/productos.json index d5c8e58..1bd4120 100644 --- a/data/productos.json +++ b/data/productos.json @@ -57,7 +57,7 @@ "dama", "aaa" ], - "img": "bolsos/dama/aaa/AF100-197.webp", + "img": "bolsos/AF100-197.webp", "nombre": "BOLSO", "precio": 10000 }, diff --git a/data/sesiones.json b/data/sesiones.json index 316f419..fe51488 100644 --- a/data/sesiones.json +++ b/data/sesiones.json @@ -1,14 +1 @@ -[ - { - "token": "6a1237154be60b22394abc5dec73f77f2e0b53daefe726a630fd280dfdfc3810", - "usuario": "admin", - "rol": "admin", - "createdAt": 1781010881218 - }, - { - "token": "8929371d141205d2a2d7b0328e8ff3561a5d808be5894b476c48419777b57063", - "usuario": "juan", - "rol": "vendedor", - "createdAt": 1781010897294 - } -] +[] diff --git a/pedidos/pedido-1781097001875.pdf b/pedidos/pedido-1781097001875.pdf new file mode 100644 index 0000000..77b257c --- /dev/null +++ b/pedidos/pedido-1781097001875.pdf @@ -0,0 +1,160 @@ +%PDF-1.3 +% +7 0 obj +<< +/Type /Page +/Parent 1 0 R +/MediaBox [0 0 595.28 841.89] +/Contents 5 0 R +/Resources 6 0 R +>> +endobj +6 0 obj +<< +/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] +/Font << +/F2 8 0 R +/F1 9 0 R +>> +>> +endobj +5 0 obj +<< +/Length 800 +/Filter /FlateDecode +>> +stream +xX˪F+`$׻G |#916jSu%J8Qjs[Rܼ珮Pvs*-ivDYAњKm+R%}jnx VuNN)L&iܼA"淅BV%,2iSqJL7n<>po%L\NL׆9_A +!SRDFRI)-0B.p*G/Gr@1.{ZH'$ a^eEE۝uzBLX6E0V7aONLR֡чϢ䒝D1\^4"{|H\˺s!$tOK9bcp22.#|E*8= )-d16_O1emXإ=;y'(aΡPA? +L <>aOƧUVIU>|YeIU %$^9VUf쭫 g}/sÕ:kjRQ$UkTy5]ie+eΰ-S#jFX)' P-wUs]i+9=Ÿw޳1n3m˾:Z'ށxjD-2r~Lpj$P~[_Zq>Z1>Z&{8Lxe ٚMn|a> +endobj +11 0 obj +<< +/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] +/Font << +/F1 9 0 R +>> +>> +endobj +10 0 obj +<< +/Length 131 +/Filter /FlateDecode +>> +stream +xmͻ +@~}΀X`l'VK$X=0;òs}~WPra7Ni&irT7}H]̓E5 m,0$9Dҩэ~c& +endstream +endobj +14 0 obj +(PDFKit) +endobj +15 0 obj +(PDFKit) +endobj +16 0 obj +(D:20260610131001Z) +endobj +17 0 obj +(Pedido - juan carlo) +endobj +18 0 obj +(Infinity) +endobj +19 0 obj +(Pedido de productos) +endobj +13 0 obj +<< +/Producer 14 0 R +/Creator 15 0 R +/CreationDate 16 0 R +/Title 17 0 R +/Author 18 0 R +/Subject 19 0 R +>> +endobj +9 0 obj +<< +/Type /Font +/BaseFont /Helvetica +/Subtype /Type1 +/Encoding /WinAnsiEncoding +>> +endobj +8 0 obj +<< +/Type /Font +/BaseFont /Helvetica-Bold +/Subtype /Type1 +/Encoding /WinAnsiEncoding +>> +endobj +4 0 obj +<< +>> +endobj +3 0 obj +<< +/Type /Catalog +/Pages 1 0 R +/Names 2 0 R +>> +endobj +1 0 obj +<< +/Type /Pages +/Count 2 +/Kids [7 0 R 12 0 R] +>> +endobj +2 0 obj +<< +/Dests << + /Names [ +] +>> +>> +endobj +xref +0 20 +0000000000 65535 f +0000002095 00000 n +0000002159 00000 n +0000002033 00000 n +0000002012 00000 n +0000000224 00000 n +0000000125 00000 n +0000000015 00000 n +0000001910 00000 n +0000001813 00000 n +0000001299 00000 n +0000001209 00000 n +0000001096 00000 n +0000001692 00000 n +0000001503 00000 n +0000001528 00000 n +0000001553 00000 n +0000001589 00000 n +0000001627 00000 n +0000001654 00000 n +trailer +<< +/Size 20 +/Root 3 0 R +/Info 13 0 R +/ID [<6916e8768e29c3bfeec0704a55d5562e> <6916e8768e29c3bfeec0704a55d5562e>] +>> +startxref +2206 +%%EOF