Revision 62e2765d
Added by Benjamin Dauvergne almost 13 years ago
| calebasse/facturation/batches.py | ||
|---|---|---|
|
batches_by_health_center = defaultdict(lambda:[])
|
||
|
for health_center, batch_number in sorted(prebatches.keys()):
|
||
|
batches_by_health_center[health_center].append(Batch(batch_number,
|
||
|
prebatches[batch_number]))
|
||
|
prebatches[(health_center, batch_number)]))
|
||
|
return batches_by_health_center
|
||
|
|
||
Also available in: Unified diff
tomerge