rp.pl::print_options auf template umgestellt.
[kivitendo-erp.git] / templates / webpages / rp / print_options.html
diff --git a/templates/webpages/rp/print_options.html b/templates/webpages/rp/print_options.html
new file mode 100644 (file)
index 0000000..776a02d
--- /dev/null
@@ -0,0 +1,36 @@
+[%- USE HTML %]
+[%- USE LxERP %]
+[%- USE L %]
+[%- USE T8 %]
+<table>
+  <tr>
+    <td>
+     <select name=type>
+      <option value=statement [% PD.statement %]>[% 'Statement' | $T8 %]</option>
+     </select>
+    </td>
+    <td>
+     <select name=format>
+      <option value=html [% DF.html %]>[% 'HTML' | $T8 %]</option>
+      <option value=pdf [% DF.pdf %]>[% 'PDF' | $T8 %]</option>
+      <option value=postscript [% DF.postscript %]>[% 'Postscript' | $T8 %]</option>
+     </select>
+    </td>
+    <td>
+     <select name=media>
+[%- IF is_email %]
+      <option value=attachment [% SM.attachment %]>[% 'Attachment' | $T8 %]</option>
+      <option value=inline [% SM.inline %]>[% 'In-line' | $T8 %]</option>
+[%- ELSE %]
+      <option value=screen [% OP.screen %]>[% 'Screen' | $T8 %]</option>
+  [%- IF got_printer && show_latex %]
+      <option value=printer [% OP.printer %]>[% 'Printer' | $T8 %]</option>
+  [%- END %]
+[%- END %]
+     </select>
+    </td>
+[%- IF got_printer && show_latex && !is_email %]
+      <td>[% 'Copies' | $T8 %]<input name=copies size=2 value=[% copies %]></td>
+[%- END %]
+  </tr>
+</table>