Support the "Résiliation" of a line
This commit is contained in:
parent
cccb74a1d1
commit
d5793252b6
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ class PdfPage():
|
|||
lines[duree] = ''
|
||||
detail.label = unicode(splits[0], encoding='utf-8', errors='replace') + u" " + lines[corres] + u" " + lines[duree]
|
||||
# Special case with only 3 columns, we insert a price
|
||||
if "Activation de votre ligne" in detail.label:
|
||||
if "Activation de votre ligne" in detail.label or u"Résiliation" in detail.label:
|
||||
lines.insert(price, '0')
|
||||
try:
|
||||
detail.price = Decimal(lines[price].replace(',', '.'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue