[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
[% END %]
</td>
- <td><textarea name="intnotes" rows="[% LxERP.numtextrows(intnotes, 35, 8, 2) %]" cols="35" wrap="soft"[% RO %]>[% HTML.escape(intnotes) %]</textarea></td>
+ <td>[% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]</td>
</tr>
<tr>
</div>
</div>
-<hr size="3" noshade>
-
- <p>[% PRINT_OPTIONS %]</p>
+ <input type="hidden" id="rowcount" name="rowcount" value="[% HTML.escape(rowcount) %]">
+ <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
- <input type="hidden" name="action" value="dispatcher">
+ [%- IF !delivered %]
+ <div id="shipto_inputs" class="hidden">
+ [%- PROCESS 'common/_ship_to_dialog.html' vc_obj=VC_OBJ %]
+ </div>
+ [%- END %]
- <input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
- <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
+ <div id="email_inputs" class="hidden"></div>
+ <div id="print_options" class="hidden">
+ [% PRINT_OPTIONS %]
+ </div>
</form>
<script type='text/javascript'>
$(kivi.SalesPurchase.init_on_submit_checks);
</script>
+
+[%- IF !delivered %]
+ <div id="shipto_dialog" class="hidden"></div>
+[%- END %]
+<div id="print_dialog" class="hidden">
+ [%- PROCESS 'common/_print_dialog.html' %]
+</div>