Skip to content

Commit

Permalink
IVM-3 Add signer only if value not empty
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Sep 25, 2024
1 parent 15549c8 commit 8db6984
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Invoice document footer setting moved to Layout settings group
- Improve quality tools configurations

### Fixed
- Add signer line in the invoice document only if value is not empty

## [v2.1.0] - 2023-11-08

### Added
Expand Down
4 changes: 3 additions & 1 deletion views/twig/invoice/body.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@
{% endblock %}

{% block fa_invoice_invoice_body_sign %}
<div id="invoiceSign">{{ translate({ ident: "FA_INVOICE_SIGNED" }) }}: {{ configuration.getSigner() }}</div>
{% if configuration.getSigner() %}
<div id="invoiceSign">{{ translate({ ident: "FA_INVOICE_SIGNED" }) }}: {{ configuration.getSigner() }}</div>
{% endif %}
{% endblock %}
{% endblock %}

0 comments on commit 8db6984

Please sign in to comment.