sub _pre_render {
my ($self) = @_;
- $self->{template_args}->{conf_vertreter} = $::instance_conf->get_vertreter();
+ $self->{template_args}->{instance_conf} = $::instance_conf;
my $dbh = $::form->get_standard_dbh();
<tr height="5"></tr>
- [% IF ( conf_vertreter ) %]
+ [% IF ( instance_conf.get_vertreter ) %]
<tr>
<th align="right">
[% IF SELF.is_vendor() %]
</tr>
<tr>
- [% IF ( !conf_vertreter ) %]
+ [% IF ( !instance_conf.get_vertreter ) %]
<th align="right">
[% IF ( SELF.is_vendor() ) %]
[% 'Type of Vendor' | $T8 %]
</td>
- [% IF ( SELF.is_customer() && !conf_vertreter ) %]
+ [% IF ( SELF.is_customer() && !instance_conf.get_vertreter ) %]
<th align="right">[% 'Salesman' | $T8 %]</th>
<td>