Commit Graph

35 Commits

Author SHA1 Message Date
nflnkr
10e2022035 rework calcCart
use swr for discounts datafetching
remove discounts store
refetch discount on promocode apply
2024-03-26 17:49:35 +03:00
nflnkr
73741a97e3 update cart test results 2024-03-23 10:32:06 +03:00
nflnkr
2d41e125df pass userId to calcCart 2024-03-22 22:53:00 +03:00
nflnkr
cdb7b4efc6 add vitest to test cart 2024-03-19 20:10:42 +03:00
nflnkr
61070c26d1 add cart test data 2024-03-19 19:25:47 +03:00
nflnkr
76a4a8ea4b fix types 2024-03-19 18:52:17 +03:00
nflnkr
285aa5d89c fix privilege types 2024-03-19 18:17:57 +03:00
nflnkr
0990dc081f change cart and tariffs calculation logic
use swr for cart tariffs datafetching
remove console clutter
remove cart store
some fixes
2024-03-18 17:02:28 +03:00
429ecd99c1 разрешение конфликта типов в тарифах 2024-01-20 13:31:15 +03:00
b2d9698cf1 fix: double service discount on tariffs page 2024-01-12 22:29:13 +03:00
cbac3c08b9 fix: add number casting to findServiceDiscount 2024-01-07 04:12:12 +03:00
68876d3c0a feat: multiprivileges in custom tariffs 2024-01-07 02:24:20 +03:00
bfd283d646 fix: discounts... 2023-12-27 01:40:31 +03:00
b47f41ca3b feat: add discount calculation on cart accordions 2023-12-24 01:09:44 +03:00
1ee5276b48 fix: some refactor on calcCart 2023-12-22 00:58:09 +03:00
18fdb74230 feat: tariff description handling 2023-12-15 20:21:50 +03:00
e36ac75838 fix: privilege dicount calculation onamoun 2023-12-14 01:48:07 +03:00
nflnkr
47d83997e4 fix discount applying 2023-11-10 17:52:31 +03:00
d69d27acb4 add husky && eslinter 2023-11-06 02:48:07 +03:00
nflnkr
e6a57373fb fix custom tariffs nko discount apply 2023-10-26 15:33:03 +03:00
nflnkr
dbc15ecd69 fix nko discount 2023-10-14 00:33:20 +03:00
nflnkr
b2b38cb1c7 fix nko discounts 2023-10-13 22:36:28 +03:00
9939912ca6 privilegie заменено на privilege 2023-09-16 02:16:58 +03:00
nflnkr
3a2eaec7b4 upgrade kitui & fix accordingly 2023-08-18 13:41:44 +03:00
nflnkr
8f9abe50fd fix cart tests 2023-08-18 12:02:23 +03:00
nflnkr
b6f04a5c2a rework cart calc and components 2023-08-12 22:15:05 +03:00
IlyaDoronin
76e2b52ecc fix: conflicts resolved 2023-08-07 18:53:29 +03:00
IlyaDoronin
c135431d82 fix: mobile performance 2023-08-07 13:58:42 +03:00
ca4fe18ac5 Dev 2023-08-04 14:49:05 +00:00
nflnkr
215b1e60ec upgrade kitui package 2023-08-02 15:23:16 +03:00
nflnkr
0c398d7252 upgrade kitui package
fix cart to use new types
2023-07-27 21:32:05 +03:00
nflnkr
c40e91e36e use tariff type from kitui package 2023-07-27 21:32:05 +03:00
nflnkr
0ed279c050 refactor calcCart function 2023-07-27 21:32:05 +03:00
nflnkr
1c6fdbaa5c add cart tests 2023-07-27 21:32:05 +03:00
nflnkr
048f442204 fix cart field name 2023-07-18 15:00:08 +03:00