X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2Ftest_page.html;h=fb7853f3f5a70dcad2d1ff1aba4944357cdaa9c0;hb=0d5b91f1e71d914fea9d006e64c63665f011b1ae;hp=f5458096ddbb685a3daabb68ace617ac5bf9e4bb;hpb=b9889576a1229f41edc2c1daf9b649d97fb7fd2e;p=kivitendo-erp.git diff --git a/templates/webpages/part/test_page.html b/templates/webpages/part/test_page.html index f5458096d..fb7853f3f 100644 --- a/templates/webpages/part/test_page.html +++ b/templates/webpages/part/test_page.html @@ -1,34 +1,53 @@ [% USE L %] +[% USE P %]

Part Picker Testpage


Alle:
-[% L.part_picker('part_id') %] text
+[% P.part.picker('part_id') %] text
Nur Waren:
-[% L.part_picker('part_id2', undef, type='part') %]
+[% P.part.picker('part_id2', undef, part_type='part') %]
Nur Dienstleistungen:
-[% L.part_picker('part_id3', undef, type='service') %]
+[% P.part.picker('part_id3', undef, part_type='service') %]
+Nur Erzeugnisse:
+[% P.part.picker('part_id4', undef, part_type='assembly') %]
Waren und Dienstleistungen:
-[% L.part_picker('part_id4', undef, type='part,service') %]
+[% P.part.picker('part_id5', undef, part_type='part,service') %]
+Artikel-Klassifizierung: Einkauf
+[% P.part.picker('part_id10', undef, classification_id='1') %]
+Artikel-Klassifizierung: Verkauf
+[% P.part.picker('part_id11', undef, classification_id='2') %]
+Artikel-Klassifizierung: Handelsware
+[% P.part.picker('part_id12', undef, classification_id='3') %]
+Artikel-Klassifizierung: Produktion
+[% P.part.picker('part_id13', undef, classification_id='4') %]
+Artikel-Klassifizierung: Eink.,Verk.,Prod.
+[% P.part.picker('part_id14', undef, classification_id='1,2,4') %]
+Pre-filled:
+[% P.part.picker('part_id6', pre_filled_part) %]
+Convertible unit 'Std': (only select parts with unit Tag/Std/Min)
+[% P.part.picker('part_id7', undef, convertible_unit='Std') %]
-

Styling

+With multi select popup
+[% P.part.picker('part_id8', undef, multiple=1) %]
-Ina span: -Leading text: [% L.part_picker('p1', undef, type='part,service') %] and text after with spacing
-Leading text:[% L.part_picker('p2', undef, type='part,service') %]and text after without spacing
-
Leading text: [% L.part_picker('p3', undef, type='part,service') %] and text after with spacing with div

-
Leading text:[% L.part_picker('p4', undef, type='part,service') %]and text after with spacing with div

+

Styling

-Picker + input next to each other: [% L.part_picker('p5', undef, type='part,service', width="100%") %] +In a span: +Leading text: [% P.part.picker('p1', undef, part_type='part,service') %] and text after with spacing
+Leading text:[% P.part.picker('p2', undef, part_type='part,service') %]and text after without spacing
+
Leading text: [% P.part.picker('p3', undef, part_type='part,service') %] and text after with spacing with div

+
Leading text:[% P.part.picker('p4', undef, part_type='part,service') %]and text after with spacing with div

-
[% L.part_picker('p6', undef, type='part,service', style="width:500px") %] 500px width
-
[% L.part_picker('p7', undef, type='part,service', style="width:200px") %] 200px width
-
[% L.part_picker('p8', undef, type='part,service', style="height:40px") %] 40px height
+Picker + input next to each other: [% P.part.picker('p5', undef, part_type='part,service', width="100%") %] +
[% P.part.picker('p6', undef, part_type='part,service', style="width:500px") %] 500px width
+
[% P.part.picker('p7', undef, part_type='part,service', style="width:200px") %] 200px width
+
[% P.part.picker('p8', undef, part_type='part,service', style="height:40px") %] 40px height
[%# FOREACH i IN 1..50 %] -[%# L.part_picker('part_id_' _ i) %]
+[%# P.part.picker('part_id_' _ i) %]
[%# END %]

In tables

@@ -38,11 +57,11 @@ Ina span: - + - +
Part picker in table heading[% L.part_picker('p9', undef, type='part,service') %][% P.part.picker('p9', undef, part_type='part,service') %]
Part picker in table cell[% L.part_picker('p10', undef, type='part,service') %][% P.part.picker('p10', undef, part_type='part,service') %]
@@ -51,10 +70,10 @@ Ina span: - + - +
Part picker in table heading[% L.part_picker('p11', undef, type='part,service') %][% P.part.picker('p11', undef, part_type='part,service') %]
Part picker in table cell[% L.part_picker('p12', undef, type='part,service') %][% P.part.picker('p12', undef, part_type='part,service') %]