Revision c853dd6e
Von Thomas Heck vor etwa 11 Jahren hinzugefügt
bin/mozilla/common.pl | ||
---|---|---|
455 | 455 |
$locale->text("No vendor has been selected yet.")); |
456 | 456 |
|
457 | 457 |
Common->get_vc_details(\%myconfig, $form, $form->{vc}, $form->{vc_id}); |
458 |
$form->{discount_as_percent} = $form->format_amount(\%::myconfig, $form->parse_amount(\%::myconfig, $form->{discount}) * 100, 2); |
|
458 | 459 |
|
459 | 460 |
$form->{title} = $form->{vc} eq "customer" ? |
460 | 461 |
$locale->text("Customer details") : $locale->text("Vendor details"); |
templates/webpages/common/show_vc_details.html | ||
---|---|---|
102 | 102 |
|
103 | 103 |
<tr> |
104 | 104 |
<td align="right">[% 'Discount' | $T8 %]</td> |
105 |
<td>[% HTML.escape(discount) %]%</td> |
|
105 |
<td>[% HTML.escape(discount_as_percent) %]%</td>
|
|
106 | 106 |
</tr> |
107 | 107 |
|
108 | 108 |
[% IF is_customer %] |
Auch abrufbar als: Unified diff
Kunden-/Lieferanten-Infofenster: Prozent richtig ausgeben
fixt #2401