Commit Graph
435 Commits
Author SHA1 Message Date
Lizandro Guarnizo 535e10f714 Revert "up"
This reverts commit 5b0e4eff91.
2026-04-18 19:05:23 -05:00
Lizandro Guarnizo 5b0e4eff91 up 2026-04-18 19:04:34 -05:00
Lizandro Guarnizo c3f1eda346 up 2026-04-18 18:58:27 -05:00
Lizandro Guarnizo 0025d46a34 up 2026-04-18 18:53:37 -05:00
Lizandro Guarnizo 63c68bc93d Update show-usuarios.blade.php 2026-04-18 18:49:31 -05:00
Lizandro Guarnizo 50a579ca81 Update show-usuarios.blade.php 2026-04-18 18:45:42 -05:00
Lizandro Guarnizo d3676d54de Update show-usuarios.blade.php 2026-04-18 18:42:45 -05:00
Lizandro Guarnizo d7595c133c Reapply "Update navigationup.blade.php"
This reverts commit eed5c1c8e0.
2026-04-18 14:24:53 -05:00
Lizandro Guarnizo eed5c1c8e0 Revert "Update navigationup.blade.php"
This reverts commit 3b919ac8a9.
2026-04-18 14:24:06 -05:00
Lizandro Guarnizo 3b919ac8a9 Update navigationup.blade.php 2026-04-18 14:18:52 -05:00
Lizandro Guarnizo d11423c379 up 2026-04-18 14:13:24 -05:00
Lizandro Guarnizo 03207775af up 2026-04-18 14:08:14 -05:00
Lizandro Guarnizo 9a418caf39 Update show-usuarios.blade.php 2026-04-18 13:58:16 -05:00
Lizandro Guarnizo 22f322155b Update show-usuarios.blade.php 2026-04-18 13:53:20 -05:00
Lizandro Guarnizo 1f3587a9a9 Update show-usuarios.blade.php 2026-04-18 13:48:59 -05:00
Lizandro Guarnizo 9c335951e5 Update show-usuarios.blade.php 2026-04-18 13:48:08 -05:00
Lizandro Guarnizo 6a4ce38aa8 Update show-usuarios.blade.php 2026-04-18 13:46:54 -05:00
Lizandro Guarnizo 85887d15ad Update show-usuarios.blade.php 2026-04-18 13:44:11 -05:00
Lizandro Guarnizo e029b4e8ea Update show-usuarios.blade.php 2026-04-18 13:39:35 -05:00
Lizandro Guarnizo 9a878649a7 Update show-usuarios.blade.php 2026-04-18 13:33:21 -05:00
Juan Felipe Duarte 95d07269f2 Comando para normalizar correos 2026-03-02 14:31:42 -05:00
Juan Felipe Duarte 36bf56b622 Normalize email input for registration and login
Trim and lowercase email before storing or attempting login to avoid mismatches from case or surrounding whitespace. Updated RegisteredUserController@store to save 'email' => strtolower(trim($request->email)) and LoginRequest@authenticate to call Auth::attempt with the normalized email input.
2026-03-02 08:43:12 -05:00
Juan Felipe Duarte afa135f29d cuenta en promo muestra perfil 2025-12-12 16:38:50 -05:00
Juan Felipe Duarte 4a44dbc1c1 Implement device and IP tracking for users
Added Device and UserIp models and migrations to store device fingerprints and user IPs with expiration. Updated ShowSavingIp Livewire component and view to capture and persist both IP and device fingerprint. Introduced a scheduled command to clean expired user IPs and registered it in the console kernel. Removed the old migration for storing IPs directly on the users table.
2025-10-25 09:18:56 -05:00
Juan Felipe Duarte a558e393f2 Add rank management feature with CRUD and UI
Introduces a new rank management system including the Rank model, migrations for the ranks table and user IP address, Livewire components for managing and displaying ranks, and related Blade views. Updates navigation and routes to include the new 'Gestión Rangos' section, and enhances the ShareCodeComponent with user data. Also adds a reusable input field component for forms.
2025-10-23 20:28:47 -05:00
Juan Felipe Duarte aa67099449 Add Livewire component to display and save user IP
Introduces ShowSavingIp Livewire component to fetch, display, and save the authenticated user's IP address. Integrates the component into the navigation layout and comments out the unused /ip-test route.
2025-10-18 14:10:11 -05:00
lizandrogd 227b129613 up 2025-10-18 10:43:02 -05:00
Juan Felipe Duarte 4276f1da4e Refactor IP display logic in ShowIpTest component
Simplifies the Livewire component by removing public and local IP properties and related listeners. Updates the Blade view to fetch and display the user's public IP using ipify API, removing previous local IP detection logic.
2025-10-18 10:28:30 -05:00
Juan Felipe Duarte 013061c1d6 Show public and local IP addresses in Livewire view
Added properties and event listener to ShowIpTest component to display both public IP (from Laravel) and local IP (from JavaScript). Updated Blade view to show both IPs and included a script to detect local IP using WebRTC and dispatch it to Livewire.
2025-10-17 16:24:46 -05:00
Juan Felipe Duarte 5ea64cac17 Add IP test page with Livewire component
Introduces a new route and controller method for '/ip-test', rendering a new view that includes a Livewire component to display the user's IP address. Updates navigation layout for improved profile display. Adds related Blade and Livewire files.
2025-10-17 14:50:13 -05:00
Juan Felipe Duarte c6ba9bb6d1 update 2025-10-17 13:50:25 -05:00
Juan Felipe Duarte 8da23ad240 Update show-promociones.blade.php 2025-10-16 16:29:36 -05:00
Juan Felipe Duarte 084a766187 Update category selection UI for mobile responsiveness
Refactored the selected category display to improve mobile responsiveness by adjusting container classes and image sizing. Added category name display below images for mobile view. These changes enhance the user experience on smaller screens.
2025-10-16 16:13:26 -05:00
Juan Felipe Duarte bde877d07f Improve category selection UI in promociones view
Refactored the category selection in show-promociones.blade.php to display the selected category's image and name above the swiper. Updated the swiper to set the selected category and synchronize with Livewire. Wrapped the logout button in navigation.blade.php with additional padding for better spacing.
2025-10-16 15:35:09 -05:00
Juan Felipe Duarte 720643146b Update navigation.blade.php 2025-10-16 15:16:59 -05:00
Juan Felipe Duarte aac84a4d44 Update navigation.blade.php 2025-10-16 15:04:05 -05:00
Juan Felipe Duarte 0e2a7e9a20 Copy tarifas and promos on user registration
When a new user registers with a referral code, their tarifas and promos are now copied from the referring user. Also refactored Usuario_promo and Usuario_tarifa models to use fillable attributes and improved method formatting. Added Swiper CSS/JS to app layout.
2025-10-16 14:46:17 -05:00
Juan Felipe Duarte 88ab93ed75 update 2025-10-16 11:59:59 -05:00
Juan Felipe Duarte 8c50434f31 Restrict price validation to non-super users
Updated price validation logic in ShowTarifas and ShowUsuarios to allow users with the 'super' role to set prices below the base value. Other users will continue to receive an error if the price is less than the base value.
2025-10-16 11:49:20 -05:00
Juan Felipe Duarte b034515908 Improve referral count display layout
Refactored the referral count section to use a column layout, updated the SVG icon, and improved alignment and spacing for better visual clarity.
2025-10-15 16:47:32 -05:00
Juan Felipe Duarte 5c04a95792 update codigo referido funcionamiento login, register y dashboard 2025-10-15 16:43:43 -05:00
Juan Felipe Duarte 6d49224d44 Improve mobile table and search input UI
Hides the 'entradas' label on small screens, reduces the max width of the search input for mobile, adds text-xs and break-all classes to mobile table rows for better readability, and adjusts spacing in action buttons for a more compact layout.
2025-09-23 10:37:29 -05:00
Juan Felipe Duarte 35b4f51aee Refactor navigation layout for improved structure
Reorganized the navigation sidebar to use a flex column layout and moved the menu and user info into a scrollable container. Improved sticky header behavior, added a logout button at the bottom, and fixed minor styling issues for better usability and maintainability.
2025-09-23 09:48:02 -05:00
Juan Felipe Duarte 9b9ada492a Remove extra client info fields from modal
Deleted sections displaying Servicio, Estado, and Restante information from the extraInfo modal in show-clientes.blade.php, leaving only the Contraseña and Acciones fields. This streamlines the modal and reduces displayed client details.
2025-09-22 13:26:49 -05:00
Juan Felipe Duarte 2a5c655d1e Refactor navigation layout and improve UI styles
Reworked the sidebar navigation in navigation.blade.php to use a modern aside element with improved styling, transitions, and responsive menu items. Updated app.blade.php to simplify layout structure and move Alpine.js script. Adjusted font sizes in ver-entrada.blade.php for better responsiveness. Minor whitespace and formatting improvements in nav.blade.php.
2025-09-22 13:23:49 -05:00
lizandrogd 75bffed0bb Update ShowPromociones.php 2025-09-03 18:31:49 -05:00
lizandrogd 6611c5b812 Update ShowPromociones.php 2025-09-03 18:29:19 -05:00
Juan Felipe Duarte 7b0aeb6f56 descomentar this consulta 2025-09-03 18:16:53 -07:00
Juan Felipe Duarte 79159afcc3 Fix user-specific pricing and utility in verPromocion
Updated the verPromocion method to correctly retrieve user-specific pricing and utility values from the related tarifaPromo relationship. Adjusted relationship queries to use Auth::id() and rol_id for improved accuracy and consistency.
2025-09-03 18:04:03 -07:00
lizandrogd ffd4731f44 Update web.php 2025-09-03 16:00:10 -05:00