From 3dad3580bb076c77b0d0580fc7b6903660477147 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 1 Feb 2024 10:52:23 +0530 Subject: [PATCH] fix: batch self enrollment --- lms/www/batches/batch_details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/www/batches/batch_details.html b/lms/www/batches/batch_details.html index ddfbba43..bf24e971 100644 --- a/lms/www/batches/batch_details.html +++ b/lms/www/batches/batch_details.html @@ -150,7 +150,7 @@ href="/billing/batch/{{ batch_info.name }}"> {{ _("Register Now") }} - {% elif batch_info.allow_self_enrollment %} + {% elif batch_info.allow_self_enrollment and batch_info.seat_count and seats_left %}