Andrew Wallo 5 月之前
父節點
當前提交
33adc82660
共有 1 個檔案被更改,包括 13 行新增9 行删除
  1. 13
    9
      database/seeders/DatabaseSeeder.php

+ 13
- 9
database/seeders/DatabaseSeeder.php 查看文件

21
                     ->state([
21
                     ->state([
22
                         'name' => 'ERPSAAS',
22
                         'name' => 'ERPSAAS',
23
                     ])
23
                     ])
24
-                    ->withTransactions()
24
+                    ->withTransactions(250)
25
                     ->withOfferings()
25
                     ->withOfferings()
26
                     ->withClients()
26
                     ->withClients()
27
                     ->withVendors()
27
                     ->withVendors()
28
-                    ->withInvoices(50)
28
+                    ->withInvoices(30)
29
                     ->withRecurringInvoices()
29
                     ->withRecurringInvoices()
30
-                    ->withEstimates(50)
31
-                    ->withBills(50);
30
+                    ->withEstimates(30)
31
+                    ->withBills(30);
32
             })
32
             })
33
             ->create([
33
             ->create([
34
                 'name' => 'Admin',
34
                 'name' => 'Admin',
37
                 'current_company_id' => 1,  // Assuming this will be the ID of the created company
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
         $additionalCompanies = [
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
         foreach ($additionalCompanies as $companyData) {
51
         foreach ($additionalCompanies as $companyData) {
57
                 ->withOfferings()
61
                 ->withOfferings()
58
                 ->withClients()
62
                 ->withClients()
59
                 ->withVendors()
63
                 ->withVendors()
60
-                ->withInvoices(20)
64
+                ->withInvoices(15)
61
                 ->withRecurringInvoices()
65
                 ->withRecurringInvoices()
62
                 ->withEstimates(15)
66
                 ->withEstimates(15)
63
                 ->withBills(15)
67
                 ->withBills(15)

Loading…
取消
儲存