Revision 4e78f694
Von Thomas Heck vor mehr als 11 Jahren hinzugefügt
SL/Controller/CustomerVendor.pm | ||
---|---|---|
682 | 682 |
sub _pre_render { |
683 | 683 |
my ($self) = @_; |
684 | 684 |
|
685 |
$self->{template_args}->{conf_vertreter} = $::instance_conf->get_vertreter();
|
|
685 |
$self->{template_args}->{instance_conf} = $::instance_conf;
|
|
686 | 686 |
|
687 | 687 |
my $dbh = $::form->get_standard_dbh(); |
688 | 688 |
|
templates/webpages/customer_vendor/tabs/billing.html | ||
---|---|---|
8 | 8 |
|
9 | 9 |
<tr height="5"></tr> |
10 | 10 |
|
11 |
[% IF ( conf_vertreter ) %]
|
|
11 |
[% IF ( instance_conf.get_vertreter ) %]
|
|
12 | 12 |
<tr> |
13 | 13 |
<th align="right"> |
14 | 14 |
[% IF SELF.is_vendor() %] |
... | ... | |
292 | 292 |
</tr> |
293 | 293 |
|
294 | 294 |
<tr> |
295 |
[% IF ( !conf_vertreter ) %]
|
|
295 |
[% IF ( !instance_conf.get_vertreter ) %]
|
|
296 | 296 |
<th align="right"> |
297 | 297 |
[% IF ( SELF.is_vendor() ) %] |
298 | 298 |
[% 'Type of Vendor' | $T8 %] |
... | ... | |
349 | 349 |
</td> |
350 | 350 |
|
351 | 351 |
|
352 |
[% IF ( SELF.is_customer() && !conf_vertreter ) %]
|
|
352 |
[% IF ( SELF.is_customer() && !instance_conf.get_vertreter ) %]
|
|
353 | 353 |
<th align="right">[% 'Salesman' | $T8 %]</th> |
354 | 354 |
|
355 | 355 |
<td> |
Auch abrufbar als: Unified diff
CustomerVendor: instance_conf komplett im Template verfügbar machen