Skip to content

Commit

Permalink
show more sample fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Dec 4, 2024
1 parent f2a02dc commit 5ded65f
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/genlab_bestilling/staff/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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"
)
Expand All @@ -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"}
Expand Down

0 comments on commit 5ded65f

Please sign in to comment.