Revision 68b991bc snf-astakos-app/astakos/quotaholder/callpoint.py
b/snf-astakos-app/astakos/quotaholder/callpoint.py | ||
---|---|---|
62 | 62 |
quotas = {} |
63 | 63 |
for holding in holdings: |
64 | 64 |
key = (holding.holder, holding.source, holding.resource) |
65 |
value = (holding.limit, holding.imported_min, holding.imported_max)
|
|
65 |
value = (holding.limit, holding.usage_min, holding.usage_max)
|
|
66 | 66 |
quotas[key] = value |
67 | 67 |
|
68 | 68 |
return quotas |
... | ... | |
186 | 186 |
'source': holding.source, |
187 | 187 |
'resource': holding.resource, |
188 | 188 |
'limit': holding.limit, |
189 |
'imported_min': holding.imported_min,
|
|
190 |
'imported_max': holding.imported_max,
|
|
189 |
'usage_min': holding.usage_min,
|
|
190 |
'usage_max': holding.usage_max,
|
|
191 | 191 |
'delta_quantity': provision.quantity, |
192 | 192 |
'issue_time': commission.issue_time, |
193 | 193 |
'log_time': log_time, |
Also available in: Unified diff