diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-09-16 23:41:40 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-09-16 23:41:40 -0700 |
commit | ee17093f5b41c1544d00a2670d26794aee33077a (patch) | |
tree | 6d11ca503666b991dd4b8987e301826c3fe9291f /httemplate/view/cust_main.cgi | |
parent | f58e37b603c27dd0b2d2232e8cb0392088409437 (diff) |
customer quotations are work orders? RT#25561
Diffstat (limited to 'httemplate/view/cust_main.cgi')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 782556b73..4880ac3dc 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -40,6 +40,11 @@ function areyousure(href, message) { } </SCRIPT> + +% ### +% # Basics +% ### + % if ( $view eq 'basics' || $view eq 'jumbo' ) { % if ( $curuser->access_right('Edit customer') ) { @@ -183,6 +188,11 @@ function areyousure(href, message) { % } + +% ### +% # Notes +% ### + % if ( $view eq 'notes' || $view eq 'jumbo' ) { <& cust_main/notes.html, 'cust_main' => $cust_main &> @@ -195,6 +205,11 @@ function areyousure(href, message) { <BR> + +% ### +% # Tickets +% ### + % if ( $view eq 'tickets' || $view eq 'jumbo' ) { % if ( $conf->config('ticket_system') ) { @@ -204,6 +219,10 @@ function areyousure(href, message) { % } +% ### +% # Appointments +% ### + % if ( $view eq 'appointments' || $view eq 'jumbo' ) { % if ( $conf->config('ticket_system') @@ -214,6 +233,28 @@ function areyousure(href, message) { % } + +% ### +% # Quotations +% ### + +% if ( $view eq 'jumbo' && $curuser->access_right('Generate quotation') ) { + <A NAME="quotation"><FONT SIZE="+2"><% mt('Quotations') |h %></FONT></A><BR> +% } + +% if ( $view eq 'quotations' || $view eq 'jumbo' ) { + +% if ( $curuser->access_right('Generate quotation') ) { + <& cust_main/quotations.html, $cust_main &> +% } + +% } + + +% ### +% # Packages +% ### + % if ( $view eq 'jumbo' ) { #XXX enable me && $curuser->access_right('View customer packages') { <A NAME="cust_pkg"><FONT SIZE="+2"><% mt('Packages') |h %></FONT></A><BR> @@ -227,6 +268,11 @@ function areyousure(href, message) { % } + +% ### +% # Payment History +% ### + % if ( $view eq 'jumbo' ) { <BR><BR> <A NAME="history"><FONT SIZE="+2"><% mt('Payment History') |h %></FONT></A> @@ -241,6 +287,11 @@ function areyousure(href, message) { % } + +% ### +% # Change History +% ### + % if ( $view eq 'change_history' ) { # || $view eq 'jumbo' <& cust_main/change_history.html, $cust_main &> % } @@ -299,6 +350,7 @@ if ( $conf->config('ticket_system') ) { $views{emt('Appointments')} = 'appointments' if $curuser->access_right('View appointments'); } +$views{emt('Quotations')} = 'quotations'; $views{emt('Packages')} = 'packages'; $views{emt('Payment History')} = 'payment_history' unless $conf->config('payby-default' eq 'HIDE'); |