fix: update app version to 1.7.10 and SDK versions to 36
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 2m28s

This commit is contained in:
Torsten Schulz (local)
2026-07-22 14:38:33 +02:00
parent ad778328e8
commit 48f0f9afb0
3 changed files with 18 additions and 11 deletions

View File

@@ -65,7 +65,7 @@
{{ membersLoadError }}
</div>
<section v-else class="card members-contribution-summary">
<section v-else-if="canViewMemberFinancialData" class="card members-contribution-summary">
<div class="section-header">
<h3>Beiträge</h3>
</div>
@@ -109,7 +109,7 @@
</div>
<div class="member-preview-actions">
<button type="button" class="btn-primary" @click="editMember(selectedMemberPreview)">{{ $t('members.editMember') }}</button>
<button type="button" @click="openPaymentsForMember(selectedMemberPreview)">Forderung anlegen</button>
<button v-if="canViewMemberFinancialData" type="button" @click="openPaymentsForMember(selectedMemberPreview)">Forderung anlegen</button>
<button
v-if="canShowClickTtRegistration(selectedMemberPreview)"
type="button"
@@ -304,7 +304,7 @@
<label class="checkbox-item"><span>{{ $t('members.adultReleaseApproved') }}:</span> <input type="checkbox" v-model="newAdultReleaseApproved"></label>
<label class="checkbox-item"><span>{{ $t('members.adultReserveApproved') }}:</span> <input type="checkbox" v-model="newAdultReserveApproved"></label>
<div class="contact-section">
<div v-if="canViewMemberFinancialData" class="contact-section">
<label><span>Beitragsgruppe:</span></label>
<input
type="text"
@@ -467,7 +467,7 @@
<th>{{ $t('members.imageInternet') }}</th>
<th>{{ $t('members.name') }}</th>
<th>{{ $t('members.status') }}</th>
<th>Beiträge</th>
<th v-if="canViewMemberFinancialData">Beiträge</th>
<th>{{ $t('members.ttrQttr') }}</th>
<th>{{ $t('members.contact') }}</th>
<th>{{ $t('members.birthdate') }}</th>
@@ -538,7 +538,7 @@
</span>
</div>
</td>
<td>
<td v-if="canViewMemberFinancialData">
<div class="member-contribution-cell">
<div class="member-contribution-line">
<strong>{{ getMemberContributionLabel(member) }}</strong>
@@ -820,8 +820,15 @@ export default {
};
},
canViewMemberFinancialData() {
return this.hasPermission('finance_invoices', 'read')
|| this.hasPermission('finance_invoices', 'write')
|| this.hasPermission('finance_accounts', 'read')
|| this.hasPermission('finance_accounts', 'write');
},
canEditMemberBankAccount() {
return this.hasPermission('members', 'write');
return this.canViewMemberFinancialData;
},
canManageMembers() {
@@ -1422,7 +1429,7 @@ export default {
}
},
async loadPaymentClaims() {
if (!this.currentClub) {
if (!this.currentClub || !this.canViewMemberFinancialData) {
this.paymentClaims = [];
return;
}