diff options
author | ivan <ivan> | 2002-02-10 02:16:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-02-10 02:16:47 +0000 |
commit | c828daa905491e65deb30a2ed34af609cdb96b99 (patch) | |
tree | 3716828b64701eceeea4e2f95ba44a3ff60c49cf /httemplate/edit/process | |
parent | 298b8d9a262265fe7106da1ff552ce6778237034 (diff) |
pro-rating w/ web interface, tested (closes: Bug#313).
view/cust_bill.cgi invoice view shows invoice events!
fix bug where adding events with no name silently failed instead of giving
an error
add new comission plans
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/part_bill_event.cgi | 1 | ||||
-rwxr-xr-x | httemplate/edit/process/part_pkg.cgi | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/httemplate/edit/process/part_bill_event.cgi b/httemplate/edit/process/part_bill_event.cgi index 7c0b54d0d..1716c71b9 100755 --- a/httemplate/edit/process/part_bill_event.cgi +++ b/httemplate/edit/process/part_bill_event.cgi @@ -34,7 +34,6 @@ if ( ! $cgi->param('plan_weight_eventcode') ) { } fields('part_bill_event'), } ); - my $error; if ( $eventpart ) { $error = $new->replace($old); } else { diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi index 5240d8cc2..9ad1527a1 100755 --- a/httemplate/edit/process/part_pkg.cgi +++ b/httemplate/edit/process/part_pkg.cgi @@ -1,4 +1,4 @@ -<!-- $Id: part_pkg.cgi,v 1.8 2002-02-09 18:24:01 ivan Exp $ --> +<!-- $Id: part_pkg.cgi,v 1.9 2002-02-10 02:16:47 ivan Exp $ --> <% my $dbh = dbh; @@ -11,7 +11,7 @@ my $old = qsearchs('part_pkg',{'pkgpart'=>$pkgpart}) if $pkgpart; my $plandata = $cgi->param('plandata'); my @plandata = split(',', $plandata); $cgi->param('plandata', - join('', map { "$_=". $cgi->param($_). "\n" } @plandata ) + join('', map { "$_=". join(', ', $cgi->param($_)). "\n" } @plandata ) ); foreach (qw( setuptax recurtax disabled )) { |