Removed duplicate line items and ordered the results by date#505
Removed duplicate line items and ordered the results by date#505supriya3105 merged 2 commits intodevelopfrom
Conversation
Current Code Coverage Percent of this PR:89.35 %Files having coverage below 100%
|
| timesheet_entries.note as description, | ||
| project_members.hourly_rate as rate, | ||
| timesheet_entries.duration as qty" | ||
| ).where.not(id: selected_entries) |
There was a problem hiding this comment.
Yeah @akhilgkrishnan - updated the existing test cases for this method.
|
@mohinid can you check why the CI is failing. Cypress packages are not installing |
@apoorv1316 Can you please check. |
|
@gowsik-ragunath Why this PR is even installing cypress on CI I haven't merged the PR in which we are enabling the cypress test on CI. It's still open #490. cc @mohinid |
|
@apoorv1316 I'm not sure, I didn't make any changes in the CI/CD workflow file. The first commit did pass but the second commit failed because of the cypress installation issue I checked the workflow file in my local environment it didn't have anything related to cypress. |
|
@gowsik-ragunath I am also not sure. Anway I re-run the job and all the checks seem fine now. |
|
@apoorv1316 Please retest this bug and approve/reject accordingly. |
rohitjoshixyz
left a comment
There was a problem hiding this comment.
We should add an index on work date if we are sorting based on it cc @keshavbiswa
There was a problem hiding this comment.
Thanks a lot, @gowsik-ragunath for fixing this. cc @supriya3105
|
@gowsik-ragunath Merging this. Added a new Notion card for @rohitjoshixyz 's feedback. |
|
@supriya3105 Actually the change requested by @rohitjoshixyz was completed, I will raise a separate PR for that shortly. |
* Fixed the issue in loading duplicate line items and ordering the results * Updated the new_line_item_entries model test case Co-authored-by: Gowsik <[email protected]>
Notion card
Summary
New line itemdropdown andAdd multiple line itemmodal.work_date.Preview
https://www.loom.com/share/cd22f158de294573991b963b03810c46
Type of change
Please delete options that are not relevant.
not work as expected)
How Has This Been Tested?
Checklist: