add field type of transfer instead of change the name

This commit is contained in:
Cayo Puigdefabregas 2022-06-21 17:50:27 +02:00
parent 7d40f5b537
commit cf4e1df527
1 changed files with 1 additions and 3 deletions

View File

@ -127,9 +127,7 @@ class LotView(View):
continue
for _lot in lots_dump:
if _lot['id'] == str(lot.id):
name = _lot['name']
type_transfer = lot.type_transfer()
_lot['name'] = f'{name} - ({type_transfer})'
_lot['transfer'] = lot.type_transfer()
break
return lots_dump