summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/notes.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-05-06 19:10:47 -0700
committerIvan Kohler <ivan@freeside.biz>2015-05-06 19:10:47 -0700
commitf921a017cd3dd987bd48e05c7fd462a1ef9cb79d (patch)
tree4f772a73dc1852860d1d646fb7d8e866eb46d2a3 /httemplate/view/cust_main/notes.html
parenta9129b5b8b7a69d1d0a7fce6dc9d72665eaec568 (diff)
parent95606bc9db41352511c886773a311f2166cc6cf2 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/view/cust_main/notes.html')
-rwxr-xr-xhttemplate/view/cust_main/notes.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html
index 1cd6e0970..deba956ae 100755
--- a/httemplate/view/cust_main/notes.html
+++ b/httemplate/view/cust_main/notes.html
@@ -77,15 +77,8 @@
% if ( $curuser->access_right('View email logs')
% and FS::cust_msg->count("custnum = $custnum")) {
<BR>
-% if (!$cgi->param('order_by')) {
-% my $order_by = '_date';
-% $order_by .= ' DESC' if $curuser->option('history_order') eq 'newest';
-% $cgi->param('order_by', $order_by);
-% }
-<& /search/cust_msg.html,
- nohtmlheader => 1,
- html_init => mt('Mail sent to this customer: '),
-&>
+<& notes/email.html, 'cust_main' => $cust_main &>
+<BR>
% }
<%init>