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

fees: fix error on display #1040

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

Garfield-fr
Copy link
Contributor

In the case of manual charges, there is no document and no item. We display either the note or the type.

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@Garfield-fr Garfield-fr self-assigned this Sep 21, 2023
@github-actions github-actions bot added f: professional ui Professional interface f: search labels Sep 21, 2023
@@ -16,7 +16,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<div class="description container pl-0">
<h5 class="mb-0">{{ parent.note }}</h5>
<h5 *ngIf="parent.note" class="mb-0">
[{{ 'Note' | translate }}: {{ parent.note }}]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Note: here_comes_parent_note_content] string seems strange for me. Is it a PO request ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A request from @ManaDeweerdt .She thinks it's weird to have a note as a title, so she wanted to differentiate.

In the case of manual charges, there is no document and no item.
We display either the note or the type.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
@Garfield-fr Garfield-fr merged commit 3b06faf into rero:staging Sep 27, 2023
@Garfield-fr Garfield-fr deleted the zub-fees-brief-view branch October 10, 2023 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: professional ui Professional interface f: search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants