projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rechnungsmaske: "Browser-Zurück verhindern" konfigurierbar in Mandantenkonfig
[kivitendo-erp.git]
/
templates
/
webpages
/
part
/
_makemodel.html
diff --git
a/templates/webpages/part/_makemodel.html
b/templates/webpages/part/_makemodel.html
index
b6bd29f
..
e157977
100644
(file)
--- a/
templates/webpages/part/_makemodel.html
+++ b/
templates/webpages/part/_makemodel.html
@@
-9,6
+9,7
@@
<td>
<table id="makemodel_table">
<thead>
<td>
<table id="makemodel_table">
<thead>
+ <tr>
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
<th class="listheading">[% 'position' | $T8 %]</th>
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
<th class="listheading">[% 'position' | $T8 %]</th>
<th class="listheading" style='text-align:center' nowrap width="1"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
@@
-17,6
+18,7
@@
<th class="listheading">[% 'Model' | $T8 %]</th>
<th class="listheading">[% 'Last Cost' | $T8 %]</th>
<th class="listheading">[% 'Updated' | $T8 %]</th>
<th class="listheading">[% 'Model' | $T8 %]</th>
<th class="listheading">[% 'Last Cost' | $T8 %]</th>
<th class="listheading">[% 'Updated' | $T8 %]</th>
+ </tr>
</thead>
<tbody id="makemodel_rows">
[% SET listrow = 0 %]
</thead>
<tbody id="makemodel_rows">
[% SET listrow = 0 %]
@@
-31,7
+33,7
@@
<td></td>
<td></td>
<td align="right">[% 'Vendor' | $T8 %]</td>
<td></td>
<td></td>
<td align="right">[% 'Vendor' | $T8 %]</td>
- <td rowspan="2">[% P.customer_vendor.picker('add_makemodel', '', type='vendor', style='width: 300px', class="add_makemodel_input") %]</td>
+ <td rowspan="2">[% P.customer_vendor.picker('add_makemodel', '', type='vendor', style='width: 300px', class="add_makemodel_input"
, action={commit_one='kivi.Part.add_makemodel_row'}
) %]</td>
<td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_makemodel_row()', LxERP.t8('Add')) %]</td>
</tr>
</tbody>
<td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_makemodel_row()', LxERP.t8('Add')) %]</td>
</tr>
</tbody>
@@
-39,13
+41,3
@@
</td>
</tr>
[% L.sortable_element('#makemodel_rows') %]
</td>
</tr>
[% L.sortable_element('#makemodel_rows') %]
-
- <script type="text/javascript">
- $(function() {
-
- $('#makemodel_rows').on('sortstop', function(event, ui) {
- kivi.Part.makemodel_renumber_positions();
- });
-
- })
- </script>