-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Enabling Invoices as a feature #46567
Merged
madmax330
merged 19 commits into
Expensify:main
from
rezkiy37:feature/45168-enabling-invoices-feature
Aug 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
167efba
add texts
rezkiy37 c1adffc
implement enablePolicyInvoices
rezkiy37 a911d3e
extend canSendInvoice
rezkiy37 4283e24
integrate invoice enabling in WorkspaceMoreFeaturesPage
rezkiy37 64f6420
restrict sending invoice when disabled
rezkiy37 1b2ff88
check enabled workspaces
rezkiy37 be700df
translate files
rezkiy37 25e7656
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 2e079b5
filter disabled workspaces for invoices
rezkiy37 73cf208
filter disabled invoices rooms
rezkiy37 49eb3f9
fix comment
rezkiy37 a1440c6
Merge branches 'main' and 'feature/45168-enabling-invoices-feature' o…
rezkiy37 fb8ea48
rename and improve getInvoicePrimaryWorkspace
rezkiy37 f541571
use canSendInvoiceFromWorkspace
rezkiy37 219386f
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 4acdd47
comment some changes out
rezkiy37 c79964d
link issue to todos
rezkiy37 5c155d2
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 5bdf617
rename invoicing
rezkiy37 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
extend canSendInvoice
- Loading branch information
commit a911d3eecbb121d1734055176529f8a856506fa2
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The check is correct, but maybe we should update it later and leave a TODO for now?
Cause invoicing settings screen isn't ready yet, and this update will block users from invoice creation.
It relates to other places where we check for
areInvoicesEnabled
as well.Maybe we should confirm it
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.
I got you. Let me clarify.
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.
Yeah that makes sense, let's put it as a todo and update it when the invoices screen is ready
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.
I've commented out some changes to prevent the invoice creation from being blocked.
Commit - 4acdd47.
Video
Flow.mp4
cc @madmax330 @VickyStash
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.
Can I open the PR for review?
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.
@rezkiy37 let's add a link to the blocking issue in TODOs #45175, then it's fine
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.
Done - c79964d.