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

Feature Request: Filter Child Rows before Print #371

Open
moizsami opened this issue Oct 22, 2024 · 0 comments
Open

Feature Request: Filter Child Rows before Print #371

moizsami opened this issue Oct 22, 2024 · 0 comments

Comments

@moizsami
Copy link

Hi @maharshivpatel

I had a reuqest if somehow we could filter out the child table before printing. For our print we do not want to print all the rows in the table, we only want certain rows if a condition is met.

Example: {% for row in doc.required_items %}{% if row.item_group=='Flute' %}{{ row.item_code }}{% endif %}{% endfor %}

If I apply the above code, it only hides the value, but the rows are still generated
image

Is there any work around or feature possible for my requirement ?

Thanks

@moizsami moizsami changed the title Feature Request Feature Request: Filter Child Rows before Print Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant