Merge branch 'dev'

This commit is contained in:
Chris Giacofei 2024-06-07 18:12:37 -04:00
commit a144144942

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',