Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha committed Apr 16, 2024
1 parent 6fb25ca commit 57c98f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/fyle/my-advances/my-advances.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ export class MyAdvancesPage implements AfterViewChecked {
newArr = advArray.filter((adv) => {
const sentBackAdvance =
filters.state.includes(AdvancesStates.sentBack) &&
adv.areq_state === 'DRAFT' &&
adv.areq_is_sent_back;
((adv.areq_state === 'DRAFT' && adv.areq_is_sent_back) || adv.areq_state === 'INQUIRY');

const plainDraft =
filters.state.includes(AdvancesStates.draft) &&
Expand Down

0 comments on commit 57c98f6

Please sign in to comment.