X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_customerprices.html;h=3f7eeb63a05501093907582d025103aabbfc2374;hb=72896270f03cdd4d2bc19eb0b87d876f0d34b771;hp=d7c74bceac5c3e02434ec0fe277d8989c899fc11;hpb=62f2141002f5b8c11fa9d881473fd3bc469b4eef;p=kivitendo-erp.git diff --git a/templates/webpages/part/_customerprices.html b/templates/webpages/part/_customerprices.html index d7c74bcea..3f7eeb63a 100644 --- a/templates/webpages/part/_customerprices.html +++ b/templates/webpages/part/_customerprices.html @@ -8,6 +8,7 @@ + @@ -16,10 +17,11 @@ + [% 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 %] @@ -30,7 +32,7 @@ - + @@ -38,13 +40,3 @@ [% L.sortable_element('#customerprice_rows') %] - -
[%- LxERP.t8('delete item') %] [% 'position' | $T8 %] [%- LxERP.t8('reorder item') %][% 'Customer Part Number' | $T8 %] [% 'Customer Price' | $T8 %] [% 'Updated' | $T8 %]
[% 'Customer' | $T8 %][% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input") %][% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input", action={commit_one='kivi.Part.add_customerprice_row'}) %] [% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]