cleaning the house
This commit is contained in:
14
lib/Dojo/Model/Data/spay/qIdStore.q
Executable file
14
lib/Dojo/Model/Data/spay/qIdStore.q
Executable file
@@ -0,0 +1,14 @@
|
||||
select
|
||||
id,
|
||||
objeto,
|
||||
nombre,
|
||||
precio,
|
||||
subnombre,
|
||||
promocion,
|
||||
opcion,
|
||||
descripcion,
|
||||
imagenb as "imagen",
|
||||
existencia,
|
||||
entrega_id "entrega_id"
|
||||
from tienda where id=? and activo =1;
|
||||
|
||||
19
lib/Dojo/Model/Data/spay/qIntentConfirm.q
Normal file
19
lib/Dojo/Model/Data/spay/qIntentConfirm.q
Normal file
@@ -0,0 +1,19 @@
|
||||
insert into caja_evento
|
||||
(
|
||||
cliente_nombre,
|
||||
cliente_correo,
|
||||
cliente_comentario,
|
||||
tienda_evento_id,
|
||||
talla_id,
|
||||
cantidad,
|
||||
monto,
|
||||
etapa_id,
|
||||
entrega_id,
|
||||
pago_clave,
|
||||
plazo,
|
||||
fecha_pago
|
||||
)
|
||||
values (?,?,?,?,?,?,?,?,?,?,?,now())
|
||||
;
|
||||
|
||||
|
||||
10
lib/Dojo/Model/Data/spay/qIntentCreate.q
Normal file
10
lib/Dojo/Model/Data/spay/qIntentCreate.q
Normal file
@@ -0,0 +1,10 @@
|
||||
select
|
||||
t.precio as precio,
|
||||
c.nombre as nombre
|
||||
from
|
||||
tienda_evento as t
|
||||
inner join
|
||||
curso as c on t.curso_id=c.id
|
||||
where
|
||||
t.id = ?
|
||||
;
|
||||
Reference in New Issue
Block a user