projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recht: Ansehen von Einkaufsrechnungen berücksichtigen
[kivitendo-erp.git]
/
templates
/
webpages
/
part
/
_customerprices.html
diff --git
a/templates/webpages/part/_customerprices.html
b/templates/webpages/part/_customerprices.html
index
9384a6c
..
3f7eeb6
100644
(file)
--- a/
templates/webpages/part/_customerprices.html
+++ b/
templates/webpages/part/_customerprices.html
@@
-8,6
+8,7
@@
<td>
<table id="customerprice_table">
<thead>
<td>
<table id="customerprice_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>
@@
-16,10
+17,11
@@
<th class="listheading">[% 'Customer Part Number' | $T8 %]</th>
<th class="listheading">[% 'Customer Price' | $T8 %]</th>
<th class="listheading">[% 'Updated' | $T8 %]</th>
<th class="listheading">[% 'Customer Part Number' | $T8 %]</th>
<th class="listheading">[% 'Customer Price' | $T8 %]</th>
<th class="listheading">[% 'Updated' | $T8 %]</th>
+ </tr>
</thead>
<tbody id="customerprice_rows">
[% SET listrow = 0 %]
</thead>
<tbody id="customerprice_rows">
[% SET listrow = 0 %]
- [%- FOREACH customerprice = SELF.part.customerprices %]
+ [%- FOREACH customerprice = SELF.part.customerprices
_sorted
%]
[% listrow = listrow + 1 %]
[% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %]
[%- END %]
[% listrow = listrow + 1 %]
[% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %]
[%- END %]
@@
-38,13
+40,3
@@
</td>
</tr>
[% L.sortable_element('#customerprice_rows') %]
</td>
</tr>
[% L.sortable_element('#customerprice_rows') %]
-
- <script type="text/javascript">
- $(function() {
-
- $('#customerprice_rows').on('sortstop', function(event, ui) {
- kivi.Part.customerprice_renumber_positions();
- });
-
- })
- </script>