diff --git a/apps/note/fixtures/initial.json b/apps/note/fixtures/initial.json index 8c8ef378..61731ead 100644 --- a/apps/note/fixtures/initial.json +++ b/apps/note/fixtures/initial.json @@ -89,21 +89,6 @@ "created_at": "2020-02-20T20:16:14.753Z" } }, - { - "model": "note.note", - "pk": 7, - "fields": { - "polymorphic_ctype": [ - "note", - "noteuser" - ], - "balance": 0, - "last_negative": null, - "is_active": true, - "display_image": "pic/default.png", - "created_at": "2020-03-22T13:01:35.680Z" - } - }, { "model": "note.noteclub", "pk": 5, diff --git a/templates/base.html b/templates/base.html index 2f07a6cc..4d39f9a1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -79,9 +79,11 @@ SPDX-License-Identifier: GPL-3.0-or-later {% trans 'Consumptions' %} {% endif %} + {% if "note.transaction"|not_empty_model_list %} + {% endif %} {% if "member.club"|not_empty_model_list %}