File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def from_dictionary(cls, dictionary):
128
128
dictionary .get ('correspondent_bank' , None ))
129
129
return cls (
130
130
name = dictionary ['name' ],
131
- address = dictionary [ 'address' ] ,
131
+ address = dictionary . get ( 'address' , None ) ,
132
132
languages = dictionary ['languages' ],
133
133
personal_number = dictionary .get ('personal_number' , None ),
134
134
company_code = dictionary .get ('company_code' , None ),
Original file line number Diff line number Diff line change 441
441
<strong >{{ i18n_string(buyer.name, language) }}</strong >
442
442
</td >
443
443
</tr >
444
+ {% if buyer .address %}
444
445
<tr >
445
446
<td >
446
447
<strong class =" seller-right" >{{ i18n_string(buyer.address, language) }}</strong >
450
451
{% endcall %}
451
452
</td >
452
453
</tr >
454
+ {% endif %}
453
455
{% if buyer .personal_number %}
454
456
<tr >
455
457
<td >
You can’t perform that action at this time.
0 commit comments