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
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
5c04a95792
update codigo referido funcionamiento login, register y dashboard
2025-10-15 16:43:43 -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
f773ad7f64
Update ShowPromociones.php
2025-09-02 22:51:46 -05:00
lizandrogd
9971109968
Update ShowPromociones.php
2025-09-02 22:48:43 -05:00
lizandrogd
674c03c982
Update ShowPromociones.php
2025-09-02 22:36:07 -05:00
lizandrogd
279f529d16
up
2025-09-02 22:32:49 -05:00
lizandrogd
5edd42ba6c
Update ShowServicios.php
2025-09-02 20:44:19 -05:00
lizandrogd
d0f5d0c697
up
2025-09-02 20:39:40 -05:00
Juan Felipe Duarte
a5aafd738d
update global subvendedor
2025-08-22 10:09:23 -07:00
Juan Felipe Duarte
4042fab30b
update subvendedor global
2025-08-22 09:25:37 -07:00
Juan Felipe Duarte
5529804bd2
fix error
2025-08-01 08:56:32 -07:00
Juan Felipe Duarte
65433490de
update
2025-07-31 17:45:26 -07:00
Juan Felipe Duarte
e11acd95c2
update
2025-07-31 17:42:15 -07:00
Juan Felipe Duarte
afbb655a7c
update
2025-07-31 17:29:11 -07:00
Juan Felipe Duarte
62031ea48f
dd
2025-07-31 17:21:03 -07:00
Juan Felipe Duarte
d7789c7f98
update utilidad de promocion
2025-07-31 17:17:52 -07:00
Juan Felipe Duarte
c7586cf6cd
update
2025-07-31 15:19:22 -07:00
lizandrogd
0239dd3493
Update ShowPlanes.php
2025-07-08 10:02:46 -05:00
lizandrogd
a40ea21787
Update ShowServicios.php
2025-07-07 17:42:20 -05:00
lizandrogd
3e7f9542c7
Update ShowServicios.php
2025-07-07 17:36:45 -05:00
lizandrogd
a2239647ce
Revert "Update ShowServicios.php"
...
This reverts commit 2c68201f3b .
2025-07-07 17:29:23 -05:00
lizandrogd
2c68201f3b
Update ShowServicios.php
2025-07-07 17:27:51 -05:00
lizandrogd
1c20afebb4
Update ShowUsuarios.php
2025-07-07 16:19:53 -05:00
lizandrogd
ebacaff6aa
Update ShowUsuarios.php
2025-07-07 16:19:33 -05:00
lizandrogd
49311a6ecb
up
2025-07-07 15:56:47 -05:00
Juan Felipe Duarte
52eb78c188
roles reservados
2025-06-27 09:25:37 -07:00
Juan Felipe Duarte
82ec6b4b5c
Add Livewire saldo header component and update on saldo change
2025-06-26 17:16:04 -07:00
Juan Felipe Duarte
f72062fffd
saldo restado
2025-06-26 16:50:48 -07:00
Juan Felipe Duarte
83ba4f71da
update
2025-06-26 11:05:53 -07:00
Juan Felipe Duarte
b8d741dddd
vista tabla tarifas y promo dependiendo de cual este abierta
2025-06-25 16:40:20 -07:00
Juan Felipe Duarte
85d18dc4ff
Tarifas y promos por usuario (falta el editar en la vista de tarifas)
...
Introduces the subvendedor_id field to the tarifa_promos table and updates the TarifaPromo model accordingly. Refactors tarifas and promociones management in ShowTarifas and ShowUsuarios Livewire components, including utility calculation, validation, and UI improvements for managing both regular and promo tarifas.
2025-06-25 16:36:32 -07:00
Juan Felipe Duarte
e8050ea19f
vista tarifas
2025-06-19 17:54:22 -07:00
Juan Felipe Duarte
6eb6e3bd2f
antes de comenzar la vista tarifas
2025-06-16 16:30:10 -07:00
Juan Felipe Duarte
9425f519cc
roles por subvendedor
2025-06-14 11:46:14 -07:00
lizandrogd
14d6665253
up
2025-05-20 15:59:48 -05:00
Lizandro Guarnizo
c27ee727a1
Update ShowPromociones.php
2025-04-14 18:16:51 -05:00
Lizandro Guarnizo
d1c5dbc90e
update
2025-04-14 18:08:49 -05:00
lizandrogd
301cd2cf7a
update
2025-04-05 20:31:33 -05:00
lizandrogd
9dcebb4332
Update ShowServicios.php
2025-04-05 19:12:00 -05:00
lizandrogd
fa88c518b3
Update ShowServicios.php
2025-04-05 12:07:52 -05:00
lizandrogd
c1e72339c1
UPDATE
2025-04-04 20:11:51 -05:00
lizandrogd
ac229cdb74
cambio real
2025-04-03 22:28:20 -05:00
lizandrogd
8d419edbed
upp
2025-04-02 01:15:12 -05:00
lizandrogd
5fa0eecf8c
Revert "Update ShowServicios.php"
...
This reverts commit b864eda936 .
2025-04-02 01:13:42 -05:00
lizandrogd
b864eda936
Update ShowServicios.php
2025-04-02 01:06:16 -05:00