diff --git a/store/templates/buy.html b/store/templates/buy.html index 7824737c0b4bdc9b5495f002f0f82eeda6d43ed8..6e43033a624a299a0ecd57394d536200963efea5 100644 --- a/store/templates/buy.html +++ b/store/templates/buy.html @@ -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") :