From fe869a59880d08a33535e38737086b7f4157e1d4 Mon Sep 17 00:00:00 2001 From: raizasafeel <89463672+raizasafeel@users.noreply.github.com> Date: Mon, 9 Feb 2026 13:08:53 +0530 Subject: [PATCH] fix(batch): use frappe-ui badge for dark mode compatibility --- frontend/src/components/BatchCard.vue | 35 +++++++++++++----------- frontend/src/components/BatchOverlay.vue | 35 ++++++++++++------------ 2 files changed, 37 insertions(+), 33 deletions(-) diff --git a/frontend/src/components/BatchCard.vue b/frontend/src/components/BatchCard.vue index ac619982..d002134e 100644 --- a/frontend/src/components/BatchCard.vue +++ b/frontend/src/components/BatchCard.vue @@ -6,24 +6,26 @@
{{ batch.title }}
-
- {{ batch.seats_left }} - - {{ __('Seats Left') }} - - - {{ __('Seat Left') }} - -
-
+ - {{ __('Sold Out') }} -
+ variant="subtle" + theme="red" + size="md" + class="self-start" + :label="__('Sold Out')" + />
{{ batch.description }}
@@ -70,6 +72,7 @@