Skip to content
Snippets Groups Projects
Commit 8eda95b3 authored by Lukas Schneider's avatar Lukas Schneider
Browse files

Fix typo

parent 17301ba4
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@
price: {{ product.product__price }},
name: "{{ product.product__name }}",
annullable: {% if product.annullable %} true {% else %} false {% endif %},
annullated: {% if product.annulated %} true {% else %} false {% endif %},
annullated: {% if product.annullated %} true {% else %} false {% endif %},
purchase_id: {{ product.purchase__id }},
},
{% endfor %}
......@@ -200,6 +200,7 @@
$("#recently_bought_list").empty();
for (product of recently_bought) {
console.log(product)
// Get and clone correct template
var template = product.annullated ?
$("#recently_bought_annullated_template") :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment