mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 15:51:19 +00:00
Fix customerBalance not init and submit/cancel buttons visuals
This commit is contained in:
parent
244447c57a
commit
e68d944640
@ -110,8 +110,10 @@
|
||||
<strong> €</strong>
|
||||
</p>
|
||||
|
||||
<input type="submit" @click.prevent="finish" value="{% trans %}Finish{% endtrans %}"/>
|
||||
<input type="submit" @click.prevent="cancel" value="{% trans %}Cancel{% endtrans %}"/>
|
||||
<div class="row">
|
||||
<input class="btn btn-blue" type="submit" @click.prevent="finish" value="{% trans %}Finish{% endtrans %}"/>
|
||||
<input class="btn btn-grey" type="submit" @click.prevent="cancel" value="{% trans %}Cancel{% endtrans %}"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% if object.type == "BAR" %}
|
||||
@ -199,6 +201,7 @@
|
||||
];
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
loadCounter({
|
||||
customerBalance: {{ customer.amount }},
|
||||
products: products,
|
||||
customerId: {{ customer.pk }},
|
||||
formInitial: formInitial,
|
||||
|
Loading…
Reference in New Issue
Block a user