Implement establishment selector in bidding view

This commit is contained in:
Kumi 2021-04-20 09:19:26 +02:00
parent 81f7d6eb66
commit 574f34e556
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
$("#id_establishment").change(
function() {
window.location.href = "/auction/bidding/" + $(this).val() + "/";
}
);

View file

@ -52,4 +52,5 @@
{% block "scripts" %}
<script type="text/javascript" charset="utf8" src="{% static "vendor/js/jquery.dataTables.min.js" %}"></script>
<script type="text/javascript" src="{% static "auction/js/biddingtable.js" %}"></script>
<script type="text/javascript" src="{% static "auction/js/establishment-selection.js" %}"></script>
{% endblock %}