-<input type="hidden" name="lizenzen" value="$lizenzen">
-
-<div class="listtop" width="100%">$form->{title}</div>
-
-<table width="100%">
- <tr>
- <td valign="top">
- <table>
- <tr>
- $customers
- <input type="hidden" name="customer_klass" value="$form->{customer_klass}">
- <input type="hidden" name="customer_id" value="$form->{customer_id}">
- <input type="hidden" name="oldcustomer" value="$form->{oldcustomer}">
- <input type="hidden" name="selectcustomer" value="1">
- </tr>
- $contact
- $shipto
- <tr>
- <td align="right">| . $locale->text('Credit Limit') . qq|</td>
- <td>$form->{creditlimit}; | . $locale->text('Remaining') . qq| <span class="plus$n">$form->{creditremaining}</span></td>
- </tr>
- $dunning
- $business
- <tr>
- <th align="right" nowrap>| . $locale->text('Record in') . qq|</th>
- <td colspan="3"><select name="AR" style="width:250px;">$form->{selectAR}</select></td>
- <input type="hidden" name="selectAR" value="$form->{selectAR}">
- </tr>
- $taxzone
- $department
- <tr>
- $currencies
- <input type="hidden" name="fxgain_accno" value="$form->{fxgain_accno}">
- <input type="hidden" name="fxloss_accno" value="$form->{fxloss_accno}">
- $exchangerate
- </tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Shipping Point') . qq|</th>
- <td colspan="3"> | .
- $cgi->textfield("-name" => "shippingpoint", "-size" => 35, "-value" => $form->{shippingpoint}) .
- qq|</tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Ship via') . qq|</th>
- <td colspan="3"><input name="shipvia" size="35" value="$form->{shipvia}"></td>
- </tr>
- <tr>
- <th align="right">| . $locale->text('Transaction description') . qq|</th>
- <td colspan="3">| . $cgi->textfield("-name" => "transaction_description", "-size" => 35, "-value" => $form->{transaction_description}) . qq|</td>
- </tr>|;
-# <tr>
-# <td colspan=4>
-# <table>
-# <tr>
-# <td colspan=2>
-# <button type="button" onclick="delivery_customer_selection_window('delivery_customer_string','delivery_customer_id')">| . $locale->text('Choose Customer') . qq|</button>
-# </td>
-# <td colspan=2><input type=hidden name=delivery_customer_id value="$form->{delivery_customer_id}">
-# <input size=45 id=delivery_customer_string name=delivery_customer_string value="$form->{delivery_customer_string}"></td>
-# </tr>
-# <tr>
-# <td colspan=2>
-# <button type="button" onclick="vendor_selection_window('delivery_vendor_string','delivery_vendor_id')">| . $locale->text('Choose Vendor') . qq|</button>
-# </td>
-# <td colspan=2><input type=hidden name=delivery_vendor_id value="$form->{delivery_vendor_id}">
-# <input size=45 id=delivery_vendor_string name=delivery_vendor_string value="$form->{delivery_vendor_string}"></td>
-# </tr>
-# </table>
-# </td>
-# </tr>
-print qq| </table>
- </td>
- <td align="right" valign="top">
- <table>
- $employees
- $salesman
-|;
-if ($form->{type} eq "credit_note") {
-print qq| <tr>
- <th align="right" nowrap>| . $locale->text('Credit Note Number') . qq|</th>
- <td><input name="invnumber" size="11" value="$form->{invnumber}"></td>
- </tr>
- <tr>
- <th align="right">| . $locale->text('Credit Note Date') . qq|</th>
- $button1
- </tr>|;
-} else {
-print qq| <tr>
- <th align="right" nowrap>| . $locale->text('Invoice Number') . qq|</th>
- <td><input name="invnumber" size="11" value="$form->{invnumber}"></td>
- </tr>
- <tr>
- <th align="right">| . $locale->text('Invoice Date') . qq|</th>
- $button1
- </tr>
- <tr>
- <th align="right">| . $locale->text('Due Date') . qq|</th>
- $button2
- </tr>
- <tr>
- <th align="right">| . $locale->text('Delivery Date') . qq|</th>
- $button3
- </tr>|;
-}
-print qq| <tr>
- <th align="right" nowrap>| . $locale->text('Order Number') . qq|</th>
- <td><input name="ordnumber" size="11" value="$form->{ordnumber}"></td>
- </tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Order Date') . qq|</th>
- <td><input name="orddate" id="orddate" size="11" title="$myconfig{dateformat}" value="| . Q($form->{orddate}) . qq|" onBlur=\"check_right_date_format(this)\">
- <input type="button" name="b_orddate" id="trigger_orddate" value="?"></td>
- </tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Quotation Number') . qq|</th>
- <td><input name="quonumber" size="11" value="$form->{quonumber}"></td>
- </tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Quotation Date') . qq|</th>
- <td><input name="quodate" id="quodate" size="11" title="$myconfig{dateformat}" value="| . Q($form->{quodate}) . qq|" onBlur=\"check_right_date_format(this)\">
- <input type="button" name="b_quodate" id="trigger_quodate" value="?"></td>
- </tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Customer Order Number') . qq|</th>
- <td><input name="cusordnumber" size="11" value="$form->{cusordnumber}"></td>
- </tr>
- <tr>
- <th align="right" nowrap>| . $locale->text('Project Number') . qq|</th>
- <td>$globalprojectnumber</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- </td>
- </tr>
-| .
-$jsscript
-. qq|
-<!-- shipto are in hidden variables -->
-| ;
-map({ print($cgi->hidden("-name" => $_, "-value" => $form->{$_})); }
- qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2));
-print qq|<!-- email variables --> |;
-map({ print($cgi->hidden("-name" => $_, "-value" => $form->{$_})); }
- qw(message email subject cc bcc taxaccounts));
-print qq|<input type="hidden" name="webdav" value="| . $webdav . qq|">|;
-
- foreach $item (split(/ /, $form->{taxaccounts})) {
- map({ print($cgi->hidden("-name" => $_, "-value" => $form->{$_})); }
- ("${item}_rate", "${item}_description", "${item}_taxnumber"));
- }
- $lxdebug->leave_sub();