[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.102, 1.103

Ivan,,, ivan at wavetail.420.am
Sun Aug 13 03:26:00 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail:/tmp/cvs-serv20875/httemplate/view

Modified Files:
	cust_main.cgi 
Log Message:
customer view work:

DONE  1. add status and balance to top

DONE  2. add some sort of oldest date thing so the history doesn't get too
     big (# years and a link to "show older")

  3. make the rest of the action links into js popups?  maybe later,
     weird IENess when closing em
DONE (finished)    - so revert out or finish/commit the Enter check payment one
   - Process page can wait until another day.. it should be more of an *action*

DONE  4. Ticket list config knobs for wtxs (grid it too)

DONE  5. grid the package list



Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- cust_main.cgi	21 Jun 2006 12:58:43 -0000	1.102
+++ cust_main.cgi	13 Aug 2006 10:25:58 -0000	1.103
@@ -2,24 +2,6 @@
 
 my $conf = new FS::Conf;
 
-my %uiview = ();
-my %uiadd = ();
-foreach my $part_svc ( qsearch('part_svc',{}) ) {
-  $uiview{$part_svc->svcpart} = $p. "view/". $part_svc->svcdb . ".cgi";
-  $uiadd{$part_svc->svcpart}= $p. "edit/". $part_svc->svcdb . ".cgi";
-}
-
-%>
-
-
-<%= include("/elements/header.html","Customer View", 
-	include("/elements/menubar.html",
-  'Main Menu' => $p,
-)) %>
-
-
-<%
-
 my $curuser = $FS::CurrentUser::CurrentUser;
 
 die "No customer specified (bad URL)!" unless $cgi->keywords;
@@ -31,6 +13,7 @@
 
 %>
 
+<%= include("/elements/header.html","Customer View: ". $cust_main->name ) %>
 
 <% if ( $curuser->access_right('Edit customer') ) { %>
   <A HREF="<%= $p %>edit/cust_main.cgi?<%= $custnum %>">Edit this customer</A> | 



More information about the freeside-commits mailing list