summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorivan <ivan>2011-03-22 06:00:54 +0000
committerivan <ivan>2011-03-22 06:00:54 +0000
commit3dfc446d8a4d241787c47ff7e2db72483d62ab7a (patch)
treef0129a16674ccd7c2feec43d7aea7dd5be2f7d41 /httemplate/elements
parentb1011034b084a90c07c7199f5e64cdee7cdd199f (diff)
new customer from prospect qualification, RT#7111
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/small_prospect_view.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/elements/small_prospect_view.html b/httemplate/elements/small_prospect_view.html
new file mode 100644
index 000000000..4942e8dc7
--- /dev/null
+++ b/httemplate/elements/small_prospect_view.html
@@ -0,0 +1,11 @@
+% my $link = "${p}view/prospect_main.html?". $prospect_main->prospectnum;
+Prospect: <A HREF="<%$link%>"><% $prospect_main->name %></A>
+<%init>
+
+my($prospect_main, %opt) = @_;
+
+$prospect_main = qsearchs('prospect_main', { 'prospectnum' => $prospect_main } )
+ || die "unknown prospectnum $prospect_main"
+ unless ref($prospect_main);
+
+</%init>