cleaning the house
This commit is contained in:
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 = ?
|
||||
;
|
||||
@@ -1,30 +0,0 @@
|
||||
select
|
||||
t.id as tid,
|
||||
c.nombre as nombre,
|
||||
c.subnombre as subnombre,
|
||||
c.descripcion as descripcion,
|
||||
c.maestro as maestro,
|
||||
c.imagen_a as cimga,
|
||||
c.imagen_b as cimgb,
|
||||
c.imagen_c as cimgc,
|
||||
day(t.fecha_inicio) as dini,
|
||||
month(t.fecha_inicio) as mini,
|
||||
day(t.fecha_fin) as dfin,
|
||||
month(t.fecha_fin) as mfin,
|
||||
t.precio as precio,
|
||||
t.promocion as promo,
|
||||
t.promo_estado as promo_estado,
|
||||
t.playera_estado as playera_estado,
|
||||
t.cupo as cupo,
|
||||
l.nombre as lnombre,
|
||||
l.federativa as federativa,
|
||||
l.pais as pais,
|
||||
l.municipio as municipio
|
||||
from tienda_evento as t
|
||||
join curso as c on c.id = t.curso_id
|
||||
join lugar as l on l.id = t.lugar_id
|
||||
|
||||
where t.id=? and t.estado =1
|
||||
;
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
select
|
||||
id,
|
||||
objeto as "objeto",
|
||||
nombre as "nombre",
|
||||
precio as "precio",
|
||||
subnombre as "subnombre",
|
||||
promocion as "promocion",
|
||||
imagen as "imagen"
|
||||
from tienda where activo =1;
|
||||
|
||||
Reference in New Issue
Block a user