fix: batch self enrollment

This commit is contained in:
Jannat Patel
2024-02-01 10:52:23 +05:30
parent 8f687145be
commit 3dad3580bb

View File

@@ -150,7 +150,7 @@
href="/billing/batch/{{ batch_info.name }}">
{{ _("Register Now") }}
</a>
{% elif batch_info.allow_self_enrollment %}
{% elif batch_info.allow_self_enrollment and batch_info.seat_count and seats_left %}
<button class="btn btn-primary wide-button enroll-batch">
{{ _("Enroll Now") }}
</button>