projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket #32906 A2billing credit limit
[freeside.git]
/
FS
/
FS
/
part_export
/
a2billing.pm
diff --git
a/FS/FS/part_export/a2billing.pm
b/FS/FS/part_export/a2billing.pm
index
0547a21
..
f0e979f
100644
(file)
--- a/
FS/FS/part_export/a2billing.pm
+++ b/
FS/FS/part_export/a2billing.pm
@@
-131,7
+131,7
@@
sub export_insert {
username => $username,
useralias => $username,
uipass => $svc->_password,
username => $username,
useralias => $username,
uipass => $svc->_password,
- credit => $self->option('credit') || 0,
+ credit => $
cust_main->credit_limit || $
self->option('credit') || 0,
tariff => $part_pkg->option('a2billing_tariff'),
status => 1,
lastname => $cust_main->last, # $svc->finger?
tariff => $part_pkg->option('a2billing_tariff'),
status => 1,
lastname => $cust_main->last, # $svc->finger?
@@
-142,6
+142,7
@@
sub export_insert {
state => $location->state,
country => $country3,
zipcode => $location->zip,
state => $location->state,
country => $country3,
zipcode => $location->zip,
+ simultaccess => $part_pkg->option('a2billing_simultaccess'),
typepaid => $part_pkg->option('a2billing_type'),
sip_buddy => 1,
company_name => $cust_main->company,
typepaid => $part_pkg->option('a2billing_type'),
sip_buddy => 1,
company_name => $cust_main->company,