El carrito de la compra está vacío!
Has Click aquí para continuar comprando.
STRCompra

{"options":{"id":"B56A4893-2844-47E5-A057-0A00BE73A767","DBToken":"SEVEN202102USIC","idTienda":"tienda-1","es":"router","Lead":{"id":"AjFNSPzx6KbhbbhF2ZUoYGYBwmZypTk7cGeIb9vILJie9a6pyY","codi":2860524},"singlePage":1,"alldata":1,"noCloseConnection":1},"alldata":1,"initoptions":{"id":"B56A4893-2844-47E5-A057-0A00BE73A767","DBToken":"SEVEN202102USIC","idTienda":"tienda-1","es":"router","Lead":{"id":"AjFNSPzx6KbhbbhF2ZUoYGYBwmZypTk7cGeIb9vILJie9a6pyY","codi":2860524},"singlePage":1,"alldata":1,"noCloseConnection":1},"sql":"\n DECLARE @client int,@tipo varchar(59);\n SET @tipo ='pedTienda';\n SET @client = 2860524;\n DECLARE @num int;\n if NOT EXISTS(select num from webspedidosNoms where client = @client and tipo = @tipo and (ISNULL(comandesId,0) = 0 OR swProcesado IS NULL)) begin\n SET @num = (select isnull(max(num),0) from webspedidosNoms) + 1;\n insert into webspedidosNoms (num, client, fecha,tipo ) values (@num, @client,getdate(),@tipo )\n select num, nom, client, fecha\n from webspedidosNoms where num = @num\n\n end else begin\n SET @num = (select TOP 1 num from webspedidosNoms where client = @client and tipo = @tipo and (ISNULL(comandesId,0) = 0 OR swProcesado IS NULL) order by num DESC);\n select TOP 1 num, nom, client, fecha,\n swConfirmado, ISNULL(comandesId,0) as comandesId,\n swRecogidaEnTienda,swKubyPasarela, direccionEnvio, domicilioEnvio, ISNULL(comentari,'') as observaciones\n from webspedidosNoms where client = @client and tipo = @tipo and (ISNULL(comandesId,0) = 0 OR swProcesado IS NULL) order by num DESC\n end\n ","pedido":{"num":5735,"nom":null,"client":2860524,"fecha":"2024-10-05T01:14:43.036Z","subtotal":0},"articulos":null,"noitems":true}