<tr>
<th align="right" nowrap><translate>Company Name</translate></th>
- <td><input name="name" size="35" maxlength="75" value="[% name %]"></td>
+ <td><input name="name" size="35" maxlength="75" value="[% HTML.escape(name) %]"></td>
</tr>
<tr>
<tr>
<th align="right"><translate>Tax Number / SSN</translate></th>
<td><input name="taxnumber" size="20" value="[% HTML.escape(taxnumber) %]"></td>
- <th align="right"><translate>USt-IdNr.</translate></th>
+ <!-- Anm.: R&B 15.11.2008 VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
+ <th align="right"><translate>sales tax identification number</translate></th>
<td><input name="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
- [%- IF is_sustomer %]
- <th align="right"><translate>KNr. beim Kunden</translate></th>
+ [%- IF is_customer %]
+ <th align="right"><translate>our vendor number at customer</translate></th>
<td><input name="c_vendor_id" size="10" value="[% HTML.escape(c_vendor_id) %]"></td>
[%- ELSE %]
- <th align="right"><translate>Kundennummer</translate></th>
- <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
+ <th align="right"><translate>Customer Number</translate></th>
+ <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
[%- END %]
</tr>
<tr>
<th align="right"><translate>Account Number</translate></th>
- <td><input name="account_number" size="10" maxlength="15" value="[% HTML.escape(account_number) %]"></td>
+ <td><input name="account_number" size="10" maxlength="100" value="[% HTML.escape(account_number) %]"></td>
<th align="right"><translate>Bank Code Number</translate></th>
- <td><input name="bank_code" size="10" maxlength="10" value="[% HTML.escape(bank_code) %]"></td>
+ <td><input name="bank_code" size="10" maxlength="100" value="[% HTML.escape(bank_code) %]"></td>
<th align="right"><translate>Bank</translate></th>
- <td><input name="bank" size="30" value="[% HTML.escape(bank) %]"></td>
+ <td><input name="bank" size="20" value="[% HTML.escape(bank) %]"></td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>IBAN</translate></th>
+ <td><input name="iban" size="10" maxlength="100" value="[% HTML.escape(iban) %]"></td>
+ <th align="right"><translate>BIC</translate></th>
+ <td><input name="bic" size="10" maxlength="100" value="[% HTML.escape(bic) %]"></td>
</tr>
<tr>
<tr>
<td align="right"><translate>Obsolete</translate></td>
<td><input name="obsolete" class="checkbox" type="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
+ <td align="right"><translate>direct debit</translate></td>
+ <td><input name="direct_debit" class="checkbox" type="checkbox" value="1" [% IF direct_debit %]checked[% END %]></td>
</tr>
<tr>
name = 'cp_id',
id = 'cp_id',
DATA = CONTACTS,
- onChange = "get_contact(['cp_id__' + this.value], ['cp_name', 'cp_greeting', 'cp_title', 'cp_givenname', 'cp_phone1', 'cp_phone2', 'cp_email', 'cp_abteilung', 'cp_fax', 'cp_mobile1', 'cp_mobile2', 'cp_satphone', 'cp_satfax', 'cp_project', 'cp_privatphone', 'cp_privatemail', 'cp_birthday'])",
+ onChange = "get_contact(['cp_id__'+this.value],['cp_name','cp_greeting','cp_title','cp_givenname','cp_phone1','cp_phone2','cp_email','cp_abteilung','cp_fax','cp_mobile1','cp_mobile2','cp_satphone','cp_satfax','cp_project','cp_privatphone','cp_privatemail','cp_birthday',enable_delete_contact])",
id_key = 'cp_id',
label_sub = 'contacts_label',
-%]
</tr>
</table>
+ <input type="submit" id="delete_contact" name="action" value="<translate>Delete Contact</translate>" disabled>
<br style="clear: left" />
</div>
[%- END %]
</div>
-
- <script type="text/javascript">
- <!--
- Calendar.setup({ inputField : "fromB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_from" });
- Calendar.setup({ inputField : "toB", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger_to" });
- Calendar.setup({ inputField : "FU_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "FU_date_trigger" });
- //-->
-
- function enable_delete_shipto(used){ var s=document.getElementById('delete_shipto'); if (s) s.disabled = (used > 0 ? true : false); }
- </script>