[% SET paid = 'paid_' _ i %]
[% SET AR_paid = 'AR_paid_' _ i %]
[% SET selectAR_paid_ref = 'selectAR_paid_' _ i %]
-
- <input type=hidden name="acc_trans_id_[% i %]" value=[% $acc_trans_id %]>
- <input type=hidden name="gldate_[% i %]" value=[% $gldate %]>
+ <tr style='display:none'>
+ <td>
+ <input type=hidden name="acc_trans_id_[% i %]" value="[% $acc_trans_id %]">
+ <input type=hidden name="gldate_[% i %]" value="[% $gldate %]">
+ </td>
+ </tr>
<tr>
<td align="center">
</tr>
[% IF $changeable %]
+ <tr style='display:none'>
+ <td>
<script type='text/javascript'>
Calendar.setup({ inputField : "datepaid_[% i %]", ifFormat :"[% myconfig_jsc_dateformat %]", align : "TR", button : "trigger_datepaid_[% i %]" });
$('input[name="paid_[% i %]"]').blur(function(){ check_right_number_format(this) });
$('#datepaid_[% i %]').blur(function(){ check_right_date_format(this) });
</script>
+ </td>
+ </tr>
[% END %]
[% END # foreach %]
<td align="center">[%- 'Missing amount' | $T8 %]</td>
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
</tr>
-
+ <tr style='display:none'>
+ <td>
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]">
<input type="hidden" name="selectAR_paid" value="[% selectAR_paid %]">
<input type="hidden" name="oldinvtotal" value="[% oldinvtotal %]">
<input type="hidden" name="oldtotalpaid" value="[% totalpaid %]">
+ </td>
+ </tr>
</table>
</td>
<table>
<tr>
<th align=left>[% 'Ertrag' | $T8 %]</th>
- <td>[% LxERP.format_amount(marge_total, 2, 0) %]</td>
+ <td>
+ [% LxERP.format_amount(marge_total, 2, 0) %]
+ <input type=hidden name="marge_total" value="[% marge_total %]">
+ </td>
</tr>
<tr>
<th align=left>[% 'Ertrag prozentual' | $T8 %]</th>
- <td>[% LxERP.format_amount(marge_percent, 2, 0) %] %</td>
+ <td>
+ [% LxERP.format_amount(marge_percent, 2, 0) %] %
+ <input type=hidden name="marge_percent" value="[% marge_percent %]">
+ </td>
</tr>
- <input type=hidden name="marge_total" value="[% marge_total %]">
- <input type=hidden name="marge_percent" value="[% marge_percent %]">
</table>
</td>
<td align="right">
[% END %]
<input type="hidden" name="rowcount" value="[% rowcount %]">
-<input type="hidden" name="callback" value="[% callback %]">
+<input type="hidden" name="callback" value="[% callback | html %]">
<input type="hidden" name="draft_id" value="[% draft_id %]">
<input type="hidden" name="draft_description" value="[% draft_description %]">
<input type="hidden" name="customer_discount" value="[% customer_discount %]">
allow_textbox = 1,
onChange = "document.getElementById('update_button').click();" -%]
<input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('[% HTML.escape(vc) %]')">
- </td>
<input type="hidden" name="customer_klass" value="[% HTML.escape(customer_klass) %]">
<input type="hidden" name="customer_id" value="[% HTML.escape(customer_id) %]">
<input type="hidden" name="oldcustomer" value="[% HTML.escape(oldcustomer) %]">
<input type="hidden" name="selectcustomer" value="[% HTML.escape(selectcustomer) %]">
+ </td>
</tr>
[%- IF ALL_CONTACTS.size %]
<tr>
[%- END %]
<tr>
<th align="right" nowrap>[% 'Record in' | $T8 %]</th>
- <td colspan="3"><select name="AR" style="width:250px;">[% selectAR %]</select></td>
- <input type="hidden" name="selectAR" value="[% selectAR %]">
+ <td colspan="3">
+ <select name="AR" style="width:250px;">[% selectAR %]</select>
+ <input type="hidden" name="selectAR" value="[% selectAR | html %]">
+ </td>
</tr>
<tr>
<th align="right">[% 'Steuersatz' | $T8 %]</th>
[%- IF id %]
<input type='hidden' name='taxzone_id' value='[% taxzone_id %]'>
[%- END %]
+ </td>
</tr>
[%- IF all_departments %]
<tr>
<td>[% currencies %]</td>
</tr>
[%- END %]
- <input type="hidden" name="fxgain_accno" value="[% fxgain_accno %]">
- <input type="hidden" name="fxloss_accno" value="[% fxloss_accno %]">
+ <tr style='display:none'>
+ <td>
+ <input type="hidden" name="fxgain_accno" value="[% fxgain_accno %]">
+ <input type="hidden" name="fxloss_accno" value="[% fxloss_accno %]">
+ </td>
+ </tr>
[%- IF show_exchangerate %]
<tr>
<th align="right">[% 'Exchangerate' | $T8 %]</th>
</table>
</td>
</tr>
-</table>
- </td>
- </tr>
- <tr>
+ <tr style='display:none'>
<td>
+ <input type="hidden" name="webdav" value="[% webdav %]">
</td>
</tr>
+</table>
+
<script type="text/javascript" src="js/show_form_details.js"></script>
<script type="text/javascript" src="js/show_vc_details.js"></script>
<script type="text/javascript" src="js/show_history.js"></script>
}
//-->
</script>
-
- <input type="hidden" name="webdav" value="[% webdav %]">
+<table width="100%">
<tr>
<th class="listtop" align="left">Dokumente im Webdav-Repository</th>
</tr>
+ <tr>
+ <td>
<table width="100%">
<tr>
<td align="left" width="30%"><b>Dateiname</b></td>
</tr>
[%- END %]
</table>
+ </td>
</tr>
[% END %]