X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_customerprices.html;fp=templates%2Fwebpages%2Fpart%2F_customerprices.html;h=3f7eeb63a05501093907582d025103aabbfc2374;hp=0000000000000000000000000000000000000000;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/templates/webpages/part/_customerprices.html b/templates/webpages/part/_customerprices.html new file mode 100644 index 000000000..3f7eeb63a --- /dev/null +++ b/templates/webpages/part/_customerprices.html @@ -0,0 +1,42 @@ +[%- USE T8 %] +[%- USE L %] +[%- USE HTML %] +[%- USE LxERP %] + + + + + + + + + + + + + + + + + + + [% SET listrow = 0 %] + [%- FOREACH customerprice = SELF.part.customerprices_sorted %] + [% listrow = listrow + 1 %] + [% PROCESS 'part/_customerprice_row.html' customerprice=customerprice listrow=listrow %] + [%- END %] + + + + + + + + + + + +
[%- LxERP.t8('delete item') %][% 'position' | $T8 %][%- LxERP.t8('reorder item') %][% 'Customer Number' | $T8 %][% 'Customer' | $T8 %][% '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", action={commit_one='kivi.Part.add_customerprice_row'}) %][% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]
+ + + [% L.sortable_element('#customerprice_rows') %]