Revision 1ada716c
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
templates/webpages/ct/_shipto.html | ||
---|---|---|
4 | 4 |
<th align="right">[% 'Shipping Address' | $T8 %]</th> |
5 | 5 |
<td> |
6 | 6 |
[% L.select_tag('shipto_id', L.options_for_select(SHIPTO, default => shipto_id, value => 'shipto_id', title_sub => \shipto_label, with_empty => 1), |
7 |
onchange => "\$('#shipto_table').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %]
|
|
7 |
onchange => "\$('#shipto').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %] |
|
8 | 8 |
</td> |
9 | 9 |
</tr> |
10 | 10 |
|
... | ... | |
59 | 59 |
<td><input id="shiptoemail" name="shiptoemail" size="45" value="[% HTML.escape(shiptoemail) %]"></td> |
60 | 60 |
</tr> |
61 | 61 |
</table> |
62 |
|
|
63 |
[%- IF shipto_id %] |
|
64 |
<input type="submit" id="delete_shipto" name="action" value="[% 'Delete Shipto' | $T8 %]"> |
|
65 |
<br style="clear: left" /> |
|
66 |
[%- END %] |
templates/webpages/ct/form_header.html | ||
---|---|---|
299 | 299 |
|
300 | 300 |
<div id="shipto" class="tabcontent"> |
301 | 301 |
[% INCLUDE 'ct/_shipto.html' %] |
302 |
|
|
303 |
<input type="submit" id="delete_shipto" name="action" value="[% 'Delete Shipto' | $T8 %]" disabled> |
|
304 |
<br style="clear: left" /> |
|
305 | 302 |
</div> |
306 | 303 |
|
307 | 304 |
<div id="contacts" class="tabcontent"> |
Auch abrufbar als: Unified diff
Ansprechpartner löschen im contact partial rendern.