├── .gitattributes ├── LICENSE ├── README.md ├── README.pdf ├── actualizar_cliente.php ├── clientes.php ├── creditos.php ├── css └── bootstrap.min.css ├── dashboard.php ├── dashboard_cliente.php ├── eliminar_cliente.php ├── encabezado.php ├── esquema.sql ├── estilo.css ├── formulario_agregar_cliente.php ├── formulario_editar_cliente.php ├── funciones.php ├── guardar_cliente.php ├── guardar_venta.php ├── img ├── customer.png ├── date.png ├── meeting.png ├── money.png ├── sales.png └── target.png ├── index.php ├── js └── Chart.min.js ├── pie.php └── ventas.php /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Luis Cabrera Benito 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # crm 2 | CRM de clientes con Dashboard general y por cliente 3 | 4 | # Instalación 5 | Necesitas MySQL y PHP, preferiblemente en sus versiones de MySQL. 6 | Aquí un tutorial usando XAMPP: https://parzibyte.me/blog/2017/12/11/configurar-instalar-php-7-apache-server-mysql-windows/ 7 | 8 | 9 | *Nota*: para las operaciones SQL puedes usar la consola o phpmyadmin 10 | 11 | 1. Copia todos estos archivos a tu carpeta pública, si estás en Windows con XAMPP, es en C:\xampp\htdocs\crm (si no existe, crea la carpeta) 12 | 2. Crea la base de datos en MySQL 13 | 3. Importa el archivo esquema.sql a la base de datos, ya sea copiando y pegando o importando 14 | 4. Configura las credenciales de tu base de datos en el archivo __funciones.php__ dentro de la función `obtenerBD` 15 | 5. Configura en ese mismo archivo la zona horaria, por defecto está para México 16 | 6. Visita tu proyecto en http://localhost/crm 17 | 18 | Nota: si cambiaste el nombre de tu proyecto o tu sistema operativo es distinto, los pasos podrían cambiar 19 | 20 | # Créditos 21 |
Nombre | 63 |Departamento | 64 |Edad | 65 |Fecha de registro | 66 |Dashboard | 67 |Editar | 68 |Eliminar | 69 |
---|---|---|---|---|---|---|
nombre ?> | 75 |departamento ?> | 76 |edad ?> | 77 |fecha_registro ?> | 78 |79 | Dashboard 80 | | 81 |82 | Editar 83 | | 84 |85 | Eliminar 86 | | 87 |