[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
</td>
<td>
- <textarea name="intnotes" rows="[% rows %]" cols="35">[% intnotes %]</textarea>
+ [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
</td>
<td>
<table>
[%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %]
</td>
</tr>
+[%- IF INSTANCE_CONF.get_create_qrbill_invoices > 0 %]
+ <tr>
+ <th align="right">[% 'QR bill without amount' | $T8 %]</th>
+ <td>
+ [%- L.checkbox_tag('qrbill_without_amount', 'checked', qrbill_without_amount) %]
+ </td>
+ </tr>
+[%- END %]
</table>
</td>
</tr>
</table>
</td>
</tr>
-
-[% PROCESS 'is/_payments.html' %]
+[% IF is_type_normal_invoice OR is_type_credit_note %]
+ [% PROCESS 'is/_payments.html' %]
+[% END %]
</table>
</div>
[% PROCESS 'webdav/_list.html' %]
</div>
</div>
-<hr size="3" noshade>
-
-<p>[% print_options %]</p>
-
-<input type="hidden" name="action" value="dispatcher">
<input type="hidden" name="rowcount" value="[% rowcount %]">
<input type="hidden" name="callback" value="[% callback | html %]">
[% P.hidden_tag('draft_id', draft_id) %]
[% P.hidden_tag('draft_description', draft_description) %]
<input type="hidden" name="customer_discount" value="[% customer_discount %]">
<input type="hidden" name="gldate" value="[% gldate %]">
+
+[%- IF INSTANCE_CONF.get_create_qrbill_invoices <= 0 %]
+ <input type="hidden" name="qrbill_without_amount" value="[% qrbill_without_amount %]">
+[%- END %]
+
+<div id="shipto_inputs" class="hidden">
+ [%- PROCESS 'common/_ship_to_dialog.html' cvars=shipto_cvars %]
+</div>
+
+<div id="email_inputs" style="display: none"></div>
+
+<div id="print_options" style="display: none">
+ [% print_options %]
+</div>
</form>
<script type='text/javascript'>
$(kivi.SalesPurchase.init_on_submit_checks);
</script>
+
+<div id="shipto_dialog" class="hidden"></div>
+<div id="print_dialog" class="hidden">
+ [%- PROCESS 'common/_print_dialog.html' %]
+</div>