|
@@ -21,14 +21,14 @@ class DatabaseSeeder extends Seeder
|
21
|
21
|
->state([
|
22
|
22
|
'name' => 'ERPSAAS',
|
23
|
23
|
])
|
24
|
|
- ->withTransactions()
|
|
24
|
+ ->withTransactions(250)
|
25
|
25
|
->withOfferings()
|
26
|
26
|
->withClients()
|
27
|
27
|
->withVendors()
|
28
|
|
- ->withInvoices(50)
|
|
28
|
+ ->withInvoices(30)
|
29
|
29
|
->withRecurringInvoices()
|
30
|
|
- ->withEstimates(50)
|
31
|
|
- ->withBills(50);
|
|
30
|
+ ->withEstimates(30)
|
|
31
|
+ ->withBills(30);
|
32
|
32
|
})
|
33
|
33
|
->create([
|
34
|
34
|
'name' => 'Admin',
|
|
@@ -37,11 +37,15 @@ class DatabaseSeeder extends Seeder
|
37
|
37
|
'current_company_id' => 1, // Assuming this will be the ID of the created company
|
38
|
38
|
]);
|
39
|
39
|
|
|
40
|
+ // Only use en locale for now
|
40
|
41
|
$additionalCompanies = [
|
41
|
|
- ['name' => 'European Retail GmbH', 'country' => 'DE', 'currency' => 'EUR', 'locale' => 'en'],
|
42
|
|
- ['name' => 'UK Services Ltd', 'country' => 'GB', 'currency' => 'GBP', 'locale' => 'en'],
|
43
|
|
- ['name' => 'Canadian Manufacturing Inc', 'country' => 'CA', 'currency' => 'CAD', 'locale' => 'en'],
|
44
|
|
- ['name' => 'Australian Hospitality Pty', 'country' => 'AU', 'currency' => 'AUD', 'locale' => 'en'],
|
|
42
|
+ ['name' => 'British Crown Analytics', 'country' => 'GB', 'currency' => 'GBP', 'locale' => 'en'],
|
|
43
|
+ ['name' => 'Swiss Precision Group', 'country' => 'CH', 'currency' => 'CHF', 'locale' => 'en'],
|
|
44
|
+ ['name' => 'Tokyo Future Technologies', 'country' => 'JP', 'currency' => 'JPY', 'locale' => 'en'],
|
|
45
|
+ ['name' => 'Sydney Harbor Systems', 'country' => 'AU', 'currency' => 'AUD', 'locale' => 'en'],
|
|
46
|
+ ['name' => 'Mumbai Software Services', 'country' => 'IN', 'currency' => 'INR', 'locale' => 'en'],
|
|
47
|
+ ['name' => 'Singapore Digital Hub', 'country' => 'SG', 'currency' => 'SGD', 'locale' => 'en'],
|
|
48
|
+ ['name' => 'Dubai Business Consulting', 'country' => 'AE', 'currency' => 'AED', 'locale' => 'en'],
|
45
|
49
|
];
|
46
|
50
|
|
47
|
51
|
foreach ($additionalCompanies as $companyData) {
|
|
@@ -57,7 +61,7 @@ class DatabaseSeeder extends Seeder
|
57
|
61
|
->withOfferings()
|
58
|
62
|
->withClients()
|
59
|
63
|
->withVendors()
|
60
|
|
- ->withInvoices(20)
|
|
64
|
+ ->withInvoices(15)
|
61
|
65
|
->withRecurringInvoices()
|
62
|
66
|
->withEstimates(15)
|
63
|
67
|
->withBills(15)
|