├── .gitignore
├── README.md
├── autologin.php
├── bindings
├── button.xml
├── skin
│ └── button.css
└── textbox.xml
├── class
├── albaran.class.php
├── arreglos.class.php
├── cursor.class.php
├── filaticket.class.php
├── index.html
├── json.class.php
├── laboratorio.class.php
├── local.class.php
├── movimiento.class.php
├── movimientogral.class.php
├── pedidos.class.php
├── perfil.class.php
├── proveedor.class.php
├── subsidiario.class.php
├── template.class.php
└── usuario.class.php
├── config
├── gpos.txt
└── index.html
├── css
├── base.css
├── basecss.php
├── font
│ ├── CarroisGothic-Regular.woff
│ ├── Lato-Light.woff
│ ├── Lato-Regular.woff
│ ├── SignikaNegative-Light.woff
│ └── signikanegative.woff
├── index.html
├── printcss.css
├── xul.css
├── xulcss.php
├── xulkardex.css
└── xultpv.css
├── description
├── doc
├── estrategia.txt
└── licencia.txt
├── esquema
├── datos.sql
├── dbinicio_btca.sql
├── dbinicio_pinf.sql
├── funciones.sql
├── index.html
├── listados.sql
├── tablas.sql
├── template.sql
└── update_db.sql
├── favicon.ico
├── img
├── .directory
├── gpos_aceptar.png
├── gpos_almacen.png
├── gpos_altarapida.png
├── gpos_altarapidacaja.png
├── gpos_arqueo.png
├── gpos_barcode.png
├── gpos_bg_login.jpg
├── gpos_buscar.png
├── gpos_buscarcliente.png
├── gpos_busqueda_avanzada.png
├── gpos_buzon.png
├── gpos_caja.png
├── gpos_cajallena.png
├── gpos_cajavacia.png
├── gpos_calendario.png
├── gpos_cancelar.png
├── gpos_cargandoTPV.png
├── gpos_catcliente.png
├── gpos_clientecorp.png
├── gpos_clienteempresa.png
├── gpos_clientenatural.png
├── gpos_clienteparticular.png
├── gpos_compras.png
├── gpos_compras_imprimircb.png
├── gpos_compras_imprimirtodoscb.png
├── gpos_config.png
├── gpos_continuarinventario.png
├── gpos_csv_ico.png
├── gpos_eliminarproducto.png
├── gpos_enoferta.png
├── gpos_entrar.png
├── gpos_enventa.png
├── gpos_fichatecnica.png
├── gpos_fichatecnica_mas.png
├── gpos_finalizarinventario.png
├── gpos_finanzas.png
├── gpos_fincompras.png
├── gpos_imgdefault.png
├── gpos_imprimir.png
├── gpos_imprimircb.png
├── gpos_instalarxul.png
├── gpos_labs.png
├── gpos_listaclientes.png
├── gpos_listados.png
├── gpos_listalaboratorios.png
├── gpos_listaproveedores.png
├── gpos_login_back.png
├── gpos_logo.png
├── gpos_marcagua.bk.png
├── gpos_marcagua.png
├── gpos_masdetalles.png
├── gpos_masdetallesm.png
├── gpos_modify.png
├── gpos_modproducto.png
├── gpos_modproducto18.png
├── gpos_movimientos.png
├── gpos_network_off.png
├── gpos_network_on.png
├── gpos_networkoff.png
├── gpos_nofirefox.png
├── gpos_nofirefox_bg.png
├── gpos_noobsoleto.png
├── gpos_nuevoajuste.png
├── gpos_nuevocliente.png
├── gpos_nuevoinventario.png
├── gpos_nuevoproducto.png
├── gpos_nuevordenservicio.png
├── gpos_nuevoservicio.png
├── gpos_numeral.png
├── gpos_obsoleto.png
├── gpos_pdf_ico.png
├── gpos_precios_eliminar.png
├── gpos_precios_guardar.png
├── gpos_presupuesto.png
├── gpos_printbarcode.png
├── gpos_prodcompras.png
├── gpos_prodimagen.png
├── gpos_producto_mas.png
├── gpos_productos.png
├── gpos_promo.png
├── gpos_proveedor.png
├── gpos_proveedores.png
├── gpos_registrarinventarioalta.png
├── gpos_reportes.png
├── gpos_reservado.png
├── gpos_salir.png
├── gpos_servicio.png
├── gpos_sinoferta.png
├── gpos_store.png
├── gpos_syncmodules_off.png
├── gpos_syncmodules_on.png
├── gpos_tpv_cancelarventa.png
├── gpos_tpv_clientecontado.png
├── gpos_tpv_dinero_aport.png
├── gpos_tpv_dinero_input.png
├── gpos_tpv_dinero_output.png
├── gpos_tpv_dinero_sust.png
├── gpos_tpv_fichaex.png
├── gpos_tpv_fichatec.png
├── gpos_tpv_limpiarlista.png
├── gpos_tpv_lista_columna.png
├── gpos_tpv_lista_compacta.png
├── gpos_tpv_mayoreo.png
├── gpos_tpv_menudeo.png
├── gpos_tpv_salir.png
├── gpos_tpv_ventas.png
├── gpos_tpvcaja.png
├── gpos_tpvcaja_abrir.png
├── gpos_tpvcaja_arqueo.png
├── gpos_tpvcaja_cerrar.png
├── gpos_tpvcaja_guardarpartida.png
├── gpos_tpvciclica.png
├── gpos_tpvhotkey.png
├── gpos_tpvlistado.png
├── gpos_tpvmensaje.png
├── gpos_tpvmensaje_alert.png
├── gpos_tpvmultipagos.png
├── gpos_tpvnetwork_off.png
├── gpos_tpvnetwork_on.png
├── gpos_tpvnuevomensaje.png
├── gpos_tpvpromocion.png
├── gpos_tpvreferencia.png
├── gpos_tpvservicios.png
├── gpos_tpvsynch_off.png
├── gpos_tpvsynch_pause.png
├── gpos_tpvsynch_run.png
├── gpos_trasladar.png
├── gpos_user.png
├── gpos_vaciarcompras.png
├── gpos_ventas.png
├── gpos_vercompras.png
├── gpos_volver.png
└── index.html
├── include
├── almacen.inc.php
├── auth.inc.php
├── browser.inc.php
├── clean.inc.php
├── combos.inc.php
├── db.inc.php
├── debug.inc.php
├── index.html
├── js.ini.php
├── legacy.inc.php
├── multidatabase.inc.php
├── pedidos.inc.php
├── producto.inc.php
├── series.inc.php
├── supersesion.inc.php
├── theme.inc.php
├── tpv.inc.php
├── ventas.inc.php
├── xml.inc.php
└── xul.inc.php
├── index.php
├── install
├── baseurl.template
├── configuration.template
├── css.css
├── datosdb.dialog.php
├── errorfatal.dialog.php
├── index.php
├── instalacionexito.dialog.php
├── instalar.php
├── install.inc.php
└── install.rdf
├── js
├── basejs.php
├── cadenas.js.php
├── index.html
├── index.php
├── tools.js
└── tpv.js
├── logout.php
├── modalbaranes.php
├── modalmacenes.php
├── modclientes.php
├── modcompras.php
├── modfamilias.php
├── modlaboratorios.php
├── modlocal.php
├── modperfiles.php
├── modproductos.php
├── modproveedores.php
├── modsubsidiarios.php
├── modtemplates.php
├── modulos
├── almacen
│ ├── almacen.class.php
│ ├── index.html
│ ├── selalmacen.php
│ ├── vertrans.php
│ └── xulalmacen.php
├── altarapida
│ ├── altarapida.js
│ ├── altarapida.php
│ ├── altarapidamenu.php
│ ├── index.html
│ └── xulaltarapida.php
├── arqueo
│ ├── arqueo.php
│ ├── arqueo2.php
│ ├── arqueoservices.php
│ └── js
│ │ └── arqueo.js
├── arqueogral
│ ├── arqueo.php
│ ├── arqueoservices.php
│ ├── js
│ │ └── arqueogral.js
│ └── modarqueogral.php
├── barcode
│ └── barcode.php
├── calendario
│ ├── ChangeLog
│ ├── bugtest-hidden-selects.html
│ ├── calendar-blue.css
│ ├── calendar-setup.js
│ ├── calendar-setup_stripped.js
│ ├── calendar.js
│ ├── calendar.php
│ ├── calendar_stripped.js
│ ├── index.php
│ ├── lang
│ │ ├── _vti_cnf
│ │ │ ├── calendar-sp.js
│ │ │ └── vssver.scc
│ │ ├── calendar-sp.js
│ │ └── vssver.scc
│ ├── menuarrow.gif
│ ├── theme_css
│ │ ├── calendar-brown.css
│ │ ├── calendar-win2k-1.css
│ │ └── calendar-win2k-2.css
│ └── vssver.scc
├── clientes
│ ├── cliente.class.php
│ ├── creditos.js
│ ├── index.html
│ ├── selcliente.php
│ ├── selcreditos.php
│ └── xaltacliente.php
├── compras
│ ├── comprar.js
│ ├── css
│ │ └── xul.css
│ ├── index.html
│ ├── numerosdeserie.js
│ ├── progress.php
│ ├── selcomprar.php
│ ├── xulcomprar.php
│ ├── xulcompras.php
│ ├── xulseries.php
│ └── xulserieslote.php
├── comprobantecompra
│ ├── comprasborrador.js
│ ├── comprasborrador.php
│ ├── index.html
│ ├── modcomprasborrador.php
│ └── xulcomprasborrador.php
├── comprobanteventa
│ ├── index.html
│ ├── modventas.php
│ ├── ventas.js
│ └── xulventas.php
├── dashboard
│ ├── dashboard.css
│ ├── dashboard.js
│ ├── moddashboard.php
│ └── xuldashboard.php
├── exhibicion
│ ├── exhibicion.js
│ ├── index.html
│ ├── selexhibicion.php
│ └── xulexhibicion.php
├── fileupload
│ └── fileupload-class.php
├── fpdf
│ ├── codigo.php
│ ├── comunes.php
│ ├── comunesexp.php
│ ├── font
│ │ ├── courier.php
│ │ ├── courierb.php
│ │ ├── courierbi.php
│ │ ├── courieri.php
│ │ ├── helvetica.php
│ │ ├── helveticab.php
│ │ ├── helveticabi.php
│ │ ├── helveticai.php
│ │ ├── lucida.php
│ │ ├── lucida.z
│ │ ├── symbol.php
│ │ ├── times.php
│ │ ├── timesb.php
│ │ ├── timesbi.php
│ │ ├── timesi.php
│ │ └── zapfdingbats.php
│ ├── fpdf.css
│ ├── fpdf.php
│ ├── imprimir_AlbaranInt_tpv.php
│ ├── imprimir_Albaran_tpv.php
│ ├── imprimir_Boleta_tpv.php
│ ├── imprimir_Factura_tpv.php
│ ├── imprimir_Proforma_tpv.php
│ ├── imprimir_cobros.php
│ ├── imprimir_comprobantes.php
│ ├── imprimir_fechavencimiento.php
│ ├── imprimir_inventario.php
│ ├── imprimir_movimientoscaja.php
│ ├── imprimir_movimientoscajagral.php
│ ├── imprimir_movimientosproducto.php
│ ├── imprimir_ordencompra.php
│ ├── imprimir_ordenservicio.php
│ ├── imprimir_pagos.php
│ ├── imprimir_suscripcion_tpv.php
│ ├── index.php
│ ├── logo
│ │ ├── Thumbs.db
│ │ └── gpos_encabezado_pdf.png
│ ├── makefont
│ │ ├── cp1250.map
│ │ ├── cp1251.map
│ │ ├── cp1252.map
│ │ ├── cp1253.map
│ │ ├── cp1254.map
│ │ ├── cp1255.map
│ │ ├── cp1257.map
│ │ ├── cp1258.map
│ │ ├── cp874.map
│ │ ├── iso-8859-1.map
│ │ ├── iso-8859-11.map
│ │ ├── iso-8859-15.map
│ │ ├── iso-8859-16.map
│ │ ├── iso-8859-2.map
│ │ ├── iso-8859-4.map
│ │ ├── iso-8859-5.map
│ │ ├── iso-8859-7.map
│ │ ├── iso-8859-9.map
│ │ ├── koi8-r.map
│ │ ├── koi8-u.map
│ │ ├── makefont.php
│ │ └── ttfparser.php
│ ├── mysql_table.php
│ ├── numletras.js
│ └── qrcode
│ │ ├── CHANGELOG
│ │ ├── INSTALL
│ │ ├── LICENSE
│ │ ├── README
│ │ ├── VERSION
│ │ ├── bindings
│ │ └── tcpdf
│ │ │ └── qrcode.php
│ │ ├── index.php
│ │ ├── phpqrcode.php
│ │ ├── qrbitstream.php
│ │ ├── qrconfig.php
│ │ ├── qrconst.php
│ │ ├── qrencode.php
│ │ ├── qrimage.php
│ │ ├── qrinput.php
│ │ ├── qrlib.php
│ │ ├── qrmask.php
│ │ ├── qrrscode.php
│ │ ├── qrspec.php
│ │ ├── qrsplit.php
│ │ ├── qrtools.php
│ │ └── tools
│ │ ├── merge.bat
│ │ ├── merge.php
│ │ ├── merge.sh
│ │ ├── merged_config.php
│ │ └── merged_header.php
├── funciones
│ ├── fechas.php
│ └── validar.js
├── generadorlistados
│ ├── exportarlistados.php
│ ├── formlistados.php
│ ├── green_h.gif
│ ├── listado.php
│ └── listarlistados.php
├── guiaremision
│ ├── guia.class.php
│ ├── guiaremision.class.php
│ ├── guiaremision.js
│ ├── modguiaremision.php
│ └── xulguiaremision.php
├── index.html
├── inventario
│ ├── index.html
│ ├── inventario.js
│ ├── modinventario.php
│ └── xulinventario.php
├── kardex
│ ├── index.html
│ ├── kardex.js
│ ├── kardex.php
│ ├── kardexproducto.js
│ ├── selkardex.php
│ ├── xulkardex.php
│ └── xulkardexproducto.php
├── laboratorios
│ ├── index.html
│ └── sellaboratorio.php
├── locales
│ ├── index.html
│ └── sellocal.php
├── logactivo
│ ├── base.css
│ ├── logactivo.php
│ └── logactivo2.php
├── mensajeria
│ ├── bug.class.php
│ ├── modbuzon.php
│ └── reporte.php
├── ordencompra
│ ├── index.html
│ ├── modordencompra.php
│ ├── ordencompra.js
│ ├── ordencompra.php
│ └── xulordencompra.php
├── ordenservicio
│ ├── index.html
│ ├── modordenservicio.php
│ ├── ordenservicio.class.php
│ ├── ordenservicio.php
│ └── productosat.class.php
├── pagoscobros
│ ├── cuentabancaria.js
│ ├── index.html
│ ├── modpagoscobros.php
│ ├── pago.class.php
│ ├── pagodoc.class.php
│ ├── pagos.js
│ ├── pagosproveedor.js
│ ├── pagosproveedor.php
│ ├── pagosproveedordoc.js
│ ├── selcuentabancaria.php
│ ├── selpagos.php
│ ├── xulpagos.php
│ ├── xulpagosproveedor.php
│ └── xulpagosproveedordoc.php
├── partidas
│ ├── partidas.js
│ └── selpartidas.php
├── pedidosventa
│ ├── index.html
│ ├── modpedidosventa.php
│ ├── pedidosventa.inc.php
│ ├── pedidosventa.js
│ ├── pedidosventa.php
│ └── xulpedidosventa.php
├── precios
│ ├── index.html
│ ├── preciostpv.js
│ ├── selprecios.php
│ └── xulprecios.php
├── productos
│ ├── alias.js
│ ├── contenedor.js
│ ├── familia.class.php
│ ├── index.html
│ ├── marca.js
│ ├── modproductoextra.php
│ ├── presentacion.js
│ ├── producto.class.php
│ ├── productoinfo.js
│ ├── productosinfo.class.php
│ ├── selcb.php
│ ├── selcontenedor.php
│ ├── selfamilia.php
│ ├── selmarca.php
│ ├── selmodelo.php
│ ├── selproductoalias.php
│ ├── selsubfamilia.php
│ ├── seltiposervicio.php
│ ├── subpresentacion.js
│ ├── tiposervicio.js
│ ├── xulavanzado.php
│ ├── xulproductoinfo.php
│ └── xulproductos.php
├── promociones
│ ├── index.html
│ ├── modpromociones.php
│ ├── promociones.class.php
│ ├── promociones.js
│ └── xulpromociones.php
├── proveedores
│ ├── index.html
│ └── selproveedor.php
├── recepcionpedido
│ ├── almacenborrador.js
│ ├── almacenborrador.php
│ ├── index.html
│ ├── modalmacenborrador.php
│ └── xulalmacenborrador.php
├── reportes
│ ├── modreportes.php
│ ├── reportes.js
│ └── xulreportes.php
├── subsidiarios
│ ├── index.html
│ └── selsubsidiario.php
├── suscripciones
│ ├── index.html
│ ├── modsuscripciones.php
│ └── suscripciones.class.php
└── xuleditor
│ └── xuleditor.php
├── modusers.php
├── partes-tpv
├── index.html
├── tpvbuscaproducto.php
├── tpvdependientecliente.php
├── tpvdetallesventa.php
├── tpvfichaimprimir.php
├── tpvfichalistados.php
├── tpvfichalistadosubsidiarios.php
├── tpvfichaproducto.php
├── tpvfichaproductos.php
├── tpvimprimir.php
├── tpvlistadoticket.php
├── tpvlistaproductos.php
├── tpvmensajeria.php
├── tpvmodificacionlineaseries.php
├── tpvmodificacionlineasubsidiario.php
├── tpvnovisuales.php
├── tpvpanelderecho.php
├── tpvqueryabono.snip.php
└── tpvseleccioncliente.php
├── productos_img
└── gpos_logo.png
├── selimpresion.php
├── services.php
├── simplecruzado.json.php
├── simplecruzado.php
├── testjson.php
├── tool.php
├── tools
├── arreglaprecios.php
├── arreglartallajes.php
├── cleantool.php
├── conversor.php
├── conversor2.php
├── eetiqueta.php
├── index.html
├── populatienda.php
└── toolkit.php
├── tpvload.php
├── tpvmodular.php
├── vercarrito.php
├── xcreamprodticket.php
├── xcreapreticket.php
├── xcreaticket.php
├── xuldominio.php
├── xulentrar.php
├── xulgpos.php
└── xulremoto
└── index.php
/.gitignore:
--------------------------------------------------------------------------------
1 | *.*~
2 | *.swp
3 | *.swo
4 | #*#
5 | configuration.php
6 | baseurl.php
7 | gpos-installer.xpi
8 | productos_img/
9 | install/
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | gPOS - Gestión Puntos de Venta
2 | ==============================
3 |
4 | gPOS es un fork de [9gestion Moda](http://sourceforge.net/projects/es9gestion/), basado en tecnologia XUL, javascript, PHP5.5 y MySQL o Mariadb.
5 |
6 | gPOS se distribuye con licencia LGPL v2.1
7 |
8 | Instalación
9 | ----------
10 |
11 | 1. Modifique los permisos de las siguientes carpetas
12 |
13 | chown apache:apache gpos/ -Rf
14 |
15 | chmod 740 gpos/ -Rf
16 |
17 | 2. Mozilla a restringido la validación de los complementos no firmados desde Firefox v43. Nos vemos forzados a:
18 |
19 | * Escribe about:config dentro de la barra de direcciones de Firefox
20 | * En el campo de búsqueda escribe xpinstall.signatures.required
21 | * Has doble clic sobre la preferencia, o clic derecho y escoge Modificar, para cambiarla a false.
22 |
23 | 3. En su navegador Firefox dentro de la barra de direcciones escribe `http://tudominio/gpos/`.
24 |
25 | * Luego el navegador Firefox valida el `tudominio` remoto(*), permita ejecutar el instalador del xulremoto. Esto es solo la primera vez que ingresas al Software.
26 | * Despues la preferencia xpinstall.signatures.required tenemos que cambiarla a true.
27 |
28 | 4. Borre la carpeta install por seguridad.
29 |
30 | 5. Modifique las contraseñas por defecto del usuario `Usuario : admin, Contraseña : admin`, de mantenimiento `Usuario:soporte, Contraseña: gadministrador13`.
31 |
32 | (*) El instalador xulremoto no funciona con XAMPP y SO Windows. Use el plugin [Remote XUL Manager](https://addons.mozilla.org/es/firefox/addon/remote-xul-manager/) para registrar `tudominio` remoto.
33 |
34 | Migración
35 | ---------
36 |
37 | Migrar de la versión v2.0 a v3.0.*
38 |
39 | 1. Saque copia de seguridad de su base de datos
40 |
41 | 2. Sincroniza tu instalación
42 |
43 | Si usas github: `(git pull)`
44 |
45 | En caso contrario descargue y reempláze sus archivos.
46 |
47 | 3. Carque el fichero `esquema/update_db.sql`
48 |
49 | `mysql -uuser -ppass -e 'use dbname; source update_db.sql;'`
50 |
51 |
52 | Documentación
53 | -------------
54 |
55 | * [Manual de usuario](http://genack.net/servicios/formacion/gpos/inicio)
56 |
57 |
58 | Contribución
59 | ------------
60 |
61 | * [ekiss.biz](http://ekiss.biz) diseño de iconos, documentación.
62 | * [genack.net](http://genack.net) diseño y desarrollo.
63 |
--------------------------------------------------------------------------------
/autologin.php:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/class/albaran.class.php:
--------------------------------------------------------------------------------
1 | Load($id))
17 | return $oAlbaran;
18 |
19 | error(__FILE__ . __LINE__ ,"ERROR no pudo cargar id '$id'");
20 |
21 | return false;
22 | }
23 |
24 |
25 |
26 | function CrearAlbaran() {
27 |
28 | }
29 |
30 |
31 | class albaran extends Cursor {
32 | function albaran() {
33 | return $this;
34 | }
35 |
36 | function Load($id) {
37 | $id = CleanID($id);
38 | $this->setId($id);
39 | $this->LoadTable("ges_albaranes_traspaso", "IdAlbaranTraspaso", $id);
40 | return $this->getResult();
41 | }
42 |
43 | function Crea(){
44 | }
45 |
46 | function getNombre(){
47 |
48 | }
49 |
50 | function Alta(){
51 | global $UltimaInsercion;
52 | $data = $this->export();
53 |
54 | $coma = false;
55 | $listaKeys = "";
56 | $listaValues = "";
57 |
58 | foreach ($data as $key=>$value){
59 | if ($coma) {
60 | $listaKeys .= ", ";
61 | $listaValues .= ", ";
62 | }
63 |
64 | $listaKeys .= " $key";
65 | $listaValues .= " '$value'";
66 | $coma = true;
67 | }
68 |
69 | $sql = "INSERT INTO ges_albaranes_traspaso ( $listaKeys ) VALUES ( $listaValues )";
70 |
71 | $res = query($sql,"Alta albaran");
72 |
73 | if ($res) {
74 | $id = $UltimaInsercion;
75 | $this->set("IdAlbaranTraspaso",$id,FORCE);
76 | return $id;
77 | }
78 |
79 | return false;
80 | }
81 |
82 | function Listado($lang,$min=0){
83 |
84 | if (!$lang)
85 | $lang = getSesionDato("IdLenguajeDefecto");
86 |
87 | $sql = "SELECT
88 | ges_albaranes_traspaso.*
89 | FROM
90 | ges_albaranes_traspaso
91 | WHERE
92 | ges_albaranes_traspaso.Eliminado = 0
93 | ";
94 |
95 | $res = $this->queryPagina($sql, $min, 10);
96 | if (!$res) {
97 | $this->Error(__FILE__ . __LINE__ ,"Info: fallo el listado");
98 | }
99 |
100 | return $res;
101 | }
102 |
103 | function SiguienteAlbaran() {
104 | $res = $this->LoadNext();
105 | if (!$res) {
106 | return false;
107 | }
108 | $this->setId($this->get("IdAlbaranTraspaso"));
109 | return true;
110 | }
111 |
112 | function Modificacion () {
113 |
114 | $data = $this->export();
115 |
116 | $sql = CreaUpdateSimple($data,"ges_albaranes_traspaso","IdAlbaranTraspaso",$this->get("IdAlbaranTraspaso"));
117 |
118 | $res = query($sql,'Modificamos un albaran');
119 | if (!$res) {
120 | $this->Error(__FILE__ . __LINE__ , "W: no actualizo proveedor");
121 | return false;
122 | }
123 | return true;
124 | }
125 | }
--------------------------------------------------------------------------------
/class/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/class/laboratorio.class.php:
--------------------------------------------------------------------------------
1 | Load($idLab)){
8 | return "???";
9 | }
10 | return $oLab->get("NombreComercial");
11 | }
12 |
13 |
14 | class laboratorio extends Cursor {
15 |
16 | function laboratorio() {
17 | return $this;
18 | }
19 |
20 | function Load($id) {
21 | $id = CleanID($id);
22 | $this->setId($id);
23 | $this->LoadTable("ges_laboratorios", "IdLaboratorio", $id);
24 | return $this->getResult();
25 | }
26 |
27 | function setNombre($nombre) {
28 | $this->set("NombreComercial",$nombre,FORCE);
29 | }
30 |
31 | function Crea(){
32 | $this->setNombre(_("Nuevo laboratorio"));
33 | }
34 |
35 | function Alta(){
36 |
37 | $data = $this->export();
38 |
39 | $coma = false;
40 | $listaKeys = "";
41 | $listaValues = "";
42 |
43 | foreach ($data as $key=>$value){
44 | if ($coma) {
45 | $listaKeys .= ", ";
46 | $listaValues .= ", ";
47 | }
48 |
49 | $listaKeys .= " $key";
50 | $listaValues .= " '$value'";
51 | $coma = true;
52 | }
53 |
54 | $sql = "INSERT INTO ges_laboratorios ( $listaKeys ) VALUES ( $listaValues )";
55 |
56 | return query($sql);
57 |
58 | }
59 |
60 | function Listado($lang,$min=0){
61 |
62 | if (!$lang)
63 | $lang = getSesionDato("IdLenguajeDefecto");
64 |
65 | $sql = "SELECT
66 | ges_laboratorios.*
67 | FROM
68 | ges_laboratorios
69 | WHERE
70 | ges_laboratorios.Eliminado = 0 AND ges_laboratorios.IdLaboratorio > 1
71 | ";
72 |
73 | $res = $this->queryPagina($sql, $min, 10);
74 | if (!$res) {
75 | $this->Error(__FILE__ . __LINE__ ,"Info: fallo el listado");
76 | }
77 |
78 | return $res;
79 | }
80 |
81 | function SiguienteLaboratorio() {
82 | $res = $this->LoadNext();
83 | if (!$res) {
84 | return false;
85 | }
86 | $this->setId($this->get("IdLaboratorio"));
87 | return true;
88 | }
89 |
90 | function Modificacion () {
91 |
92 | $data = $this->export();
93 |
94 | $sql = CreaUpdateSimple($data,"ges_laboratorios","IdLaboratorio",$this->get("IdLaboratorio"));
95 |
96 | $res = query($sql);
97 | if (!$res) {
98 | $this->Error(__FILE__ . __LINE__ , "W: no actualizo laboratorio");
99 | return false;
100 | }
101 | return true;
102 | }
103 |
104 |
105 | }
106 |
107 |
108 |
109 |
110 | ?>
111 |
--------------------------------------------------------------------------------
/class/subsidiario.class.php:
--------------------------------------------------------------------------------
1 | Load($idProv)){
8 | return "???";
9 | }
10 | return $oProv->get("NombreComercial");
11 | }
12 |
13 | // ListadoSubsidiarios
14 |
15 | class Subsidiario extends Cursor {
16 |
17 | function Subsidiario() {
18 | return $this;
19 | }
20 |
21 | function Load($id) {
22 | $id = CleanID($id);
23 | $this->setId($id);
24 | $this->LoadTable("ges_subsidiarios", "IdSubsidiario", $id);
25 | return $this->getResult();
26 | }
27 |
28 | function setNombre($nombre) {
29 | $this->set("NombreComercial",$nombre,FORCE);
30 | }
31 |
32 | function Crea(){
33 | $this->setNombre(_("Nuevo Subsidiario"));
34 | }
35 |
36 | function Alta(){
37 |
38 | $data = $this->export();
39 |
40 | $coma = false;
41 | $listaKeys = "";
42 | $listaValues = "";
43 |
44 | foreach ($data as $key=>$value){
45 | if ($coma) {
46 | $listaKeys .= ", ";
47 | $listaValues .= ", ";
48 | }
49 |
50 | $listaKeys .= " $key";
51 | $listaValues .= " '$value'";
52 | $coma = true;
53 | }
54 |
55 | $sql = "INSERT INTO ges_subsidiarios ( $listaKeys ) VALUES ( $listaValues )";
56 |
57 | return query($sql);
58 |
59 | }
60 |
61 | function Listado($lang,$min=0){
62 |
63 | if (!$lang)
64 | $lang = getSesionDato("IdLenguajeDefecto");
65 |
66 | $sql = "SELECT
67 | ges_subsidiarios.*
68 | FROM
69 | ges_subsidiarios
70 | WHERE
71 | ges_subsidiarios.Eliminado = 0
72 | ";
73 |
74 | $res = $this->queryPagina($sql, $min, 10);
75 | if (!$res) {
76 | $this->Error(__FILE__ . __LINE__ ,"Info: fallo el listado");
77 | }
78 |
79 | return $res;
80 | }
81 |
82 | function SiguienteSubsidiario() {
83 | $res = $this->LoadNext();
84 | if (!$res) {
85 | return false;
86 | }
87 | $this->setId($this->get("IdSubsidiario"));
88 | return true;
89 | }
90 |
91 | function Modificacion () {
92 |
93 | $data = $this->export();
94 |
95 | $sql = CreaUpdateSimple($data,"ges_subsidiarios","IdSubsidiario",$this->get("IdSubsidiario"));
96 |
97 | $res = query($sql);
98 | if (!$res) {
99 | $this->Error(__FILE__ . __LINE__ , "W: no actualizo Subsidiario");
100 | return false;
101 | }
102 | return true;
103 | }
104 |
105 |
106 | }
107 |
108 | function buscarNumeroFiscalSubs($nfiscal,$idsubs){
109 | $xwhere = ($idsubs)? " AND IdSubsidiario = '$idsubs'":" AND NumeroFiscal = '$nfiscal'";
110 | $sql = "SELECT NumeroFiscal FROM ges_subsidiarios ".
111 | "WHERE Eliminado = 0".
112 | "$xwhere";
113 | $row = queryrow($sql);
114 | return $row["NumeroFiscal"];
115 | }
116 |
117 |
118 | ?>
119 |
--------------------------------------------------------------------------------
/config/gpos.txt:
--------------------------------------------------------------------------------
1 | /**
2 | * gPOS se distribuye con licencia LGPL.
3 | * Además se incluyen una serie de módulos/librerías con sus propias licencias.
4 | * LGPL permite la mayor libertad a la hora de enlazar con cualquier modulo que se quiera agregar a la aplicación, y redistribuir el resultado como LGPL.
5 | *
6 | * Si usted hace modificaciones de esta aplicación, y las distribuye. Debe acompañarlas del código fuente, y del fichero de la licencia LGPL.
7 | *
8 | * Genack
9 | * Activistas Software Libre
10 | * genack.net
11 | **/
12 |
13 |
--------------------------------------------------------------------------------
/config/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/css/font/CarroisGothic-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/css/font/CarroisGothic-Regular.woff
--------------------------------------------------------------------------------
/css/font/Lato-Light.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/css/font/Lato-Light.woff
--------------------------------------------------------------------------------
/css/font/Lato-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/css/font/Lato-Regular.woff
--------------------------------------------------------------------------------
/css/font/SignikaNegative-Light.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/css/font/SignikaNegative-Light.woff
--------------------------------------------------------------------------------
/css/font/signikanegative.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/css/font/signikanegative.woff
--------------------------------------------------------------------------------
/css/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/css/printcss.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | .noimprimir{
4 | width: 0px!important;
5 | visibility: hidden;
6 | overflow: hidden;
7 | }
--------------------------------------------------------------------------------
/css/xulcss.php:
--------------------------------------------------------------------------------
1 |
8 |
9 | /* Areas de cabecera que parecen pertenecer al iframe de listados*/
10 | .AreaPagina {
11 | background-color: #ECE8DE;
12 | border: 0px none!important;
13 | }
14 |
15 | /* Elementos que flotan dentro de una cabecera AreaPagina */
16 | .enAreaPagina {
17 | /* background-color: #ECE8DE;*/
18 | /*background-color: white;*/
19 | }
20 |
21 |
22 | /* Iframe con contenido html */
23 | .AreaListados {
24 | /*background-color: white;*/
25 | height: 100%;border: 0px none;
26 | }
27 |
28 | /* Areas añadidas con controles extra */
29 |
30 | .frameExtra {
31 | background-color: white;
32 | /*background-image: url(img/bg2.png);*/
33 | background-repeat: repeat-x;
34 | }
35 |
36 | /* Areas añadidas con controles extra */
37 |
38 | .frameNormal {
39 | /*background-color: white;*/
40 | /*background-image: url(img/bg2.png);
41 | background-repeat: repeat-x;*/
42 | border: 0px none!important;
43 | }
44 |
45 | /* areas con fondo transparente, como labels */
46 |
47 | .trans {
48 | background-color: none!important;
49 | border: 0px none!important;
50 | }
51 |
52 |
53 |
--------------------------------------------------------------------------------
/css/xulkardex.css:
--------------------------------------------------------------------------------
1 | .parselrowkardex,
2 | .imparselrowkardex,
3 | .ldparrowkardex,
4 | .parrowkardex,
5 | .imparrowkardex{ padding-top:8px;
6 | padding-bottom:4px;
7 | border-bottom-color: #eee;
8 | border-bottom-style: solid;
9 | border-bottom-width: 1px;
10 | }
11 |
12 | .parrowkardex:hover,
13 | .imparrowkardex:hover{ background-color:#D7EDF4;
14 | padding-top:8px;
15 | padding-bottom:4px;
16 | }
17 | .parselrowkardex,
18 | .imparselrowkardex{ background-color:#EFE0DE;
19 | color: #00AAF6;}
20 |
21 | row.ldparrowkardex { padding-top:0px; padding-bottom:0px;}
22 | .ldparrowkardex:hover{ background-color:#D7EDF4; }
23 |
24 | .parselrowkardex:hover,
25 | .imparselrowkardex:hover{
26 | color:#E7E7E7;
27 | /**font-weight:bold;**/
28 | }
29 | #boxmovimientos{
30 | overflow: auto;
31 | border:0px solid #8E8E8E;
32 | background-color:#f9f9f9;
33 | /* margin:0.1em 1em 1.5em */
34 | }
35 | #boxvencimientos{
36 | overflow: auto;
37 | border:0px solid #8E8E8E;
38 | background-color:#f9f9f9;
39 | /*margin:0.1em 1em 0em 0.1em */
40 | }
41 | #boxmovimientosbuscar{
42 | background-color: #f9f9f9;padding:3px;
43 | padding-top:0.6em;
44 | }
--------------------------------------------------------------------------------
/description:
--------------------------------------------------------------------------------
1 | gPOS - gnu Point Of Sale
2 | Gestión de puntos de venta
3 |
--------------------------------------------------------------------------------
/doc/estrategia.txt:
--------------------------------------------------------------------------------
1 | /**
2 | * gPOS se distribuye con licencia LGPL.
3 | * Además se incluyen una serie de módulos/librerías con sus propias licencias.
4 | * LGPL permite la mayor libertad a la hora de enlazar con cualquier modulo que se quiera agregar a la aplicación, y redistribuir el resultado como LGPL.
5 | *
6 | * Si usted hace modificaciones de esta aplicación, y las distribuye. Debe acompañarlas del código fuente, y del fichero de la licencia LGPL.
7 | *
8 | * Genack
9 | * Activistas Software Libre
10 | * genack.net
11 | **/
12 |
--------------------------------------------------------------------------------
/esquema/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/favicon.ico
--------------------------------------------------------------------------------
/img/.directory:
--------------------------------------------------------------------------------
1 | [Dolphin]
2 | AdditionalInfo=3
3 | ShowPreview=true
4 | Timestamp=2011,5,10,17,41,26
5 |
--------------------------------------------------------------------------------
/img/gpos_aceptar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_aceptar.png
--------------------------------------------------------------------------------
/img/gpos_almacen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_almacen.png
--------------------------------------------------------------------------------
/img/gpos_altarapida.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_altarapida.png
--------------------------------------------------------------------------------
/img/gpos_altarapidacaja.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_altarapidacaja.png
--------------------------------------------------------------------------------
/img/gpos_arqueo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_arqueo.png
--------------------------------------------------------------------------------
/img/gpos_barcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_barcode.png
--------------------------------------------------------------------------------
/img/gpos_bg_login.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_bg_login.jpg
--------------------------------------------------------------------------------
/img/gpos_buscar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_buscar.png
--------------------------------------------------------------------------------
/img/gpos_buscarcliente.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_buscarcliente.png
--------------------------------------------------------------------------------
/img/gpos_busqueda_avanzada.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_busqueda_avanzada.png
--------------------------------------------------------------------------------
/img/gpos_buzon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_buzon.png
--------------------------------------------------------------------------------
/img/gpos_caja.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_caja.png
--------------------------------------------------------------------------------
/img/gpos_cajallena.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_cajallena.png
--------------------------------------------------------------------------------
/img/gpos_cajavacia.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_cajavacia.png
--------------------------------------------------------------------------------
/img/gpos_calendario.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_calendario.png
--------------------------------------------------------------------------------
/img/gpos_cancelar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_cancelar.png
--------------------------------------------------------------------------------
/img/gpos_cargandoTPV.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_cargandoTPV.png
--------------------------------------------------------------------------------
/img/gpos_catcliente.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_catcliente.png
--------------------------------------------------------------------------------
/img/gpos_clientecorp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_clientecorp.png
--------------------------------------------------------------------------------
/img/gpos_clienteempresa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_clienteempresa.png
--------------------------------------------------------------------------------
/img/gpos_clientenatural.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_clientenatural.png
--------------------------------------------------------------------------------
/img/gpos_clienteparticular.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_clienteparticular.png
--------------------------------------------------------------------------------
/img/gpos_compras.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_compras.png
--------------------------------------------------------------------------------
/img/gpos_compras_imprimircb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_compras_imprimircb.png
--------------------------------------------------------------------------------
/img/gpos_compras_imprimirtodoscb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_compras_imprimirtodoscb.png
--------------------------------------------------------------------------------
/img/gpos_config.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_config.png
--------------------------------------------------------------------------------
/img/gpos_continuarinventario.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_continuarinventario.png
--------------------------------------------------------------------------------
/img/gpos_csv_ico.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_csv_ico.png
--------------------------------------------------------------------------------
/img/gpos_eliminarproducto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_eliminarproducto.png
--------------------------------------------------------------------------------
/img/gpos_enoferta.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_enoferta.png
--------------------------------------------------------------------------------
/img/gpos_entrar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_entrar.png
--------------------------------------------------------------------------------
/img/gpos_enventa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_enventa.png
--------------------------------------------------------------------------------
/img/gpos_fichatecnica.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_fichatecnica.png
--------------------------------------------------------------------------------
/img/gpos_fichatecnica_mas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_fichatecnica_mas.png
--------------------------------------------------------------------------------
/img/gpos_finalizarinventario.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_finalizarinventario.png
--------------------------------------------------------------------------------
/img/gpos_finanzas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_finanzas.png
--------------------------------------------------------------------------------
/img/gpos_fincompras.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_fincompras.png
--------------------------------------------------------------------------------
/img/gpos_imgdefault.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_imgdefault.png
--------------------------------------------------------------------------------
/img/gpos_imprimir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_imprimir.png
--------------------------------------------------------------------------------
/img/gpos_imprimircb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_imprimircb.png
--------------------------------------------------------------------------------
/img/gpos_instalarxul.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_instalarxul.png
--------------------------------------------------------------------------------
/img/gpos_labs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_labs.png
--------------------------------------------------------------------------------
/img/gpos_listaclientes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_listaclientes.png
--------------------------------------------------------------------------------
/img/gpos_listados.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_listados.png
--------------------------------------------------------------------------------
/img/gpos_listalaboratorios.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_listalaboratorios.png
--------------------------------------------------------------------------------
/img/gpos_listaproveedores.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_listaproveedores.png
--------------------------------------------------------------------------------
/img/gpos_login_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_login_back.png
--------------------------------------------------------------------------------
/img/gpos_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_logo.png
--------------------------------------------------------------------------------
/img/gpos_marcagua.bk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_marcagua.bk.png
--------------------------------------------------------------------------------
/img/gpos_marcagua.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_marcagua.png
--------------------------------------------------------------------------------
/img/gpos_masdetalles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_masdetalles.png
--------------------------------------------------------------------------------
/img/gpos_masdetallesm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_masdetallesm.png
--------------------------------------------------------------------------------
/img/gpos_modify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_modify.png
--------------------------------------------------------------------------------
/img/gpos_modproducto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_modproducto.png
--------------------------------------------------------------------------------
/img/gpos_modproducto18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_modproducto18.png
--------------------------------------------------------------------------------
/img/gpos_movimientos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_movimientos.png
--------------------------------------------------------------------------------
/img/gpos_network_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_network_off.png
--------------------------------------------------------------------------------
/img/gpos_network_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_network_on.png
--------------------------------------------------------------------------------
/img/gpos_networkoff.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_networkoff.png
--------------------------------------------------------------------------------
/img/gpos_nofirefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nofirefox.png
--------------------------------------------------------------------------------
/img/gpos_nofirefox_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nofirefox_bg.png
--------------------------------------------------------------------------------
/img/gpos_noobsoleto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_noobsoleto.png
--------------------------------------------------------------------------------
/img/gpos_nuevoajuste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nuevoajuste.png
--------------------------------------------------------------------------------
/img/gpos_nuevocliente.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nuevocliente.png
--------------------------------------------------------------------------------
/img/gpos_nuevoinventario.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nuevoinventario.png
--------------------------------------------------------------------------------
/img/gpos_nuevoproducto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nuevoproducto.png
--------------------------------------------------------------------------------
/img/gpos_nuevordenservicio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nuevordenservicio.png
--------------------------------------------------------------------------------
/img/gpos_nuevoservicio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_nuevoservicio.png
--------------------------------------------------------------------------------
/img/gpos_numeral.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_numeral.png
--------------------------------------------------------------------------------
/img/gpos_obsoleto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_obsoleto.png
--------------------------------------------------------------------------------
/img/gpos_pdf_ico.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_pdf_ico.png
--------------------------------------------------------------------------------
/img/gpos_precios_eliminar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_precios_eliminar.png
--------------------------------------------------------------------------------
/img/gpos_precios_guardar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_precios_guardar.png
--------------------------------------------------------------------------------
/img/gpos_presupuesto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_presupuesto.png
--------------------------------------------------------------------------------
/img/gpos_printbarcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_printbarcode.png
--------------------------------------------------------------------------------
/img/gpos_prodcompras.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_prodcompras.png
--------------------------------------------------------------------------------
/img/gpos_prodimagen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_prodimagen.png
--------------------------------------------------------------------------------
/img/gpos_producto_mas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_producto_mas.png
--------------------------------------------------------------------------------
/img/gpos_productos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_productos.png
--------------------------------------------------------------------------------
/img/gpos_promo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_promo.png
--------------------------------------------------------------------------------
/img/gpos_proveedor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_proveedor.png
--------------------------------------------------------------------------------
/img/gpos_proveedores.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_proveedores.png
--------------------------------------------------------------------------------
/img/gpos_registrarinventarioalta.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_registrarinventarioalta.png
--------------------------------------------------------------------------------
/img/gpos_reportes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_reportes.png
--------------------------------------------------------------------------------
/img/gpos_reservado.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_reservado.png
--------------------------------------------------------------------------------
/img/gpos_salir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_salir.png
--------------------------------------------------------------------------------
/img/gpos_servicio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_servicio.png
--------------------------------------------------------------------------------
/img/gpos_sinoferta.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_sinoferta.png
--------------------------------------------------------------------------------
/img/gpos_store.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_store.png
--------------------------------------------------------------------------------
/img/gpos_syncmodules_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_syncmodules_off.png
--------------------------------------------------------------------------------
/img/gpos_syncmodules_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_syncmodules_on.png
--------------------------------------------------------------------------------
/img/gpos_tpv_cancelarventa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_cancelarventa.png
--------------------------------------------------------------------------------
/img/gpos_tpv_clientecontado.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_clientecontado.png
--------------------------------------------------------------------------------
/img/gpos_tpv_dinero_aport.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_dinero_aport.png
--------------------------------------------------------------------------------
/img/gpos_tpv_dinero_input.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_dinero_input.png
--------------------------------------------------------------------------------
/img/gpos_tpv_dinero_output.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_dinero_output.png
--------------------------------------------------------------------------------
/img/gpos_tpv_dinero_sust.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_dinero_sust.png
--------------------------------------------------------------------------------
/img/gpos_tpv_fichaex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_fichaex.png
--------------------------------------------------------------------------------
/img/gpos_tpv_fichatec.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_fichatec.png
--------------------------------------------------------------------------------
/img/gpos_tpv_limpiarlista.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_limpiarlista.png
--------------------------------------------------------------------------------
/img/gpos_tpv_lista_columna.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_lista_columna.png
--------------------------------------------------------------------------------
/img/gpos_tpv_lista_compacta.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_lista_compacta.png
--------------------------------------------------------------------------------
/img/gpos_tpv_mayoreo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_mayoreo.png
--------------------------------------------------------------------------------
/img/gpos_tpv_menudeo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_menudeo.png
--------------------------------------------------------------------------------
/img/gpos_tpv_salir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_salir.png
--------------------------------------------------------------------------------
/img/gpos_tpv_ventas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpv_ventas.png
--------------------------------------------------------------------------------
/img/gpos_tpvcaja.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvcaja.png
--------------------------------------------------------------------------------
/img/gpos_tpvcaja_abrir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvcaja_abrir.png
--------------------------------------------------------------------------------
/img/gpos_tpvcaja_arqueo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvcaja_arqueo.png
--------------------------------------------------------------------------------
/img/gpos_tpvcaja_cerrar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvcaja_cerrar.png
--------------------------------------------------------------------------------
/img/gpos_tpvcaja_guardarpartida.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvcaja_guardarpartida.png
--------------------------------------------------------------------------------
/img/gpos_tpvciclica.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvciclica.png
--------------------------------------------------------------------------------
/img/gpos_tpvhotkey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvhotkey.png
--------------------------------------------------------------------------------
/img/gpos_tpvlistado.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvlistado.png
--------------------------------------------------------------------------------
/img/gpos_tpvmensaje.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvmensaje.png
--------------------------------------------------------------------------------
/img/gpos_tpvmensaje_alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvmensaje_alert.png
--------------------------------------------------------------------------------
/img/gpos_tpvmultipagos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvmultipagos.png
--------------------------------------------------------------------------------
/img/gpos_tpvnetwork_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvnetwork_off.png
--------------------------------------------------------------------------------
/img/gpos_tpvnetwork_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvnetwork_on.png
--------------------------------------------------------------------------------
/img/gpos_tpvnuevomensaje.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvnuevomensaje.png
--------------------------------------------------------------------------------
/img/gpos_tpvpromocion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvpromocion.png
--------------------------------------------------------------------------------
/img/gpos_tpvreferencia.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvreferencia.png
--------------------------------------------------------------------------------
/img/gpos_tpvservicios.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvservicios.png
--------------------------------------------------------------------------------
/img/gpos_tpvsynch_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvsynch_off.png
--------------------------------------------------------------------------------
/img/gpos_tpvsynch_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvsynch_pause.png
--------------------------------------------------------------------------------
/img/gpos_tpvsynch_run.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_tpvsynch_run.png
--------------------------------------------------------------------------------
/img/gpos_trasladar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_trasladar.png
--------------------------------------------------------------------------------
/img/gpos_user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_user.png
--------------------------------------------------------------------------------
/img/gpos_vaciarcompras.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_vaciarcompras.png
--------------------------------------------------------------------------------
/img/gpos_ventas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_ventas.png
--------------------------------------------------------------------------------
/img/gpos_vercompras.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_vercompras.png
--------------------------------------------------------------------------------
/img/gpos_volver.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/img/gpos_volver.png
--------------------------------------------------------------------------------
/img/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/include/browser.inc.php:
--------------------------------------------------------------------------------
1 | useragent = $agent;
53 | }
54 |
55 | /**
56 | * Method to get the browser details from the USER_AGENT string in
57 | * the PHP superglobals
58 | * @param void
59 | * @return string property platform
60 | */
61 | function getBrowserOS()
62 | {
63 | $win = preg_match("win", $this->useragent);
64 | $linux = preg_match("linux", $this->useragent);
65 | $mac = preg_match("mac", $this->useragent);
66 | $os2 = preg_match("OS/2", $this->useragent);
67 | $beos = preg_match("BeOS", $this->useragent);
68 |
69 | //now do the check as to which matches and return it
70 | if($win)
71 | {
72 | $this->platform = "Windows";
73 | }
74 | elseif ($linux)
75 | {
76 | $this->platform = "Linux";
77 | }
78 | elseif ($mac)
79 | {
80 | $this->platform = "Macintosh";
81 | }
82 | elseif ($os2)
83 | {
84 | $this->platform = "OS/2";
85 | }
86 | elseif ($beos)
87 | {
88 | $this->platform = "BeOS";
89 | }
90 | return $this->platform;
91 | }
92 |
93 | /**
94 | * Method to check for FireFox
95 | * @param void
96 | * @return bool false on failure
97 | */
98 | function isFirefox()
99 | {
100 | if(preg_match("/Firefox/", $this->useragent))
101 | {
102 | $this->browsertype = "Firefox";
103 | $val = stristr($this->useragent, "Firefox");
104 | $val = explode("/",$val);
105 | $this->version = $val[1];
106 | return true;
107 | }
108 | else {
109 | return FALSE;
110 | }
111 | }
112 |
113 | /**
114 | * Method to tie them all up and output something useful
115 | * @param void
116 | * @return array
117 | */
118 | function whatBrowser()
119 | {
120 | $this->getBrowserOS();
121 | $this->isFirefox();
122 | return array('browsertype' => $this->browsertype,
123 | 'version' => $this->version,
124 | 'platform' => $this->platform,
125 | 'AOL' => $this->aol);
126 | }
127 | }//end class
128 | ?>
--------------------------------------------------------------------------------
/include/debug.inc.php:
--------------------------------------------------------------------------------
1 | ";
43 |
44 | }
45 |
46 | error($errno,$errstr);
47 | }
48 |
49 | error_reporting (E_ALL & ~E_NOTICE);
50 | set_error_handler("AddErrorHandler");
51 | }
52 |
53 |
54 |
55 | ?>
--------------------------------------------------------------------------------
/include/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/include/multidatabase.inc.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/include/producto.inc.php:
--------------------------------------------------------------------------------
1 |
23 |
--------------------------------------------------------------------------------
/include/theme.inc.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/include/theme.inc.php
--------------------------------------------------------------------------------
/install/baseurl.template:
--------------------------------------------------------------------------------
1 | $_BasePath = "%BASEURL%";
2 | $_SESSION['BasePath'] = $_BasePath;
3 | // Direccion absoluta donde esta la aplicacion instalada
4 | // Debe modificarla para apuntar al directorio donde tiene instalada
5 | // la aplicacion.
6 |
7 |
--------------------------------------------------------------------------------
/install/configuration.template:
--------------------------------------------------------------------------------
1 |
2 | $modulos = array();
3 | $config = array();
4 |
5 |
6 | # Este es el fichero de configuracion principal de la aplicación
7 |
8 |
9 | #### Modulos ####
10 | $modulos["generadorlistados"] = true;
11 | // Generador de listados
12 |
13 | $modulos["mensajeria"] = true;
14 | // Sistema de mensajes en tiempo real
15 |
16 | $modulos["datepicker"] = true;
17 | // Selector de fechas avanzado
18 |
19 | $modulos["arreglodecaja"] = true;
20 | // Sistema de arqueos de caja
21 |
22 | #### Detalles ####
23 |
24 | $config["fotosproductos"] = true;
25 | // Si aparece la foto del producto en la tpv
26 |
27 | $config["mostrarbannerdga"] = false;
28 | // Si aparece el banner indicando la ayuda de la dga
29 |
30 | #### Contraseñas ####
31 |
32 | $module_password = "%PASSMODULOS%";
33 | // Contraseña para modulos auxiliares (recomendado modificar)
34 | // Requieren su propia autentificación porque funcionan
35 | // de manera separada con la aplicación.
36 |
37 |
38 | #### Instalacion ####
39 | include("baseurl.php");
40 | // $_BasePath = "%BASEURL%";
41 | // Direccion absoluta donde esta la aplicacion instalada
42 | // Debe modificarla para apuntar al directorio donde tiene instalada
43 | // la aplicacion.
44 | //define ("CORREO_ADMIN","%ADMINEMAIL%");
45 |
46 | ### GlobalGiroNegocio ###
47 | // PINF: Productos Informáticos
48 | // BTCA: Botica
49 | // BTQE: Boutique
50 | // WESL: Wholesale
51 |
52 | #### DATOS DEL NEGOCIO ####
53 | $_SESSION["GlobalNombreNegocio"] = '%NOMBRENEGOCIO%';
54 | $_SESSION["GlobalGiroNegocio"] = '%GIRONEGOCIO%';
55 |
56 | #### Base de datos ####
57 | $_SESSION["GlobalHostDatabase"] = '%HOST%';
58 | $_SESSION["GlobalGesDatabase"] = '%DATABASE%';
59 | $_SESSION["GlobalUserDatabase"] = '%USER%';
60 | $_SESSION["GlobalPassDatabase"] = '%PASS%';
61 | // Debe configurar aqui los datos de acceso a su base de datos
62 |
63 |
64 | #### A partir de aquí no cambiar nada ####
65 |
66 | $ges_database = $_SESSION["GlobalGesDatabase"];
67 | $global_host_db = $_SESSION["GlobalHostDatabase"];
68 | $global_user_db = $_SESSION["GlobalUserDatabase"];
69 | $global_pass_db = $_SESSION["GlobalPassDatabase"];
70 |
71 |
72 |
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/install/css.css:
--------------------------------------------------------------------------------
1 |
2 | /*General styles not really related to the forms*/
3 |
4 | * {
5 |
6 | }
7 |
8 | body {
9 | font-family: Verdana, Arial, Helvetica, sans-serif;
10 | font-size:12px;
11 | background:#FFF;
12 | }
13 |
14 | img {
15 | border:0;
16 | }
17 |
18 |
19 | #container {
20 | padding:20px;
21 | }
22 |
23 |
24 |
25 | /*Forms defaults*/
26 |
27 | select,input, textarea {
28 | font-family:Verdana, Arial, Helvetica, sans-serif;
29 | font-size:12px;
30 | }
31 |
32 | /*input[type=text]{
33 | font-family: Courier,Terminal,Verdana, Arial, Helvetica, sans-serif;
34 | font-size:12px;
35 | background-color: #ffc;
36 |
37 | padding: 2px;
38 | }*/
39 | fieldset{
40 | border-radius: 5px;
41 | border: solid 1px #D5D5D5;
42 | }
43 | select,
44 | input[type="text"],
45 | input[type="submit"],
46 | input[type="password"] {
47 | padding: 10px;
48 | border: solid 1px #E5E5E5;
49 | transition: box-shadow 0.3s, border 0.3s;
50 | background-color: #DDEFFB;
51 | color:#222;
52 | border-radius: 5px;
53 | }
54 |
55 | input[type="submit"]:{
56 | box-shadow: 0;
57 | }
58 |
59 | input[type="submit"]:hover{
60 | border: solid 1px #707070;
61 | box-shadow: 0 0 5px 1px #969696;
62 | }
63 | input[type="submit"]{
64 | margin-top:1em;
65 | }
66 | select:focus,
67 | input[type="text"]:focus,
68 | input[type="password"]:focus,
69 | input[type="text"].focus {
70 | border: solid 1px #707070;
71 | box-shadow: 0 0 5px 1px #969696;
72 | }
73 |
74 |
75 |
76 |
77 | label {
78 | color:#555;
79 | cursor:pointer;
80 | padding-left:2px;
81 | line-height:15px;
82 | vertical-align:top;
83 | }
84 |
85 |
86 |
--------------------------------------------------------------------------------
/install/datosdb.dialog.php:
--------------------------------------------------------------------------------
1 |
2 | Para realizar la instalación, rellene los siguientes datos.
3 |
4 |
5 |
72 |
73 |
--------------------------------------------------------------------------------
/install/errorfatal.dialog.php:
--------------------------------------------------------------------------------
1 | Error irrecuperable
2 |
3 | Se ha producido un error que no se puede solucionar automaticamente. La aplicación no se ha podido instalar.
--------------------------------------------------------------------------------
/install/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/install/instalacionexito.dialog.php:
--------------------------------------------------------------------------------
1 |
2 | Instalación terminada con exito
3 |
4 | Se han completado las labores de instalación con exito.
5 | Ya puede entrar en la aplicación:
6 |
7 | inicio // gPOS
8 |
9 | Tambien puede utilizar el siguiente codigo en una pagina web:
10 |
11 | <script language="JavaScript">
12 | function AbrirAplicacion() {
13 | var direccion = "?r="+Math.random();
14 | var titulo = "gPOS";
15 | var modo = "resizable=yes,fullscreen=yes,toolbar=no,menubar=no,location=no,status=yes";
16 | var ventana = open(direccion,titulo,modo);
17 | }
18 | </script>
19 | <a href="#" onclick="AbrirAplicacion()">Iniciar gPOS</a>
20 |
21 |
22 |
23 | Recuerde:
24 |
25 | Borre la carpeta install, para evitar una reinstalación por accidente
26 | Modifique las contraseñas por defecto del local "almacen,localuno y localdos"
27 | Modifique las contraseñas por defecto del usuario "admin" y "soporte"
28 |
29 |
--------------------------------------------------------------------------------
/install/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
18 |
19 |
21 |
22 |
23 | 07018e1f-09af-415b-af5d-0c5c4e353256@rxm.xulforge.com
24 | gPOS - XUL Remote Installer
25 | Instala automáticamente el dominio que usa gPOS a la lista blanca XUL Remote.
26 | 1.2
27 | Remore XUL Manager Generator
28 | http://github.com/jvillalobos/Remote-XUL-Manager
29 | true
30 | 2
31 |
32 |
33 |
34 |
35 | {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
36 | 17.0
37 | 38.*
38 |
39 |
40 |
41 |
42 |
43 |
44 | {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
45 | 2.14
46 | 2.20.*
47 |
48 |
49 |
50 |
51 |
52 |
53 | {a23983c0-fd0e-11dc-95ff-0800200c9a66}
54 | 17.0
55 | 23.*
56 |
57 |
58 |
59 |
60 |
61 |
62 | {36E66FA0-F259-11D9-850E-000D935D3368}
63 | 7.0
64 | 7.*
65 |
66 |
67 |
68 |
69 |
70 |
71 | {b1042fb5-9e9c-11db-b107-000d935d3368}
72 | 7.0
73 | 7.*
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/js/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/js/index.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/logout.php:
--------------------------------------------------------------------------------
1 | $value) {
15 | $_SESSION[$key] = false;
16 | session_unregister($key);
17 | }
18 |
19 | session_unset();
20 |
21 | setcookie("auth","el usuario ha salido",time()-1);
22 |
23 | $cookiesSet = array_keys($_COOKIE);
24 | for ($x = 0; $x < count($cookiesSet); $x++) {
25 | if (is_array($_COOKIE[$cookiesSet[$x]])) {
26 | $cookiesSetA = array_keys($_COOKIE[$cookiesSet[$x]]);
27 | for ($c = 0; $c < count($cookiesSetA); $c++) {
28 | $aCookie = $cookiesSet[$x].'['.$cookiesSetA[$c].']';
29 | setcookie($aCookie,"",time()-1);
30 | }
31 | }
32 | setcookie($cookiesSet[$x],"",time()-1);
33 | }
34 | **/
35 | ?>
36 |
37 |
38 |
39 |
40 |
98 |
99 |
100 |
104 |
105 |
108 |
109 |
--------------------------------------------------------------------------------
/modulos/almacen/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/altarapida/altarapida.php:
--------------------------------------------------------------------------------
1 | fijar("IdProducto", $IdProducto);
20 |
21 | //$ot->fijar("tEnviar" , _("Enviar"));
22 | $ot->fijar("action", $action);
23 |
24 | echo $ot->Output();
25 | }
26 |
27 | function FormularioAlta() {
28 | global $action;
29 |
30 | $oProducto = new producto;
31 |
32 | $oProducto->Crea();
33 |
34 | echo $oProducto->formEntrada($action,false,false,VENTANA_POPUP);
35 | }
36 |
37 | PageStart();
38 |
39 | switch($modo){
40 | case "newsave":
41 | $nombre = CleanText($_POST["Nombre"]);
42 | $referencia = CleanReferencia($_POST["Referencia"]);
43 | $descripcion = CleanText($_POST["Descripcion"]);
44 | $precioventa = CleanDinero($_POST["PrecioVenta"]);
45 | $precioonline = CleanDinero($_POST["PrecioOnline"]);
46 | $coste = CleanDinero($_POST["CosteSinIVA"]);
47 | $idfamilia = CleanID($_POST["IdFamilia"]);
48 | $idsubfamilia = CleanID($_POST["IdSubFamilia"]);
49 | $idprovhab = CleanID($_POST["IdProvHab"]);
50 | $codigobarras = CleanCB($_POST["CodigoBarras"]);
51 | $refprovhab = CleanReferencia($_POST["RefProvHab"]);
52 |
53 | $idcolor = CleanID($_POST["IdColor"]);
54 | $idtalla = CleanID($_POST["IdTalla"]);
55 | $idmarca = CleanID($_POST["IdMarca"]);
56 |
57 | if (CrearProducto($nombre,$referencia,
58 | $descripcion, $precioventa,
59 | $precioonline,$coste,$idfamilia,$idsubfamilia,$idprovhab,
60 | $codigobarras,$idtalla,$idcolor,
61 | $idmarca,$refprovhab)) {
62 | //
63 | AccionesTrasAlta();
64 | }
65 | break;
66 | default:
67 | FormularioAlta();
68 | break;
69 | }
70 |
71 | PageEnd();
72 |
73 | ?>
--------------------------------------------------------------------------------
/modulos/altarapida/altarapidamenu.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/modulos/altarapida/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/arqueogral/modarqueogral.php:
--------------------------------------------------------------------------------
1 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/modulos/calendario/index.php:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/modulos/calendario/lang/_vti_cnf/calendar-sp.js:
--------------------------------------------------------------------------------
1 | vti_encoding:SR|utf8-nl
2 | vti_backlinkinfo:VX|prestamos/solicitud_detalle.htm documentacion/busqueda.htm documentacion/consultasolicitudes.htm prestamos/seguimiento_solicitud.htm documentacion/formsolicitudes.htm prestamos/alta_solicitud.htm prestamos/detalle_expediente.htm
3 | vti_timelastmodified:TR|29 Mar 2005 08:04:50 +0100
4 |
--------------------------------------------------------------------------------
/modulos/calendario/lang/_vti_cnf/vssver.scc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/calendario/lang/_vti_cnf/vssver.scc
--------------------------------------------------------------------------------
/modulos/calendario/lang/calendar-sp.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/calendario/lang/calendar-sp.js
--------------------------------------------------------------------------------
/modulos/calendario/lang/vssver.scc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/calendario/lang/vssver.scc
--------------------------------------------------------------------------------
/modulos/calendario/menuarrow.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/calendario/menuarrow.gif
--------------------------------------------------------------------------------
/modulos/calendario/theme_css/calendar-brown.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/calendario/theme_css/calendar-brown.css
--------------------------------------------------------------------------------
/modulos/calendario/vssver.scc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/calendario/vssver.scc
--------------------------------------------------------------------------------
/modulos/clientes/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/compras/css/xul.css:
--------------------------------------------------------------------------------
1 | ../../../css/xul.css
--------------------------------------------------------------------------------
/modulos/compras/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/compras/xulserieslote.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
13 |
14 |
15 |
16 |
17 |
18 |
20 |
21 |
24 |
25 |
26 |
27 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/modulos/comprobantecompra/comprasborrador.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | " oncommand="RevisarCompraSeleccionada()"/>
7 | " oncommand="VerObservCompra()"/>
8 | " oncommand="ImprimirCompraSeleccionada('pdf')"/>
9 |
10 | " oncommand="ModificarComprobante()" />
11 | " oncommand="ModificarCompra(9)" />
12 | " oncommand="ModificarCompra(10)" />
13 | " oncommand="ModificarCompra(11)" />
14 |
15 | " oncommand="ModificarCompra(8)" />
16 |
17 |
18 |
19 |
20 | />
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/modulos/comprobantecompra/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/comprobantecompra/modcomprasborrador.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/modulos/comprobanteventa/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/comprobanteventa/modventas.php:
--------------------------------------------------------------------------------
1 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/modulos/dashboard/dashboard.css:
--------------------------------------------------------------------------------
1 | /* fonts
2 | --------------------------------------------*/
3 |
4 | @font-face {
5 | font-family: 'Carrois Gothic';
6 | font-style: normal;
7 | font-weight: 100;
8 | src: local('Carrois Gothic'), local('CarroisGothic-Regular'), url(../../css/font/CarroisGothic-Regular.woff) format('woff');}
9 |
10 | body { line-height: 1.6;
11 | font-weight: 100;
12 | font-family: 'Carrois Gothic', Arial, sans-serif;
13 | padding-left: 1em;
14 | background-color: #f8f8f8;
15 | color: #fff!important;
16 | background-image:url('../../img/gpos_marcagua.png');
17 | background-repeat: no-repeat;
18 | background-position: bottom left; height:96%!important;
19 | }
20 |
21 | #gpos-dashboard-down td,
22 | #gpos-dashboard-up td{ font-style: italic!important;}
23 | div.finanzas{ background-color: #885082;}
24 | div.ventas_resumen{ background-color: #686868; }
25 | div.ventas{ background-color: #529bb1;}
26 | div.almacen{ background-color: #d36d48;}
27 | div.compras{ background-color: #686868;}
28 | div.almacen_resumen{ background-color: #d36d48;}
29 | div.finanzas,
30 | div.ventas_resumen,
31 | div.ventas,
32 | div.almacen,
33 | div.almacen_resumen,
34 | div.compras{ min-width: 21em; min-height: 13em;}
35 |
36 | div.bloque-up {
37 | border:0px solid red;
38 | text-align: center;
39 | padding-top: 3em;
40 | line-height: 1.1;
41 | font-family: 'Carrois Gothic', Arial, sans-serif;}
42 |
43 | div.bloque-btn {
44 | border:0px solid red;
45 | text-align: center;
46 | padding-top: 2em;
47 | line-height: 1.1;
48 | font-family: 'Carrois Gothic', Arial, sans-serif;}
49 |
50 | div.bloque-down { border:0px solid blue; text-align: center; padding-top: .6em; }
51 | div.xbox { border:0px solid #000; border-radius: .2em;
52 | display:inline-flex; padding: .6em 1em;
53 | margin-left: .2em; margin-right:.2em;}
54 |
55 | .box td{ border:0px solid red; }
56 |
57 |
58 | .title_monto { padding: .4em; font-weight: bold;}
59 | .txt_monto { padding: .4em; font-size: 1rem!important;}
60 | .unid_monto{ padding-right: .6em; padding-left: 1em; text-align: right!important;
61 | font-style: italic; font-size: 1rem!important;}
62 |
63 | .btn {
64 | background-color: #33c3f0 !important;
65 | cursor: pointer;
66 | height: 28px !important;
67 | padding: 0.2em 1em !important;
68 | text-transform: none !important;
69 | color: #fff !important;
70 | font-size: 0.9rem;
71 | font-style: italic;
72 | padding: 0.1em;
73 | border:none;
74 | }
--------------------------------------------------------------------------------
/modulos/exhibicion/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/fpdf/comunes.php:
--------------------------------------------------------------------------------
1 | Image('./logo/logo.jpg',20,8,150);
11 | //$this->Ln(5);
12 | }
13 |
14 | //Pie de pgina
15 | function Footer()
16 | {
17 | /*
18 | $this->SetFont('Arial','',6);
19 | $this->SetY(-21);
20 | $this->Cell(0,10,'gPOS - RUC 0-00000000',0,0,'C');
21 | $this->SetY(-18);
22 | $this->Cell(0,10,html_entity_decode('Inscrita en el Registro Mercantil de XXXXXX Tomo 000. Folio 00. Hoja XX-00000. Inscripción 1°'),0,0,'C');
23 | $this->SetY(-15);
24 | $this->Cell(0,10,html_entity_decode('Codeka, inscrita con el número X 00000000 ante la Oficina Española de Patentes y Marcas.'),0,0,'C');
25 | $this->SetY(-12);
26 | */
27 | /* $this->Cell(0,10,'___________________',0,0,'C');
28 | $this->Ln(4);
29 | $this->Cell(0,10,"Administrador",0,0,'C');
30 | $this->Ln(4);
31 | $this->SetFont('Arial','',6);
32 | $fecha=implota($fechahoy=date("Y-m-d"));
33 | $this->Cell(0,10,'Fecha de impresion '. $fecha. '.',0,0,'C');
34 | */
35 | }
36 |
37 | }
38 | ?>
--------------------------------------------------------------------------------
/modulos/fpdf/comunesexp.php:
--------------------------------------------------------------------------------
1 | Image('./logo/gpos_encabezado_pdf.png',12,8,150);
10 | $this->Ln(24);
11 |
12 | }
13 |
14 | //Pie de pgina
15 | function Footer()
16 | {
17 |
18 | $this->SetFont('Arial','',6);
19 | $this->SetY(-21);
20 | $this->Cell(0,10,'',0,0,'C');
21 | $this->SetY(-18);
22 | $this->Cell(0,10,html_entity_decode(''),0,0,'C');
23 | $this->SetY(-15);
24 | $this->Cell(0,10,html_entity_decode(''),0,0,'C');
25 | $this->SetY(-12);
26 |
27 | /** $this->Cell(0,10,'___________________',0,0,'C');
28 | $this->Ln(4);
29 | $this->Cell(0,10,"Administrador",0,0,'C');*/
30 | //$this->Ln(4);
31 | $this->SetFont('Arial','',8);
32 | $fecha =implota($fechahoy=date("Y-m-d"));
33 | $fecha .= " ".date("H:i");
34 | $this->Cell(0,10,utf8_decode('Fecha de impresión '). $fecha. '.',0,0,'C');
35 | //$this->Cell(0);
36 | $this->Cell(-5,10,utf8_decode('Página ').$this->PageNo(),0,0,'R');
37 | }
38 |
39 | }
40 | ?>
--------------------------------------------------------------------------------
/modulos/fpdf/font/courier.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/modulos/fpdf/font/courierb.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/modulos/fpdf/font/courierbi.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/modulos/fpdf/font/courieri.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/modulos/fpdf/font/lucida.z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/fpdf/font/lucida.z
--------------------------------------------------------------------------------
/modulos/fpdf/font/zapfdingbats.php:
--------------------------------------------------------------------------------
1 | 0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0,
8 | chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939,
9 | ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692,
10 | 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776,
11 | 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873,
12 | 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317,
13 | chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0,
14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788,
15 | chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788,
16 | chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918,
17 | chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874,
18 | chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0);
19 | ?>
20 |
--------------------------------------------------------------------------------
/modulos/fpdf/fpdf.css:
--------------------------------------------------------------------------------
1 | body {font-family:"Times New Roman",serif}
2 | h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
3 | h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
4 | dl.param dt {text-decoration:underline}
5 | dl.param dd {margin-top:1em; margin-bottom:1em}
6 | dl.param ul {margin-top:1em; margin-bottom:1em}
7 | tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%}
8 | div.source {margin-top:1.4em; margin-bottom:1.3em}
9 | div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%}
10 | div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000}
11 | div.doc-source {margin-top:1.4em; margin-bottom:1.3em}
12 | div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%}
13 | div.doc-source code {display:block; background-color:#E0E0E0; padding:4px}
14 | .kw {color:#000080; font-weight:bold}
15 | .str {color:#CC0000}
16 | .cmt {color:#008000}
17 | p.demo {text-align:center; margin-top:-0.9em}
18 | a.demo {text-decoration:none; font-weight:bold; color:#0000CC}
19 | a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC}
20 | a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF}
21 | a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF}
22 |
--------------------------------------------------------------------------------
/modulos/fpdf/index.php:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/modulos/fpdf/logo/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/fpdf/logo/Thumbs.db
--------------------------------------------------------------------------------
/modulos/fpdf/logo/gpos_encabezado_pdf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/fpdf/logo/gpos_encabezado_pdf.png
--------------------------------------------------------------------------------
/modulos/fpdf/mysql_table.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/fpdf/mysql_table.php
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/CHANGELOG:
--------------------------------------------------------------------------------
1 | * 1.0.0 build 2010031920
2 |
3 | - first public release
4 | - help in readme, install
5 | - cleanup ans separation of QRtools and QRspec
6 | - now TCPDF binding requires minimal changes in TCPDF, having most of job
7 | done in QRtools tcpdfBarcodeArray
8 | - nicer QRtools::timeBenchmark output
9 | - license and copyright notices in files
10 | - indent cleanup - from tab to 4spc, keep it that way please :)
11 | - sf project, repository, wiki
12 | - simple code generator in index.php
13 |
14 | * 1.1.0 build 2010032113
15 |
16 | - added merge tool wich generate merged version of code
17 | located in phpqrcode.php
18 | - splited qrconst.php from qrlib.php
19 |
20 | * 1.1.1 build 2010032405
21 |
22 | - patch by Rick Seymour allowing saving PNG and displaying it at the same time
23 | - added version info in VERSION file
24 | - modified merge tool to include version info into generated file
25 | - fixed e-mail in almost all head comments
26 |
27 | * 1.1.2 build 2010032722
28 |
29 | - full integration with TCPDF thanks to Nicola Asuni, it's author
30 | - fixed bug with alphanumeric encoding detection
31 |
32 | * 1.1.3 build 2010081807
33 |
34 | - short opening tags replaced with standard ones
35 |
36 | * 1.1.4 build 2010100721
37 |
38 | - added missing static keyword QRinput::check (found by Luke Brookhart, Onjax LLC)
39 |
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/INSTALL:
--------------------------------------------------------------------------------
1 | == REQUIREMENTS ==
2 |
3 | * PHP5
4 | * PHP GD2 extension with JPEG and PNG support
5 |
6 | == INSTALLATION ==
7 |
8 | If you want to recreate cache by yourself make sure cache directory is
9 | writable and you have permisions to write into it. Also make sure you are
10 | able to read files in it if you have cache option enabled
11 |
12 | == CONFIGURATION ==
13 |
14 | Feel free to modify config constants in qrconfig.php file. Read about it in
15 | provided comments and project wiki page (links in README file)
16 |
17 | == QUICK START ==
18 |
19 | Notice: probably you should'nt use all of this in same script :)
20 |
21 | encode('PHP QR Code :)');
47 | QRspec::debug($tab, true);
48 |
49 | == TCPDF INTEGRATION ==
50 |
51 | Inside bindings/tcpdf you will find slightly modified 2dbarcodes.php.
52 | Instal phpqrcode liblaty inside tcpdf folder, then overwrite (or merge)
53 | 2dbarcodes.php
54 |
55 | Then use similar as example #50 from TCPDF examples:
56 |
57 | true,
61 | 'padding' => 4,
62 | 'fgcolor' => array(0,0,0),
63 | 'bgcolor' => false, //array(255,255,255)
64 | );
65 |
66 | //code name: QR, specify error correction level after semicolon (L,M,Q,H)
67 | $pdf->write2DBarcode('PHP QR Code :)', 'QR,L', '', '', 30, 30, $style, 'N');
68 |
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/README:
--------------------------------------------------------------------------------
1 | This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
2 | LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.
3 |
4 | == LICENSING ==
5 |
6 | Copyright (C) 2010 by Dominik Dzienia
7 |
8 | This library is free software; you can redistribute it and/or modify it under
9 | the terms of the GNU Lesser General Public License as published by the Free
10 | Software Foundation; either version 3 of the License, or any later version.
11 |
12 | This library is distributed in the hope that it will be useful, but WITHOUT ANY
13 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 | PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
15 | for more details.
16 |
17 | You should have received a copy of the GNU Lesser General Public License along
18 | with this library; if not, write to the Free Software Foundation, Inc., 51
19 | Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 |
21 | == INSTALATION AND USAGE ==
22 |
23 | * INSTALL file
24 | * http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
25 |
26 | == CONTACT ==
27 |
28 | Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
29 | folowing project pages:
30 |
31 | * http://sourceforge.net/projects/phpqrcode/
32 | * http://phpqrcode.sourceforge.net/
33 |
34 | == ACKNOWLEDGMENTS ==
35 |
36 | Based on C libqrencode library (ver. 3.1.1)
37 | Copyright (C) 2006-2010 by Kentaro Fukuchi
38 | http://megaui.net/fukuchi/works/qrencode/index.en.html
39 |
40 | QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
41 | countries.
42 |
43 | Reed-Solomon code encoder is written by Phil Karn, KA9Q.
44 | Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q
45 |
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/VERSION:
--------------------------------------------------------------------------------
1 | 1.1.4
2 | 2010100721
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/qrconfig.php:
--------------------------------------------------------------------------------
1 |
10 | *
11 | * PHP QR Code is distributed under LGPL 3
12 | * Copyright (C) 2010 Dominik Dzienia
13 | *
14 | * This library is free software; you can redistribute it and/or
15 | * modify it under the terms of the GNU Lesser General Public
16 | * License as published by the Free Software Foundation; either
17 | * version 3 of the License, or any later version.
18 | *
19 | * This library is distributed in the hope that it will be useful,
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 | * Lesser General Public License for more details.
23 | *
24 | * You should have received a copy of the GNU Lesser General Public
25 | * License along with this library; if not, write to the Free Software
26 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27 | */
28 |
29 | // Encoding modes
30 |
31 | define('QR_MODE_NUL', -1);
32 | define('QR_MODE_NUM', 0);
33 | define('QR_MODE_AN', 1);
34 | define('QR_MODE_8', 2);
35 | define('QR_MODE_KANJI', 3);
36 | define('QR_MODE_STRUCTURE', 4);
37 |
38 | // Levels of error correction.
39 |
40 | define('QR_ECLEVEL_L', 0);
41 | define('QR_ECLEVEL_M', 1);
42 | define('QR_ECLEVEL_Q', 2);
43 | define('QR_ECLEVEL_H', 3);
44 |
45 | // Supported output formats
46 |
47 | define('QR_FORMAT_TEXT', 0);
48 | define('QR_FORMAT_PNG', 1);
49 |
50 | class qrstr {
51 | public static function set(&$srctab, $x, $y, $repl, $replLen = false) {
52 | $srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl));
53 | }
54 | }
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/qrlib.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * PHP QR Code is distributed under LGPL 3
11 | * Copyright (C) 2010 Dominik Dzienia
12 | *
13 | * This library is free software; you can redistribute it and/or
14 | * modify it under the terms of the GNU Lesser General Public
15 | * License as published by the Free Software Foundation; either
16 | * version 3 of the License, or any later version.
17 | *
18 | * This library is distributed in the hope that it will be useful,
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 | * Lesser General Public License for more details.
22 | *
23 | * You should have received a copy of the GNU Lesser General Public
24 | * License along with this library; if not, write to the Free Software
25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 | */
27 |
28 | $QR_BASEDIR = dirname(__FILE__).DIRECTORY_SEPARATOR;
29 |
30 | // Required libs
31 |
32 | include $QR_BASEDIR."qrconst.php";
33 | include $QR_BASEDIR."qrconfig.php";
34 | include $QR_BASEDIR."qrtools.php";
35 | include $QR_BASEDIR."qrspec.php";
36 | include $QR_BASEDIR."qrimage.php";
37 | include $QR_BASEDIR."qrinput.php";
38 | include $QR_BASEDIR."qrbitstream.php";
39 | include $QR_BASEDIR."qrsplit.php";
40 | include $QR_BASEDIR."qrrscode.php";
41 | include $QR_BASEDIR."qrmask.php";
42 | include $QR_BASEDIR."qrencode.php";
43 |
44 |
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/tools/merge.bat:
--------------------------------------------------------------------------------
1 | php ./merge.php
2 | pause
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/tools/merge.php:
--------------------------------------------------------------------------------
1 |
12 | *
13 | * This library is free software; you can redistribute it and/or
14 | * modify it under the terms of the GNU Lesser General Public
15 | * License as published by the Free Software Foundation; either
16 | * version 3 of the License, or any later version.
17 | *
18 | * This library is distributed in the hope that it will be useful,
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 | * Lesser General Public License for more details.
22 | *
23 | * You should have received a copy of the GNU Lesser General Public
24 | * License along with this library; if not, write to the Free Software
25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 | */
27 |
28 | $QR_BASEDIR = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR;
29 | $QR_TOOLSDIR = dirname(__FILE__).DIRECTORY_SEPARATOR;
30 |
31 | $outputFile = $QR_BASEDIR.'phpqrcode.php';
32 |
33 | // Required libs
34 |
35 | $fileList = array(
36 | $QR_BASEDIR.'qrconst.php',
37 | $QR_TOOLSDIR.'merged_config.php',
38 | $QR_BASEDIR.'qrtools.php',
39 | $QR_BASEDIR.'qrspec.php',
40 | $QR_BASEDIR.'qrimage.php',
41 | $QR_BASEDIR.'qrinput.php',
42 | $QR_BASEDIR.'qrbitstream.php',
43 | $QR_BASEDIR.'qrsplit.php',
44 | $QR_BASEDIR.'qrrscode.php',
45 | $QR_BASEDIR.'qrmask.php',
46 | $QR_BASEDIR.'qrencode.php'
47 | );
48 |
49 | $headerFile = $QR_TOOLSDIR.'merged_header.php';
50 | $versionFile = $QR_BASEDIR.'VERSION';
51 |
52 | $outputCode = '';
53 |
54 | foreach($fileList as $fileName) {
55 | $outputCode .= "\n\n".'//---- '.basename($fileName).' -----------------------------'."\n\n";
56 | $anotherCode = file_get_contents($fileName);
57 | $anotherCode = preg_replace ('/^<\?php/', '', $anotherCode);
58 | $anotherCode = preg_replace ('/\?>\*$/', '', $anotherCode);
59 | $outputCode .= "\n\n".$anotherCode."\n\n";
60 | }
61 |
62 | $versionDataEx = explode("\n", file_get_contents($versionFile));
63 |
64 | $outputContents = file_get_contents($headerFile);
65 | $outputContents .= "\n\n/*\n * Version: ".trim($versionDataEx[0])."\n * Build: ".trim($versionDataEx[1])."\n */\n\n";
66 | $outputContents .= $outputCode;
67 |
68 | file_put_contents($outputFile, $outputContents);
69 |
70 |
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/tools/merge.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | php ./merge.php
--------------------------------------------------------------------------------
/modulos/fpdf/qrcode/tools/merged_config.php:
--------------------------------------------------------------------------------
1 |
20 | *
21 | * This library is free software; you can redistribute it and/or
22 | * modify it under the terms of the GNU Lesser General Public
23 | * License as published by the Free Software Foundation; either
24 | * version 3 of the License, or any later version.
25 | *
26 | * This library is distributed in the hope that it will be useful,
27 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29 | * Lesser General Public License for more details.
30 | *
31 | * You should have received a copy of the GNU Lesser General Public
32 | * License along with this library; if not, write to the Free Software
33 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34 | */
35 |
36 |
--------------------------------------------------------------------------------
/modulos/funciones/fechas.php:
--------------------------------------------------------------------------------
1 |
22 |
--------------------------------------------------------------------------------
/modulos/generadorlistados/green_h.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/generadorlistados/green_h.gif
--------------------------------------------------------------------------------
/modulos/generadorlistados/listarlistados.php:
--------------------------------------------------------------------------------
1 | 0);
12 | }
13 |
14 | $IdListado = CleanID($_GET["id"]);
15 |
16 | $sql = "SELECT IdListado, NombrePantalla FROM ges_listados WHERE Eliminado=0";
17 |
18 |
19 | $res = query( $sql );
20 |
21 |
22 |
23 | $datos = "\n";
24 |
25 | if ($res){
26 | while( $row = Row($res) ){
27 | $datos .= "".$row["NombrePantalla"]." \n";
28 | }
29 | }
30 |
31 | $datos .= " ";
32 |
33 |
34 | PageStart();
35 |
36 | echo "";
40 |
41 | PageEnd();
42 |
43 | ?>
--------------------------------------------------------------------------------
/modulos/guiaremision/guia.class.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/modulos/guiaremision/guia.class.php
--------------------------------------------------------------------------------
/modulos/guiaremision/guiaremision.class.php:
--------------------------------------------------------------------------------
1 | setId($id);
11 | $this->LoadTable("ges_guiaremision", "IdGuiaRemision", $id);
12 | return $this->getResult();
13 | }
14 |
15 | function Alta(){
16 | global $UltimaInsercion;
17 | $data = $this->export();
18 | //print $data;
19 | $coma = false;
20 | $listaKeys = "";
21 | $listaValues = "";
22 |
23 | foreach ($data as $key=>$value){
24 | if ($coma) {
25 | $listaKeys .= ", ";
26 | $listaValues .= ", ";
27 | }
28 | $listaKeys .= " $key";
29 | $listaValues .= "'".$value."'";
30 | $coma = true;
31 | }
32 |
33 | $sql = "INSERT INTO ges_guiaremision ( $listaKeys ) VALUES ( $listaValues )";
34 | $res = query($sql,"Alta Guia Remision");
35 |
36 | if ($res) {
37 | $id = $UltimaInsercion;
38 | $this->set("IdGuiaRemision",$id,FORCE);
39 | return $id;
40 | }
41 |
42 | return false;
43 | }
44 |
45 | function Modificar($id){
46 | $data = $this->export();
47 | $coma = false;
48 | $str = "";
49 |
50 | foreach ($data as $key => $value) {
51 | if ($coma)
52 | $str .= ",";
53 | $value = mysql_real_escape_string($value);
54 | $str .= " $key = '".$value."'";
55 | $coma = true;
56 | }
57 |
58 | $sql = "UPDATE ges_guiaremision SET $str WHERE IdGuiaRemision = '$id'";
59 | $res = query($sql,"Guia Remision Modificado");
60 |
61 | if (!$res){
62 | $this->Error(__FILE__ . __LINE__, "E: no pudo modificar Guia de remision");
63 | return false;
64 | }
65 | return true;
66 | }
67 |
68 | }
69 |
70 | ?>
--------------------------------------------------------------------------------
/modulos/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/inventario/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/inventario/modinventario.php:
--------------------------------------------------------------------------------
1 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/modulos/kardex/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/kardex/kardex.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | " oncommand="RevisarMovimientoSeleccionada()"/>
6 |
27 |
28 |
29 |
30 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/modulos/laboratorios/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/laboratorios/sellaboratorio.php:
--------------------------------------------------------------------------------
1 | ";
13 | echo " ";
14 | $familias = genArrayLaboratorios();
15 | echo "";
21 |
22 | echo "";
23 | echo genXulComboLaboratorios();
24 | echo " ";
25 | //echo " ";
26 | echo " ";
27 |
28 | break;
29 | default:
30 | break;
31 | }
32 |
33 | ?>
34 |
35 |
92 |
100 |
--------------------------------------------------------------------------------
/modulos/locales/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/logactivo/logactivo.php:
--------------------------------------------------------------------------------
1 |
19 |
26 | Reload - Log ";
33 |
34 | echo "";
35 | if ($_GET["sesion"]!="no"){
36 | echo " ";
37 | foreach($_SESSION as $key=>$value){
38 | /*if ($key == "QuerysRealizadas"){
39 | $value = unserialize($value);
40 | }*/
41 |
42 | if (is_array($value)){
43 | $value = var_export($value,true);
44 | }
45 |
46 | $code = htmlentities($value,ENT_QUOTES,'UTF-8');
47 | if ($key == "QuerysRealizadas" or $key=="Errores_Session"){
48 | $code = "$code ";
49 | }
50 | echo g("tr",g("td class='fact' width=10%",$key).g("td",$code));
51 | }
52 | echo "
";
53 | }
54 |
55 | $sql = "SELECT * FROM ges_logsql ORDER BY FechaCreacion DESC, Idlogsql DESC LIMIT $num";
56 |
57 | $res = query($sql,"------");
58 |
59 | echo "Reload - Sesion ";
60 | echo "";
61 | if ($res){
62 | while($row = Row($res)){
63 | $sql = base64_decode($row["Sql"]);
64 | if ($row["Exito"]==0)
65 | $sql = gColor("red",$sql);
66 | $nick = $row["TipoProceso"];
67 |
68 | echo g("tr",g("td class=fact",$row["FechaCreacion"]).g("td",$nick).g("td",htmlentities($sql,ENT_QUOTES,'UTF-8')));
69 | }
70 | } else{
71 | echo g(br,q($sql) . " no mola");
72 | }
73 |
74 | echo "
";
75 |
76 | echo "Sesion ";
77 |
78 | PageEnd();
79 |
80 | ?>
--------------------------------------------------------------------------------
/modulos/logactivo/logactivo2.php:
--------------------------------------------------------------------------------
1 |
19 |
26 | Reload - Log ";
33 |
34 | /*
35 | echo "";
36 | if ($_GET["sesion"]!="no"){
37 | echo " ";
38 | foreach($_SESSION as $key=>$value){
39 |
40 | if (is_array($value)){
41 | $value = var_export($value,true);
42 | }
43 |
44 | $code = htmlentities($value,ENT_QUOTES,'UTF-8');
45 | if ($key == "QuerysRealizadas" or $key=="Errores_Session"){
46 | $code = "$code ";
47 | }
48 | echo g("tr",g("td class='fact' width=10%",$key).g("td",$code));
49 | }
50 | echo "
";
51 | }
52 | */
53 |
54 | $sql = "SELECT * FROM ges_logsql ORDER BY FechaCreacion DESC, Idlogsql DESC LIMIT $num";
55 |
56 | $res = query($sql,"------");
57 |
58 | echo "Reload - Sesion ";
59 | echo "";
60 | if ($res){
61 | while($row = Row($res)){
62 | $sql = base64_decode($row["Sql"]);
63 |
64 | if (
65 | !(strpos( $sql,"IdCliente" )===false)
66 |
67 |
68 | ){
69 | if ($row["Exito"]==0)
70 | $sql = gColor("red",$sql);
71 | $nick = $row["TipoProceso"];
72 |
73 | echo g("tr",g("td class=fact",$row["FechaCreacion"]).g("td",$nick).g("td",htmlentities($sql,ENT_QUOTES,'UTF-8')));
74 | }
75 | }
76 | } else{
77 | echo g(br,q($sql) . " no mola");
78 | }
79 |
80 | echo "
";
81 |
82 | echo "Sesion ";
83 |
84 | PageEnd();
85 |
86 | ?>
--------------------------------------------------------------------------------
/modulos/ordencompra/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/ordencompra/ordencompra.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | " oncommand="RevisarOrdenCompraSeleccionada()"/>
6 | " oncommand="VerObservOrdenCompra()"/>
7 | " oncommand="ImprimirOrdenCompraSeleccionada('pdf')"/>
8 |
9 | " oncommand="ModificarOrden()" />
10 |
11 | " oncommand="ModificarOrdenCompra(10)" />
12 | " oncommand="ModificarOrdenCompra(20)" />
13 | " oncommand="ModificarOrdenCompra(9)" />
14 |
15 | " oncommand="AddOrdenCompra()" />
16 | " oncommand="proformarOrdenCompra()" />
17 |
18 | " >
19 |
20 |
21 |
22 |
23 |
24 |
25 | >
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | " oncommand="ModificarOrdenCompra(5)"/>
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/modulos/ordenservicio/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/ordenservicio/ordenservicio.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | label=""
6 | oncommand="mostrarFormOrdenServicio('Nuevo')" />
7 |
8 | label=""
9 | oncommand="mostrarFormOrdenServicio('Editar')"/>
10 |
11 | "
12 | oncommand="facturarOrdenServicio()"/>
13 | "
14 | oncommand="imprimirOrdenServicio()"/>
15 |
16 | "
17 | oncommand="mostrarSuscripcionFichaTecnica('orden')" collapsed="true"/>
18 |
19 |
20 |
21 | label=""
22 | oncommand="mostrarFormOrdenServicioDet('Nuevo',true)"/>
23 | "
24 | oncommand="mostrarFormOrdenServicioDet('Nuevo',false)"/>
25 |
26 | label=""
27 | oncommand="elijePanelProducto('OrdenServicio')"/>
28 |
29 |
30 | "
31 | oncommand="mostrarFormOrdenServicioDet('Ver',false)"/>
32 |
33 | label=""
34 | oncommand="mostrarFormOrdenServicioDet('Editar',false)"/>
35 |
36 | label=""
37 | oncommand="quitarProductoOrdenServicioDet()"/>
38 |
39 |
40 | label=""
41 | oncommand="clonarOrdenServicioDet()"/>
42 |
43 |
44 |
--------------------------------------------------------------------------------
/modulos/pagoscobros/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/pagoscobros/pagosproveedor.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | " oncommand="NuevoPago()" />
6 |
7 | " oncommand="ImprimirPagoSeleccionada()"/>
8 | " oncommand="VerObsComprobante('comprobante')" />
9 |
10 |
11 |
12 | />
13 | />
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | " oncommand="ImprimirCobroSeleccionada()"/>
35 | " oncommand="ImprimirSuscripcionSeleccionada()" collapsed="true"/>
36 |
37 |
38 |
39 | />
41 |
42 |
43 |
--------------------------------------------------------------------------------
/modulos/pedidosventa/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/pedidosventa/pedidosventa.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | "
8 | oncommand="ImprimirPedidosVenta()"/>
9 | "
10 | oncommand="VerObservPedidosVenta()"/>
11 |
12 |
13 |
14 |
16 |
18 |
19 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/modulos/precios/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/productos/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/productos/modproductoextra.php:
--------------------------------------------------------------------------------
1 | getIdProductoInformacion($IdProducto);
31 | $opcion = ($IdProductoInfo)? "Modificar":"Crear";
32 |
33 | echo $id = CrearProductoInformacion($IdProducto,$Indicacion,$CtraIndicacion,
34 | $Interaccion,$Dosificacion,$opcion,$IdProductoInfo);
35 |
36 | exit();
37 | break;
38 |
39 | case "ObtenerProductoInformacion":
40 | $IdProducto = CleanID($_GET["xidp"]);
41 | $datos = mostrarProductoInformacion($IdProducto);
42 | VolcandoXML( Traducir2XML($datos),"ProductoInformacion");
43 | exit();
44 | break;
45 |
46 | }
47 |
48 | ?>
49 |
50 |
51 |
--------------------------------------------------------------------------------
/modulos/productos/selcb.php:
--------------------------------------------------------------------------------
1 | Crea();
10 |
11 | $Referencia = $op->get("Referencia");
12 | $Nombre = $op->get("Nombre");
13 | $Marca = _("Varias");
14 | $primerCB = $op->get("CodigoBarras");
15 |
16 | switch($modo) {
17 | case "cb":
18 | echo $primerCB;
19 | break;
20 | case "subfamilia":
21 | $IdFamilia = CleanID($_GET["IdFamilia"]);
22 | $SubFamilia = genArraySubFamilias($IdFamilia);
23 |
24 | foreach ($SubFamilia as $key=>$value) {
25 | echo "$value=$key\n";
26 | }
27 | break;
28 | case "tallas":
29 | $IdTallaje = CleanID($_GET["IdTallaje"]);
30 | $IdFamilia = CleanID($_GET["IdFamilia"]);
31 | $talla = genArrayTallas($IdTallaje,$IdFamilia);
32 |
33 | foreach ($talla as $key=>$value) {
34 | echo "$value=$key\n";
35 | }
36 | break;
37 | case "colores":
38 | $idfamilia = CleanID($_GET["IdFamilia"]);
39 | $color = genArrayColores($idfamilia);
40 |
41 | foreach ($color as $key=>$value) {
42 | echo "$value=$key\n";
43 | }
44 | break;
45 | case "alias":
46 | $idfamilia = CleanID($_GET["IdFamilia"]);
47 | $alias = genArrayProductoAlias($idfamilia);
48 |
49 | foreach ($alias as $key=>$value) {
50 | echo "$value=$key\n";
51 | }
52 | break;
53 | case "contenedores":
54 | $contenedor = genArrayContenedores();
55 | foreach ($contenedor as $key=>$value) {
56 | echo "$value=$key\n";
57 | }
58 | break;
59 |
60 | }
61 |
62 |
63 |
64 | ?>
65 |
--------------------------------------------------------------------------------
/modulos/productos/selfamilia.php:
--------------------------------------------------------------------------------
1 | 1)
14 | CrearFamilia($nombre);
15 |
16 | // ....continua....
17 |
18 | case "familia":
19 | echo " ";
20 |
21 | $familias = genArrayFamilias();
22 |
23 | echo "";
46 |
47 | echo "";
48 | echo genXulComboFamilias();
49 | echo " ";
50 | echo " ";
51 | echo ""." ";
52 | echo " ";
53 | echo " ";
54 | echo " ";
55 | break;
56 | case "subfamilia":
57 | $idfamilia = CleanID($_GET["IdFamilia"]);
58 |
59 | echo " ";
60 | $subfamilias = genArraySubFamilias($idfamilia);
61 |
62 | echo "";
68 |
69 | //echo "Mostrando sub familia de familia id '$idfamilia'";
70 | echo "";
71 | echo genXulComboSubFamilias(false,$idfamilia);
72 | echo " ";
73 | echo "
";
74 |
75 |
76 |
77 | break;
78 | default:
79 | break;
80 | }
81 |
82 | EndXul();
83 |
84 | ?>
--------------------------------------------------------------------------------
/modulos/promociones/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/proveedores/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/recepcionpedido/almacenborrador.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | " oncommand="recibirProductos()" />
6 | " oncommand="guardarPrecios()" />
7 |
8 | " oncommand="RevisarCompraSeleccionada()"/>
9 | " oncommand="VerObservCompra()"/>
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/modulos/recepcionpedido/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/recepcionpedido/modalmacenborrador.php:
--------------------------------------------------------------------------------
1 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/modulos/subsidiarios/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/modulos/suscripciones/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/partes-tpv/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/partes-tpv/tpvbuscaproducto.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/partes-tpv/tpvdependientecliente.php:
--------------------------------------------------------------------------------
1 |
45 |
--------------------------------------------------------------------------------
/partes-tpv/tpvfichalistados.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/partes-tpv/tpvfichaproducto.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/partes-tpv/tpvfichaproductos.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/partes-tpv/tpvimprimir.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/partes-tpv/tpvmodificacionlineaseries.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/partes-tpv/tpvmodificacionlineasubsidiario.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/partes-tpv/tpvpanelderecho.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | " class="compacta btn" oncommand="AbrirPeticion()"/>
16 |
17 |
18 | " class="compacta btn" oncommand="BorrarVentaTPV()"/>
19 | " class="compacta btn" oncommand="GuardarPreVentaTPV()"/>
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | " class="compacta btn" oncommand="VerVentas()"/>
28 |
29 | " class="compacta btn" oncommand="VerCaja()" />
30 |
31 |
32 |
33 | "
34 | class="compacta btn" oncommand="VerServicios()"/>
35 |
36 | " class="compacta btn" oncommand="VerListados()"/>
37 |
38 |
39 |
40 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/productos_img/gpos_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/genack/gPOS/8e6c63a31dc04dd28ac6f6065282a92cf7473a2d/productos_img/gpos_logo.png
--------------------------------------------------------------------------------
/simplecruzado.php:
--------------------------------------------------------------------------------
1 | ";
18 | echo genListadoCruzado( $idprod, false, false );
19 | echo "";
20 | }
21 | exit();
22 | break;
23 | default:
24 | PageStart();
25 | if ($idprod) {
26 | echo "";
27 | echo genListadoCruzado( $idprod, false, false );
28 | echo " ";
29 | }
30 | PageEnd();
31 | }
32 |
33 | ?>
34 |
--------------------------------------------------------------------------------
/tools/arreglaprecios.php:
--------------------------------------------------------------------------------
1 | $sql ";
25 | query($sql);
26 | }
27 |
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/tools/arreglartallajes.php:
--------------------------------------------------------------------------------
1 | ");
24 | query($sql);
25 | }
26 | }
27 | }
28 |
29 |
30 |
31 |
32 | ?>
33 |
--------------------------------------------------------------------------------
/tools/cleantool.php:
--------------------------------------------------------------------------------
1 |
42 |
--------------------------------------------------------------------------------
/tools/conversor.php:
--------------------------------------------------------------------------------
1 | 0 and $nick== "alta producto"){
40 | //echo "Fila: " . $datos[1] . " ";
41 | $values = split(",",$datos[1]);
42 | echo "D1: " . LimpiaComas($values[0]). " D3: " . LimpiaComas($values[2]) . " ";
43 | $ref = LimpiaComas($values[1]);
44 | $coste = LimpiaComas($values[2]);
45 |
46 | }
47 |
48 | $exeql = "INSERT INTO ges_logsql2 (TipoProceso,Sql,IdCreador,FechaCreacion,Referencia,Precio) VALUES ('$nick','$sql','$idcreador','$fecha','$ref','$coste')";
49 | query($exeql,"CONVERSOR");
50 | /*} else {
51 | //echo "$sql ";
52 | }*/
53 | }
54 |
55 | echo "Se encontraron $num sentencias ";
56 | echo "Ya ha terminado";
57 |
58 |
59 | ?>
--------------------------------------------------------------------------------
/tools/conversor2.php:
--------------------------------------------------------------------------------
1 | 0 and (str_replace("clon","",$nick)!=$nick)){
52 | echo "$sqloriginal ";
53 |
54 | //echo "Fila: " . $datos[1] . " ";
55 | $values = split(",",$datos[1]);
56 | echo "Info: $nick -- D1: " . LimpiaComas($values[0]). " D3: " . LimpiaComas($values[2]) . " ";
57 | $ref = LimpiaComas($values[0]);
58 | $coste = LimpiaComas($values[2]);
59 |
60 | }
61 |
62 | //$exeql = "INSERT INTO ges_logsql2 (TipoProceso,Sql,IdCreador,FechaCreacion,Referencia,Precio) VALUES ('$nick','$sql','$idcreador','$fecha','$ref','$coste')";
63 | //query($exeql,"CONVERSOR");
64 | } else {
65 | //echo "$sql ";
66 | }
67 | }
68 |
69 | echo "Se encontraron $num inserciones ";
70 | echo "Ya ha terminado";
71 |
72 |
73 | ?>
--------------------------------------------------------------------------------
/tools/eetiqueta.php:
--------------------------------------------------------------------------------
1 |
9 | Precio: %precio%
10 | M: %color% D: %talla%
11 |
12 | HEREDOC;
13 |
14 | $codigo = base64_encode($text);
15 |
16 | $sql = "UPDATE ges_templates SET Codigo='$codigo' WHERE Nombre = 'Etiqueta'";
17 |
18 | query($sql);
19 |
20 | echo $sql;
21 |
22 | //
23 |
24 | echo " ";
25 |
26 | echo $text;
27 |
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/tools/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
43 |
44 | ';
45 |
46 |
--------------------------------------------------------------------------------
/tools/populatienda.php:
--------------------------------------------------------------------------------
1 | \n";
32 | query($newsql);
33 |
34 | }
35 |
36 | ?>
--------------------------------------------------------------------------------
/xuldominio.php:
--------------------------------------------------------------------------------
1 | parent.document.getElementById('esDominio').value = parseInt(1);";
5 | EndXul();
6 | ?>
7 |
--------------------------------------------------------------------------------
/xulremoto/index.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 | isFirefox())
18 | echo ' ';
19 | ?>
20 |
21 |
57 |
58 |
62 |
63 | ';
64 |
65 |
--------------------------------------------------------------------------------