X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCGI.pm;h=f6153761bcbf01c86d0e6bd23bd401611578977e;hb=03cf0e09e1dfa75fd320ddcbad958301a6546675;hp=d69aad2fc4bd47e9f3a163c931c6ca312cd419e6;hpb=536d684c3e17375d45a5d62bc5d748fec0224860;p=freeside.git diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm index d69aad2fc..f6153761b 100644 --- a/FS/FS/CGI.pm +++ b/FS/FS/CGI.pm @@ -44,8 +44,10 @@ Returns an HTML header. =cut sub header { + use Carp; + carp 'FS::CGI::header deprecated; include /elements/header.html instead'; + my($title,$menubar,$etc)=@_; #$etc is for things like onLoad= etc. - #use Carp; $etc = '' unless defined $etc; my $x = <!; @@ -322,6 +330,10 @@ sub small_custview { $html .= ''; + $html .= '
Balance: $'. $cust_main->balance. '
'; + + # last payment might be good here too? + $html; }