[freeside-commits] freeside/httemplate/edit/process cust_pay.cgi, 1.16, 1.17 part_pkg.cgi, 1.43, 1.44

Jeff Finucane,420,, jeff at wavetail.420.am
Wed Sep 22 12:16:22 PDT 2010


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

Modified Files:
	cust_pay.cgi part_pkg.cgi 
Log Message:
prepayment discounts rt#5318

Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_pay.cgi,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -w -d -r1.16 -r1.17
--- cust_pay.cgi	9 Apr 2010 08:18:24 -0000	1.16
+++ cust_pay.cgi	22 Sep 2010 19:16:20 -0000	1.17
@@ -47,7 +47,7 @@
   map {
     $_, scalar($cgi->param($_));
   } qw( paid payby payinfo paybatch
-        pkgnum
+        pkgnum discount_term
       )
   #} fields('cust_pay')
 } );

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/part_pkg.cgi,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -w -d -r1.43 -r1.44
--- part_pkg.cgi	15 Jan 2010 03:59:37 -0000	1.43
+++ part_pkg.cgi	22 Sep 2010 19:16:20 -0000	1.44
@@ -160,6 +160,12 @@
     'target_table' => 'tax_class',
     'params'       => \@tax_overrides,
   },
+  { 'link_table'   => 'part_pkg_discount',
+    'target_table' => 'discount',
+    'params'       => [ map $cgi->param($_),
+                        grep /^discountnum/, $cgi->param
+                      ],
+  },
   { 'link_table'   => 'part_pkg_link',
     'target_table' => 'part_pkg',
     'base_field'   => 'src_pkgpart',



More information about the freeside-commits mailing list