[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.91, 1.92

Ivan,,, ivan at wavetail.420.am
Tue Jun 17 16:57:23 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv5692

Modified Files:
	part_pkg.cgi 
Log Message:
don't lose the pricing on package cloning w/new package editor

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- part_pkg.cgi	12 Jun 2008 21:53:32 -0000	1.91
+++ part_pkg.cgi	17 Jun 2008 23:57:20 -0000	1.92
@@ -212,11 +212,10 @@
     %options = $clone_part_pkg->options;
   } else {
     $part_pkg = FS::part_pkg->new( $hashref );
+    $part_pkg->set($_ => '0')
+      foreach (qw( setup_fee recur_fee ));
   }
 
-  $part_pkg->set($_ => '0')
-    foreach (qw( setup_fee recur_fee ));
-
   $part_pkg;
 
 };



More information about the freeside-commits mailing list