From: ivan Date: Wed, 6 Sep 2006 01:20:29 +0000 (+0000) Subject: not done yet X-Git-Tag: TRIXBOX_2_6~967 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=48880c96f2b7f6c738d7a5afa4a8d64e72ca317b;hp=f65caab15d0107db8da6402bd2a1458989ee1d9c;p=freeside.git not done yet --- 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_