diff --git a/templates/website/home-adinusa.html b/templates/website/home-adinusa.html index 10ba0ce..731e81a 100644 --- a/templates/website/home-adinusa.html +++ b/templates/website/home-adinusa.html @@ -96,12 +96,16 @@

Kursus Terbaru

-

- - {% if course.product.discount_type == 1 %}{{ course.product.discount_value }}%{% endif %} - {% if course.product.discount %}Rp {{ course.product.price|intcomma }}{% endif %} -
- {% if course.product.price %}Rp {{ course.product.price|subtract:course.product.discount|intcomma }}{% else %}GRATIS{% endif %} +

+ {% if course.product.price %} + + {% if course.product.discount_type == 1 %}{{ course.product.discount_value }}%{% endif %} + {% if course.product.discount %}Rp {{ course.product.price|intcomma }}{% endif %} +
+ Rp {{ course.product.price|subtract:course.product.discount|intcomma }} + {% else %} + GRATIS + {% endif %}

{% if course.vendor.logo %}