Fix für Bug 1198.
my %column_defs = (
'id' => { 'text' => $locale->text('ID'), },
"$form->{db}number" => { 'text' => $locale->text('Number'), },
- 'name' => { 'text' => $locale->text('Name'), },
+ 'name' => { 'text' => $form->{IS_CUSTOMER} ? $::locale->text('Customer Name') : $::locale->text('Vendor Name'), },
'contact' => { 'text' => $locale->text('Contact'), },
'phone' => { 'text' => $locale->text('Phone'), },
'fax' => { 'text' => $locale->text('Fax'), },
'Custom Variables' => 'Benutzerdefinierte Variablen',
'Custom variables for module' => 'Benutzerdefinierte Variablen für Modul',
'Customer' => 'Kunde',
+ 'Customer Name' => 'Kundenname',
'Customer Number' => 'Kundennummer',
'Customer Order Number' => 'Bestellnummer des Kunden',
'Customer deleted!' => 'Kunde gelöscht!',
'Vendor' => 'Lieferant',
'Vendor Invoice' => 'Einkaufsrechnung',
'Vendor Invoices' => 'Einkaufsrechnungen',
+ 'Vendor Name' => 'Lieferantenname',
'Vendor Number' => 'Lieferantennummer',
'Vendor Order Number' => 'Bestellnummer beim Lieferanten',
'Vendor deleted!' => 'Lieferant gelöscht!',
'Create and edit vendor invoices' => 'Eingangsrechnungen erfassen und bearbeiten',
'Credit Note' => 'Gutschrift',
'Customer' => 'Kunde',
+ 'Customer Name' => 'Kundenname',
'Customer Number' => 'Kundennummer',
'Customer deleted!' => 'Kunde gelöscht!',
'Customer details' => 'Kundendetails',
'Variable' => 'Variable',
'Vendor' => 'Lieferant',
'Vendor Invoice' => 'Einkaufsrechnung',
+ 'Vendor Name' => 'Lieferantenname',
'Vendor deleted!' => 'Lieferant gelöscht!',
'Vendor details' => 'Lieferantendetails',
'Vendor saved!' => 'Lieferant gespeichert!',
</tr>
<tr>
- <th align="right" nowrap>Firmenname</th>
+ <th align="right" nowrap>[% IF is_customer %]Kundenname[%- ELSE %]Lieferantenname[%- END %]</th>
<td><input name="name" size="35" maxlength="75" value="[% HTML.escape(name) %]"></td>
</tr>
</tr>
<tr>
- <th align="right" nowrap><translate>Company Name</translate></th>
+ <th align="right" nowrap>[% IF is_customer %]<translate>Customer Name</translate>[%- ELSE %]<translate>Vendor Name</translate>[%- END %]</th>
<td><input name="name" size="35" maxlength="75" value="[% HTML.escape(name) %]"></td>
</tr>
</tr>
<tr>
- <th align="right" nowrap>Firmenname</th>
+ <th align="right" nowrap>[% IF IS_CUSTOMER %]Kundenname[%- ELSE %]Lieferantenname[%- END %]</th>
<td><input name="name" size="35"></td>
</tr>
</td>
<td>
<input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
- <label for="l_name">Firmenname</label>
+ <label for="l_name">[% IF IS_CUSTOMER %]Kundenname[%- ELSE %]Lieferantenname[%- END %]</label>
</td>
<td>
<input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>
</tr>
<tr>
- <th align="right" nowrap><translate>Company Name</translate></th>
+ <th align="right" nowrap>[% IF IS_CUSTOMER %]<translate>Customer Name</translate>[%- ELSE %]<translate>Vendor Name</translate>[%- END %]</th>
<td><input name="name" size="35"></td>
</tr>
</td>
<td>
<input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
- <label for="l_name"><translate>Company Name</translate></label>
+ <label for="l_name">[% IF IS_CUSTOMER %]<translate>Customer Name</translate>[%- ELSE %]<translate>Vendor Name</translate>[%- END %]</label>
</td>
<td>
<input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>