Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added fix for cost center not getting assigned upon non-manual selection #2606

Merged
merged 5 commits into from
Nov 29, 2023

Conversation

Julias0
Copy link
Contributor

@Julias0 Julias0 commented Nov 23, 2023

Description

🤖[deprecated] Generated by Copilot at 54abe57

Fixed a bug in the merge expense feature where the cost center field was not showing the correct value. Changed the getCostCenter method to use tx_cost_center_id instead of tx_cost_center_name in merge-expense.page.ts.

🤖[deprecated] Generated by Copilot at 54abe57

getCostCenter changed
Use tx_cost_center_id
Bug fix for autumn

Walkthrough

🤖[deprecated] Generated by Copilot at 54abe57

  • Fixed the cost center field value in the merge expense form by using the expense's tx_cost_center_id property instead of the tx_cost_center_name property to match the cost center options data (link)

Clickup

Please add link here

Code Coverage

https://app.clickup.com/t/86ctzabjd

@github-actions github-actions bot added the size/XS Extra Small PR label Nov 23, 2023
Copy link

Unit Test Coverage % values
Statements 96.87% ( 17635 / 18203 )
Branches 95.03% ( 8958 / 9426 )
Functions 95.85% ( 5440 / 5675 )
Lines 96.91% ( 16803 / 17337 )

@OmkarJ13 OmkarJ13 self-requested a review November 29, 2023 07:40
@OmkarJ13 OmkarJ13 merged commit c2495d0 into master Nov 29, 2023
4 checks passed
@OmkarJ13 OmkarJ13 deleted the FYLE-86ctzabjd branch November 29, 2023 07:41
OmkarJ13 added a commit that referenced this pull request Nov 29, 2023
…election (#2606)

* Added fix for cost center not getting assigned upon non-manual selection

* Fixed tests

---------

Co-authored-by: julias0 <aiyush.dhar@fyle.in>
Co-authored-by: Omkar Joshi <65808188+OmkarJ13@users.noreply.github.com>
Co-authored-by: OmkarJ13 <oajoshi13@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Extra Small PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants