-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: Added Condition for restricting pending txns #2789
Conversation
PR description must contain a link to a clickup |
PR description must contain a link to a clickup |
PR description must contain a link to a clickup |
PR description must contain a link to a clickup |
…to Fyle-86cup7bft-2
PR description must contain a link to a clickup |
PR description must contain a link to a clickup |
PR description must contain a link to a clickup |
PR description must contain a link to a clickup |
@@ -19,6 +19,11 @@ import { DateService } from '../../../date.service'; | |||
export class ExpensesService { | |||
constructor(private dateService: DateService) {} | |||
|
|||
//TODO : ADD CONDITION BASED ON ORG SETTING | |||
restrictPendingTransactionsEnabled(): boolean { | |||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not merge these PRs till we get the org settings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, thanks
@@ -27,6 +32,15 @@ export class ExpensesService { | |||
return typeof expense.policy_amount === 'number' && expense.policy_amount < 0.0001; | |||
} | |||
|
|||
isExpenseInPendingState(expense: Expense): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesExpenseHavePendingCardTransaction
…to Fyle-86cup7bft-2
|
@@ -61,13 +61,6 @@ | |||
> | |||
</app-expense-card> | |||
</div> | |||
|
|||
<div class="create-new-report--add-more-container" (click)="closeEvent()"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is expected
Description
Added Change for toast message and dialog in my expenses list v2
Remove add more expenses from create new report as it is not working from day 0, refer this thread for discussion around this : https://fylein.slack.com/archives/C017C400V37/p1709031202418129
Clickup
https://app.clickup.com/t/86cuqqvvp
UI Preview
https://www.loom.com/share/0139577e6f7d4b308d8b2bafd5473e9e?sid=f132021b-eb38-4b11-b48a-af41f976d7d0