Compare commits

...

2 Commits

Author SHA1 Message Date
a144144942 Merge branch 'dev' 2024-06-07 18:12:37 -04:00
67ab836ee4 I swear I fixed this already. 2024-06-07 18:07:58 -04:00

View File

@ -105,8 +105,8 @@ def batch_labels(request, batch_id):
for sample in to_print:
labels.append({
'id': sample.id,
'title': '{} {}'.format(sample.batch.strain.manufacturer.name, sample.batch.strain.name),
'data': ['ID: {}'.format(sample.id), 'Date: {}'.format(sample.batch.production_date)],
'title': '{} {}'.format(sample.propogation.strain.manufacturer.name, sample.propogation.strain.name),
'data': ['ID: {}'.format(sample.id), 'Date: {}'.format(sample.propogation.production_date)],
'blank': False,
'host': request.get_host(),
'template': 'yeast',