projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sort by referral count, RT#75757
[freeside.git]
/
httemplate
/
search
/
prospect_main.html
diff --git
a/httemplate/search/prospect_main.html
b/httemplate/search/prospect_main.html
index
ab37b90
..
feb1e11
100644
(file)
--- a/
httemplate/search/prospect_main.html
+++ b/
httemplate/search/prospect_main.html
@@
-6,6
+6,7
@@
'header' => [ '#',
'Prospect',
'Contact(s)',
'header' => [ '#',
'Prospect',
'Contact(s)',
+ 'Advertising source',
],
'fields' => [ 'prospectnum',
'name',
],
'fields' => [ 'prospectnum',
'name',
@@
-16,13
+17,21
@@
}
$pm->contact
];
}
$pm->contact
];
+ ''
+ },
+ sub {
+ my $pr = shift->part_referral;
+ $pr ? $pr->referral : '';
},
],
'links' => [ '',
$link,
'', #link to contact edit???
},
],
'links' => [ '',
$link,
'', #link to contact edit???
+ '',
],
'agent_virt' => 1,
],
'agent_virt' => 1,
+ 'disableable' => 1,
+ 'disabled_statuspos' => 2,
&>
<%init>
&>
<%init>
@@
-35,7
+44,7
@@
my %search_hash = ();
#scalars
my @scalars = qw (
#scalars
my @scalars = qw (
- agentnum
+ agentnum
refnum
);
for my $param ( @scalars ) {
);
for my $param ( @scalars ) {