Dodanie obsługi kuponów rabatowych w zamówieniach oraz aktualizacja adresów URL do zasobów aktualizacji

This commit is contained in:
2025-03-11 23:56:14 +01:00
parent 39047d4bad
commit af3d46b3d6
15 changed files with 48 additions and 21 deletions

View File

@@ -136,6 +136,13 @@ echo $this -> settings['newsletter_header'];
</td>
</tr>
<? endif;?>
<? if ( $this -> coupon ):?>
<tr>
<td style="text-align: right; font-weight: 600; padding-top: 10px;" colspan="4">
Kod rabatowy: <span style="color: #cc0000;"><?= $this -> coupon -> name;?> - <?= $this -> coupon -> amount;?> <?= $this -> coupon -> type == 1 ? '%' : 'zł';?></span>
</td>
</tr>
<? endif;?>
<tr>
<td style="text-align: right; font-weight: 600; padding-top: 10px;" colspan="4"><?= $this -> order['payment_method'];?></td>
</tr>