Commit graph

650 commits

Author SHA1 Message Date
Adam Caouette
edc9abe000 CASH-152: update endpoints 2025-03-17 10:32:56 -04:00
Adam Caouette
5412156766 CASH-152: massive commit to implement pricing by day on schedule page 2025-03-17 10:07:29 -04:00
Adam Caouette
58f2efcedb CASH-152: refactor/improve service-package-helper 2025-03-12 10:28:15 -04:00
Adam Caouette
d74c50c53e CASH-152: refactor/improve recal-helper 2025-03-12 10:21:04 -04:00
Adam Caouette
a98a45c769 CASH-152: refactor/improve pricing-helper 2025-03-12 10:16:56 -04:00
Adam Caouette
e4fee3c8ab CASH-152: refactoring changes 2025-03-11 15:15:45 -04:00
Adam Caouette
a499984526 CASH-152: Refactor - move cart- and payment- related helpers out of base mixin 2025-03-06 16:10:28 -05:00
Chloe Herd
72fd8d1a3c Rewrite GetRecalPartNumber(s) helper method 2025-02-19 13:55:08 -05:00
Chloe Herd
f716c1fc88 Don't refresh dxdev cookie with other cookies. 2025-02-04 12:52:37 -05:00
Chloe Herd
009f07df05 Prettier + parenthesis change 2025-01-27 18:06:01 -05:00
Chloe Herd
c313241d62 Merge branch 'release/2025.01.30' into feature/CASH-146 2025-01-27 18:04:03 -05:00
Chloe Herd
a8a959e491 Change eval to getBoolFromString helper 2025-01-27 18:02:34 -05:00
CarlNation
ccc3feb15e CASH-160
CASH-160 promo code lost coming from content site /cjrepair.  Added all passed querystring keys to the redirect to return-user so they're not lost.
2025-01-24 13:50:40 -05:00
CarlNation
7ff2c1b38f CASH-109
CASH-109 the implicit navigation won't work for verified insurance because the quote prereqs always returns false because verified insurance is not permitted on quote page.
Also prevent glassparts from being removed for return-users.
2025-01-22 10:44:12 -05:00
CarlNation
dca0539448 CASH-79
CASH-79 add some info to the global logger to help line up a cloudwatch error with an entry in quantum
2025-01-15 07:01:02 -05:00
CarlNation
25717e674b CASH-79 move save-session after save quote
CASH-79 move save-session after save quote so that the email is still empty in Dynamo when the save-quote is called
2025-01-14 11:30:28 -05:00
CarlNation
2fa5a4d395 Merge branch 'release/2025.01.09' into rlsmerge/2025.01.09-to-01.16 2025-01-14 11:11:18 -05:00
CarlNation
8163945ea9 CASH-79
CASH-79 persist to sv2 in case user hits refresh on the page or closes browser.  email address would be lost.
2025-01-13 10:34:13 -05:00
CarlNation
42cbc6cf6b CASH-79 Front end save quote api call
CASH-79 Front end save quote api call
2025-01-12 18:59:22 -05:00
CarlNation
02183aab9f CASH-80 request insurance company page and let nextgen decide
CASH-80 request insurance company page and let nextgen decide
2025-01-07 13:21:52 -05:00
CarlNation
d2ae8a5237 CASH-80 tests
CASH-80 tests
2025-01-07 13:19:35 -05:00
CarlNation
68b76c5f0d CASH-80 correct test
CASH-80 correct test
2025-01-06 14:52:16 -05:00
CarlNation
c2aa73cf7c CASH-80
CASH-80 allow heritage to redirect to insurance company page now.
2025-01-06 14:15:58 -05:00
CarlNation
b02cbf5ceb test fix
test fix
2024-12-06 10:54:09 -05:00
CarlNation
2ae25e6bd0 cookie date time fix
The cookie is storing date time attributes in UTC causing an exception in heritage code when it hits the comma separating parts of the string.  ie:  SavedSessionTimeoutDate":"Mon, 20 Jan 2025 15:31:51 GMT"
2024-12-06 10:33:05 -05:00
CarlNation
67b7efc50e CSR-2401 back navigation issue between NextGen and Heritage
CSR-2401 back navigation issue between NextGen and Heritage
2024-11-20 07:03:13 -05:00
CarlNation
8dbb39d2e8 logging fixes
logging fixes
2024-11-15 12:07:39 -05:00
CarlNation
b0d6ad304e CSR-2386 nav corrections
CSR-2386 nav corrections
2024-11-15 10:24:35 -05:00
hiteshkumar87
39033e858d CSR-2066
handleBeforeUnload and formatting
2024-11-13 13:57:17 +05:30
hiteshkumar87
7bd2396160 CSR-2066
unit test cases
2024-11-12 21:48:23 +05:30
hiteshkumar87
6790d97b82 CSR-2066
formatting
2024-11-12 21:26:30 +05:30
hiteshkumar87
d8c5c82876
Merge branch 'release/2024.11.21' into Feature/Digital/CSR-2066 2024-11-12 21:23:43 +05:30
hiteshkumar87
9065676535 CSR-2066
Cleanup Before Navigate to External
2024-11-12 21:20:40 +05:30
hiteshkumar87
a5dc5a567f
Merge pull request #2099 from Safelite/Feature/Digital/CSR-2066
CSR-2066
2024-11-12 14:13:20 +05:30
hiteshkumar87
18fc191576 CSR-2066
Cleanup Before Navigate to External
2024-11-12 13:49:36 +05:30
CarlNation
0060011534 CSR-2253 clear heritage session
CSR-2253 clear the heritage session with querystring when starting a new session but there was previously a submitted order.  Otherwise CCPolicyInfo will disable fields.
2024-11-11 06:02:19 -05:00
Sneha
248bca5113 Tech review changes 2024-10-29 18:47:29 +05:30
Chloe Herd
d5378109c6 Update calls for service location page 2024-10-15 17:02:03 -04:00
CarlNation
c07bfd7e17 allow sys to return to localhost 2024-10-11 18:31:09 -04:00
CarlNation
c41fe3fcfc CSR-2237
CSR-2237 found another cart price issue.  Salestax was showing $13 on an order that was pending coverage.  Changed salestax to return 0 for not verified insurance
2024-10-01 08:21:47 -04:00
Chloe Herd
a0cec6e83e Merge branch 'develop' into feature/csr-2147 2024-09-26 16:07:42 -04:00
CarlNation
e26fda362b CSR-1600
CSR-1600 spec file test
2024-09-23 14:36:16 -04:00
CarlNation
40ba5bb3b8 CSR-1600
CSR-1600 rename pia field
2024-09-23 14:04:47 -04:00
Chloe Herd
51fb83932d Update containsRecalPart to accept both lineitems formats 2024-09-12 12:28:32 -04:00
Chloe Herd
4075d685f4 Merge branch 'develop' into feature/csr-2147 2024-09-12 09:53:52 -04:00
Chloe Herd
6f3e35388b Create helper files 2024-09-12 09:52:39 -04:00
CarlNation
114d6a88ca prettier 2024-09-06 10:04:09 -04:00
CarlNation
b0e106df4a Merge branch 'develop' into feature/CSR-2193 2024-09-06 10:00:11 -04:00
CarlNation
6b42a04068 CSR-2193 submittedOrder issue
CSR-2193 the getter in the vuex store does not seem to return the submittedOrder data.  Possibly related to caching due to the recent upgrade to vuex.  Not 100% certain.  So just moved the submittedOrder logic out of the store and into the basemix.
2024-09-06 09:58:56 -04:00
hiteshkumar87
71fbc6a595 CSR-1629
creating non-CJ and CJE cookie for Nextgen
2024-09-04 14:42:48 +05:30
CarlNation
c1b76a322b change variable for heritage url
change variable for heritage url
2024-08-28 11:15:56 -04:00
CarlNation
0912930b94 debug url 2024-08-28 10:36:24 -04:00
CarlNation
6ef362b1ff prettier 2024-08-26 15:18:31 -04:00
CarlNation
b6df3ac8d2 CSR-2177
CSR-2177 we need to allow navigation forward on a policy vehicle change so that we call parts again for the new vehicle.  Having the jump back to heritage on service-zip prevents parts from being called again so we end up in heritage with no items on the order.  Nav to heritage will still happen in the vehicle-questions-mixin logic or the quote beforerouteenter logic.
2024-08-26 15:13:30 -04:00
CarlNation
ffdfee7263 CSR-2087 null check 2024-08-21 08:46:03 -04:00
hiteshkumar87
a2b3e5bb31 CSR-1632
unit test case
2024-08-12 17:36:18 +05:30
hiteshkumar87
8322d44173 CSR-1632
Affiliate Cookies
2024-08-09 18:04:43 +05:30
Josh Seltzer
547824db08 Merge branch 'develop' into feature/CSR-1903 2024-07-22 14:19:54 -04:00
Josh Seltzer
1159ab6c09 CSR-1903 - Display service duration on confirmation 2024-07-22 14:19:14 -04:00
hiteshkumar87
3cbabbb204
Merge pull request #1908 from Safelite/merge-dev-to-CSR-2087
Merge dev to csr 2087
2024-07-18 20:34:56 +05:30
hiteshkumar87
ac873bf893 CSR-2087
create session storage
2024-07-18 20:15:09 +05:30
CarlNation
6d7f68ab7e CSR-977 revert suppressvincapture decommission
CSR-977 revert suppressvincapture decommission
2024-07-17 08:45:52 -04:00
CarlNation
258c8ec2a3 CSR-2091 prettier 2024-06-04 13:56:32 -04:00
CarlNation
73144f8347 CSR-2091
CSR-2091 increase code coverage %
2024-06-04 13:49:44 -04:00
Chloe Herd
de4dd9bada Change location of checks + exact check for "verified" navigation 2024-05-09 13:07:34 -04:00
CarlNation
65d8198b1c CSR-977
CSR-977 Decommission vin capture experiment setting
2024-05-07 10:15:16 -04:00
hiteshkumar87
5fce807c5b
Merge pull request #1815 from Safelite/feature/Digital/CSR-2039
CSR-2039
2024-04-01 17:45:20 +05:30
hiteshkumar87
72c52f457b CSR-2039
code cleanup - remove loader parameter
2024-04-01 17:29:14 +05:30
Sneha
4553fbf022 CSR-2021 2024-03-28 15:47:34 +05:30
Chloe Herd
79f9d3cfc2 Send user to estimate/vin-lookup if verified + going to quote/insurance 2024-03-20 14:59:06 -04:00
CarlNation
5333200395 CSR-2035
CSR-2035 The fees get removed on insurance orders causing the findindex on supportingitems to throw a script error.
2024-03-20 09:05:09 -04:00
CarlNation
57a0dc5e17 Merge branch 'develop' into feature/CSR-2005 2024-03-14 16:01:46 -04:00
CarlNation
cc0d97ca75 CSR-2005
CSR-2005 changes to select parent account and navigate to Heritage
2024-03-14 16:00:52 -04:00
Chloe Herd
dd160a43fa Merge branch 'develop' into feature/csr-1984 2024-03-12 12:20:17 -04:00
Chloe Herd
5af18a36cf Also route insurance-company to heritage for verified users + tests 2024-03-12 12:20:00 -04:00
Leah Schumann
c9702aa569 Changed check for environment to be 'SysTest' instead of 'Test 2024-03-08 08:48:02 -05:00
Leah Schumann
45a2b5d022 Prettified 2024-03-08 08:10:48 -05:00
Leah Schumann
537158eff5 Changed app setting name for logging path 2024-03-08 08:04:46 -05:00
Leah Schumann
8c4984a9e8 Updated logger to fix env variable error and to add color coded log entries for the browser console 2024-03-08 08:01:40 -05:00
Chloe Herd
020908f8e9 Route quote to heritage when verified insurance 2024-03-07 15:27:07 -05:00
Chloe Herd
809d1838df Update unit tests 2024-03-07 12:14:52 -05:00
Leah Schumann
28b0ddfb0e Added Test environment to environments which display the log entries in the browser console. 2024-03-06 07:36:16 -05:00
Chloe Herd
3945113287 Navigation Logic Refactor 2024-03-05 11:19:31 -05:00
Leah Schumann
dae9620843 Prettified 2024-03-05 06:50:07 -05:00
Leah Schumann
9b7d2c8e81 Merge branch 'develop' into feature/CSR-32-A 2024-03-05 06:44:59 -05:00
Leah Schumann
3586ae1b94 Frontend Logging - MVP 2024-03-05 06:43:58 -05:00
CarlNation
bf105542a1 CSR-1072
CSR-1072 allow end to end insurance local development without having to run heritage locally
2024-03-04 15:26:40 -05:00
Adam Caouette
900f790271 CSR-1977: update copy in promotions-helper 2024-03-01 14:49:46 -05:00
Leah Schumann
763956caef Frontend Logging 2024-02-29 09:35:07 -05:00
chloeherdsafelite
122c7a0c1d
Merge pull request #1765 from Safelite/feature/csr-1973
Remove navigation exceptions for schedule, service-location.
2024-02-21 09:07:32 -05:00
Chloe Herd
5e2f79fa6a Formatting 2024-02-20 16:47:55 -05:00
Scott Kiener
05f50e863e Merge remote-tracking branch 'origin/release/2024.02.22' into rlsmerge/2024.02.22-to-end-to-end 2024-02-19 13:49:58 -05:00
Chloe Herd
01fa383521 Remove navigation exceptions for schedule, service-location. 2024-02-15 17:04:21 -05:00
Chloe Herd
11b7f52c8f Also remove ability for non-cash users to be routed past quote. 2024-02-08 10:51:33 -05:00
Chloe Herd
acd68f97d9 Auto-route only as far as Quote for cash users. 2024-02-07 16:02:22 -05:00
CarlNation
48bb6ed7e7 CSR-1072
* Get set parentAccount in cookie correctly
* Do not call order-items pricing when mobile fee returned no results
 * Allow insurance prereq to exclude supportingItems
