[objets.facture] Sucre syntaxique
This commit is contained in:
parent
ac0445b7e3
commit
15f92fbf21
1 changed files with 2 additions and 2 deletions
|
@ -1146,8 +1146,8 @@ class facture(CransLdapObject):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(facture, self).__init__(*args, **kwargs)
|
super(facture, self).__init__(*args, **kwargs)
|
||||||
self._frais = []
|
self._frais = []
|
||||||
if not self.get('recuPaiement', []):
|
if not self['recuPaiement']:
|
||||||
if str(self['modePaiement'][0]) == 'paypal':
|
if 'paypal' in self['modePaiement']:
|
||||||
# 25 centimes pour le paiement paypal
|
# 25 centimes pour le paiement paypal
|
||||||
s = 0.25
|
s = 0.25
|
||||||
# et on ajoute 3.5% du montant
|
# et on ajoute 3.5% du montant
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue