From f2cf5c2843dcef5db0941a1673538eb922fd5a5a Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 20 Apr 2015 00:48:29 -0700 Subject: add Avalara tax status field to prospects, #25718 --- httemplate/edit/prospect_main.html | 5 +++++ httemplate/view/prospect_main.html | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'httemplate') diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index da5c6ce37..1269a84ed 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -7,6 +7,7 @@ 'company' => 'Company', 'contactnum' => 'Contact', 'locationnum' => ' ', + 'taxstatusnum'=> 'Tax status', }, 'fields' => [ { 'field' => 'agentnum', @@ -46,6 +47,10 @@ 'prospect_main' => shift }, }, + { 'field' => 'taxstatusnum', + 'type' => 'select-tax_status', + 'empty_label' => ' ', + }, ], 'new_callback' => $new_callback, 'edit_callback' => $edit_callback, diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html index a1f14a374..b5ef64f48 100644 --- a/httemplate/view/prospect_main.html +++ b/httemplate/view/prospect_main.html @@ -69,6 +69,14 @@ &> % } % } +% if ( my $tax_status = $prospect_main->tax_status ) { + + Tax status + + <% $tax_status->taxstatus %>: <% $tax_status->description %> + + +% } -- cgit v1.2.1