
---------------- J S O N  R E C I B I D O ----------------
{"orden":"080FC","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Aurist S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:01","hora_entrega":"2023-07-10T20:16:57-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1570,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"910 32 461","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1570,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3933
Proximo # De Orden : T3933

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3933','T3933','AG','080FC','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','080FC / Uber','','CONSUMO','',
 '','2023-07-10','20:01','2023-07-10T20:16:57-04:00',
 '1570','0','0','0','0','1570','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9550
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 910 32 461
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1570 = 1570
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 080FC<BR>canal : AG<BR>referencia : 080FC<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : AURIST S.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:01<BR>porciento descuento : 0.00<BR>total : 1,570.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>00180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000603<BR>4-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000603<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000603<BR>6-            0200007    BREADSTICKS :    1 *        0 =        0         K000603<BR>...300 caracteres de 652<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3933",
			"email":"1"
		}
Orden registrada. # Orden Json : 3933 / # Orden Web : T3933
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"102F6","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Nicole R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:02","hora_entrega":"2023-07-10T20:18:33-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1570,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"667 94 719","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1570,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3934
Proximo # De Orden : T3934

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3934','T3934','AG','102F6','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','102F6 / Uber','','CONSUMO','',
 '','2023-07-10','20:02','2023-07-10T20:18:33-04:00',
 '1570','0','0','0','0','1570','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9551
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 667 94 719
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1570 = 1570
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 102F6<BR>canal : AG<BR>referencia : 102F6<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : NICOLE R.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:02<BR>porciento descuento : 0.00<BR>total : 1,570.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>00173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000603<BR>4-            0700178    ING SOLO TOCINETA HUTCHEE :    1 *        0 =        0         K000603<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000603<BR>6-            0200007    BREADSTICKS :    1 *        0 =        0         K000603<BR>...300 caracteres de 657<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3934",
			"email":"1"
		}
Orden registrada. # Orden Json : 3934 / # Orden Web : T3934
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29743793","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8293642076","nombre":"11 11","calle":"Puerto Plata","sector":"Torre alta puerto plata","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:04","hora_entrega":"20:34","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1860,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Q8GC+F92, Puerto Plata 57000, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Puerto Plata","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.776143","lng":"-70.6791248"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100171","descripcion":"Pepperoni Lover\u0027s Hut Cheese","cantidad":1,"precio":1170,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0200023","descripcion":"Buffalo Wings (8 Unid.)","cantidad":1,"precio":690,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3935

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('743793','T3935','WA','743793','37','PUERTO PLATA','D',
 '829-364-2076','11 11','','CONSUMO','',
 '','2023-07-10','20:04','20:34',
 '1860','0','0','0','0','1860','0',
 '','EFECTIVO' ,'19.776143' ,'-70.6791248','','PUERTO PLATA','0 ',
 'Torre alta puerto plata','','','','','',''
)
header registrado
Ultimo ID : 9553
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Q8GC+F92, Puerto Plata 57000, República Dominicana
countryCode : DO
city : Puerto Plata
street : Puerto Plata
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100171 Pepperoni Lover's Hut Cheese : 1 * 1170 = 1170
2- 0200023 Buffalo Wings (8 Unid.) : 1 * 690 = 690

  OK
enviar_notificacion_orden_registrada
 orden : 743793<BR>canal : WA<BR>referencia : 743793<BR>cod_unidad : 37<BR>nom_unidad : PUERTO PLATA<BR>tipo_fac : D<BR>telefono : 829-364-2076<BR>cliente : 11 11<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:04<BR>porciento descuento : 0.00<BR>total : 1,860.00<BR>forma_pago : EFECTIVO<BR>calle : PUERTO PLATA<BR>sector : Torre alta puerto plata<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 19.776143<BR>longitud : -70.6791248<BR>destino : Q8GC+F92, Puerto Plata 57000, República Dominicana<BR>calle : Puerto Plata<BR>numero : 0<BR>ciudad : <BR><BR>...300 caracteres de 270<BR>Esta orden tiene 2 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3935",
			"email":"1"
		}
Orden registrada. # Orden Json : 743793 / # Orden Web : T3935
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29747488","canal":"Wa","tipo_fac":"D","cod_unidad":"03","nom_unidad":"Bella Vista","email":"","telefono":" 8297644296","nombre":"Laura Pichardo","calle":"Bella Vista","sector":"Bella vista","casa":"","numero":"5","comentario1":"Calle del rincon #5 edif. Mayer III apartamento 301. Es una calle sin salida, se entra por la 27 de febrero","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:05","hora_entrega":"20:35","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F366+6J5, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Bella Vista","number":"5","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle del rincon #5 edif. Mayer III apartamento 301. Es una calle sin salida, se entra por la 27 de febrero","latLng":{"lat":"18.4604932","lng":"-69.9384003"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000823","descripcion":"Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":4,"grupolinea":1,"plu":"0700177","descripcion":"ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3936

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('747488','T3936','WA','747488','03','BELLA VISTA','D',
 '829-764-4296','LAURA PICHARDO','','CONSUMO','',
 '','2023-07-10','20:05','20:35',
 '1250','0','0','0','0','1250','0',
 '','TARJETA' ,'18.4604932' ,'-69.9384003','','BELLA VISTA','5 ',
 'Bella vista','CALLE DEL RINCON #5 EDIF. MAYER III APAR','TAMENTO 301. ES UNA CALLE SIN SALIDA, SE',' ENTRA POR LA 27 DE FEBRERO','','',''
)
header registrado
Ultimo ID : 9554
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F366+6J5, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Bella Vista
number : 5
floor : 
latLng : Array
comment : Calle del rincon #5 edif. Mayer III apartamento 301. Es una calle sin salida, se entra por la 27 de febrero
-------------- Insertar detalle orden -----------
1- K000823 Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola : 1 * 1250 = 1250
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700177 ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 747488<BR>canal : WA<BR>referencia : 747488<BR>cod_unidad : 03<BR>nom_unidad : BELLA VISTA<BR>tipo_fac : D<BR>telefono : 829-764-4296<BR>cliente : LAURA PICHARDO<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:05<BR>porciento descuento : 0.00<BR>total : 1,250.00<BR>forma_pago : TARJETA<BR>calle : BELLA VISTA<BR>sector : Bella vista<BR>casa : <BR>numero : 5<BR>infoComprobante : <BR>comentarios : <BR>1)CALLE DEL RINCON #5 EDIF. MAYER III APAR<BR>2)TAMENTO 301. ES UNA CALLE SIN SALIDA, SE<BR>3) ENTRA POR LA 27 DE FEBRERO<BR>4)<BR><BR>latitud : 18.4604932<BR>longitud : -69.9384003<BR>destino : F366+6J5, Santo Domingo, República Dominicana<BR>calle : Bella Vista<BR>numero : 5<BR>ciudad : <BR><BR>3    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000823<BR>4-            0700177    ING SOLO SALCHICHA HUTCHE :    1 *        0 =        0         K000823<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000823<BR>...300 caracteres de 568<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3936",
			"email":"1"
		}
Orden registrada. # Orden Json : 747488 / # Orden Web : T3936
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29748181","canal":"Wa","tipo_fac":"D","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8297633849","nombre":"Laura Nina","calle":"Calle 2","sector":"","casa":"","numero":"18","comentario1":"Calle segunda, edificio don nery IV #20 apartamento 402, el millon","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:13","hora_entrega":"20:43","subtotal":0,"valor_descuento":-179.25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1015.75,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"Fiscal cpg ingenieria  131017322","address":[{"formatted":"C. 2 18, Santo Domingo Este 11803, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle 2","number":"18","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle segunda, edificio don nery IV #20 apartamento 402, el millon","latLng":{"lat":"18.4541876","lng":"-69.9579883"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000890","descripcion":"Crunchy Hut Cheese 1 Ing.","cantidad":1,"precio":1195,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":4,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3937

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('748181','T3937','WA','748181','12','NUñEZ DE CáCERES','D',
 '829-763-3849','LAURA NINA','','CONSUMO','',
 '','2023-07-10','20:13','20:43',
 '1195','179.25','15','0','0','1015.75','0',
 '','EFECTIVO' ,'18.4541876' ,'-69.9579883','','CALLE 2','18 ',
 '','CALLE SEGUNDA, EDIFICIO DON NERY IV #20 ','APARTAMENTO 402, EL MILLON','','','','Fiscal cpg ingenieria  131017322'
)
header registrado
Ultimo ID : 9556
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 2 18, Santo Domingo Este 11803, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle 2
number : 18
floor : 
latLng : Array
comment : Calle segunda, edificio don nery IV #20 apartamento 402, el millon
-------------- Insertar detalle orden -----------
1- K000890 Crunchy Hut Cheese 1 Ing. : 1 * 1195 = 1195
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 748181<BR>canal : WA<BR>referencia : 748181<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES<BR>tipo_fac : D<BR>telefono : 829-763-3849<BR>cliente : LAURA NINA<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:13<BR>porciento descuento : 15.00<BR>total : 1,015.75<BR>forma_pago : EFECTIVO<BR>calle : CALLE 2<BR>sector : <BR>casa : <BR>numero : 18<BR>infoComprobante : Fiscal cpg ingenieria  131017322<BR>comentarios : <BR>1)CALLE SEGUNDA, EDIFICIO DON NERY IV #20 <BR>2)APARTAMENTO 402, EL MILLON<BR>3)<BR>4)<BR><BR>latitud : 18.4541876<BR>longitud : -69.9579883<BR>destino : C. 2 18, Santo Domingo Este 11803, República Dominicana<BR>calle : Calle 2<BR>numero : 18<BR>ciudad : <BR><BR>RONI HUTC :    1 *        0 =        0         K000890<BR>4-            0700180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000890<BR>...300 caracteres de 452<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3937",
			"email":"1"
		}
Orden registrada. # Orden Json : 748181 / # Orden Web : T3937
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29747667","canal":"Wa","tipo_fac":"D","cod_unidad":"34","nom_unidad":"Pueblo Bávaro","email":"","telefono":" 8292097176","nombre":"Dios Es Fiel","calle":"Verón","sector":"{\"lat\": 18.598318099975586, \"long\": -68.44470977783203}","casa":"","numero":"0","comentario1":"En que tiempo llega","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:16","hora_entrega":"20:56","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":510,"forma_pago":"EFECTIVO","cambio_efectivo":1000,"referencia":"","infoComprobante":null,"address":[{"formatted":"HHX4+C35, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Verón","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"En que tiempo llega","latLng":{"lat":"18.5985913","lng":"-68.44476240000002"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000627","descripcion":"Pizza Pequeña 1 Ing.","cantidad":1,"precio":510,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100187","descripcion":"BASICA 1 ING PEQ PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":3,"grupolinea":1,"plu":"0700087","descripcion":"ING SOLO MAIZ PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":4,"grupolinea":1,"plu":"0700140","descripcion":"ING SOLO POLLO  PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3938

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('747667','T3938','WA','747667','34','PUEBLO BáVARO','D',
 '829-209-7176','DIOS ES FIEL','','CONSUMO','',
 '','2023-07-10','20:16','20:56',
 '510','0','0','0','0','510','1000',
 '','EFECTIVO' ,'18.5985913' ,'-68.44476240000002','','VERON','0 ',
 '{"lat": 18.598318099975586, "long": -68.44470977783203}','EN QUE TIEMPO LLEGA','','','','',''
)
header registrado
Ultimo ID : 9561
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : HHX4+C35, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Verón
number : 0
floor : 
latLng : Array
comment : En que tiempo llega
-------------- Insertar detalle orden -----------
1- K000627 Pizza Pequeña 1 Ing. : 1 * 510 = 510
2- 0100187 BASICA 1 ING PEQ PAN : 1 * 0 = 0
3- 0700087 ING SOLO MAIZ PEQ : 1 * 0 = 0
4- 0700140 ING SOLO POLLO  PEQ : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 747667<BR>canal : WA<BR>referencia : 747667<BR>cod_unidad : 34<BR>nom_unidad : PUEBLO BáVARO<BR>tipo_fac : D<BR>telefono : 829-209-7176<BR>cliente : DIOS ES FIEL<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:16<BR>porciento descuento : 0.00<BR>total : 510.00<BR>forma_pago : EFECTIVO<BR>calle : VERON<BR>sector : {"lat": 18.598318099975586, "long": -68.44470977783203}<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)EN QUE TIEMPO LLEGA<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.5985913<BR>longitud : -68.44476240000002<BR>destino : HHX4+C35, Punta Cana 23000, República Dominicana<BR>calle : Verón<BR>numero : 0<BR>ciudad : <BR><BR>PEQ :    1 *        0 =        0         K000627<BR>4-            0700140    ING SOLO POLLO  PEQ :    1 *        0 =        0         K000627<BR>...300 caracteres de 445<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3938",
			"email":"1"
		}
Orden registrada. # Orden Json : 747667 / # Orden Web : T3938
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29681571","canal":"Wa","tipo_fac":"D","cod_unidad":"17","nom_unidad":"San Francisco de Macorís","email":"","telefono":" 8296413717","nombre":"Paulino","calle":"Res El Dorado","sector":"{\"lat\": 19.285560607910156, \"long\": -70.26038360595703}","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:22","hora_entrega":"20:52","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1055,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"7PPR+56H, San Francisco de Macorís 31000, República Dominicana","countryCode":"DO","city":"San Francisco de Macorís","street":"Res El Dorado","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.2855793","lng":"-70.2603506"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1055,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3939

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('681571','T3939','WA','681571','17','SAN FRANCISCO DE MACORíS','D',
 '829-641-3717','PAULINO','','CONSUMO','',
 '','2023-07-10','20:22','20:52',
 '1055','0','0','0','0','1055','0',
 '','EFECTIVO' ,'19.2855793' ,'-70.2603506','','RES EL DORADO','0 ',
 '{"lat": 19.285560607910156, "long": -70.26038360595703}','','','','','',''
)
header registrado
Ultimo ID : 9562
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 7PPR+56H, San Francisco de Macorís 31000, República Dominicana
countryCode : DO
city : San Francisco de Macorís
street : Res El Dorado
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1055 = 1055
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 681571<BR>canal : WA<BR>referencia : 681571<BR>cod_unidad : 17<BR>nom_unidad : SAN FRANCISCO DE MACORíS<BR>tipo_fac : D<BR>telefono : 829-641-3717<BR>cliente : PAULINO<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:22<BR>porciento descuento : 0.00<BR>total : 1,055.00<BR>forma_pago : EFECTIVO<BR>calle : RES EL DORADO<BR>sector : {"lat": 19.285560607910156, "long": -70.26038360595703}<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 19.2855793<BR>longitud : -70.2603506<BR>destino : 7PPR+56H, San Francisco de Macorís 31000, República Dominicana<BR>calle : Res El Dorado<BR>numero : 0<BR>ciudad : <BR><BR> PEPPERONI HUTC :    1 *        0 =        0         K000621<BR>4-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000621<BR>...300 caracteres de 461<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3939",
			"email":"1"
		}
Orden registrada. # Orden Json : 681571 / # Orden Web : T3939
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29749293","canal":"Wa","tipo_fac":"C","cod_unidad":"28","nom_unidad":"La Romana","email":"","telefono":" 8295636501","nombre":"Customer","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:24","hora_entrega":"20:24","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1395,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1395,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3940

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('749293','T3940','WA','749293','28','LA ROMANA','C',
 '829-563-6501','CUSTOMER','','CONSUMO','',
 '','2023-07-10','20:24','20:24',
 '1395','0','0','0','0','1395','0',
 '','TARJETA' ,'0' ,'0','','',' ',
 '','','','','','',''
)
header registrado
Ultimo ID : 9563
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1395 = 1395
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
4- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 749293<BR>canal : WA<BR>referencia : 749293<BR>cod_unidad : 28<BR>nom_unidad : LA ROMANA<BR>tipo_fac : C<BR>telefono : 829-563-6501<BR>cliente : CUSTOMER<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:24<BR>porciento descuento : 0.00<BR>total : 1,395.00<BR>forma_pago : TARJETA<BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 0<BR>longitud : 0<BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>00176    ING SOLO POLLO HUTCHEESE :    1 *        0 =        0         K000603<BR>4-            0700176    ING SOLO POLLO HUTCHEESE :    1 *        0 =        0         K000603<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000603<BR>6-            0200007    BREADSTICKS :    1 *        0 =        0         K000603<BR>...300 caracteres de 657<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3940",
			"email":"1"
		}
Orden registrada. # Orden Json : 749293 / # Orden Web : T3940
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29749833","canal":"Wa","tipo_fac":"D","cod_unidad":"19","nom_unidad":"Independencia","email":"","telefono":" 8494392418","nombre":"Coraima G","calle":"Calle 1ra","sector":"Honduras","casa":"","numero":"22a","comentario1":"Calle 1ra de honduras edificio Joel I 22a apartamento 2b","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:29","hora_entrega":"21:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. 1ra 22a, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle 1ra","number":"22a","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle 1ra de honduras edificio Joel I 22a apartamento 2b","latLng":{"lat":"18.4508176","lng":"-69.933701"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000823","descripcion":"Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":4,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3941

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('749833','T3941','WA','749833','19','INDEPENDENCIA','D',
 '849-439-2418','CORAIMA G','','CONSUMO','',
 '','2023-07-10','20:29','21:00',
 '1250','0','0','0','0','1250','0',
 '','TARJETA' ,'18.4508176' ,'-69.933701','','CALLE 1RA','22a ',
 'Honduras','CALLE 1RA DE HONDURAS EDIFICIO JOEL I 22','A APARTAMENTO 2B','','','',''
)
header registrado
Ultimo ID : 9567
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 1ra 22a, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle 1ra
number : 22a
floor : 
latLng : Array
comment : Calle 1ra de honduras edificio Joel I 22a apartamento 2b
-------------- Insertar detalle orden -----------
1- K000823 Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola : 1 * 1250 = 1250
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 749833<BR>canal : WA<BR>referencia : 749833<BR>cod_unidad : 19<BR>nom_unidad : INDEPENDENCIA<BR>tipo_fac : D<BR>telefono : 849-439-2418<BR>cliente : CORAIMA G<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:29<BR>porciento descuento : 0.00<BR>total : 1,250.00<BR>forma_pago : TARJETA<BR>calle : CALLE 1RA<BR>sector : Honduras<BR>casa : <BR>numero : 22a<BR>infoComprobante : <BR>comentarios : <BR>1)CALLE 1RA DE HONDURAS EDIFICIO JOEL I 22<BR>2)A APARTAMENTO 2B<BR>3)<BR>4)<BR><BR>latitud : 18.4508176<BR>longitud : -69.933701<BR>destino : C. 1ra 22a, Santo Domingo, República Dominicana<BR>calle : Calle 1ra<BR>numero : 22a<BR>ciudad : <BR><BR>3    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000823<BR>4-            0700172    ING SOLO MAIZ HUTCHEESE :    1 *        0 =        0         K000823<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000823<BR>...300 caracteres de 566<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3941",
			"email":"1"
		}
Orden registrada. # Orden Json : 749833 / # Orden Web : T3941
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"01DA6","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Jose Enrique R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:32","hora_entrega":"2023-07-10T20:47:42-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":925,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"874 84 162","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":925,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700086","descripcion":"ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3942
Proximo # De Orden : T3942

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3942','T3942','AG','01DA6','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','01DA6 / Uber','','CONSUMO','',
 '','2023-07-10','20:32','2023-07-10T20:47:42-04:00',
 '925','0','0','0','0','925','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9569
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 874 84 162
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 925 = 925
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700086 ING SOLO MAIZ MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 01DA6<BR>canal : AG<BR>referencia : 01DA6<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : JOSE ENRIQUE R.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:32<BR>porciento descuento : 0.00<BR>total : 925.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>ED :    1 *        0 =        0         K000625<BR>4-            0700048    ING SOLO PEPPERONI MED :    1 *        0 =        0         K000625<BR>...300 caracteres de 447<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3942",
			"email":"1"
		}
Orden registrada. # Orden Json : 3942 / # Orden Web : T3942
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29750976","canal":"Wa","tipo_fac":"D","cod_unidad":"30","nom_unidad":"Lope De Vega","email":"","telefono":" 8293836687","nombre":"Jos  Miguel P rez","calle":"Calle Poncio Sabater","sector":"Paraíso","casa":"","numero":"13","comentario1":"Torre 9+siete apto 10","comentario2":"","comentario3":"No","comentario4":"Cocción horno y medio","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:38","hora_entrega":"21:08","subtotal":0,"valor_descuento":-179.25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1015.75,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Poncio Sabater 13, Santo Domingo 11005, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Poncio Sabater","number":"13","apt":"","floor":"","entrance":"","pobox":"","comment":"Torre 9+siete apto 10","latLng":{"lat":"18.4786682","lng":"-69.94351840000002"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000890","descripcion":"Crunchy Hut Cheese 1 Ing.","cantidad":1,"precio":1195,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":3,"grupolinea":1,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3943

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('750976','T3943','WA','750976','30','LOPE DE VEGA','D',
 '829-383-6687','JOS  MIGUEL P REZ','','CONSUMO','',
 '','2023-07-10','20:38','21:08',
 '1195','179.25','15','0','0','1015.75','0',
 '','TARJETA' ,'18.4786682' ,'-69.94351840000002','','CALLE PONCIO SABATER','13 ',
 'Paraíso','TORRE 9+SIETE APTO 10','','','','',''
)
header registrado
Ultimo ID : 9573
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Poncio Sabater 13, Santo Domingo 11005, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Poncio Sabater
number : 13
floor : 
latLng : Array
comment : Torre 9+siete apto 10
-------------- Insertar detalle orden -----------
1- K000890 Crunchy Hut Cheese 1 Ing. : 1 * 1195 = 1195
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 750976<BR>canal : WA<BR>referencia : 750976<BR>cod_unidad : 30<BR>nom_unidad : LOPE DE VEGA<BR>tipo_fac : D<BR>telefono : 829-383-6687<BR>cliente : JOS  MIGUEL P REZ<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:38<BR>porciento descuento : 15.00<BR>total : 1,015.75<BR>forma_pago : TARJETA<BR>calle : CALLE PONCIO SABATER<BR>sector : Paraíso<BR>casa : <BR>numero : 13<BR>infoComprobante : <BR>comentarios : <BR>1)TORRE 9+SIETE APTO 10<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4786682<BR>longitud : -69.94351840000002<BR>destino : C. Poncio Sabater 13, Santo Domingo 11005, República Dominicana<BR>calle : Calle Poncio Sabater<BR>numero : 13<BR>ciudad : <BR><BR> HUTCHEESE :    1 *        0 =        0         K000890<BR>4-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000890<BR>...300 caracteres de 456<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3943",
			"email":"1"
		}
