projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DMS-Dateianhänge beim E-Mail-Versand Vorauswahl konfigurierbar
[kivitendo-erp.git]
/
templates
/
webpages
/
customer_vendor
/
tabs
/
contacts.html
diff --git
a/templates/webpages/customer_vendor/tabs/contacts.html
b/templates/webpages/customer_vendor/tabs/contacts.html
index
af4b942
..
edf5fa2
100644
(file)
--- a/
templates/webpages/customer_vendor/tabs/contacts.html
+++ b/
templates/webpages/customer_vendor/tabs/contacts.html
@@
-6,7
+6,7
@@
<div id="contacts">
<table>
<tr>
<div id="contacts">
<table>
<tr>
- <th align="
lef
t">[% 'Contacts' | $T8 %]</th>
+ <th align="
righ
t">[% 'Contacts' | $T8 %]</th>
<td>
[%
<td>
[%
@@
-18,14
+18,17
@@
empty_title = LxERP.t8('New contact'),
value_key = 'cp_id',
title_key = 'full_name',
empty_title = LxERP.t8('New contact'),
value_key = 'cp_id',
title_key = 'full_name',
- onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){ contactsMapWidget.testInputs();
local_
reinit_widgets(); }});",
+ onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){ contactsMapWidget.testInputs();
kivi.
reinit_widgets(); }});",
)
%]
</td>
</tr>
)
%]
</td>
</tr>
-
<tr>
<tr>
- <th align="left" nowrap>[% 'Gender' | $T8 %]</th>
+ <th align="right" nowrap>[% 'Main Contact Person' | $T8 %]</th>
+ <td>[% L.yes_no_tag('contact.cp_main', SELF.contact.cp_main) %]</td>
+ </tr>
+ <tr>
+ <th align="right" nowrap>[% 'Gender' | $T8 %]</th>
<td>
[%
<td>
[%
@@
-39,7
+42,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Title' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Title' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40) %]
<td>
[% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40) %]
@@
-48,7
+51,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Department' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Department' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40) %]
<td>
[% L.input_tag('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40) %]
@@
-57,7
+60,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Function/position' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Function/position' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40) %]
<td>
[% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40) %]
@@
-65,7
+68,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Given Name' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Given Name' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %]
<td>
[% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %]
@@
-73,7
+76,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
left" nowrap>[% 'N
ame' | $T8 %]</th>
+ <th align="
right" nowrap>[% 'Surn
ame' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40) %]
<td>
[% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40) %]
@@
-81,7
+84,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'E-mail' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'E-mail' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_email', SELF.contact.cp_email, size = 40) %]
<td>
[% L.input_tag('contact.cp_email', SELF.contact.cp_email, size = 40) %]
@@
-89,7
+92,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Phone1' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Phone1' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %]
<td>
[% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %]
@@
-97,7
+100,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Phone2' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Phone2' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %]
<td>
[% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %]
@@
-105,7
+108,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Fax' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Fax' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_fax', SELF.contact.cp_fax, size = 40) %]
<td>
[% L.input_tag('contact.cp_fax', SELF.contact.cp_fax, size = 40) %]
@@
-113,7
+116,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Mobile1' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Mobile1' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_mobile1', SELF.contact.cp_mobile1, size = 40) %]
<td>
[% L.input_tag('contact.cp_mobile1', SELF.contact.cp_mobile1, size = 40) %]
@@
-121,7
+124,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Mobile2' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Mobile2' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_mobile2', SELF.contact.cp_mobile2, size = 40) %]
<td>
[% L.input_tag('contact.cp_mobile2', SELF.contact.cp_mobile2, size = 40) %]
@@
-129,7
+132,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Sat. Phone' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Sat. Phone' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_satphone', SELF.contact.cp_satphone, size = 40) %]
<td>
[% L.input_tag('contact.cp_satphone', SELF.contact.cp_satphone, size = 40) %]
@@
-137,7
+140,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Sat. Fax' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Sat. Fax' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_satfax', SELF.contact.cp_satfax, size = 40) %]
<td>
[% L.input_tag('contact.cp_satfax', SELF.contact.cp_satfax, size = 40) %]
@@
-145,7
+148,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Project' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Project' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_project', SELF.contact.cp_project, size = 40) %]
<td>
[% L.input_tag('contact.cp_project', SELF.contact.cp_project, size = 40) %]
@@
-153,7
+156,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Street' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Street' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40) %]
<td>
[% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40) %]
@@
-168,7
+171,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Zip, City' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Zip, City' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5) %]
<td>
[% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5) %]
@@
-177,7
+180,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Private Phone' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Private Phone' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_privatphone', SELF.contact.cp_privatphone, size = 40) %]
<td>
[% L.input_tag('contact.cp_privatphone', SELF.contact.cp_privatphone, size = 40) %]
@@
-185,7
+188,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Private E-mail' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Private E-mail' | $T8 %]</th>
<td>
[% L.input_tag('contact.cp_privatemail', SELF.contact.cp_privatemail, size = 40) %]
<td>
[% L.input_tag('contact.cp_privatemail', SELF.contact.cp_privatemail, size = 40) %]
@@
-193,7
+196,7
@@
</tr>
<tr>
</tr>
<tr>
- <th align="
lef
t" nowrap>[% 'Birthday' | $T8 %]</th>
+ <th align="
righ
t" nowrap>[% 'Birthday' | $T8 %]</th>
<td>
[% L.date_tag('contact.cp_birthday', SELF.contact.cp_birthday) %]
<td>
[% L.date_tag('contact.cp_birthday', SELF.contact.cp_birthday) %]
@@
-211,10
+214,10
@@
[% FOREACH var = contact_cvars %]
<tr>
[% FOREACH var = contact_cvars %]
<tr>
- <th align="
lef
t" valign="top" nowrap>[% var.config.description | html %]</th>
+ <th align="
righ
t" valign="top" nowrap>[% var.config.description | html %]</th>
<td valign="top">
<td valign="top">
- [%
PROCESS
'common/render_cvar_input.html'
+ [%
INCLUDE
'common/render_cvar_input.html'
cvar_name_prefix = 'contact_cvars.'
%]
</td>
cvar_name_prefix = 'contact_cvars.'
%]
</td>
@@
-224,7
+227,7
@@
</table>
</table>
- [% L.button_tag('submitInputButton(
this);', LxERP.t8('Delete Contact'), name = 'action_delete_contact'
, class = 'submit') %]
+ [% L.button_tag('submitInputButton(
"delete_contact");', LxERP.t8('Delete Contact')
, class = 'submit') %]
[% IF ( !SELF.contact.cp_id ) %]
<script type="text/javascript">
$('#action_delete_contact').hide();
[% IF ( !SELF.contact.cp_id ) %]
<script type="text/javascript">
$('#action_delete_contact').hide();