mirror of
https://github.com/NaN-tic/trytond-account_payment_es_csb_19.git
synced 2023-12-13 21:00:17 +01:00
Removed end lines added here
This commit is contained in:
parent
c04db6d595
commit
31b886bc5c
1 changed files with 11 additions and 11 deletions
22
payment.py
22
payment.py
|
@ -220,13 +220,13 @@ class Group:
|
|||
for key in keys:
|
||||
field[key] = ''
|
||||
|
||||
text = set_presenter_header_record() + '\r\n'
|
||||
text = set_presenter_header_record()
|
||||
values['record_count'] += 1
|
||||
text += set_ordering_header_record() + '\r\n'
|
||||
text += set_ordering_header_record()
|
||||
values['record_count'] += 1
|
||||
for receipt in values['receipts']:
|
||||
values['required_count'] += 1
|
||||
text += set_required_individual_record() + '\r\n'
|
||||
text += set_required_individual_record()
|
||||
values['record_count'] += 1
|
||||
if values['extra_concepts']:
|
||||
concepts = []
|
||||
|
@ -238,26 +238,26 @@ class Group:
|
|||
for (key, receipt['communication']) in zip(keys, concepts):
|
||||
field[key] = receipt['communication']
|
||||
if field['second_field_concept']:
|
||||
text += set_first_optional_individual_record() + '\r\n'
|
||||
text += set_first_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
if field['fifth_field_concept']:
|
||||
text += set_second_optional_individual_record() + '\r\n'
|
||||
text += set_second_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
if field['eighth_field_concept']:
|
||||
text += set_third_optional_individual_record() + '\r\n'
|
||||
text += set_third_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
if field['eleventh_field_concept']:
|
||||
text += set_fourth_optional_individual_record() + '\r\n'
|
||||
text += set_fourth_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
if field['fourteenth_field_concept']:
|
||||
text += set_fifth_optional_individual_record() + '\r\n'
|
||||
text += set_fifth_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
text += set_sixth_optional_individual_record() + '\r\n'
|
||||
text += set_sixth_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
elif values['add_address']:
|
||||
text += set_sixth_optional_individual_record() + '\r\n'
|
||||
text += set_sixth_optional_individual_record()
|
||||
values['record_count'] += 1
|
||||
text += set_ordering_footer_record() + '\r\n'
|
||||
text += set_ordering_footer_record()
|
||||
values['record_count'] += 2
|
||||
text += set_presenter_footer_record()
|
||||
group.attach_file(text)
|
||||
|
|
Loading…
Reference in a new issue