projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TopQuickSearch nach allen Telefonnummern: Leerzeichen ignorieren.
[kivitendo-erp.git]
/
templates
/
webpages
/
part
/
_basic_data.html
diff --git
a/templates/webpages/part/_basic_data.html
b/templates/webpages/part/_basic_data.html
index
47cd8f3
..
a9fa531
100644
(file)
--- a/
templates/webpages/part/_basic_data.html
+++ b/
templates/webpages/part/_basic_data.html
@@
-19,7
+19,7
@@
<table id="ic3">
<tr>
<th align="right">[% 'Part Number' | $T8 %]</th>
<table id="ic3">
<tr>
<th align="right">[% 'Part Number' | $T8 %]</th>
- <td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, class="initial_focus") %]</td>
+ <td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=40, class="initial_focus"
, "data-validate"="trimmed_whitespaces"
) %]</td>
</tr>
<tr>
<th align="right">[% 'Part Classification' | $T8 %]</th>
</tr>
<tr>
<th align="right">[% 'Part Classification' | $T8 %]</th>
@@
-33,7
+33,7
@@
</tr>
<tr>
<th align="right">[% 'EAN-Code' | $T8 %]</th>
</tr>
<tr>
<th align="right">[% 'EAN-Code' | $T8 %]</th>
- <td>[% L.input_tag("part.ean", SELF.part.ean, size=40) %]</td>
+ <td>[% L.input_tag("part.ean", SELF.part.ean, size=40
, "data-validate"="trimmed_whitespaces"
) %]</td>
</tr>
<tr>
[%- IF SELF.all_partsgroups.size %]
</tr>
<tr>
[%- IF SELF.all_partsgroups.size %]
@@
-145,7
+145,7
@@
<th align="right" nowrap="true">[% 'Weight' | $T8 %]</th>
<td>
[%- IF SELF.part.is_assembly %]
<th align="right" nowrap="true">[% 'Weight' | $T8 %]</th>
<td>
[%- IF SELF.part.is_assembly %]
- [% LxERP.format_amount(SELF.part.weight) %]
+ <span id="items_weight_sum_basic">[% LxERP.format_amount(SELF.part.weight) %]</span>
[% ELSE %]
[% L.input_tag('part.weight_as_number', SELF.part.weight_as_number, size=10, class='reformat_number numeric') %]
[% END %]
[% ELSE %]
[% L.input_tag('part.weight_as_number', SELF.part.weight_as_number, size=10, class='reformat_number numeric') %]
[% END %]
@@
-219,13
+219,13
@@
<table id="ic6">
<tr>
<th align="right" nowrap>[% 'Image' | $T8 %]</th>
<table id="ic6">
<tr>
<th align="right" nowrap>[% 'Image' | $T8 %]</th>
- <td>[% L.input_tag("part.image", SELF.part.image, size=40) %]</td>
+ <td>[% L.input_tag("part.image", SELF.part.image, size=40
, "data-validate"="trimmed_whitespaces"
) %]</td>
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
- <td>[% L.input_tag("part.microfiche", SELF.part.microfiche, size=20) %]</td>
+ <td>[% L.input_tag("part.microfiche", SELF.part.microfiche, size=20
, "data-validate"="trimmed_whitespaces"
) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
</tr>
<tr>
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
- <td>[% L.input_tag("part.drawing", SELF.part.drawing, size=40) %]</td>
+ <td>[% L.input_tag("part.drawing", SELF.part.drawing, size=40
, "data-validate"="trimmed_whitespaces"
) %]</td>
</tr>
</table>
</td>
</tr>
</table>
</td>