WarehouseOffer PDF Cleaner View
This commit is contained in:
@@ -191,9 +191,13 @@ $formattedValidUntil = date("d.m.Y", strtotime("+14 days", $offerDate));
|
||||
</tr>
|
||||
<?php if ($discountAmount > 0): ?>
|
||||
<tr>
|
||||
<td class="label"><?= $text['summary']['discount'] ?> (<?= number_format($discountPercentage, 0) ?>%):</td>
|
||||
<td class="label"><?= $text['summary']['discount'] ?> (<?= rtrim(rtrim(number_format($discountPercentage, 3), '0'), '.') ?>%):</td>
|
||||
<td class="value">-<?= formatPrice($discountAmount, '€') ?></td>
|
||||
</tr>
|
||||
<tr class="subtotal">
|
||||
<td class="label">Zwischensumme (nach Rabatt):</td>
|
||||
<td class="value"><?= formatPrice($subTotal - $discountAmount, '€') ?></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($includeTax):
|
||||
$vatLabel = str_replace('{VAT_RATE}', number_format($vatRate * 100, 0), $text['summary']['vatFormatted']);
|
||||
|
||||
Reference in New Issue
Block a user