projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix invoice sorting by package category, RT#31272
[freeside.git]
/
FS
/
FS
/
Setup.pm
diff --git
a/FS/FS/Setup.pm
b/FS/FS/Setup.pm
index
e2c5a5a
..
cac26c1
100644
(file)
--- a/
FS/FS/Setup.pm
+++ b/
FS/FS/Setup.pm
@@
-209,6
+209,14
@@
sub populate_initial_data {
sub initial_data {
my %opt = @_;
sub initial_data {
my %opt = @_;
+ my $cust_location = FS::cust_location->new({
+ 'address1' => '1234 System Lane',
+ 'city' => 'Systemtown',
+ 'state' => 'CA',
+ 'zip' => '54321',
+ 'country' => 'US',
+ });
+
#tie my %hash, 'Tie::DxHash',
tie my %hash, 'Tie::IxHash',
#tie my %hash, 'Tie::DxHash',
tie my %hash, 'Tie::IxHash',
@@
-351,14
+359,11
@@
sub initial_data {
'refnum' => 1, #XXX
'first' => 'System',
'last' => 'Accounts',
'refnum' => 1, #XXX
'first' => 'System',
'last' => 'Accounts',
- 'address1' => '1234 System Lane',
- 'city' => 'Systemtown',
- 'state' => 'CA',
- 'zip' => '54321',
- 'country' => 'US',
'payby' => 'COMP',
'payinfo' => 'system', #or something
'paydate' => '1/2037',
'payby' => 'COMP',
'payinfo' => 'system', #or something
'paydate' => '1/2037',
+ 'bill_location' => $cust_location,
+ 'ship_location' => $cust_location,
},
],
},
],
@@
-395,6
+400,9
@@
sub initial_data {
#phone types
'phone_type' => [],
#phone types
'phone_type' => [],
+ #message templates
+ 'msg_template' => [],
+
;
\%hash;
;
\%hash;
@@
-405,6
+413,7
@@
sub populate_access {
use FS::AccessRight;
use FS::access_right;
use FS::AccessRight;
use FS::access_right;
+ use FS::access_groupagent;
foreach my $rightname ( FS::AccessRight->default_superuser_rights ) {
my $access_right = new FS::access_right {
foreach my $rightname ( FS::AccessRight->default_superuser_rights ) {
my $access_right = new FS::access_right {