diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-04-04 10:59:48 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-04-07 14:34:04 -0400 |
| commit | e549e88c134121259da8c57c6f56f398320e0929 (patch) | |
| tree | 95b663026c12ffc11e16b46699d2ea803a9d0e48 /httemplate | |
| parent | 1370d9061f191fa7e62e89e128263f7c128ee8f1 (diff) | |
RT# 75357 - Prospects can now be disabled
Conflicts:
httemplate/edit/prospect_main.html
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/edit/prospect_main.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index da5c6ce37..9340493b4 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -1,7 +1,22 @@ +<SCRIPT> + function checkPasswordValidation(fieldid) { + var validationResult = document.getElementById(fieldid+'_result').innerHTML; + if (validationResult.match(/Password valid!/)) { + return true; + } + else { + return false; + } + } +</SCRIPT> + +<& '/elements/validate_password_js.html', &> + <% include('elements/edit.html', 'name_singular' => 'prospect', 'table' => 'prospect_main', 'labels' => { 'prospectnum' => 'Prospect', + 'disabled' => 'Disabled', 'agentnum' => 'Agent', 'refnum' => 'Advertising source', 'company' => 'Company', @@ -24,6 +39,10 @@ 'options' => [ 'Residential', 'Commercial', ], 'onchange' => 'rescom_changed', }, + { 'field' => 'disabled', + 'type' => 'checkbox', + 'value' => 'Y', + }, { 'field' => 'company', 'type' => 'text', 'size' => 50, |
