diff options
author | ivan <ivan> | 2006-09-06 01:20:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-09-06 01:20:29 +0000 |
commit | 48880c96f2b7f6c738d7a5afa4a8d64e72ca317b (patch) | |
tree | 0db0caf824ab055a30f1cec0023d3738bda4b614 /bin/breakdown-bill-applications | |
parent | f65caab15d0107db8da6402bd2a1458989ee1d9c (diff) |
not done yet
Diffstat (limited to 'bin/breakdown-bill-applications')
-rw-r--r-- | bin/breakdown-bill-applications | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bin/breakdown-bill-applications b/bin/breakdown-bill-applications new file mode 100644 index 000000000..44c3e36b0 --- /dev/null +++ b/bin/breakdown-bill-applications @@ -0,0 +1,25 @@ +#!/usr/bin/perl -w + +use strict; +use FS::UID qw(adminsuidsetup dbh); +use FS::Record qw( qsearch ); +use FS::cust_bill_pay; +use FS::cust_credit_bill; + +$FS::CurrentUser::upgrade_hack = 1; +adminsuidsetup(shift) or die "Usage: breakdown-bill-applications username\n"; + +#quick and dirty conversion script if you have enough memory to throw at it + +my @tables = qw( cust_bill_pay cust_credit_bill ); + +my @apps = (); +foreach my $table { + push @apps, qsearch($table, + + +) { + +} + +foreach my $cust_bill_ |