[freeside-commits] freeside/httemplate/misc/process timeworked.html, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Thu Sep 13 15:35:22 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail:/tmp/cvs-serv1827/httemplate/misc/process
Modified Files:
timeworked.html
Log Message:
rename svc_acct_rt_transaction to acct_rt_transaction, as it is not a service, its something that hangs off of an svc_acct (like an acct_snarf). thank goodness was able to do this before its any sort of migration problem...
Index: timeworked.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/timeworked.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- timeworked.html 17 Aug 2007 13:59:36 -0000 1.2
+++ timeworked.html 13 Sep 2007 22:35:20 -0000 1.3
@@ -11,7 +11,7 @@
my %multipliers = map { /^custnum(\d+)$/; ($cgi->param("custnum$1") => $cgi->param("multiplier$1")); }
grep /^custnum\d+$/, $cgi->param;
-my @svc_acct_rt_transaction;
+my @acct_rt_transaction;
foreach my $transaction (
map { /^transactionid(\d+)$/; $1; } grep /^transactionid\d+$/, $cgi->param
) {
@@ -35,7 +35,7 @@
}
foreach my $customer ( grep {$seconds{$_}} keys %seconds ) {
- push @svc_acct_rt_transaction, new FS::svc_acct_rt_transaction {
+ push @acct_rt_transaction, new FS::acct_rt_transaction {
'custnum' => $customer,
'transaction_id' => $transaction,
'seconds' => $seconds{$customer},
@@ -44,7 +44,7 @@
}
-my $error = FS::svc_acct_rt_transaction->batch_insert(@svc_acct_rt_transaction);
+my $error = FS::acct_rt_transaction->batch_insert(@acct_rt_transaction);
$cgi->param('error', $error) if $error;
</%init>
More information about the freeside-commits
mailing list