add export devices lots

This commit is contained in:
Cayo Puigdefabregas 2022-06-20 10:51:32 +02:00
parent 49062d9944
commit 8e11aff88b

View file

@ -662,7 +662,7 @@ class ExportsView(View):
'Transfer Code', 'Transfer Code',
'Transfer Date', 'Transfer Date',
'Transfer Creation Date', 'Transfer Creation Date',
'Transfer Update Date' 'Transfer Update Date',
] ]
cw.writerow(head) cw.writerow(head)
@ -685,7 +685,9 @@ class ExportsView(View):
] ]
cw.writerow(row) cw.writerow(row)
return self.response_csv(data, "Devices_Incoming_and_Outgoing_Lots_Spreadsheet.csv") return self.response_csv(
data, "Devices_Incoming_and_Outgoing_Lots_Spreadsheet.csv"
)
class SnapshotListView(GenericMixin): class SnapshotListView(GenericMixin):