+=head1 NAME
+
+FS::UI::Web::small_custview
+
+=head1 SYNOPSIS
+
+ use FS::UI::Web::small_custview qw( small_custview );
+
+ #new-style
+ $html = small_custview(
+ { 'cust_main' => $cust_main, #or 'custnum' => $custnum,
+ 'countrydefault' => 'US',
+ 'nobalance' => 1,
+ 'url' => 'http://freeside.machine/freeside/view/cust_main.cgi',
+ 'nopkg' => 1,
+ }
+ );
+
+ #old-style (deprecated)
+ $html = small_custview( $cust_main, $countrydefault, $nobalance, $url );
+
+=head1 DESCRIPTION
+
+A subroutine for displaying customer information.
+
+=head1 SUBROUTINES
+
+=over 4
+
+=item small_custview HASHREF
+
+New-style interface. Keys are:
+
+=over 4
+
+=item cust_main
+
+Customer (as a FS::cust_main object)
+
+=item custnum
+
+Customer number (if cust_main is not provided).
+
+=item countrydefault
+
+=item nobalance
+
+=item url
+
+=back
+