</tr>
<tr>
<th align="right"><translate>Payment Terms</translate></th>
- <td>[% payments %]</td>
+ <td>
+ [%- INCLUDE 'generic/multibox.html'
+ name = 'payment_id',
+ style = 'width: 250px',
+ DATA = ALL_PAYMENTS,
+ id_key = 'id',
+ label_key = 'description',
+ show_empty = 1 -%]
+ </td>
</tr>
+ [%- IF id && num_follow_ups %]
+ <tr>
+ <td colspan="2">[% LxERP.format_string('<translate>There are #1 unfinished follow-ups of which #2 are due.</translate>', num_follow_ups, num_due_follow_ups) %]</td>
+ </tr>
+ [%- END %]
</table>
</td>
+[%- IF is_sales %]
<td>
<table>
-[%- IF is_sales %]
<tr>
<th align=left><translate>Ertrag</translate></th>
- <td>[% LxERP.format_amount(marge_total, 2) %] %</td>
+ <td align="right">[% LxERP.format_amount(marge_total, 2) %]</td>
</tr>
<tr>
<th align=left><translate>Ertrag prozentual</translate></th>
- <td>[% LxERP.format_amount(marge_percent, 2) %] %</td>
+ <td align="right">[% LxERP.format_amount(marge_percent, 2) %]</td>
+ <td>%</td>
</tr>
-[%- END %]
<input type=hidden name="marge_total" value="[% marge_total %]">
<input type=hidden name="marge_percent" value="[% marge_percent %]">
</table>
</td>
+[%- END %]
<td align=right>
[%- IF taxaccounts %]
<input name=taxincluded class=checkbox type=checkbox value=1 [% IF taxincluded %]checked[% END %]><b><translate>Tax Included</translate></b><br><br>
<input class=submit type=submit name=action value="<translate>Save and Close</translate>">
[%- IF id %]
+ <input type="button" class="submit" onclick="follow_up_window()" value="<translate>Follow-Up</translate>">
<input type="button" class="submit" onclick="set_history_window([% HTML.escape(id) %])" name="history" id="history" value="<translate>history</translate>">
<br>[% label_workflow %]<br>
<input type=hidden name=rowcount value="[% HTML.escape(rowcount) %]">
<input type=hidden name=callback value="[% callback %]">
-<input type=hidden name=login value="[% HTML.escape(login) %]">
-<input type=hidden name=password value="[% HTML.escape(password) %]">
-
</form>
</body>