Revision 7fea1a4a
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
templates/webpages/letter/edit.html | ||
---|---|---|
35 | 35 |
[%- IF SELF.is_sales %] |
36 | 36 |
<tr> |
37 | 37 |
<th align='right'>[% 'Customer' | $T8 %]:</th> |
38 |
<td>[% P.customer_vendor_picker('letter.customer_id', letter.customer_id, type='customer') %] |
|
39 |
[%- IF letter.customer_id %] |
|
40 |
<input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('customer')"> |
|
41 |
[%- END %] |
|
42 |
</td> |
|
38 |
<td>[% P.customer_vendor_picker('letter.customer_id', letter.customer_id, type='customer') %]</td> |
|
43 | 39 |
</tr> |
44 | 40 |
[%- ELSE %] |
45 | 41 |
<tr> |
46 | 42 |
<th align='right'>[% 'Vendor' | $T8 %]:</th> |
47 |
<td>[% P.customer_vendor_picker('letter.vendor_id', letter.vendor_id, type='vendor') %] |
|
48 |
[%- IF letter.vendor_id %] |
|
49 |
<input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('vendor')"> |
|
50 |
[%- END %] |
|
51 |
</td> |
|
43 |
<td>[% P.customer_vendor_picker('letter.vendor_id', letter.vendor_id, type='vendor') %]</td> |
|
52 | 44 |
</tr> |
53 | 45 |
[%- END %] |
54 | 46 |
<tr> |
Auch abrufbar als: Unified diff
Briefe: [D] Button entfernt.
show_vc_details.js kann das format nicht.