diff options
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_bill.cgi | 3 | ||||
-rw-r--r-- | httemplate/view/cust_main/billing.html | 13 | ||||
-rwxr-xr-x | httemplate/view/cust_statement.html | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 4ee4efbf4..6bc499a35 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -174,8 +174,7 @@ my %opt = ( $opt{'barcode_img'} = 1 if $conf->exists('invoice-barcode'); my @payby = grep /\w/, $conf->config('payby'); -#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP )) -@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP )) +@payby = (qw( CARD DCRD CHEK DCHK BILL CASH )) unless @payby; my %payby = map { $_=>1 } @payby; diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index f1125c008..4f4b74587 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -13,8 +13,18 @@ &> % } +% my $yes = emt('yes'); +% my $no = emt('no'); + <TABLE CLASS="fsinnerbox"> +% if ( $cust_main->complimentary ) { + <TR> + <TD ALIGN="right"><% mt('Complimentary') |h %></TD> + <TD BGCOLOR="#ffffff"><% $yes %></TD> + </TR> +% } + %( my $balance = $cust_main->balance ) % =~ s/^(\-?)(.*)$/<FONT SIZE=+1>$1<\/FONT>$money_char$2/; @@ -53,9 +63,6 @@ </TR> % } -% my $yes = emt('yes'); -% my $no = emt('no'); - % my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); % unless ( $conf->exists('cust_class-tax_exempt') diff --git a/httemplate/view/cust_statement.html b/httemplate/view/cust_statement.html index 5d37b3167..87a185fab 100755 --- a/httemplate/view/cust_statement.html +++ b/httemplate/view/cust_statement.html @@ -55,12 +55,6 @@ my $statementnum = $3; my $conf = new FS::Conf; -my @payby = grep /\w/, $conf->config('payby'); -#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP )) -@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP )) - unless @payby; -my %payby = map { $_=>1 } @payby; - my $cust_statement = qsearchs({ 'select' => 'cust_statement.*', 'table' => 'cust_statement', |