X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=8e1c779dd896287cff28ecec14e339b4409e3a86;hb=d6741df87df9e3352d7ae47a02d0e3f46154fef9;hp=83f3cb8720285f9ffbd5ecb6f663a90782538fdd;hpb=a34643588e65fc3272ec7bb2865aeb05a620dfc8;p=freeside.git diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 83f3cb872..8e1c779dd 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -1,137 +1,159 @@ -<% -# - -use strict; -use vars qw( $cgi $link $linknum $p1 $_date $payby $payinfo $paid $quickpay ); -use Date::Format; -use CGI; -use CGI::Carp qw(fatalsToBrowser); -use FS::Conf; -use FS::UID qw(cgisuidsetup); -use FS::CGI qw(header popurl ntable small_custview); +% if ( $link eq 'popup' ) { + <% include('/elements/header-popup.html', $title ) %> +% } else { + <% include("/elements/header.html", $title, '') %> +% } + +<% include('/elements/init_calendar.html') %> + +<% include('/elements/error.html') %> + +% unless ( $link eq 'popup' ) { + <% small_custview($custnum, $conf->config('countrydefault')) %> +% } + +
+ +% if ( $link eq 'popup' ) { +