projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
search
/
prospect_main.html
diff --git
a/httemplate/search/prospect_main.html
b/httemplate/search/prospect_main.html
index
12e3e18
..
d65d4d1
100644
(file)
--- a/
httemplate/search/prospect_main.html
+++ b/
httemplate/search/prospect_main.html
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Prospect Search Results',
'name_singular' => 'prospect',
'query' => $query,
'title' => 'Prospect Search Results',
'name_singular' => 'prospect',
'query' => $query,
@@
-6,25
+6,33
@@
'header' => [ '#',
'Prospect',
'Contact(s)',
'header' => [ '#',
'Prospect',
'Contact(s)',
+ 'Advertising source',
],
'fields' => [ 'prospectnum',
],
'fields' => [ 'prospectnum',
- '
company
',
+ '
name
',
sub {
my $pm = shift;
[ map {
sub {
my $pm = shift;
[ map {
- [ { 'data'
=> $_
->line, }, ];
+ [ { 'data'
=>$_->contact
->line, }, ];
}
}
- $pm->contact
+ $pm->
prospect_
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>
die "access denied"
<%init>
die "access denied"
@@
-36,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 ) {