projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NG auth: fix new customer, remove mapsecrets support, RT#21563
[freeside.git]
/
FS
/
bin
/
freeside-ipifony-download
diff --git
a/FS/bin/freeside-ipifony-download
b/FS/bin/freeside-ipifony-download
index
36d3e8e
..
9df4db0
100644
(file)
--- a/
FS/bin/freeside-ipifony-download
+++ b/
FS/bin/freeside-ipifony-download
@@
-185,7
+185,7
@@
FILE: foreach my $filename (@$files) {
my $amount = sprintf('%.2f',$hash{quantity} * $hash{unit_price});
# construct arguments for $cust_main->charge
my %charge_opt = (
my $amount = sprintf('%.2f',$hash{quantity} * $hash{unit_price});
# construct arguments for $cust_main->charge
my %charge_opt = (
- amount => $
amount
,
+ amount => $
hash{unit_price}
,
quantity => $hash{quantity},
start_date => $cust_main->next_bill_date,
pkg => $hash{date_desc} .
quantity => $hash{quantity},
start_date => $cust_main->next_bill_date,
pkg => $hash{date_desc} .
@@
-223,7
+223,7
@@
FILE: foreach my $filename (@$files) {
$num_errors++;
} else {
$num_charges++;
$num_errors++;
} else {
$num_charges++;
- $sum_charges += $
hash{amount}
;
+ $sum_charges += $
amount
;
}
if ( $opt{e} and $is_e911{$hash{classname}} ) {
}
if ( $opt{e} and $is_e911{$hash{classname}} ) {