2024-02-07 15:27:31 -05:00
CarlNation
4515ef09e3 Merge branch 'release/2024.02.08' into rlsmerge/2024.02.08-to-endToEnd 2024-01-29 11:47:16 -05:00
CarlNation
72df46d01e CSR-1072
new insurance fields
2024-01-26 15:26:26 -05:00
Chloe Herd
8ce1dd7d00 Capture workOrderId from save response and add to vuex 2024-01-23 14:17:41 -05:00
Scott Kiener
f0534f2718 Promo Unit tests - promotions-helper.js
Also made promotions-helper.js functions null safe
2024-01-17 09:55:03 -05:00
Scott Kiener
44cc716965 CSR-1894 | Nullsafe error fix 2024-01-05 09:03:38 -05:00
Scott Kiener
352f81c426 CSR-1862 | Avoid clearing valid and active promo on page load 2023-12-27 10:12:57 -05:00
Adam Caouette
614f50a533 Revert "Merge pull request #1636 from Safelite/reverse-pr-1622"
This reverts commit 438e63e780, reversing
changes made to 811a317369.
2023-12-12 14:09:47 -05:00
Adam Caouette
e48a05c9aa Revert "Merge pull request #1622 from Safelite/feature/CSR-1851"
This reverts commit 3bddf0b509, reversing
changes made to 1eb6d96639.
2023-12-12 12:15:09 -05:00
CarlNation
3bddf0b509
Merge pull request #1622 from Safelite/feature/CSR-1851
Feature/csr 1851
2023-12-07 14:39:58 -05:00
CarlNation
d01349d5ca CSR-1871
use settled tender amount to show hide cart on confirmation page
2023-12-07 14:02:32 -05:00
Leah Schumann
669ea2927c Prettified 2023-12-07 06:44:40 -05:00
Leah Schumann
2ea2176865 Merge branch 'develop' into feature/CSR-1851 2023-12-07 06:42:29 -05:00
Leah Schumann
5238b9a987 Ensured that promo added line items are taxed 2023-12-07 06:38:07 -05:00
Chloe Herd
67c9b1609b Final cookie tests 2023-12-05 14:00:28 -05:00
Chloe Herd
4be83e9649 Is Cookie Set 2023-12-05 13:08:41 -05:00
Chloe Herd
48756a9683 Cleanup 2023-12-05 12:44:01 -05:00
Chloe Herd
1f0a0870c9 Session Id 2023-12-05 12:40:37 -05:00
Chloe Herd
736aee68e9 Session Key 2023-12-05 11:46:31 -05:00
Chloe Herd
aa59d955cb UserId + Formatting 2023-12-05 11:35:51 -05:00
Chloe Herd
f45d73e297 Tests for deviceID 2023-12-05 10:49:05 -05:00
Chloe Herd
42d60f4e22 Update existing unit test suite 2023-12-01 11:32:33 -05:00
Chloe Herd
648a43ba81 Remove log 2023-12-01 09:38:24 -05:00
Chloe Herd
921a3efbfd Define cookie TTLs as constants 2023-12-01 09:08:32 -05:00
Chloe Herd
0ba926d20c Move all specific cookie logic to cookie-helper 2023-12-01 08:37:22 -05:00
Chloe Herd
4510241bdd Cleanup 2023-12-01 08:12:19 -05:00
Chloe Herd
edd8158148 Iteration 1 2023-11-30 17:35:21 -05:00
Scott Kiener
f165bd41b9 CSR-1845 | Fix quote pricing with bundle promos 2023-11-28 15:10:28 -05:00
Scott Kiener
4b87384e55 CSR-1841 | Change query string promo logic for save quote email purposes 2023-11-28 10:09:49 -05:00
Scott Kiener
5ff73cc095 CSR-1393 | Fix the display/removal of bundle promo codes in modal 2023-11-16 09:56:01 -05:00
Scott Kiener
e2c86d0516 CSR-1452 | Formatting 2023-11-15 11:13:51 -05:00
Scott Kiener
8d9fbdf985 Merge remote-tracking branch 'origin/develop' into feature/skiener/CSR-1452 2023-11-15 11:12:21 -05:00
Scott Kiener
f9332b1028 CSR-1452 | Working on integrating promo-modal 2023-11-15 11:12:08 -05:00
hiteshkumar87
5a77323820 Update date-helper.js
replacing Math.floor with Math.round
2023-11-15 16:42:37 +05:30
hiteshkumar87
d5022a6152 Update date-helper.js
removing decimals from First Day available GA events
2023-11-14 17:50:11 +05:30
Scott Kiener
7b7bd5da87 CSR-1452 | Formatting 2023-11-13 14:07:10 -05:00
Scott Kiener
0a9e59bf22 CSR-1452 | Inactive promos bug fix, related refactoring
Created a shared "removeCurrentlyActivePromoCodesFromInactivePromos" method and used it in multiple places to fix bug
2023-11-13 11:18:08 -05:00
Sneha
ae505070c2 CSR-1393 2023-11-13 20:11:00 +05:30
Scott Kiener
f8f9749d3a CSR-1452 | Rewrite save promo functions
Combined inactive and active into one method
 -new save method prevents the same promos ending up in inactive AND active at the same time
 -query string promos save to inactive automatically
2023-11-10 10:51:01 -05:00
Scott Kiener
f72ce16936 CSR-1452 | Refactor and reformat 2023-11-09 15:17:47 -05:00
Scott Kiener
7eea3baa13 CSR-1452 | Alerts for promos and alert.vue refactoring 2023-11-09 14:52:18 -05:00
Scott Kiener
2600e70755 Merge remote-tracking branch 'origin/develop' into feature/skiener/CSR-1452 2023-11-09 09:11:32 -05:00
Scott Kiener
2cbae603bd CSR-1452 | Toast messages built and displayed
For payment-method and quote, only for initial page load promo logic
2023-11-09 09:11:19 -05:00
CarlNation
b8bd1e4b0b Merge branch 'develop' into feature/CSR-1392 2023-11-09 08:42:07 -05:00
CarlNation
ba7224a0ec CSR-1392
referral.locktoken is not persisted in the db so we need to return it to the calling application so it can be sent back in on the final wo submit
2023-11-09 08:41:02 -05:00
Scott Kiener
fa2bccb518 CSR-1452 | More promo logic
Watch lineItems to automatically run revalidate when the cart changes
Add in auto add of addable vaps in beforeRouteEnter
Create adding of addableVaps to order in promo helper
2023-11-07 15:34:31 -05:00
Scott Kiener
da1feeab07 CSR-1452 | Set up wireframe for payment-method and promos 2023-11-03 11:42:11 -04:00
Bill Richardson
92778c8bcb Merge branch 'release/pre-cash-enhancements' into feature/richardson/CSR-1696.merge-to-dev 2023-10-31 16:40:52 -04:00
hiteshkumar87
785a51fdca customerPortalLoginToken
customerPortalLoginToken
2023-10-31 13:43:45 +05:30
CarlNation
4723eb8098 CSR-1392
associated tests
2023-10-29 10:25:05 -04:00
CarlNation
166940db04 CSR-1392
removed work order flags for submitting a pia in delete substatus and the final submit flag from the store and pass it as a parameter to save session instead.
2023-10-29 08:28:32 -04:00
Bill Richardson
e25425e2a0 This should have the new behavior and keep the old behavior 2023-10-27 14:16:12 -04:00
Scott Kiener
3d9c1b97fb CSR-1520 | Formatting 2023-10-25 10:36:25 -04:00
Scott Kiener
2516adc2fc CSR-1520 | Package selection promo logic 2023-10-25 10:33:14 -04:00
Leah Schumann
cb01a42341 Cart now calculating tax, there may be other issues in the cart that may effect calculation 2023-10-18 09:10:53 -04:00