add livestock weight types to allocation info for pos
This commit is contained in:
@@ -25,7 +25,8 @@ def quota_live_stock_allocation_info(quota: Quota) -> typing.Any:
|
||||
if allocations:
|
||||
allocations_list = [{
|
||||
"name": alloc.livestock_type.name,
|
||||
"quantity": alloc.quantity_kg
|
||||
"quantity": alloc.quantity_kg,
|
||||
"type": alloc.livestock_type.weight_type
|
||||
} for alloc in allocations]
|
||||
|
||||
return allocations_list
|
||||
|
||||
Reference in New Issue
Block a user