[freeside-commits] freeside/httemplate/edit/cust_main billing.html,
1.3, 1.4
Ivan,,,
ivan at wavetail.420.am
Mon Nov 21 02:47:14 PST 2005
- Previous message: [freeside-commits]
freeside/FS/FS Conf.pm, 1.144, 1.145 cust_main.pm,
1.201, 1.202 cust_pay.pm, 1.43, 1.44 cust_refund.pm, 1.25,
1.26 cust_pay_void.pm, 1.2, 1.3
- Next message: [freeside-commits] freeside/httemplate/view/cust_main
payment_history.html, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail:/tmp/cvs-serv1481/httemplate/edit/cust_main
Modified Files:
billing.html
Log Message:
add MCRD payment type for manually processed ccards
Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- billing.html 21 Oct 2005 15:21:37 -0000 1.3
+++ billing.html 21 Nov 2005 10:47:11 -0000 1.4
@@ -331,6 +331,22 @@
'</TABLE>',
+ 'MCRD' =>
+
+ '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
+
+ qq!<TR><TD ALIGN="right" WIDTH="200">${r}Amount </TD>!.
+ qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="paid" VALUE="!. ( $payby eq 'MCRD' ? $cust_main->paid : '' ). qq!"></TD></TR>!.
+
+ '<TR><TD> </TD></TR>'.
+ '<TR><TD> </TD></TR>'.
+ '<TR><TD> </TD></TR>'.
+ '<TR><TD> </TD></TR>'.
+ '<TR><TD> </TD></TR>'.
+ '<TR><TD> </TD></TR>'.
+
+ '</TABLE>',
+
);
@@ -341,11 +357,12 @@
'BILL' => 'Billing',
'CASH' => 'Cash', # initial payment, then billing',
'WEST' => 'Western Union', # initial payment, then billing',
+ 'MCRD' => 'Manual credit card', # initial payment, then billing',
'COMP' => 'Complimentary',
);
- if ( $cust_main->custnum ) { #don't offer CASH and WEST initial payment types
+ if ( $cust_main->custnum ) { #don't offer CASH/WEST/MCRD initial payment types
# when editing customer
- delete $allopt{$_} for qw(CASH WEST);
+ delete $allopt{$_} for qw(CASH WEST MCRD);
}
tie my %options, 'Tie::IxHash',
@@ -365,7 +382,7 @@
#'form_action' => 'nothingyet',
#chops bottom of page in IE# 'under_position' => 'absolute',
'html_between' => '</TD></TR></TABLE>',
- 'selected_layer' => $payby2option{$payby} || 'CARD',
+ 'selected_layer' => $payby2option{$payby || $payby_default || $payby[0] },
'layer_callback' => sub { my $layer = shift; $payby{$layer}; },
);
- Previous message: [freeside-commits]
freeside/FS/FS Conf.pm, 1.144, 1.145 cust_main.pm,
1.201, 1.202 cust_pay.pm, 1.43, 1.44 cust_refund.pm, 1.25,
1.26 cust_pay_void.pm, 1.2, 1.3
- Next message: [freeside-commits] freeside/httemplate/view/cust_main
payment_history.html, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list