projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"Vertreter" sind Kunden mit Kundentyp mit Vertreter-Flag, nicht die Kundentypen selber
[kivitendo-erp.git]
/
templates
/
webpages
/
oe
/
form_footer_master.html
diff --git
a/templates/webpages/oe/form_footer_master.html
b/templates/webpages/oe/form_footer_master.html
index
f21b3fd
..
9de0939
100644
(file)
--- a/
templates/webpages/oe/form_footer_master.html
+++ b/
templates/webpages/oe/form_footer_master.html
@@
-91,7
+91,7
@@
<td align="left" width="30%"><b>Dateiname</b></td>
<td align="left" width="70%"><b>Webdavlink</b></td>
</tr>
<td align="left" width="30%"><b>Dateiname</b></td>
<td align="left" width="70%"><b>Webdavlink</b></td>
</tr>
- [%- FOREACH file
="WEBDAV"
%]
+ [%- FOREACH file
= WEBDAV
%]
<tr>
<td align="left">[% HTML.escape(file.name) %]</td>
<td align="left"><a href="[% file.link %]">[% HTML.escape(file.type) %]</a></td>
<tr>
<td align="left">[% HTML.escape(file.name) %]</td>
<td align="left"><a href="[% file.link %]">[% HTML.escape(file.type) %]</a></td>
@@
-155,11
+155,14
@@
[%- END %]
[%- END %]
[%- END %]
[%- END %]
[%- END %]
[%- END %]
-
<input type="hidden" name="saved_xyznumber" value="[% HTML.escape(saved_xyznumber) %]">
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
<input type="hidden" name="saved_xyznumber" value="[% HTML.escape(saved_xyznumber) %]">
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
-<input type="hidden" name="customer_discount" value="[% HTML.escape(customer_discount) %]">
<input type="hidden" name="callback" value="[% callback %]">
<input type="hidden" name="callback" value="[% callback %]">
+[% IF vc == 'customer' %]
+ <input type="hidden" name="customer_discount" value="[% HTML.escape(customer_discount) %]">
+[% ELSE %]
+ <input type="hidden" name="vendor_discount" value="[% HTML.escape(vendor_discount) %]">
+[% END %]
</form>
</form>