<dl class="space-y-2 text-sm">
<div class="flex justify-between text-zinc-600"><dt>Ara toplam</dt><dd><?= money($order['subtotal']) ?></dd></div>
<?php if ($order['discount'] > 0): ?>
<div class="flex justify-between text-emerald-700"><dt>İndirim<?= $order['coupon_code'] ? ' (' . e($order['coupon_code']) . ')' : '' ?></dt><dd>−<?= money($order['discount']) ?></dd></div>
<?php endif ?>
<div class="flex justify-between text-zinc-600"><dt>Kargo</dt><dd><?= $order['shipping'] > 0 ? money($order['shipping']) : 'Ücretsiz' ?></dd></div>
<?php if ($order['payment_fee'] > 0): ?>
<div class="flex justify-between text-zinc-600"><dt>Kapıda ödeme ücreti</dt><dd><?= money($order['payment_fee']) ?></dd></div>
<?php endif ?>
<div class="flex items-baseline justify-between border-t border-zinc-200 pt-3 font-semibold text-ink"><dt>Toplam</dt><dd class="font-display text-xl tracking-tight"><?= money($order['total']) ?></dd></div>
</dl>
Lisans bilgisi projenin LICENSE dosyasında.