From 5ded65fc2554761b0a6740d4f99caf3408bb8a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Cant=C3=B9?= Date: Wed, 4 Dec 2024 10:46:49 +0100 Subject: [PATCH] show more sample fields --- src/genlab_bestilling/staff/tables.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/genlab_bestilling/staff/tables.py b/src/genlab_bestilling/staff/tables.py index bc7104a..5d8d73a 100644 --- a/src/genlab_bestilling/staff/tables.py +++ b/src/genlab_bestilling/staff/tables.py @@ -64,11 +64,6 @@ class Meta(OrderTable.Meta): class OrderSampleTable(tables.Table): - # guid = tables.Column( - # linkify=("staff:order-equipment-detail", {"pk": tables.A("id")}), - # orderable=False, - # empty_values=(), - # ) plate_positions = tables.Column( empty_values=(), orderable=False, verbose_name="Extraction position" ) @@ -97,11 +92,6 @@ def render_plate_positions(self, value): class SampleTable(tables.Table): - # guid = tables.Column( - # linkify=("staff:order-equipment-detail", {"pk": tables.A("id")}), - # orderable=False, - # empty_values=(), - # ) plate_positions = tables.Column( empty_values=(), orderable=False, verbose_name="Extraction position" ) @@ -119,6 +109,9 @@ class Meta: "location", "notes", "desired_extractions", + "order", + "order__status", + "order__genrequest__project", "plate_positions", ) attrs = {"class": "w-full table-auto tailwind-table table-sm"}