summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-07-29 14:54:39 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-07-29 14:54:39 +0700
commitcec124ff1de94761e4394620eb471b2246f23940 (patch)
tree285daa952ccd6912e24f3389abbf16813a3836fe /indoteknik_custom/views
parentdb137681fedf653e02f593884d2cbc270af752d5 (diff)
test email reminder checkout
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/website_user_cart.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/indoteknik_custom/views/website_user_cart.xml b/indoteknik_custom/views/website_user_cart.xml
index 64a7eff7..97e8cf02 100755
--- a/indoteknik_custom/views/website_user_cart.xml
+++ b/indoteknik_custom/views/website_user_cart.xml
@@ -141,6 +141,7 @@
% set promo, free_product = cart.get_data_promo(cart.program_line_id.id)
% if promo:
% set weight = cart.get_weight_product(cart.program_line_id.id)
+ % set harga_coret = cart.get_price_coret(cart.program_line_id.id)
% set subtotal = promo[0].program_line_id.price * cart.qty
<td style="border: 1px solid #dddddd; padding: 8px;">
<div class="container text-center">
@@ -152,7 +153,7 @@
<div style="font-weight: 600; margin-bottom: 8px;">${promo[0].program_line_id.name}</div>
<div style="display: flex; gap: 20px; align-items: center; margin-bottom: 8px;">
<div style="color: grey; text-decoration: line-through; margin-right: 20px;">
- Rp ${cart.format_currency(promo[0].program_line_id.price)}
+ Rp ${cart.format_currency(harga_coret)}
</div>
<div style="color: red; font-weight: bold;">
Rp ${cart.format_currency(promo[0].program_line_id.price)}
@@ -223,9 +224,6 @@
<div class="col-6">
<div style="font-weight: 600; margin-bottom: 8px;">${cart.product_id.name}</div>
<div style="display: flex; gap: 20px; align-items: center; margin-bottom: 8px;">
- <div style="color: grey; text-decoration: line-through; margin-right: 20px;">
- Rp${cart.format_currency(product_price['price'])}
- </div>
<div style="color: red; font-weight: bold;">
Rp${cart.format_currency(product_price['price'])}
</div>