Orden registrada. # Orden Json : 750976 / # Orden Web : T3943
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29750176","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8096010401","nombre":"orqui 4040","calle":"Calle 8","sector":"Calle 8 #67 ensanche las Américas","casa":"","numero":"67","comentario1":"Entre la calle 8 y la calle 9, #67 segunda planta, parte atrás, la calle queda entre la respaldo las Américas y la calle 4","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:40","hora_entrega":"21:10","subtotal":0,"valor_descuento":-179.25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1015.75,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Calle 8 67, Santo Domingo Este 11601, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle 8","number":"67","apt":"","floor":"","entrance":"","pobox":"","comment":"Entre la calle 8 y la calle 9, #67 segunda planta, parte atrás, la calle queda entre la respaldo las Américas y la calle 4","latLng":{"lat":"18.4840111","lng":"-69.8646854"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000890","descripcion":"Crunchy Hut Cheese 1 Ing.","cantidad":1,"precio":1195,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":4,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3944

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('750176','T3944','WA','750176','10','VENEZUELA','D',
 '809-601-0401','ORQUI 4040','','CONSUMO','',
 '','2023-07-10','20:40','21:10',
 '1195','179.25','15','0','0','1015.75','0',
 '','TARJETA' ,'18.4840111' ,'-69.8646854','','CALLE 8','67 ',
 'Calle 8 #67 ensanche las Américas','ENTRE LA CALLE 8 Y LA CALLE 9, #67 SEGUN','DA PLANTA, PARTE ATRAS, LA CALLE QUEDA E','NTRE LA RESPALDO LAS AMERICAS Y LA CALLE',' 4','',''
)
header registrado
Ultimo ID : 9574
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Calle 8 67, Santo Domingo Este 11601, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle 8
number : 67
floor : 
latLng : Array
comment : Entre la calle 8 y la calle 9, #67 segunda planta, parte atrás, la calle queda entre la respaldo las Américas y la calle 4
-------------- Insertar detalle orden -----------
1- K000890 Crunchy Hut Cheese 1 Ing. : 1 * 1195 = 1195
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 750176<BR>canal : WA<BR>referencia : 750176<BR>cod_unidad : 10<BR>nom_unidad : VENEZUELA<BR>tipo_fac : D<BR>telefono : 809-601-0401<BR>cliente : ORQUI 4040<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:40<BR>porciento descuento : 15.00<BR>total : 1,015.75<BR>forma_pago : TARJETA<BR>calle : CALLE 8<BR>sector : Calle 8 #67 ensanche las Américas<BR>casa : <BR>numero : 67<BR>infoComprobante : <BR>comentarios : <BR>1)ENTRE LA CALLE 8 Y LA CALLE 9, #67 SEGUN<BR>2)DA PLANTA, PARTE ATRAS, LA CALLE QUEDA E<BR>3)NTRE LA RESPALDO LAS AMERICAS Y LA CALLE<BR>4) 4<BR><BR>latitud : 18.4840111<BR>longitud : -69.8646854<BR>destino : Calle 8 67, Santo Domingo Este 11601, República Dominicana<BR>calle : Calle 8<BR>numero : 67<BR>ciudad : <BR><BR>RONI HUTC :    1 *        0 =        0         K000890<BR>4-            0700172    ING SOLO MAIZ HUTCHEESE :    1 *        0 =        0         K000890<BR>...300 caracteres de 455<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3944",
			"email":"1"
		}
Orden registrada. # Orden Json : 750176 / # Orden Web : T3944
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29750767","canal":"Wa","tipo_fac":"C","cod_unidad":"07","nom_unidad":"Zona Rosa","email":"","telefono":" 8092238789","nombre":"Laura Amel","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:41","hora_entrega":"20:41","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000823","descripcion":"Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3945

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('750767','T3945','WA','750767','07','ZONA ROSA','C',
 '809-223-8789','LAURA AMEL','','CONSUMO','',
 '','2023-07-10','20:41','20:41',
 '1250','0','0','0','0','1250','0',
 '','TARJETA' ,'0' ,'0','','',' ',
 '','','','','','',''
)
header registrado
Ultimo ID : 9575
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000823 Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola : 1 * 1250 = 1250
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 750767<BR>canal : WA<BR>referencia : 750767<BR>cod_unidad : 07<BR>nom_unidad : ZONA ROSA<BR>tipo_fac : C<BR>telefono : 809-223-8789<BR>cliente : LAURA AMEL<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:41<BR>porciento descuento : 0.00<BR>total : 1,250.00<BR>forma_pago : TARJETA<BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 0<BR>longitud : 0<BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>0    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000823<BR>4-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000823<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000823<BR>...300 caracteres de 563<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3945",
			"email":"1"
		}
Orden registrada. # Orden Json : 750767 / # Orden Web : T3945
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29750467","canal":"Wa","tipo_fac":"D","cod_unidad":"23","nom_unidad":"San Isidro","email":"","telefono":" 8093413880","nombre":"Chris","calle":"Santo Domingo Este","sector":"Savica","casa":"","numero":"0","comentario1":"Respaldo A número 2","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:41","hora_entrega":"21:12","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2220,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F5Q8+5RJ, Santo Domingo Este, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Santo Domingo Este","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Respaldo A número 2","latLng":{"lat":"18.4879477","lng":"-69.8329954"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100075","descripcion":"Hawaiana Grande Thin","cantidad":1,"precio":1110,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100075","descripcion":"Hawaiana Grande Thin","cantidad":1,"precio":1110,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3946

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('750467','T3946','WA','750467','23','SAN ISIDRO','D',
 '809-341-3880','CHRIS','','CONSUMO','',
 '','2023-07-10','20:41','21:12',
 '2220','0','0','0','0','2220','0',
 '','EFECTIVO' ,'18.4879477' ,'-69.8329954','','SANTO DOMINGO ESTE','0 ',
 'Savica','RESPALDO A NUMERO 2','','','','',''
)
header registrado
Ultimo ID : 9576
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F5Q8+5RJ, Santo Domingo Este, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Santo Domingo Este
number : 0
floor : 
latLng : Array
comment : Respaldo A número 2
-------------- Insertar detalle orden -----------
1- 0100075 Hawaiana Grande Thin : 1 * 1110 = 1110
2- 0100075 Hawaiana Grande Thin : 1 * 1110 = 1110

  OK
enviar_notificacion_orden_registrada
 orden : 750467<BR>canal : WA<BR>referencia : 750467<BR>cod_unidad : 23<BR>nom_unidad : SAN ISIDRO<BR>tipo_fac : D<BR>telefono : 809-341-3880<BR>cliente : CHRIS<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:41<BR>porciento descuento : 0.00<BR>total : 2,220.00<BR>forma_pago : EFECTIVO<BR>calle : SANTO DOMINGO ESTE<BR>sector : Savica<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)RESPALDO A NUMERO 2<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4879477<BR>longitud : -69.8329954<BR>destino : F5Q8+5RJ, Santo Domingo Este, República Dominicana<BR>calle : Santo Domingo Este<BR>numero : 0<BR>ciudad : <BR><BR>...300 caracteres de 261<BR>Esta orden tiene 2 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3946",
			"email":"1"
		}
Orden registrada. # Orden Json : 750467 / # Orden Web : T3946
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29751276","canal":"Wa","tipo_fac":"D","cod_unidad":"25","nom_unidad":"Gazcue","email":"","telefono":" 8297415560","nombre":"Andres","calle":"Calle Mahatma Gandhi","sector":"Gazcue calle santiago #610","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:42","hora_entrega":"21:12","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F37R+GJX, C. Mahatma Gandhi, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Mahatma Gandhi","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4638708","lng":"-69.90839129999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000823","descripcion":"Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":3,"grupolinea":1,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":4,"grupolinea":1,"plu":"0700188","descripcion":"ING SOLO CARNE DE RES HUT","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000823"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3947

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751276','T3947','WA','751276','25','GAZCUE','D',
 '829-741-5560','ANDRES','','CONSUMO','',
 '','2023-07-10','20:42','21:12',
 '1250','0','0','0','0','1250','0',
 '','TARJETA' ,'18.4638708' ,'-69.90839129999999','','CALLE MAHATMA GANDHI','0 ',
 'Gazcue calle santiago #610','','','','','',''
)
header registrado
Ultimo ID : 9577
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F37R+GJX, C. Mahatma Gandhi, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Mahatma Gandhi
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000823 Crunchy Hut Cheese 1 ing. + 1.25LT Coca Cola : 1 * 1250 = 1250
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
4- 0700188 ING SOLO CARNE DE RES HUT : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 751276<BR>canal : WA<BR>referencia : 751276<BR>cod_unidad : 25<BR>nom_unidad : GAZCUE<BR>tipo_fac : D<BR>telefono : 829-741-5560<BR>cliente : ANDRES<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:42<BR>porciento descuento : 0.00<BR>total : 1,250.00<BR>forma_pago : TARJETA<BR>calle : CALLE MAHATMA GANDHI<BR>sector : Gazcue calle santiago #610<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4638708<BR>longitud : -69.90839129999999<BR>destino : F37R+GJX, C. Mahatma Gandhi, Santo Domingo, República Dominicana<BR>calle : Calle Mahatma Gandhi<BR>numero : 0<BR>ciudad : <BR><BR>8    ING SOLO TOCINETA HUTCHEE :    1 *        0 =        0         K000823<BR>4-            0700188    ING SOLO CARNE DE RES HUT :    1 *        0 =        0         K000823<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000823<BR>...300 caracteres de 570<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3947",
			"email":"1"
		}
Orden registrada. # Orden Json : 751276 / # Orden Web : T3947
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29751091","canal":"Wa","tipo_fac":"D","cod_unidad":"25","nom_unidad":"Gazcue","email":"","telefono":" 8294541210","nombre":"Lic Abreu","calle":"Calle Abreu","sector":"San Carlos","casa":"","numero":"51","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:43","hora_entrega":"21:14","subtotal":0,"valor_descuento":-179.25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1015.75,"forma_pago":"EFECTIVO","cambio_efectivo":1500,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Abreu 51, Santo Domingo 10217, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Abreu","number":"51","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4784347","lng":"-69.8946723"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000890","descripcion":"Crunchy Hut Cheese 1 Ing.","cantidad":1,"precio":1195,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":3,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":4,"grupolinea":1,"plu":"0700174","descripcion":"ING SOLO PIMIENTOS HUTCH","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3948

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751091','T3948','WA','751091','25','GAZCUE','D',
 '829-454-1210','LIC ABREU','','CONSUMO','',
 '','2023-07-10','20:43','21:14',
 '1195','179.25','15','0','0','1015.75','1500',
 '','EFECTIVO' ,'18.4784347' ,'-69.8946723','','CALLE ABREU','51 ',
 'San Carlos','','','','','',''
)
header registrado
Ultimo ID : 9578
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Abreu 51, Santo Domingo 10217, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Abreu
number : 51
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000890 Crunchy Hut Cheese 1 Ing. : 1 * 1195 = 1195
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
4- 0700174 ING SOLO PIMIENTOS HUTCH : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 751091<BR>canal : WA<BR>referencia : 751091<BR>cod_unidad : 25<BR>nom_unidad : GAZCUE<BR>tipo_fac : D<BR>telefono : 829-454-1210<BR>cliente : LIC ABREU<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:43<BR>porciento descuento : 15.00<BR>total : 1,015.75<BR>forma_pago : EFECTIVO<BR>calle : CALLE ABREU<BR>sector : San Carlos<BR>casa : <BR>numero : 51<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4784347<BR>longitud : -69.8946723<BR>destino : C. Abreu 51, Santo Domingo 10217, República Dominicana<BR>calle : Calle Abreu<BR>numero : 51<BR>ciudad : <BR><BR> HUTCHEESE :    1 *        0 =        0         K000890<BR>4-            0700174    ING SOLO PIMIENTOS HUTCH :    1 *        0 =        0         K000890<BR>...300 caracteres de 457<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3948",
			"email":"1"
		}
Orden registrada. # Orden Json : 751091 / # Orden Web : T3948
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"41701","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"ANNIE J.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:44","hora_entrega":"2023-07-10T21:01:36-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1790,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"673 68 262","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000915","descripcion":"Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L","cantidad":1,"precio":1790,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":4,"grupolinea":1,"plu":"0700056","descripcion":"ING SOLO QUESO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":5,"grupolinea":1,"plu":"0200023","descripcion":"BUFFALO WINGS 8 UND","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3949
Proximo # De Orden : T3949

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3949','T3949','AG','41701','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','41701 / Uber','','CONSUMO','',
 '','2023-07-10','20:44','2023-07-10T21:01:36-04:00',
 '1790','0','0','0','0','1790','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9579
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 673 68 262
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000915 Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L : 1 * 1790 = 1790
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700056 ING SOLO QUESO GDE : 1 * 0 = 0
5- 0200023 BUFFALO WINGS 8 UND : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 41701<BR>canal : AG<BR>referencia : 41701<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : ANNIE J.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:44<BR>porciento descuento : 0.00<BR>total : 1,790.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>        0700047    ING SOLO PEPPERONI GDE :    1 *        0 =        0         K000915<BR>4-            0700056    ING SOLO QUESO GDE :    1 *        0 =        0         K000915<BR>5-            0200023    BUFFALO WINGS 8 UND :    1 *        0 =        0         K000915<BR>6-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000915<BR>...300 caracteres de 667<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3949",
			"email":"1"
		}
