Skip to content
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

[Cleanup] Implementing Warning Banner For Clients | E-Invoicing #2169

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Civolilah
Copy link
Collaborator

@beganovich @turbo124 The PR includes the implementation of warning banner for clients under certain conditions. Screenshot:

Screenshot 2024-11-07 at 19 24 15

Note: I used plain text to display a banner with a message that makes sense, but please let me know which translation keyword you would prefer here.

Let me know your thoughts.

@Civolilah
Copy link
Collaborator Author

@turbo124 You also mentioned in the ticket about ensuring that the form accepts helper text. If you mean that we need to have helper text on City, Postal Code, and other fields, we already support this. Please let me know if helper text needs to be added here.

@turbo124
Copy link
Member

turbo124 commented Nov 7, 2024

@Civolilah

translation

client_address_required

logic

address1,city,postal_code,country_id != ''

@Civolilah
Copy link
Collaborator Author

@Civolilah

translation

client_address_required

logic

address1,city,postal_code,country_id != ''

@turbo124 The translation keyword has been set, and I can confirm that the logic is exactly as you mentioned - if any of those props is not populated, the banner will be displayed. Of course, if the e-invoicing has been enabled. Let me know your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants