projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lieferschein: Kunden-/Lieferantenpicker nutzen
[kivitendo-erp.git]
/
templates
/
webpages
/
customer_vendor
/
tabs
/
vcnotes.html
diff --git
a/templates/webpages/customer_vendor/tabs/vcnotes.html
b/templates/webpages/customer_vendor/tabs/vcnotes.html
index
04bf951
..
cf4eeb5
100644
(file)
--- a/
templates/webpages/customer_vendor/tabs/vcnotes.html
+++ b/
templates/webpages/customer_vendor/tabs/vcnotes.html
@@
-3,7
+3,7
@@
[%- USE L %]
<div id="vcnotes">
[%- USE L %]
<div id="vcnotes">
-
[% IF ( NOTES && NOTES
.size ) %]
+
[% IF ( SELF.notes && SELF.notes
.size ) %]
<p>
<table>
<tr>
<p>
<table>
<tr>
@@
-19,43
+19,34
@@
[%- FOREACH row = SELF.notes %]
<tr class="listrow[% loop.count % 2 %]">
<td>
[%- FOREACH row = SELF.notes %]
<tr class="listrow[% loop.count % 2 %]">
<td>
- [% L.hidden_tag('notes[+].id', row.id) %]
- [% IF ( !NOTE_id || (NOTE_id != row.id) ) %]
- [% L.checkbox_tag('notes[].delete', 0) %]
+ [% IF ( !SELF.note || SELF.note.id != row.id ) %]
+ [% L.checkbox_tag('delete_notes[]', value = row.id) %]
[% END %]
</td>
<td>
[% END %]
</td>
<td>
- <a href="c
t.pl?action=edit&db=[% HTML.url(db) %]&id=[% HTML.url(id) %]&edit_
note_id=[% HTML.url(row.id) %]">[% HTML.escape(row.subject) %]</a>
+ <a href="c
ontroller.pl?action=CustomerVendor/edit&db=[% SELF.is_vendor() ? 'vendor' : 'customer' %]&id=[% HTML.url(SELF.cv.id) %]&
note_id=[% HTML.url(row.id) %]">[% HTML.escape(row.subject) %]</a>
</td>
<td>
</td>
<td>
- [%
HTML.escape(row.created_on)
%]
+ [%
row.itime.to_kivitendo | html
%]
</td>
<td>
</td>
<td>
- [% IF ( row.created_by_name ) %]
- [% HTML.escape(row.created_by_name) %]
- [% ELSE %]
- [% HTML.escape(row.created_by_login) %]
- [% END %]
+ [% row.employee.safe_name | html %]
</td>
<td>
</td>
<td>
- [%
HTML.escape(row.follow_up_date)
%]
+ [%
row.follow_up.follow_up_date.to_kivitendo | html
%]
</td>
<td>
</td>
<td>
- [% IF ( row.created_for_name ) %]
- [% HTML.escape(row.created_for_name) %]
- [% ELSE %]
- [% HTML.escape(row.created_for_login) %]
- [% END %]
+ [% row.follow_up.created_for.safe_name | html %]
</td>
<td>
</td>
<td>
- [% IF ( row.follow_up_date ) %]
- [% IF ( row.follow_up
_
done ) %]
+ [% IF ( row.follow_up
.follow_up
_date ) %]
+ [% IF ( row.follow_up
.
done ) %]
[% 'Yes' | $T8 %]
[% ELSE %]
[% 'No' | $T8 %]
[% 'Yes' | $T8 %]
[% ELSE %]
[% 'No' | $T8 %]
@@
-68,13
+59,13
@@
</p>
[% END %]
</p>
[% END %]
- <
div class="listtop"
>
- [% IF (
NOTE_
id ) %]
+ <
h2
>
+ [% IF (
SELF.note.
id ) %]
[% 'Edit note' | $T8 %]
[% ELSE %]
[% 'Add note' | $T8 %]
[% END %]
[% 'Edit note' | $T8 %]
[% ELSE %]
[% 'Add note' | $T8 %]
[% END %]
- </
div
>
+ </
h2
>
[% L.hidden_tag('note.id', SELF.note.id) %]
[% L.hidden_tag('note.id', SELF.note.id) %]