Revision 5574a036
Von Kivitendo Admin vor mehr als 11 Jahren hinzugefügt
SL/Common.pm | ||
---|---|---|
441 | 441 |
$query = qq|SELECT * FROM contacts WHERE (cp_cv_id = ?)|; |
442 | 442 |
$form->{CONTACTS} = selectall_hashref_query($form, $dbh, $query, $vc_id); |
443 | 443 |
|
444 |
# Only show default pricegroup for customer, not vendor, which is why this is outside the main query |
|
445 |
($form->{pricegroup}) = selectrow_query($form, $dbh, qq|SELECT pricegroup FROM pricegroup WHERE id = ?|, $form->{klass}); |
|
446 |
|
|
444 | 447 |
$dbh->disconnect(); |
445 | 448 |
|
446 | 449 |
$main::lxdebug->leave_sub(); |
templates/webpages/common/show_vc_details.html | ||
---|---|---|
105 | 105 |
<td>[% HTML.escape(discount) %]%</td> |
106 | 106 |
</tr> |
107 | 107 |
|
108 |
[% IF is_customer %] |
|
109 |
<tr> |
|
110 |
<td align="right">[% 'Pricegroup' | $T8 %]</td> |
|
111 |
<td>[% HTML.escape(pricegroup) %]</td> |
|
112 |
</tr> |
|
113 |
[% END %] |
|
114 |
|
|
108 | 115 |
<tr> |
109 | 116 |
<td align="right">[% 'Payment Terms' | $T8 %]</td> |
110 | 117 |
<td>[% HTML.escape(payment_terms) %]</td> |
Auch abrufbar als: Unified diff
Bei Kundendetails auch Standardpreisgruppen anzeigen