[freeside-commits] freeside/FS/FS payby.pm,1.11.2.1,1.11.2.2
Ivan,,,
ivan at wavetail.420.am
Tue Sep 2 18:46:46 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv6706/FS/FS
Modified Files:
Tag: FREESIDE_1_7_BRANCH
payby.pm
Log Message:
add back ability to post a check/cash refund. be more explicit about it instead of just being a checkbox when posting a credit. RT#3812
Index: payby.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/payby.pm,v
retrieving revision 1.11.2.1
retrieving revision 1.11.2.2
diff -u -d -r1.11.2.1 -r1.11.2.2
--- payby.pm 19 May 2008 04:07:04 -0000 1.11.2.1
+++ payby.pm 3 Sep 2008 01:46:44 -0000 1.11.2.2
@@ -74,6 +74,7 @@
'BILL' => {
tinyname => 'billing',
shortname => 'Billing',
+ payname => 'Check',
longname => 'Billing',
},
'PREP' => {
@@ -150,6 +151,14 @@
$hash{$payby}->{shortname};
}
+sub payname {
+ my( $self, $payby ) = @_;
+ #$hash{$payby}->{payname} || $hash{$payby}->{shortname};
+ exists($hash{$payby}->{payname})
+ ? $hash{$payby}->{payname}
+ : $hash{$payby}->{shortname};
+}
+
sub longname {
my( $self, $payby ) = @_;
$hash{$payby}->{longname};
More information about the freeside-commits
mailing list