Skip to content

Commit

Permalink
fix: batch self enrollment
Browse files Browse the repository at this point in the history
  • Loading branch information
pateljannat committed Feb 1, 2024
1 parent 8f68714 commit 3dad358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/www/batches/batch_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3dad358

Please sign in to comment.