[freeside-commits] freeside/FS/FS cust_main.pm, 1.271.2.57, 1.271.2.58
Ivan,,,
ivan at wavetail.420.am
Fri Sep 12 00:10:06 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27453
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_main.pm
Log Message:
don't throw noisy warnings about missing new recur_temporality, RT#3851
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.271.2.57
retrieving revision 1.271.2.58
diff -u -d -r1.271.2.57 -r1.271.2.58
--- cust_main.pm 12 Sep 2008 00:41:25 -0000 1.271.2.57
+++ cust_main.pm 12 Sep 2008 07:10:02 -0000 1.271.2.58
@@ -2104,10 +2104,10 @@
'details' => \@details,
});
- if ( $part_pkg->option('recur_temporality') eq 'preceding' ) {
+ if ( $part_pkg->option('recur_temporality', 1) eq 'preceding' ) {
$cust_bill_pkg->sdate( $hash{last_bill} );
$cust_bill_pkg->edate( $sdate - 86399 ); #60s*60m*24h-1
- } else { #if ( $part_pkg->option('recur_temporality') eq 'upcoming' ) {
+ } else { #if ( $part_pkg->option('recur_temporality', 1) eq 'upcoming' ) {
$cust_bill_pkg->sdate( $sdate );
$cust_bill_pkg->edate( $cust_pkg->bill );
}
More information about the freeside-commits
mailing list