1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-23 02:48:22 +02:00

Replace ... by …

Signed-off-by: Emmy D'ANELLO <ynerant@crans.org>
This commit is contained in:
2022-08-29 11:17:17 +02:00
parent a69573ccdb
commit 3306aed6dc
36 changed files with 92 additions and 92 deletions

View File

@ -174,7 +174,7 @@ class SogeCreditForm(forms.ModelForm):
attrs={
'api_url': '/api/user/',
'name_field': 'username',
'placeholder': 'Nom ...',
'placeholder': 'Nom',
},
),
}

View File

@ -358,7 +358,7 @@ class SogeCredit(models.Model):
def invalidate(self):
"""
Invalidating a Société générale delete the transaction of the bank if it was already created.
Treasurers must know what they do, With Great Power Comes Great Responsibility...
Treasurers must know what they do, With Great Power Comes Great Responsibility
"""
if self.valid:
self.credit_transaction.valid = False
@ -422,7 +422,7 @@ class SogeCredit(models.Model):
"""
Deleting a SogeCredit is equivalent to say that the Société générale didn't pay.
Treasurers must know what they do, this is difficult to undo this operation.
With Great Power Comes Great Responsibility...
With Great Power Comes Great Responsibility
"""
total_fee = sum(transaction.total for transaction in self.transactions.all() if not transaction.valid)

View File

@ -29,7 +29,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
</h3>
<div class="card-body">
<div class="input-group">
<input id="searchbar" type="text" class="form-control" placeholder="Nom/prénom/note ...">
<input id="searchbar" type="text" class="form-control" placeholder="Nom/prénom/note">
<div class="input-group-append">
<button id="add_sogecredit" class="btn btn-success" data-toggle="modal" data-target="#add-sogecredit-modal">{% trans "Add" %}</button>
</div>