Orden registrada. # Orden Json : 3949 / # Orden Web : T3949
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29751778","canal":"Wa","tipo_fac":"D","cod_unidad":"22","nom_unidad":"Naco","email":"","telefono":" 8093027488","nombre":"Dra  Carolina Gomez","calle":"Avenida Máximo Gómez","sector":"Ensanche la fe","casa":"","numero":"154","comentario1":"Residencial villa progreso la fe, edifico E, apartamento 8-4","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:47","hora_entrega":"21:17","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":575,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Av. Máximo Gómez 154, Santo Domingo 10514, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Avenida Máximo Gómez","number":"154","apt":"","floor":"","entrance":"","pobox":"","comment":"Residencial villa progreso la fe, edifico E, apartamento 8-4","latLng":{"lat":"18.4895388","lng":"-69.9149731"}}],"members":[{"linea":1,"grupolinea":1,"plu":"1300009","descripcion":"Lasagna Bolognesa","cantidad":1,"precio":575,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3950

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751778','T3950','WA','751778','22','NACO','D',
 '809-302-7488','DRA  CAROLINA GOMEZ','','CONSUMO','',
 '','2023-07-10','20:47','21:17',
 '575','0','0','0','0','575','0',
 '','TARJETA' ,'18.4895388' ,'-69.9149731','','AVENIDA MAXIMO GOMEZ','154 ',
 'Ensanche la fe','RESIDENCIAL VILLA PROGRESO LA FE, EDIFIC','O E, APARTAMENTO 8-4','','','',''
)
header registrado
Ultimo ID : 9582
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Av. Máximo Gómez 154, Santo Domingo 10514, República Dominicana
countryCode : DO
city : Santo Domingo
street : Avenida Máximo Gómez
number : 154
floor : 
latLng : Array
comment : Residencial villa progreso la fe, edifico E, apartamento 8-4
-------------- Insertar detalle orden -----------
1- 1300009 Lasagna Bolognesa : 1 * 575 = 575

  OK
enviar_notificacion_orden_registrada
 orden : 751778<BR>canal : WA<BR>referencia : 751778<BR>cod_unidad : 22<BR>nom_unidad : NACO<BR>tipo_fac : D<BR>telefono : 809-302-7488<BR>cliente : DRA  CAROLINA GOMEZ<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:47<BR>porciento descuento : 0.00<BR>total : 575.00<BR>forma_pago : TARJETA<BR>calle : AVENIDA MAXIMO GOMEZ<BR>sector : Ensanche la fe<BR>casa : <BR>numero : 154<BR>infoComprobante : <BR>comentarios : <BR>1)RESIDENCIAL VILLA PROGRESO LA FE, EDIFIC<BR>2)O E, APARTAMENTO 8-4<BR>3)<BR>4)<BR><BR>latitud : 18.4895388<BR>longitud : -69.9149731<BR>destino : Av. Máximo Gómez 154, Santo Domingo 10514, República Dominicana<BR>calle : Avenida Máximo Gómez<BR>numero : 154<BR>ciudad : <BR><BR>...300 caracteres de 163<BR>Esta orden tiene 1 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3950",
			"email":"1"
		}
Orden registrada. # Orden Json : 751778 / # Orden Web : T3950
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29751570","canal":"Wa","tipo_fac":"D","cod_unidad":"19","nom_unidad":"Independencia","email":"","telefono":" 8298770795","nombre":"Nieves Yaelisa Carvajal","calle":"Calle Ananda","sector":"San Miguel","casa":"","numero":"0","comentario1":"Vivo en la calle San Juan esq Ananda #Edif 10 apto 2b. Referencia: entrando por la cafetería estela.","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:49","hora_entrega":"21:20","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":995,"forma_pago":"EFECTIVO","cambio_efectivo":1000,"referencia":"","infoComprobante":null,"address":[{"formatted":"C2MP+JW9, C. Ananda, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Ananda","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Vivo en la calle San Juan esq Ananda #Edif 10 apto 2b. Referencia: entrando por la cafetería estela.","latLng":{"lat":"18.434074","lng":"-69.9626409"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000619","descripcion":"Pizza Grande 1 Ing.","cantidad":1,"precio":995,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":3,"grupolinea":1,"plu":"0700050","descripcion":"ING SOLO SALCHICHA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":4,"grupolinea":1,"plu":"0700056","descripcion":"ING SOLO QUESO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3951

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751570','T3951','WA','751570','19','INDEPENDENCIA','D',
 '829-877-0795','NIEVES YAELISA CARVAJAL','','CONSUMO','',
 '','2023-07-10','20:49','21:20',
 '995','0','0','0','0','995','1000',
 '','EFECTIVO' ,'18.434074' ,'-69.9626409','','CALLE ANANDA','0 ',
 'San Miguel','VIVO EN LA CALLE SAN JUAN ESQ ANANDA #ED','IF 10 APTO 2B. REFERENCIA: ENTRANDO POR ','LA CAFETERIA ESTELA.','','',''
)
header registrado
Ultimo ID : 9583
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C2MP+JW9, C. Ananda, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Ananda
number : 0
floor : 
latLng : Array
comment : Vivo en la calle San Juan esq Ananda #Edif 10 apto 2b. Referencia: entrando por la cafetería estela.
-------------- Insertar detalle orden -----------
1- K000619 Pizza Grande 1 Ing. : 1 * 995 = 995
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700050 ING SOLO SALCHICHA GDE : 1 * 0 = 0
4- 0700056 ING SOLO QUESO GDE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 751570<BR>canal : WA<BR>referencia : 751570<BR>cod_unidad : 19<BR>nom_unidad : INDEPENDENCIA<BR>tipo_fac : D<BR>telefono : 829-877-0795<BR>cliente : NIEVES YAELISA CARVAJAL<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:49<BR>porciento descuento : 0.00<BR>total : 995.00<BR>forma_pago : EFECTIVO<BR>calle : CALLE ANANDA<BR>sector : San Miguel<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)VIVO EN LA CALLE SAN JUAN ESQ ANANDA #ED<BR>2)IF 10 APTO 2B. REFERENCIA: ENTRANDO POR <BR>3)LA CAFETERIA ESTELA.<BR>4)<BR><BR>latitud : 18.434074<BR>longitud : -69.9626409<BR>destino : C2MP+JW9, C. Ananda, Santo Domingo, República Dominicana<BR>calle : Calle Ananda<BR>numero : 0<BR>ciudad : <BR><BR>HA GDE :    1 *        0 =        0         K000619<BR>4-            0700056    ING SOLO QUESO GDE :    1 *        0 =        0         K000619<BR>...300 caracteres de 447<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3951",
			"email":"1"
		}
Orden registrada. # Orden Json : 751570 / # Orden Web : T3951
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29746481","canal":"Wa","tipo_fac":"D","cod_unidad":"34","nom_unidad":"Pueblo Bávaro","email":"","telefono":" 8098013343","nombre":"Dayse Rojas Milera","calle":"Calle Pedro Mir","sector":"Bávaro","casa":"","numero":"0","comentario1":"","comentario2":"información adicional: Residencial Bávaro Punta Cana, calle Pedro Mir, edificio Aridio Reyes, apartamento 2.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:52","hora_entrega":"21:32","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"EFECTIVO","cambio_efectivo":1100,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Pedro Mir, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle Pedro Mir","number":"0","apt":"apartamento 2","floor":"","entrance":"residencial bávaro, edificio aridio","pobox":"","comment":"","latLng":{"lat":"18.6094533","lng":"-68.3953844"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100426","descripcion":"Crunchy Especialidades PEPPERONI LOVERS","cantidad":1,"precio":1250,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3952

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('746481','T3952','WA','746481','34','PUEBLO BáVARO','D',
 '809-801-3343','DAYSE ROJAS MILERA','','CONSUMO','',
 '','2023-07-10','20:52','21:32',
 '1250','0','0','0','0','1250','1100',
 '','EFECTIVO' ,'18.6094533' ,'-68.3953844','','CALLE PEDRO MIR','0 apartamento 2',
 'Bávaro','RESIDENCIAL BAVARO PUNTA CANA, CALLE PED','RO MIR, EDIFICIO ARIDIO REYES, APARTAMEN','TO 2.','','',''
)
header registrado
Ultimo ID : 9585
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Pedro Mir, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle Pedro Mir
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100426 Crunchy Especialidades PEPPERONI LOVERS : 1 * 1250 = 1250

  OK
enviar_notificacion_orden_registrada
 orden : 746481<BR>canal : WA<BR>referencia : 746481<BR>cod_unidad : 34<BR>nom_unidad : PUEBLO BáVARO<BR>tipo_fac : D<BR>telefono : 809-801-3343<BR>cliente : DAYSE ROJAS MILERA<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:52<BR>porciento descuento : 0.00<BR>total : 1,250.00<BR>forma_pago : EFECTIVO<BR>calle : CALLE PEDRO MIR<BR>sector : Bávaro<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)RESIDENCIAL BAVARO PUNTA CANA, CALLE PED<BR>2)RO MIR, EDIFICIO ARIDIO REYES, APARTAMEN<BR>3)TO 2.<BR>4)<BR><BR>latitud : 18.6094533<BR>longitud : -68.3953844<BR>destino : C. Pedro Mir, Punta Cana 23000, República Dominicana<BR>calle : Calle Pedro Mir<BR>numero : 0<BR>ciudad : <BR><BR>...300 caracteres de 187<BR>Esta orden tiene 1 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3952",
			"email":"1"
		}
Orden registrada. # Orden Json : 746481 / # Orden Web : T3952
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29751048","canal":"Wa","tipo_fac":"D","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8093037752","nombre":"Nina","calle":"Calle 21 Este","sector":"","casa":"","numero":"30","comentario1":"Calle 21 ESTE #30 casa dos pisos blanca porton rojo (a veces hay camion de event star parqueado al lado)","comentario2":"información adicional: Calle 21 Este 30.","comentario3":"No","comentario4":"Agregar al pedido dos salsas marinaras adicionales por favor 🙏🏻 y salsa y queso extra en ambas pizzas","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:53","hora_entrega":"21:24","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1620,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"RNC 132748026\nNINA\u0027S CATERING BY SUGARSALT SRL","address":[{"formatted":"C. 21 Este 30, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle 21 Este","number":"30","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle 21 ESTE #30 casa dos pisos blanca porton rojo (a veces hay camion de event star parqueado al lado)","latLng":{"lat":"18.4711969","lng":"-69.9627728"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000901","descripcion":"2 Pizzas Hut Cheese de 1 Ing.","cantidad":1,"precio":1620,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000901"},{"linea":3,"grupolinea":1,"plu":"0700050","descripcion":"ING SOLO SALCHICHA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000901"},{"linea":4,"grupolinea":1,"plu":"0700085","descripcion":"ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000901"},{"linea":5,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000901"},{"linea":6,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000901"},{"linea":7,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000901"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3953

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751048','T3953','WA','751048','12','NUñEZ DE CáCERES','D',
 '809-303-7752','NINA','','CONSUMO','',
 '','2023-07-10','20:53','21:24',
 '1620','0','0','0','0','1620','0',
 '','EFECTIVO' ,'18.4711969' ,'-69.9627728','','CALLE 21 ESTE','30 ',
 '','CALLE 21 ESTE #30 CASA DOS PISOS BLANCA ','PORTON ROJO (A VECES HAY CAMION DE EVENT',' STAR PARQUEADO AL LADO)','','','RNC 132748026NINA'S CATERING BY SUGARSALT SRL'
)
sql error registrando header\n\r\n\rYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'S CATERING BY SUGARSALT SRL'
)' at line 11

Se envio correo para notificar HEADER DE LA ORDEN NO INTEGRADO<BR><BR>Orden:751048<BR>Canal:WA<BR>Referencia:751048<BR>Tipo:D<BR>Localidad:12 NUñEZ DE CáCERES<BR>Email:<BR>Cliente:NINA<BR>Fecha:2023-07-10<BR>Recoger en:<BR>Forma entrega:<BR>Total:1620<BR><BR>Query : <BR>insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751048','T3953','WA','751048','12','NUñEZ DE CáCERES','D',
 '809-303-7752','NINA','','CONSUMO','',
 '','2023-07-10','20:53','21:24',
 '1620','0','0','0','0','1620','0',
 '','EFECTIVO' ,'18.4711969' ,'-69.9627728','','CALLE 21 ESTE','30 ',
 '','CALLE 21 ESTE #30 CASA DOS PISOS BLANCA ','PORTON ROJO (A VECES HAY CAMION DE EVENT',' STAR PARQUEADO AL LADO)','','','RNC 132748026NINA'S CATERING BY SUGARSALT SRL'
)<BR>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'S CATERING BY SUGARSALT SRL'
)' at line 11<BR><BR>
---------------- J S O N  R E C I B I D O ----------------
{"orden":"2674B","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Cortney M.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:55","hora_entrega":"2023-07-10T21:18:49-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1295,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"816 83 884","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":115,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1180,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":3,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3954
Proximo # De Orden : T3954

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3954','T3954','AG','2674B','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','2674B / Uber','','CONSUMO','',
 '','2023-07-10','20:55','2023-07-10T21:18:49-04:00',
 '1295','0','0','0','0','1295','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9588
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 816 83 884
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03064 Coca Cola 16 Onz : 1 * 115 = 115
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1180 = 1180
3- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
5- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 2674B<BR>canal : AG<BR>referencia : 2674B<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : CORTNEY M.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:55<BR>porciento descuento : 0.00<BR>total : 1,295.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>ESE :    1 *        0 =        0         K000621<BR>4-            0700171    ING SOLO JAMON HUTCHEESE :    1 *        0 =        0         K000621<BR>5-            0700171    ING SOLO JAMON HUTCHEESE :    1 *        0 =        0         K000621<BR>...300 caracteres de 548<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3954",
			"email":"1"
		}
Orden registrada. # Orden Json : 3954 / # Orden Web : T3954
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29650988","canal":"Wa","tipo_fac":"D","cod_unidad":"19","nom_unidad":"Independencia","email":"","telefono":" 8299574659","nombre":"Ileana Ram rez","calle":"Calle Jesús Piñeiro","sector":"~removeItems~","casa":"","numero":"El Cacique","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:55","hora_entrega":"21:26","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2075,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Jesús Piñeiro 10, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Jesús Piñeiro","number":"El Cacique","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4428459","lng":"-69.932026"}}],"members":[{"linea":1,"grupolinea":1,"plu":"1300007","descripcion":"Lasagna Pollo \u0026 Hongos","cantidad":1,"precio":575,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000822","descripcion":"Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola","cantidad":1,"precio":1500,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":4,"grupolinea":3,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":5,"grupolinea":3,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":6,"grupolinea":3,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":7,"grupolinea":3,"plu":"03059","descripcion":"2 LITROS COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3955

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('650988','T3955','WA','650988','19','INDEPENDENCIA','D',
 '829-957-4659','ILEANA RAM REZ','','CONSUMO','',
 '','2023-07-10','20:55','21:26',
 '2075','0','0','0','0','2075','0',
 '','TARJETA' ,'18.4428459' ,'-69.932026','','CALLE JESUS PINEIRO','El Cacique ',
 '~removeItems~','','','','','',''
)
header registrado
Ultimo ID : 9589
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Jesús Piñeiro 10, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Jesús Piñeiro
number : El Cacique
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 1300007 Lasagna Pollo & Hongos : 1 * 575 = 575
2- K000822 Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola : 1 * 1500 = 1500
3- 0100421 CRUNCHY BASICA : 1 * 0 = 0
4- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
5- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0
7- 03059 2 LITROS COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 650988<BR>canal : WA<BR>referencia : 650988<BR>cod_unidad : 19<BR>nom_unidad : INDEPENDENCIA<BR>tipo_fac : D<BR>telefono : 829-957-4659<BR>cliente : ILEANA RAM REZ<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:55<BR>porciento descuento : 0.00<BR>total : 2,075.00<BR>forma_pago : TARJETA<BR>calle : CALLE JESUS PINEIRO<BR>sector : ~removeItems~<BR>casa : <BR>numero : El Cacique<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4428459<BR>longitud : -69.932026<BR>destino : C. Jesús Piñeiro 10, Santo Domingo, República Dominicana<BR>calle : Calle Jesús Piñeiro<BR>numero : El Cacique<BR>ciudad : <BR><BR>          0100421    CRUNCHY BASICA :    1 *        0 =        0         K000822<BR>4-            0700176    ING SOLO POLLO HUTCHEESE :    1 *        0 =        0         K000822<BR>5-            0700178    ING SOLO TOCINETA HUTCHEE :    1 *        0 =        0         K000822<BR>6-            0200007    BREADSTICKS :    1 *        0 =        0         K000822<BR>7-            03059    2 LITROS COCA COLA :    1 *        0 =        0         K000822<BR>...300 caracteres de 756<BR>Esta orden tiene 7 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3955",
			"email":"1"
		}
Orden registrada. # Orden Json : 650988 / # Orden Web : T3955
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29751506","canal":"Wa","tipo_fac":"D","cod_unidad":"36","nom_unidad":"Juan Pablo Duarte","email":"","telefono":" 8098765761","nombre":"Larissa Aquino","calle":"Calle Pablito Mirabal Guerra","sector":"Los Laureles","casa":"","numero":"28","comentario1":"","comentario2":"información adicional: Calle Pablito Mirabal Guerra No 28 residencial Brisas de los Laureles 2B.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:55","hora_entrega":"21:26","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1030,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Pablito Mirabal Guerra 28, Santiago De Los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago De Los Caballeros","street":"Calle Pablito Mirabal Guerra","number":"28","apt":"","floor":"","entrance":"residencial brisas","pobox":"","comment":"","latLng":{"lat":"19.4437853","lng":"-70.65284199999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100120","descripcion":"Suprema Original Mediana Pan","cantidad":1,"precio":1030,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3956

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('751506','T3956','WA','751506','36','JUAN PABLO DUARTE','D',
 '809-876-5761','LARISSA AQUINO','','CONSUMO','',
 '','2023-07-10','20:55','21:26',
 '1030','0','0','0','0','1030','0',
 '','EFECTIVO' ,'19.4437853' ,'-70.65284199999999','','CALLE PABLITO MIRABAL GUERRA','28 ',
 'Los Laureles','CALLE PABLITO MIRABAL GUERRA NO 28 RESID','ENCIAL BRISAS DE LOS LAURELES 2B.','','','',''
)
header registrado
Ultimo ID : 9590
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Pablito Mirabal Guerra 28, Santiago De Los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago De Los Caballeros
street : Calle Pablito Mirabal Guerra
number : 28
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100120 Suprema Original Mediana Pan : 1 * 1030 = 1030

  OK
enviar_notificacion_orden_registrada
 orden : 751506<BR>canal : WA<BR>referencia : 751506<BR>cod_unidad : 36<BR>nom_unidad : JUAN PABLO DUARTE<BR>tipo_fac : D<BR>telefono : 809-876-5761<BR>cliente : LARISSA AQUINO<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:55<BR>porciento descuento : 0.00<BR>total : 1,030.00<BR>forma_pago : EFECTIVO<BR>calle : CALLE PABLITO MIRABAL GUERRA<BR>sector : Los Laureles<BR>casa : <BR>numero : 28<BR>infoComprobante : <BR>comentarios : <BR>1)CALLE PABLITO MIRABAL GUERRA NO 28 RESID<BR>2)ENCIAL BRISAS DE LOS LAURELES 2B.<BR>3)<BR>4)<BR><BR>latitud : 19.4437853<BR>longitud : -70.65284199999999<BR>destino : C. Pablito Mirabal Guerra 28, Santiago De Los Caballeros 51000, República Dominicana<BR>calle : Calle Pablito Mirabal Guerra<BR>numero : 28<BR>ciudad : <BR><BR>...300 caracteres de 176<BR>Esta orden tiene 1 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3956",
			"email":"1"
		}
Orden registrada. # Orden Json : 751506 / # Orden Web : T3956
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29750985","canal":"Wa","tipo_fac":"D","cod_unidad":"24","nom_unidad":"San Juan (Bávaro)","email":"","telefono":" 8296745322","nombre":"Customer","calle":"Calle Ramon Rodriguez","sector":"{\"lat\": 18.669174194335938, \"long\": -68.44094848632812}","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"20:58","hora_entrega":"21:29","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1085,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"MH95+JMM, C. Ramon Rodriguez, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle Ramon Rodriguez","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.6690742","lng":"-68.44078569999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1085,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":1,"plu":"0700086","descripcion":"ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":1,"plu":"03064","descripcion":"16 OZ COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":1,"plu":"03064","descripcion":"16 OZ COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3957

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('750985','T3957','WA','750985','24','SAN JUAN (BáVARO)','D',
 '829-674-5322','CUSTOMER','','CONSUMO','',
 '','2023-07-10','20:58','21:29',
 '1085','0','0','0','0','1085','0',
 '','EFECTIVO' ,'18.6690742' ,'-68.44078569999999','','CALLE RAMON RODRIGUEZ','0 ',
 '{"lat": 18.669174194335938, "long": -68.44094848632812}','','','','','',''
)
header registrado
Ultimo ID : 9591
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : MH95+JMM, C. Ramon Rodriguez, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle Ramon Rodriguez
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1085 = 1085
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700086 ING SOLO MAIZ MED : 1 * 0 = 0
5- 03064 16 OZ COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0
7- 03064 16 OZ COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 750985<BR>canal : WA<BR>referencia : 750985<BR>cod_unidad : 24<BR>nom_unidad : SAN JUAN (BáVARO)<BR>tipo_fac : D<BR>telefono : 829-674-5322<BR>cliente : CUSTOMER<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 20:58<BR>porciento descuento : 0.00<BR>total : 1,085.00<BR>forma_pago : EFECTIVO<BR>calle : CALLE RAMON RODRIGUEZ<BR>sector : {"lat": 18.669174194335938, "long": -68.44094848632812}<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.6690742<BR>longitud : -68.44078569999999<BR>destino : MH95+JMM, C. Ramon Rodriguez, Punta Cana 23000, República Dominicana<BR>calle : Calle Ramon Rodriguez<BR>numero : 0<BR>ciudad : <BR><BR>         0700048    ING SOLO PEPPERONI MED :    1 *        0 =        0         K000583<BR>4-            0700086    ING SOLO MAIZ MED :    1 *        0 =        0         K000583<BR>5-            03064    16 OZ COCA COLA :    1 *        0 =        0         K000583<BR>6-            0200007    BREADSTICKS :    1 *        0 =        0         K000583<BR>7-            03064    16 OZ COCA COLA :    1 *        0 =        0         K000583<BR>...300 caracteres de 741<BR>Esta orden tiene 7 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3957",
			"email":"1"
		}
Orden registrada. # Orden Json : 750985 / # Orden Web : T3957
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29753198","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 2038080269","nombre":"Customer","calle":"Calle Ramón A. Castillo","sector":"Alma Rosa I","casa":"","numero":"75","comentario1":"Alma Rosa I calle Ramón A. Castillo casa #73  \nFavor a la mitad de jamón colocarle maíz","comentario2":"","comentario3":"No","comentario4":"Que a la mitad de Jamón colocarle maíz","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:12","hora_entrega":"21:42","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1255,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Ramón A. Castillo 75, Santo Domingo 11504, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Ramón A. Castillo","number":"75","apt":"","floor":"","entrance":"","pobox":"","comment":"Alma Rosa I calle Ramón A. Castillo casa #73  \nFavor a la mitad de jamón colocarle maíz","latLng":{"lat":"18.4972468","lng":"-69.8575408"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1255,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3958

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('753198','T3958','WA','753198','10','VENEZUELA','D',
 '203-808-0269','CUSTOMER','','CONSUMO','',
 '','2023-07-10','21:12','21:42',
 '1255','0','0','0','0','1255','0',
 '','EFECTIVO' ,'18.4972468' ,'-69.8575408','','CALLE RAMON A. CASTILLO','75 ',
 'Alma Rosa I','ALMA ROSA I CALLE RAMON A. CASTILLO CASA',' #73  FAVOR A LA MITAD DE JAMON COLOCARL','E MAIZ','','',''
)
header registrado
Ultimo ID : 9595
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Ramón A. Castillo 75, Santo Domingo 11504, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Ramón A. Castillo
number : 75
floor : 
latLng : Array
comment : Alma Rosa I calle Ramón A. Castillo casa #73  
Favor a la mitad de jamón colocarle maíz
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1255 = 1255
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
4- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 753198<BR>canal : WA<BR>referencia : 753198<BR>cod_unidad : 10<BR>nom_unidad : VENEZUELA<BR>tipo_fac : D<BR>telefono : 203-808-0269<BR>cliente : CUSTOMER<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:12<BR>porciento descuento : 0.00<BR>total : 1,255.00<BR>forma_pago : EFECTIVO<BR>calle : CALLE RAMON A. CASTILLO<BR>sector : Alma Rosa I<BR>casa : <BR>numero : 75<BR>infoComprobante : <BR>comentarios : <BR>1)ALMA ROSA I CALLE RAMON A. CASTILLO CASA<BR>2) #73  FAVOR A LA MITAD DE JAMON COLOCARL<BR>3)E MAIZ<BR>4)<BR><BR>latitud : 18.4972468<BR>longitud : -69.8575408<BR>destino : C. Ramón A. Castillo 75, Santo Domingo 11504, República Dominicana<BR>calle : Calle Ramón A. Castillo<BR>numero : 75<BR>ciudad : <BR><BR>G SOLO TOCINETA MED :    1 *        0 =        0         K000914<BR>4-            0700054    ING SOLO JAMON MED :    1 *        0 =        0         K000914<BR>5-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000914<BR>...300 caracteres de 552<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3958",
			"email":"1"
		}
Orden registrada. # Orden Json : 753198 / # Orden Web : T3958
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29754025","canal":"Wa","tipo_fac":"D","cod_unidad":"24","nom_unidad":"San Juan (Bávaro)","email":"","telefono":" 8295148381","nombre":"Yissel Carmona","calle":"Punta Cana","sector":"Bibijagua","casa":"","numero":"0","comentario1":"Retiro Bavaro 1 A304","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:22","hora_entrega":"21:52","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1500,"forma_pago":"EFECTIVO","cambio_efectivo":1500,"referencia":"","infoComprobante":null,"address":[{"formatted":"Paseo Del Sol Edificio Retiro Bavaro, Apto. A403, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Punta Cana","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Retiro Bavaro 1 A304","latLng":{"lat":"18.6676731","lng":"-68.403772"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000822","descripcion":"Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola","cantidad":1,"precio":1500,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":4,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":6,"grupolinea":1,"plu":"03059","descripcion":"2 LITROS COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3959

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('754025','T3959','WA','754025','24','SAN JUAN (BáVARO)','D',
 '829-514-8381','YISSEL CARMONA','','CONSUMO','',
 '','2023-07-10','21:22','21:52',
 '1500','0','0','0','0','1500','1500',
 '','EFECTIVO' ,'18.6676731' ,'-68.403772','','PUNTA CANA','0 ',
 'Bibijagua','RETIRO BAVARO 1 A304','','','','',''
)
header registrado
Ultimo ID : 9601
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Paseo Del Sol Edificio Retiro Bavaro, Apto. A403, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Punta Cana
number : 0
floor : 
latLng : Array
comment : Retiro Bavaro 1 A304
-------------- Insertar detalle orden -----------
1- K000822 Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola : 1 * 1500 = 1500
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 03059 2 LITROS COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 754025<BR>canal : WA<BR>referencia : 754025<BR>cod_unidad : 24<BR>nom_unidad : SAN JUAN (BáVARO)<BR>tipo_fac : D<BR>telefono : 829-514-8381<BR>cliente : YISSEL CARMONA<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:22<BR>porciento descuento : 0.00<BR>total : 1,500.00<BR>forma_pago : EFECTIVO<BR>calle : PUNTA CANA<BR>sector : Bibijagua<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)RETIRO BAVARO 1 A304<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.6676731<BR>longitud : -68.403772<BR>destino : Paseo Del Sol Edificio Retiro Bavaro, Apto. A403, Punta Cana 23000, República Dominicana<BR>calle : Punta Cana<BR>numero : 0<BR>ciudad : <BR><BR>     0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000822<BR>4-            0700180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000822<BR>5-            0200007    BREADSTICKS :    1 *        0 =        0         K000822<BR>6-            03059    2 LITROS COCA COLA :    1 *        0 =        0         K000822<BR>...300 caracteres de 657<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3959",
			"email":"1"
		}
Orden registrada. # Orden Json : 754025 / # Orden Web : T3959
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"7EE5B","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Cindy G.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:27","hora_entrega":"2023-07-10T21:42:40-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1180,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"412 52 077","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1180,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700188","descripcion":"ING SOLO CARNE DE RES HUT","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3960
Proximo # De Orden : T3960

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3960','T3960','AG','7EE5B','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','7EE5B / Uber','','CONSUMO','',
 '','2023-07-10','21:27','2023-07-10T21:42:40-04:00',
 '1180','0','0','0','0','1180','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9605
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 412 52 077
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1180 = 1180
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700188 ING SOLO CARNE DE RES HUT : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 7EE5B<BR>canal : AG<BR>referencia : 7EE5B<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : CINDY G.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:27<BR>porciento descuento : 0.00<BR>total : 1,180.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR> PEPPERONI HUTC :    1 *        0 =        0         K000621<BR>4-            0700188    ING SOLO CARNE DE RES HUT :    1 *        0 =        0         K000621<BR>...300 caracteres de 463<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3960",
			"email":"1"
		}
Orden registrada. # Orden Json : 3960 / # Orden Web : T3960
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"6E0C8","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Holly R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:35","hora_entrega":"2023-07-10T21:50:52-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":350,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"762 47 554","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"1200015","descripcion":"Cinnamon Sticks","cantidad":1,"precio":350,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3961
Proximo # De Orden : T3961

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3961','T3961','AG','6E0C8','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','6E0C8 / Uber','','CONSUMO','',
 '','2023-07-10','21:35','2023-07-10T21:50:52-04:00',
 '350','0','0','0','0','350','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9610
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 762 47 554
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 1200015 Cinnamon Sticks : 1 * 350 = 350

  OK
enviar_notificacion_orden_registrada
 orden : 6E0C8<BR>canal : AG<BR>referencia : 6E0C8<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : HOLLY R.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:35<BR>porciento descuento : 0.00<BR>total : 350.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>...300 caracteres de 161<BR>Esta orden tiene 1 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3961",
			"email":"1"
		}
Orden registrada. # Orden Json : 3961 / # Orden Web : T3961
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"95791","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Darlenis S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:36","hora_entrega":"2023-07-10T21:57:29-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1560,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"922 63 423","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200014","descripcion":"Palitos a la Toscana","cantidad":1,"precio":380,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1180,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":3,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3962
Proximo # De Orden : T3962

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3962','T3962','AG','95791','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','95791 / Uber','','CONSUMO','',
 '','2023-07-10','21:36','2023-07-10T21:57:29-04:00',
 '1560','0','0','0','0','1560','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9611
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 922 63 423
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200014 Palitos a la Toscana : 1 * 380 = 380
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1180 = 1180
3- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
5- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 95791<BR>canal : AG<BR>referencia : 95791<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : DARLENIS S.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:36<BR>porciento descuento : 0.00<BR>total : 1,560.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>UT CHEESE :    1 *        0 =        0         K000621<BR>4-            0700171    ING SOLO JAMON HUTCHEESE :    1 *        0 =        0         K000621<BR>5-            0700176    ING SOLO POLLO HUTCHEESE :    1 *        0 =        0         K000621<BR>...300 caracteres de 554<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3962",
			"email":"1"
		}
Orden registrada. # Orden Json : 3962 / # Orden Web : T3962
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29755896","canal":"Wa","tipo_fac":"D","cod_unidad":"27","nom_unidad":"República de Colombia","email":"","telefono":" 8297809269","nombre":"Jennifer Florentino","calle":"Calle Transversal","sector":"Don Honorio","casa":"","numero":"8","comentario1":"Residencial doña Carmen 2 sector don Honorio casa no. 3","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:38","hora_entrega":"22:08","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1500,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Transversal 8, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Transversal","number":"8","apt":"","floor":"","entrance":"","pobox":"","comment":"Residencial doña Carmen 2 sector don Honorio casa no. 3","latLng":{"lat":"18.4958279","lng":"-69.98053689999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000822","descripcion":"Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola","cantidad":1,"precio":1500,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":4,"grupolinea":1,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":6,"grupolinea":1,"plu":"03059","descripcion":"2 LITROS COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3963

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('755896','T3963','WA','755896','27','REPúBLICA DE COLOMBIA','D',
 '829-780-9269','JENNIFER FLORENTINO','','CONSUMO','',
 '','2023-07-10','21:38','22:08',
 '1500','0','0','0','0','1500','0',
 '','TARJETA' ,'18.4958279' ,'-69.98053689999999','','CALLE TRANSVERSAL','8 ',
 'Don Honorio','RESIDENCIAL DONA CARMEN 2 SECTOR DON HON','ORIO CASA NO. 3','','','',''
)
header registrado
Ultimo ID : 9613
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Transversal 8, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Transversal
number : 8
floor : 
latLng : Array
comment : Residencial doña Carmen 2 sector don Honorio casa no. 3
-------------- Insertar detalle orden -----------
1- K000822 Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola : 1 * 1500 = 1500
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 03059 2 LITROS COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 755896<BR>canal : WA<BR>referencia : 755896<BR>cod_unidad : 27<BR>nom_unidad : REPúBLICA DE COLOMBIA<BR>tipo_fac : D<BR>telefono : 829-780-9269<BR>cliente : JENNIFER FLORENTINO<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:38<BR>porciento descuento : 0.00<BR>total : 1,500.00<BR>forma_pago : TARJETA<BR>calle : CALLE TRANSVERSAL<BR>sector : Don Honorio<BR>casa : <BR>numero : 8<BR>infoComprobante : <BR>comentarios : <BR>1)RESIDENCIAL DONA CARMEN 2 SECTOR DON HON<BR>2)ORIO CASA NO. 3<BR>3)<BR>4)<BR><BR>latitud : 18.4958279<BR>longitud : -69.98053689999999<BR>destino : C. Transversal 8, Santo Domingo, República Dominicana<BR>calle : Calle Transversal<BR>numero : 8<BR>ciudad : <BR><BR>     0700180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000822<BR>4-            0700171    ING SOLO JAMON HUTCHEESE :    1 *        0 =        0         K000822<BR>5-            0200007    BREADSTICKS :    1 *        0 =        0         K000822<BR>6-            03059    2 LITROS COCA COLA :    1 *        0 =        0         K000822<BR>...300 caracteres de 658<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3963",
			"email":"1"
		}
Orden registrada. # Orden Json : 755896 / # Orden Web : T3963
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29758093","canal":"Wa","tipo_fac":"D","cod_unidad":"01","nom_unidad":"Unicentro","email":"","telefono":" 8493305930","nombre":"Darlineth Almanzar","calle":"La Esperilla","sector":"La esperilla","casa":"","numero":"0","comentario1":" - ","comentario2":"información adicional: Calle la fronda no. 6 torre villa de bilbao apto 701B la esperilla.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:52","hora_entrega":"22:23","subtotal":0,"valor_descuento":-179.25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1015.75,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"La Esperilla, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"La Esperilla","number":"0","apt":"apto 701b","floor":"","entrance":"torre villa","pobox":"","comment":" - ","latLng":{"lat":"18.4679616","lng":"-69.9224662"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000890","descripcion":"Crunchy Hut Cheese 1 Ing.","cantidad":1,"precio":1195,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":3,"grupolinea":1,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000890"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3964

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('758093','T3964','WA','758093','01','UNICENTRO','D',
 '849-330-5930','DARLINETH ALMANZAR','','CONSUMO','',
 '','2023-07-10','21:52','22:23',
 '1195','179.25','15','0','0','1015.75','0',
 '','TARJETA' ,'18.4679616' ,'-69.9224662','','LA ESPERILLA','0 apto 701b',
 'La esperilla','CALLE LA FRONDA NO. 6 TORRE VILLA DE BIL','BAO APTO 701B LA ESPERILLA.','','','',''
)
header registrado
Ultimo ID : 9615
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : La Esperilla, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : La Esperilla
number : 0
floor : 
latLng : Array
comment :  - 
-------------- Insertar detalle orden -----------
1- K000890 Crunchy Hut Cheese 1 Ing. : 1 * 1195 = 1195
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 758093<BR>canal : WA<BR>referencia : 758093<BR>cod_unidad : 01<BR>nom_unidad : UNICENTRO<BR>tipo_fac : D<BR>telefono : 849-330-5930<BR>cliente : DARLINETH ALMANZAR<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:52<BR>porciento descuento : 15.00<BR>total : 1,015.75<BR>forma_pago : TARJETA<BR>calle : LA ESPERILLA<BR>sector : La esperilla<BR>casa : <BR>numero : 0<BR>infoComprobante : <BR>comentarios : <BR>1)CALLE LA FRONDA NO. 6 TORRE VILLA DE BIL<BR>2)BAO APTO 701B LA ESPERILLA.<BR>3)<BR>4)<BR><BR>latitud : 18.4679616<BR>longitud : -69.9224662<BR>destino : La Esperilla, Santo Domingo, República Dominicana<BR>calle : La Esperilla<BR>numero : 0<BR>ciudad : <BR><BR>ETA HUTCHEE :    1 *        0 =        0         K000890<BR>4-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000890<BR>...300 caracteres de 457<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3964",
			"email":"1"
		}
Orden registrada. # Orden Json : 758093 / # Orden Web : T3964
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29755832","canal":"Wa","tipo_fac":"C","cod_unidad":"23","nom_unidad":"San Isidro","email":"","telefono":" 8296109366","nombre":"Antony","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"21:57","hora_entrega":"21:57","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1500,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000822","descripcion":"Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola","cantidad":1,"precio":1500,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100421","descripcion":"CRUNCHY BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":3,"grupolinea":1,"plu":"0700177","descripcion":"ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":4,"grupolinea":1,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"},{"linea":6,"grupolinea":1,"plu":"03059","descripcion":"2 LITROS COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000822"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3965

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('755832','T3965','WA','755832','23','SAN ISIDRO','C',
 '829-610-9366','ANTONY','','CONSUMO','',
 '','2023-07-10','21:57','21:57',
 '1500','0','0','0','0','1500','0',
 '','TARJETA' ,'0' ,'0','','',' ',
 '','','','','','',''
)
header registrado
Ultimo ID : 9616
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000822 Crunchy Hut Cheese 1 ing + Breadsticks + 2 LT Coca Cola : 1 * 1500 = 1500
2- 0100421 CRUNCHY BASICA : 1 * 0 = 0
3- 0700177 ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0
4- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 03059 2 LITROS COCA COLA : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 755832<BR>canal : WA<BR>referencia : 755832<BR>cod_unidad : 23<BR>nom_unidad : SAN ISIDRO<BR>tipo_fac : C<BR>telefono : 829-610-9366<BR>cliente : ANTONY<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 21:57<BR>porciento descuento : 0.00<BR>total : 1,500.00<BR>forma_pago : TARJETA<BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 0<BR>longitud : 0<BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>     0700177    ING SOLO SALCHICHA HUTCHE :    1 *        0 =        0         K000822<BR>4-            0700178    ING SOLO TOCINETA HUTCHEE :    1 *        0 =        0         K000822<BR>5-            0200007    BREADSTICKS :    1 *        0 =        0         K000822<BR>6-            03059    2 LITROS COCA COLA :    1 *        0 =        0         K000822<BR>...300 caracteres de 664<BR>Esta orden tiene 6 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3965",
			"email":"1"
		}
Orden registrada. # Orden Json : 755832 / # Orden Web : T3965
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29761998","canal":"Wa","tipo_fac":"D","cod_unidad":"25","nom_unidad":"Gazcue","email":"","telefono":" 8294102182","nombre":"Mildred","calle":"Calle Miguel A. Piantini","sector":"{\"lat\": 18.4772439, \"long\": -69.8956951}","casa":"","numero":"83","comentario1":"La misma dirección que tiene mía","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-10","hora":"22:58","hora_entrega":"23:28","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1530,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Miguel A. Piantini 83, Santo Domingo 10217, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Miguel A. Piantini","number":"83","apt":"","floor":"","entrance":"","pobox":"","comment":"La misma dirección que tiene mía","latLng":{"lat":"18.4775695","lng":"-69.8958318"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100140","descripcion":"Super Suprema Pan Grande","cantidad":1,"precio":1430,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":100,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3966

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('761998','T3966','WA','761998','25','GAZCUE','D',
 '829-410-2182','MILDRED','','CONSUMO','',
 '','2023-07-10','22:58','23:28',
 '1530','0','0','0','0','1530','0',
 '','EFECTIVO' ,'18.4775695' ,'-69.8958318','','CALLE MIGUEL A. PIANTINI','83 ',
 '{"lat": 18.4772439, "long": -69.8956951}','LA MISMA DIRECCION QUE TIENE MIA','','','','',''
)
header registrado
Ultimo ID : 9623
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Miguel A. Piantini 83, Santo Domingo 10217, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Miguel A. Piantini
number : 83
floor : 
latLng : Array
comment : La misma dirección que tiene mía
-------------- Insertar detalle orden -----------
1- 0100140 Super Suprema Pan Grande : 1 * 1430 = 1430
2- 03064 Coca Cola 16 Onz : 1 * 100 = 100

  OK
enviar_notificacion_orden_registrada
 orden : 761998<BR>canal : WA<BR>referencia : 761998<BR>cod_unidad : 25<BR>nom_unidad : GAZCUE<BR>tipo_fac : D<BR>telefono : 829-410-2182<BR>cliente : MILDRED<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-10<BR>hora : 22:58<BR>porciento descuento : 0.00<BR>total : 1,530.00<BR>forma_pago : EFECTIVO<BR>calle : CALLE MIGUEL A. PIANTINI<BR>sector : {"lat": 18.4772439, "long": -69.8956951}<BR>casa : <BR>numero : 83<BR>infoComprobante : <BR>comentarios : <BR>1)LA MISMA DIRECCION QUE TIENE MIA<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4775695<BR>longitud : -69.8958318<BR>destino : C. Miguel A. Piantini 83, Santo Domingo 10217, República Dominicana<BR>calle : Calle Miguel A. Piantini<BR>numero : 83<BR>ciudad : <BR><BR>...300 caracteres de 257<BR>Esta orden tiene 2 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3966",
			"email":"1"
		}
Orden registrada. # Orden Json : 761998 / # Orden Web : T3966
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"66D9E","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Eddy H.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"11:44","hora_entrega":"2023-07-11T12:05:31-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":3380,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"537 10 297","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000948","descripcion":"Combo Exclusivo 2 Pan Pizzas Mediana 1 ing + Breadsticks + 1.25 Coca Cola","cantidad":1,"precio":2200,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":3,"grupolinea":1,"plu":"0700020","descripcion":"MAIZ   MED.","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":4,"grupolinea":1,"plu":"0700014","descripcion":"TOCINETA MED.","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":5,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":6,"grupolinea":1,"plu":"0700005","descripcion":"PEPPERONI  MED.","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":7,"grupolinea":1,"plu":"0700020","descripcion":"MAIZ   MED.","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":8,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":9,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000948"},{"linea":10,"grupolinea":2,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1180,"ind_kit":"S","padre":""},{"linea":11,"grupolinea":2,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":12,"grupolinea":2,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":13,"grupolinea":2,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3967
Proximo # De Orden : T3967

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3967','T3967','AG','66D9E','12','NUñEZ DE CáCERES UBER','C',
 '829-947-3615','66D9E / Uber','','CONSUMO','',
 '','2023-07-11','11:44','2023-07-11T12:05:31-04:00',
 '3380','0','0','0','0','3380','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9626
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 537 10 297
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000948 Combo Exclusivo 2 Pan Pizzas Mediana 1 ing + Breadsticks + 1.25 Coca Cola : 1 * 2200 = 2200
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700020 MAIZ   MED. : 1 * 0 = 0
4- 0700014 TOCINETA MED. : 1 * 0 = 0
5- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
6- 0700005 PEPPERONI  MED. : 1 * 0 = 0
7- 0700020 MAIZ   MED. : 1 * 0 = 0
8- 0200007 BREADSTICKS : 1 * 0 = 0
9- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
10- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1180 = 1180
11- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
12- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
13- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 66D9E<BR>canal : AG<BR>referencia : 66D9E<BR>cod_unidad : 12<BR>nom_unidad : NUñEZ DE CáCERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : EDDY H.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 11:44<BR>porciento descuento : 0.00<BR>total : 3,380.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>    K000948<BR>3-            0700020    MAIZ   MED. :    1 *        0 =        0         K000948<BR>4-            0700014    TOCINETA MED. :    1 *        0 =        0         K000948<BR>5-            0100185    BASICA 1 ING MED PAN :    1 *        0 =        0         K000948<BR>6-            0700005    PEPPERONI  MED. :    1 *        0 =        0         K000948<BR>7-            0700020    MAIZ   MED. :    1 *        0 =        0         K000948<BR>8-            0200007    BREADSTICKS :    1 *        0 =        0         K000948<BR>9-            20748    1.25 LITRO COCA COLA :    1 *        0 =        0         K000948<BR>10-            K000621    Pizza Hut Cheese 1 Ing. :    1 *        1180 =        1180         <BR>11-            0100184    BASICA 1ING HUT CHEESE :    1 *        0 =        0         K000621<BR>12-            0700180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000621<BR>13-            0700180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000621<BR>...300 caracteres de 1316<BR>Esta orden tiene 13 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3967",
			"email":"1"
		}
Orden registrada. # Orden Json : 3967 / # Orden Web : T3967
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29783397","canal":"Wa","tipo_fac":"C","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8297929485","nombre":"Amado Qu liz","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"12:16","hora_entrega":"12:16","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1055,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"402-2810206-3","address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1055,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3968

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('783397','T3968','WA','783397','12','NUnEZ DE CaCERES','C',
 '829-792-9485','AMADO QU LIZ','','CONSUMO','',
 '','2023-07-11','12:16','12:16',
 '1055','0','0','0','0','1055','0',
 '','EFECTIVO' ,'0' ,'0','','',' ',
 '','','','','','','402-2810206-3'
)
header registrado
Ultimo ID : 9629
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1055 = 1055
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 783397<BR>canal : WA<BR>referencia : 783397<BR>cod_unidad : 12<BR>nom_unidad : NUnEZ DE CaCERES<BR>tipo_fac : C<BR>telefono : 829-792-9485<BR>cliente : AMADO QU LIZ<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 12:16<BR>porciento descuento : 0.00<BR>total : 1,055.00<BR>forma_pago : EFECTIVO<BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : 402-2810206-3<BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 0<BR>longitud : 0<BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>O  HUTCHEESE :    1 *        0 =        0         K000621<BR>4-            0700172    ING SOLO MAIZ HUTCHEESE :    1 *        0 =        0         K000621<BR>...300 caracteres de 458<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3968",
			"email":"1"
		}
Orden registrada. # Orden Json : 783397 / # Orden Web : T3968
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29784291","canal":"Wa","tipo_fac":"D","cod_unidad":"01","nom_unidad":"Unicentro","email":"","telefono":" 8098515509","nombre":"ivelisse","calle":"Calle Doctor César Dargam","sector":"La esperilla","casa":"","numero":"Casa 26","comentario1":"Al lado de radio visión cristiana SALON NAILED","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"12:23","hora_entrega":"12:53","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1090,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"26, Santo Domingo, C. Dr. César Dargam, Santo Domingo 10107, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Doctor César Dargam","number":"Casa 26","apt":"","floor":"","entrance":"","pobox":"","comment":"Al lado de radio visión cristiana SALON NAILED","latLng":{"lat":"18.4743979","lng":"-69.9150179"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000030","descripcion":"2 Pizzas Medianas 1 Ing.","cantidad":1,"precio":1090,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000030"},{"linea":3,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000030"},{"linea":4,"grupolinea":1,"plu":"0700086","descripcion":"ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000030"},{"linea":5,"grupolinea":1,"plu":"0100186","descripcion":"BASICA 1 ING MED THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000030"},{"linea":6,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000030"},{"linea":7,"grupolinea":1,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000030"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3969

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('784291','T3969','WA','784291','01','UNICENTRO','D',
 '809-851-5509','IVELISSE','','CONSUMO','',
 '','2023-07-11','12:23','12:53',
 '1090','0','0','0','0','1090','0',
 '','TARJETA' ,'18.4743979' ,'-69.9150179','','CALLE DOCTOR CESAR DARGAM','Casa 26 ',
 'La esperilla','AL LADO DE RADIO VISIoN CRISTIANA SALON ','NAILED','','','',''
)
header registrado
Ultimo ID : 9630
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 26, Santo Domingo, C. Dr. César Dargam, Santo Domingo 10107, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Doctor César Dargam
number : Casa 26
floor : 
latLng : Array
comment : Al lado de radio visión cristiana SALON NAILED
-------------- Insertar detalle orden -----------
1- K000030 2 Pizzas Medianas 1 Ing. : 1 * 1090 = 1090
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
4- 0700086 ING SOLO MAIZ MED : 1 * 0 = 0
5- 0100186 BASICA 1 ING MED THIN : 1 * 0 = 0
6- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
7- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 784291<BR>canal : WA<BR>referencia : 784291<BR>cod_unidad : 01<BR>nom_unidad : UNICENTRO<BR>tipo_fac : D<BR>telefono : 809-851-5509<BR>cliente : IVELISSE<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 12:23<BR>porciento descuento : 0.00<BR>total : 1,090.00<BR>forma_pago : TARJETA<BR>calle : CALLE DOCTOR CESAR DARGAM<BR>sector : La esperilla<BR>casa : <BR>numero : Casa 26<BR>infoComprobante : <BR>comentarios : <BR>1)AL LADO DE RADIO VISIoN CRISTIANA SALON <BR>2)NAILED<BR>3)<BR>4)<BR><BR>latitud : 18.4743979<BR>longitud : -69.9150179<BR>destino : 26, Santo Domingo, C. Dr. César Dargam, Santo Domingo 10107, República Dominicana<BR>calle : Calle Doctor César Dargam<BR>numero : Casa 26<BR>ciudad : <BR><BR>JAMON MED :    1 *        0 =        0         K000030<BR>4-            0700086    ING SOLO MAIZ MED :    1 *        0 =        0         K000030<BR>5-            0100186    BASICA 1 ING MED THIN :    1 *        0 =        0         K000030<BR>6-            0700048    ING SOLO PEPPERONI MED :    1 *        0 =        0         K000030<BR>7-            0700051    ING SOLO SALCHICHA MED :    1 *        0 =        0         K000030<BR>...300 caracteres de 736<BR>Esta orden tiene 7 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3969",
			"email":"1"
		}
Orden registrada. # Orden Json : 784291 / # Orden Web : T3969
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"010B0","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Eddy H.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"12:47","hora_entrega":"2023-07-11T13:07:47-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2360,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"901 18 845","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":2,"precio":1180,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3970
Proximo # De Orden : T3970

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3970','T3970','AG','010B0','12','NUNEZ DE CACERES UBER','C',
 '829-947-3615','010B0 / Uber','','CONSUMO','',
 '','2023-07-11','12:47','2023-07-11T13:07:47-04:00',
 '2360','0','0','0','0','2360','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9633
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 901 18 845
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 2 * 1180 = 2360
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 010B0<BR>canal : AG<BR>referencia : 010B0<BR>cod_unidad : 12<BR>nom_unidad : NUNEZ DE CACERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : EDDY H.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 12:47<BR>porciento descuento : 0.00<BR>total : 2,360.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>O  HUTCHEESE :    1 *        0 =        0         K000621<BR>4-            0700180    ING QUESO  HUTCHEESE :    1 *        0 =        0         K000621<BR>...300 caracteres de 455<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3970",
			"email":"1"
		}
Orden registrada. # Orden Json : 3970 / # Orden Web : T3970
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29575045","canal":"Wa","tipo_fac":"C","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8295778526","nombre":"Ramona","calle":"","sector":"El millón","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"12:59","hora_entrega":"12:59","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":630,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200007","descripcion":"Breadsticks","cantidad":1,"precio":290,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0200014","descripcion":"Palitos a la Toscana","cantidad":1,"precio":340,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3971

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('575045','T3971','WA','575045','12','NUNEZ DE CACERES','C',
 '829-577-8526','RAMONA','','CONSUMO','',
 '','2023-07-11','12:59','12:59',
 '630','0','0','0','0','630','0',
 '','EFECTIVO' ,'0' ,'0','','',' ',
 'El millon','','','','','',''
)
header registrado
Ultimo ID : 9635
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200007 Breadsticks : 1 * 290 = 290
2- 0200014 Palitos a la Toscana : 1 * 340 = 340

  OK
enviar_notificacion_orden_registrada
 orden : 575045<BR>canal : WA<BR>referencia : 575045<BR>cod_unidad : 12<BR>nom_unidad : NUNEZ DE CACERES<BR>tipo_fac : C<BR>telefono : 829-577-8526<BR>cliente : RAMONA<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 12:59<BR>porciento descuento : 0.00<BR>total : 630.00<BR>forma_pago : EFECTIVO<BR>calle : <BR>sector : El millon<BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 0<BR>longitud : 0<BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>...300 caracteres de 248<BR>Esta orden tiene 2 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3971",
			"email":"1"
		}
Orden registrada. # Orden Json : 575045 / # Orden Web : T3971
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"29788496","canal":"Wa","tipo_fac":"D","cod_unidad":"03","nom_unidad":"Bella Vista","email":"","telefono":" 8295778526","nombre":"Ramona","calle":"Avenida Rómulo Betancourt","sector":"Mirador norte","casa":"","numero":"415","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"13:07","hora_entrega":"13:38","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1260,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Av. Rómulo Betancourt 415, Santo Domingo 10114, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Avenida Rómulo Betancourt","number":"415","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4520657","lng":"-69.9515155"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200014","descripcion":"Palitos a la Toscana","cantidad":1,"precio":340,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0200007","descripcion":"Breadsticks","cantidad":1,"precio":290,"ind_kit":"N","padre":""},{"linea":3,"grupolinea":5,"plu":"0200007","descripcion":"Breadsticks","cantidad":1,"precio":290,"ind_kit":"N","padre":""},{"linea":4,"grupolinea":7,"plu":"0200014","descripcion":"Palitos a la Toscana","cantidad":1,"precio":340,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Proximo # De Orden : T3972

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('788496','T3972','WA','788496','03','BELLA VISTA','D',
 '829-577-8526','RAMONA','','CONSUMO','',
 '','2023-07-11','13:07','13:38',
 '1260','0','0','0','0','1260','0',
 '','EFECTIVO' ,'18.4520657' ,'-69.9515155','','AVENIDA ROMULO BETANCOURT','415 ',
 'Mirador norte','','','','','',''
)
header registrado
Ultimo ID : 9636
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Av. Rómulo Betancourt 415, Santo Domingo 10114, República Dominicana
countryCode : DO
city : Santo Domingo
street : Avenida Rómulo Betancourt
number : 415
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200014 Palitos a la Toscana : 1 * 340 = 340
2- 0200007 Breadsticks : 1 * 290 = 290
3- 0200007 Breadsticks : 1 * 290 = 290
4- 0200014 Palitos a la Toscana : 1 * 340 = 340

  OK
enviar_notificacion_orden_registrada
 orden : 788496<BR>canal : WA<BR>referencia : 788496<BR>cod_unidad : 03<BR>nom_unidad : BELLA VISTA<BR>tipo_fac : D<BR>telefono : 829-577-8526<BR>cliente : RAMONA<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 13:07<BR>porciento descuento : 0.00<BR>total : 1,260.00<BR>forma_pago : EFECTIVO<BR>calle : AVENIDA ROMULO BETANCOURT<BR>sector : Mirador norte<BR>casa : <BR>numero : 415<BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : 18.4520657<BR>longitud : -69.9515155<BR>destino : Av. Rómulo Betancourt 415, Santo Domingo 10114, República Dominicana<BR>calle : Avenida Rómulo Betancourt<BR>numero : 415<BR>ciudad : <BR><BR> 290 =        290         <BR>4-            0200014    Palitos a la Toscana :    1 *        340 =        340         <BR>...300 caracteres de 421<BR>Esta orden tiene 4 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3972",
			"email":"1"
		}
Orden registrada. # Orden Json : 788496 / # Orden Web : T3972
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"210B4","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"luis R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2023-07-11","hora":"13:10","hora_entrega":"2023-07-11T13:32:04-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1365,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","address":[{"formatted":"","countryCode":"308 47 136","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":185,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1180,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":3,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 3973
Proximo # De Orden : T3973

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('3973','T3973','AG','210B4','12','NUNEZ DE CACERES UBER','C',
 '829-947-3615','210B4 / Uber','','CONSUMO','',
 '','2023-07-11','13:10','2023-07-11T13:32:04-04:00',
 '1365','0','0','0','0','1365','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 9637
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 308 47 136
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 185 = 185
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1180 = 1180
3- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
enviar_notificacion_orden_registrada
 orden : 210B4<BR>canal : AG<BR>referencia : 210B4<BR>cod_unidad : 12<BR>nom_unidad : NUNEZ DE CACERES UBER<BR>tipo_fac : C<BR>telefono : 829-947-3615<BR>cliente : LUIS R.<BR>email : <BR>tipo_ncf : CONSUMO<BR>rnc : <BR>razon_social : <BR>fecha : 2023-07-11<BR>hora : 13:10<BR>porciento descuento : 0.00<BR>total : 1,365.00<BR>forma_pago : <BR>calle : <BR>sector : <BR>casa : <BR>numero : <BR>infoComprobante : <BR>comentarios : <BR>1)<BR>2)<BR>3)<BR>4)<BR><BR>latitud : <BR>longitud : <BR>destino : <BR>calle : <BR>numero : <BR>ciudad : <BR><BR>HEESE :    1 *        0 =        0         K000621<BR>4-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000621<BR>5-            0700173    ING SOLO PEPPERONI HUTC :    1 *        0 =        0         K000621<BR>...300 caracteres de 548<BR>Esta orden tiene 5 lineas de detalle
Retorno : {
			"status":"200",
			"orden":"T3973",
			"email":"1"
		}
Orden registrada. # Orden Json : 3973 / # Orden Web : T3973
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
