[freeside-commits] branch master updated. c6782ab85ea83e0c78d85b8975985aac9d467f9d

Ivan ivan at 420.am
Sat Mar 2 23:36:42 PST 2013


The branch, master has been updated
       via  c6782ab85ea83e0c78d85b8975985aac9d467f9d (commit)
       via  854299338fd5d9f231f47202ef1b37c46f1d1d6c (commit)
       via  adc44171b41057d48d88f5b1a7a341841a723650 (commit)
       via  8a7cc604b89756a868dd3757b0b8148c588f887c (commit)
      from  6c063e24b90cd374623e2841045fe4c61bed8143 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c6782ab85ea83e0c78d85b8975985aac9d467f9d
Merge: 8542993 6c063e2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 2 23:36:31 2013 -0800

    Merge branch 'master' of git.freeside.biz:/home/git/freeside


commit 854299338fd5d9f231f47202ef1b37c46f1d1d6c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 2 23:32:20 2013 -0800

    doc

diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html
index c0cd7a5..42e91f0 100644
--- a/httemplate/elements/select-table.html
+++ b/httemplate/elements/select-table.html
@@ -8,7 +8,7 @@ Example:
     # required
     ##
     'table'          => 'table_name',
-    'name_col'       => 'name_column',
+    'name_col'       => 'name_column', #or method if you pass an order_by
    
     #strongly recommended (you want your forms to be "sticky" on errors, right?)
     'curr_value'     => 'current_value',

commit adc44171b41057d48d88f5b1a7a341841a723650
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 2 19:45:57 2013 -0800

    remove relics from before the upgrade kept the schema up-to-dateq

diff --git a/FS/FS/cust_main_county.pm b/FS/FS/cust_main_county.pm
index fb80809..9a4990a 100644
--- a/FS/FS/cust_main_county.pm
+++ b/FS/FS/cust_main_county.pm
@@ -137,33 +137,6 @@ sub check {
 
 }
 
-sub taxname {
-  my $self = shift;
-  if ( $self->dbdef_table->column('taxname') ) {
-    return $self->setfield('taxname', $_[0]) if @_;
-    return $self->getfield('taxname');
-  }  
-  return '';
-}
-
-sub setuptax {
-  my $self = shift;
-  if ( $self->dbdef_table->column('setuptax') ) {
-    return $self->setfield('setuptax', $_[0]) if @_;
-    return $self->getfield('setuptax');
-  }  
-  return '';
-}
-
-sub recurtax {
-  my $self = shift;
-  if ( $self->dbdef_table->column('recurtax') ) {
-    return $self->setfield('recurtax', $_[0]) if @_;
-    return $self->getfield('recurtax');
-  }  
-  return '';
-}
-
 =item label OPTIONS
 
 Returns a label looking like "Anytown, Alameda County, CA, US".

commit 8a7cc604b89756a868dd3757b0b8148c588f887c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Mar 2 19:42:35 2013 -0800

    pedant

diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm
index 05d961c..ba279a2 100644
--- a/FS/FS/cust_credit.pm
+++ b/FS/FS/cust_credit.pm
@@ -717,7 +717,7 @@ sub credit_lineitems {
   my %cust_bill_pkg = ();
   my %cust_credit_bill_pkg = ();
   my %taxlisthash = ();
-  my %unapplied_payments; #invoice numbers, and then billpaynums
+  my %unapplied_payments = (); #invoice numbers, and then billpaynums
   foreach my $billpkgnum ( @{$arg{billpkgnums}} ) {
     my $setuprecur = shift @{$arg{setuprecurs}};
     my $amount = shift @{$arg{amounts}};

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_credit.pm                  |    2 +-
 FS/FS/cust_main_county.pm             |   27 ---------------------------
 httemplate/elements/select-table.html |    2 +-
 3 files changed, 2 insertions(+), 29 deletions(-)




More information about the freeside-commits mailing list