Commit 7116fb8
committed
fix: filter excluded employees and check for Direct Deposit explicitly
Address Copilot review feedback: hasDirectDepositEmployees now filters
out excluded employees and explicitly checks for 'Direct Deposit'
rather than checking for != 'Check', avoiding false positives from
historical or null payment methods.
SDK-614
Made-with: Cursor1 parent aefd866 commit 7116fb8
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| |||
0 commit comments