Project

General

Profile

Actions

결함(Bug) #2519

closed

Seller Settlement export issue

Added by Tracy Tran 3 months ago. Updated 3 months ago.

Status:
완료성공(Resolve)
Priority:
긴급(Emergency)
Assignee:
Target version:
Start date:
12/03/2025
Due date:
12/03/2025
% Done:

100%

Estimated time:
Part:
Build env.:
Prod

Description

Alice > settlement > Seller settlement

Search with condition as image, Alice is displaying 85 bookings with total amount is 1,657,700

Export file displayed wrong information.
multiple channels is displaying in the excel file even though the condition is Webbed DMC only.


Files

Actions #2

Updated by Tom Dong 3 months ago

  1. Summary

Fixed the Seller Settlement export issue where the Excel export was displaying multiple channels even when the search was filtered to "Webbed DMC only" (STN02). The export function was not using the stored search condition from the component state. Updated `excelDownloadHandlerV2()` to use `this._searchCondition` (the last applied search condition) instead of reading from the form, ensuring the export respects all active filters including the channel filter (`stationTypeCode`).

  1. AI Summary Table
Assignee AI Use Case How AI was Applied Progress (h) Reduced time (hour) Challenge Resolved_Challenges Total Token Used
---------- ------------- ------------------- --------------- --------------------- ----------- --------------------- ------------------
Auto Analyze export condition bug and fix filter application Used Cursor AI to analyze the codebase, identify the root cause in `excelDownloadHandlerV2()` method, and implement fix using stored search condition Modified `sm-seller.component.ts` excelDownloadHandlerV2() function; Changed to use `_searchCondition` from component state; Ensured channel filter (stationTypeCode) is properly included in export 2 Export function was using form values instead of stored search condition, causing filters to be ignored Updated method to use `this._searchCondition` which contains the last applied search filters from NgRx store, ensuring export matches displayed results ~15,000

Technical Details:
- File modified: `src/app/routes/sm-seller/containers/sm-seller.component.ts`
- Function: `excelDownloadHandlerV2()`
- Change: Now uses `this._searchCondition` which is synchronized with the NgRx store's search condition, ensuring all filters (including stationTypeCode for channel filtering) are properly applied to the export.

Actions #3

Updated by Tom Dong 3 months ago

  • Due date set to 12/03/2025
  • Status changed from 신규(New) to 완료(Done)
  • Start date set to 12/03/2025
  • % Done changed from 0 to 100
Actions #4

Updated by Tom Dong 3 months ago

  • Status changed from 완료(Done) to QA test
  • Assignee changed from Tom Dong to Tracy Tran
Actions #5

Updated by Tom Dong 3 months ago

  • Assignee changed from Tracy Tran to Tracy Truong
Actions #6

Updated by Tom Dong 3 months ago

  • Build env. set to Staging
Actions #7

Updated by Tracy Tran 3 months ago

Checked staging

Actions #8

Updated by Tom Dong 3 months ago

please check again on STAGINg

Actions #9

Updated by Tom Dong 3 months ago

  • Status changed from 완료실패(Failed) to 완료(Done)
Actions #10

Updated by ziniy Kang 3 months ago

  • Status changed from 완료(Done) to QA test
  • Assignee changed from Tom Dong to Tracy Tran
Actions #11

Updated by Tracy Tran 3 months ago

CHECKED STAGING

Actions #12

Updated by ziniy Kang 3 months ago

  • Status changed from 완료(Done) to 확인(Confirmed)
Actions #13

Updated by ziniy Kang 3 months ago

  • Status changed from 확인(Confirmed) to QA test
  • Assignee changed from Tom Dong to Tracy Tran
  • Build env. changed from Staging to Prod
Actions #14

Updated by Tom Dong 3 months ago

  • Assignee changed from Tracy Tran to Tracy Truong
Actions #15

Updated by Tracy Tran 3 months ago

  • Status changed from QA test to 완료성공(Resolve)
  • Assignee changed from Tracy Truong to Tom Dong

Checked

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)