Przeglądaj źródła

wip invoicing

3.x
Andrew Wallo 11 miesięcy temu
rodzic
commit
c91c75f2fd

+ 12
- 0
app/Models/Client.php Wyświetl plik

@@ -0,0 +1,12 @@
1
+<?php
2
+
3
+namespace App\Models;
4
+
5
+use Illuminate\Database\Eloquent\Factories\HasFactory;
6
+use Illuminate\Database\Eloquent\Model;
7
+
8
+class Client extends Model
9
+{
10
+    /** @use HasFactory<\Database\Factories\ClientFactory> */
11
+    use HasFactory;
12
+}

+ 12
- 0
app/Models/Document.php Wyświetl plik

@@ -0,0 +1,12 @@
1
+<?php
2
+
3
+namespace App\Models;
4
+
5
+use Illuminate\Database\Eloquent\Factories\HasFactory;
6
+use Illuminate\Database\Eloquent\Model;
7
+
8
+class Document extends Model
9
+{
10
+    /** @use HasFactory<\Database\Factories\DocumentFactory> */
11
+    use HasFactory;
12
+}

+ 12
- 0
app/Models/DocumentLineItem.php Wyświetl plik

@@ -0,0 +1,12 @@
1
+<?php
2
+
3
+namespace App\Models;
4
+
5
+use Illuminate\Database\Eloquent\Factories\HasFactory;
6
+use Illuminate\Database\Eloquent\Model;
7
+
8
+class DocumentLineItem extends Model
9
+{
10
+    /** @use HasFactory<\Database\Factories\DocumentLineItemFactory> */
11
+    use HasFactory;
12
+}

+ 50
- 0
app/Models/Offering.php Wyświetl plik

@@ -0,0 +1,50 @@
1
+<?php
2
+
3
+namespace App\Models;
4
+
5
+use App\Concerns\CompanyOwned;
6
+use App\Models\Accounting\Account;
7
+use App\Models\Setting\Discount;
8
+use App\Models\Setting\Tax;
9
+use Illuminate\Database\Eloquent\Factories\HasFactory;
10
+use Illuminate\Database\Eloquent\Model;
11
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
12
+use Illuminate\Database\Eloquent\Relations\MorphToMany;
13
+
14
+class Offering extends Model
15
+{
16
+    use CompanyOwned;
17
+    use HasFactory;
18
+
19
+    protected $fillable = [
20
+        'company_id',
21
+        'name',
22
+        'description',
23
+        'type',
24
+        'price',
25
+        'income_account_id',
26
+        'expense_account_id',
27
+    ];
28
+
29
+    public function incomeAccount(): BelongsTo
30
+    {
31
+        return $this->belongsTo(Account::class, 'income_account_id');
32
+    }
33
+
34
+    public function expenseAccount(): BelongsTo
35
+    {
36
+        return $this->belongsTo(Account::class, 'expense_account_id');
37
+    }
38
+
39
+    public function taxes(): MorphToMany
40
+    {
41
+        return $this->morphToMany(Tax::class, 'adjustmentable', 'adjustmentables')
42
+            ->wherePivot('adjustment_type', Tax::class);
43
+    }
44
+
45
+    public function discounts(): MorphToMany
46
+    {
47
+        return $this->morphToMany(Discount::class, 'adjustmentable', 'adjustmentables')
48
+            ->wherePivot('adjustment_type', Discount::class);
49
+    }
50
+}

+ 12
- 0
app/Models/Payment.php Wyświetl plik

@@ -0,0 +1,12 @@
1
+<?php
2
+
3
+namespace App\Models;
4
+
5
+use Illuminate\Database\Eloquent\Factories\HasFactory;
6
+use Illuminate\Database\Eloquent\Model;
7
+
8
+class Payment extends Model
9
+{
10
+    /** @use HasFactory<\Database\Factories\PaymentFactory> */
11
+    use HasFactory;
12
+}

+ 6
- 0
app/Models/Setting/Discount.php Wyświetl plik

@@ -15,6 +15,7 @@ use Illuminate\Database\Eloquent\Factories\Factory;
15 15
 use Illuminate\Database\Eloquent\Factories\HasFactory;
16 16
 use Illuminate\Database\Eloquent\Model;
17 17
 use Illuminate\Database\Eloquent\Relations\HasOne;
18
+use Illuminate\Database\Eloquent\Relations\MorphTo;
18 19
 
19 20
 class Discount extends Model
20 21
 {
@@ -63,6 +64,11 @@ class Discount extends Model
63 64
         return $this->hasOne(CompanyDefault::class, 'purchase_discount_id');
64 65
     }
65 66
 
67
+    public function adjustmentables(): MorphTo
68
+    {
69
+        return $this->morphTo();
70
+    }
71
+
66 72
     protected static function newFactory(): Factory
67 73
     {
68 74
         return DiscountFactory::new();

+ 6
- 0
app/Models/Setting/Tax.php Wyświetl plik

@@ -15,6 +15,7 @@ use Illuminate\Database\Eloquent\Factories\Factory;
15 15
 use Illuminate\Database\Eloquent\Factories\HasFactory;
16 16
 use Illuminate\Database\Eloquent\Model;
17 17
 use Illuminate\Database\Eloquent\Relations\HasOne;
18
+use Illuminate\Database\Eloquent\Relations\MorphTo;
18 19
 
19 20
 class Tax extends Model
20 21
 {
@@ -59,6 +60,11 @@ class Tax extends Model
59 60
         return $this->hasOne(CompanyDefault::class, 'purchase_tax_id');
60 61
     }
61 62
 
63
+    public function adjustmentables(): MorphTo
64
+    {
65
+        return $this->morphTo();
66
+    }
67
+
62 68
     protected static function newFactory(): Factory
63 69
     {
64 70
         return TaxFactory::new();

+ 12
- 0
app/Models/Vendor.php Wyświetl plik

@@ -0,0 +1,12 @@
1
+<?php
2
+
3
+namespace App\Models;
4
+
5
+use Illuminate\Database\Eloquent\Factories\HasFactory;
6
+use Illuminate\Database\Eloquent\Model;
7
+
8
+class Vendor extends Model
9
+{
10
+    /** @use HasFactory<\Database\Factories\VendorFactory> */
11
+    use HasFactory;
12
+}

+ 99
- 99
composer.lock Wyświetl plik

@@ -77,16 +77,16 @@
77 77
         },
78 78
         {
79 79
             "name": "andrewdwallo/filament-companies",
80
-            "version": "v4.0.5",
80
+            "version": "v4.0.6",
81 81
             "source": {
82 82
                 "type": "git",
83 83
                 "url": "https://github.com/andrewdwallo/filament-companies.git",
84
-                "reference": "0776c78780cd11d7165a316a692b82947e0cf96f"
84
+                "reference": "d45c96f2a1baff0b1579513e4ef176b59322b8bb"
85 85
             },
86 86
             "dist": {
87 87
                 "type": "zip",
88
-                "url": "https://api.github.com/repos/andrewdwallo/filament-companies/zipball/0776c78780cd11d7165a316a692b82947e0cf96f",
89
-                "reference": "0776c78780cd11d7165a316a692b82947e0cf96f",
88
+                "url": "https://api.github.com/repos/andrewdwallo/filament-companies/zipball/d45c96f2a1baff0b1579513e4ef176b59322b8bb",
89
+                "reference": "d45c96f2a1baff0b1579513e4ef176b59322b8bb",
90 90
                 "shasum": ""
91 91
             },
92 92
             "require": {
@@ -150,9 +150,9 @@
150 150
             ],
151 151
             "support": {
152 152
                 "issues": "https://github.com/andrewdwallo/filament-companies/issues",
153
-                "source": "https://github.com/andrewdwallo/filament-companies/tree/v4.0.5"
153
+                "source": "https://github.com/andrewdwallo/filament-companies/tree/v4.0.6"
154 154
             },
155
-            "time": "2024-07-28T04:42:23+00:00"
155
+            "time": "2024-11-13T23:20:24+00:00"
156 156
         },
157 157
         {
158 158
             "name": "andrewdwallo/filament-selectify",
@@ -368,20 +368,20 @@
368 368
         },
369 369
         {
370 370
             "name": "awcodes/filament-table-repeater",
371
-            "version": "v3.0.5",
371
+            "version": "v3.1.0",
372 372
             "source": {
373 373
                 "type": "git",
374 374
                 "url": "https://github.com/awcodes/filament-table-repeater.git",
375
-                "reference": "5140e21290a99dea460cec85f1ef015aedbbcf57"
375
+                "reference": "beaa9cdb25b4211b00c675bbcbf2584cd777536c"
376 376
             },
377 377
             "dist": {
378 378
                 "type": "zip",
379
-                "url": "https://api.github.com/repos/awcodes/filament-table-repeater/zipball/5140e21290a99dea460cec85f1ef015aedbbcf57",
380
-                "reference": "5140e21290a99dea460cec85f1ef015aedbbcf57",
379
+                "url": "https://api.github.com/repos/awcodes/filament-table-repeater/zipball/beaa9cdb25b4211b00c675bbcbf2584cd777536c",
380
+                "reference": "beaa9cdb25b4211b00c675bbcbf2584cd777536c",
381 381
                 "shasum": ""
382 382
             },
383 383
             "require": {
384
-                "filament/forms": "^3.1",
384
+                "filament/forms": "^3.2.116",
385 385
                 "php": "^8.1",
386 386
                 "spatie/laravel-package-tools": "^1.13.5"
387 387
             },
@@ -431,7 +431,7 @@
431 431
             ],
432 432
             "support": {
433 433
                 "issues": "https://github.com/awcodes/filament-table-repeater/issues",
434
-                "source": "https://github.com/awcodes/filament-table-repeater/tree/v3.0.5"
434
+                "source": "https://github.com/awcodes/filament-table-repeater/tree/v3.1.0"
435 435
             },
436 436
             "funding": [
437 437
                 {
@@ -439,7 +439,7 @@
439 439
                     "type": "github"
440 440
                 }
441 441
             ],
442
-            "time": "2024-07-18T16:02:26+00:00"
442
+            "time": "2024-11-13T18:07:04+00:00"
443 443
         },
444 444
         {
445 445
             "name": "aws/aws-crt-php",
@@ -497,16 +497,16 @@
497 497
         },
498 498
         {
499 499
             "name": "aws/aws-sdk-php",
500
-            "version": "3.325.7",
500
+            "version": "3.326.0",
501 501
             "source": {
502 502
                 "type": "git",
503 503
                 "url": "https://github.com/aws/aws-sdk-php.git",
504
-                "reference": "55852104253172e66c3358bf4c35281bbd8622b2"
504
+                "reference": "5420284de9aad84e375fa8012cefd834bebfd623"
505 505
             },
506 506
             "dist": {
507 507
                 "type": "zip",
508
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/55852104253172e66c3358bf4c35281bbd8622b2",
509
-                "reference": "55852104253172e66c3358bf4c35281bbd8622b2",
508
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/5420284de9aad84e375fa8012cefd834bebfd623",
509
+                "reference": "5420284de9aad84e375fa8012cefd834bebfd623",
510 510
                 "shasum": ""
511 511
             },
512 512
             "require": {
@@ -589,9 +589,9 @@
589 589
             "support": {
590 590
                 "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
591 591
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
592
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.325.7"
592
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.326.0"
593 593
             },
594
-            "time": "2024-11-12T19:27:31+00:00"
594
+            "time": "2024-11-13T19:07:44+00:00"
595 595
         },
596 596
         {
597 597
             "name": "aws/aws-sdk-php-laravel",
@@ -1664,16 +1664,16 @@
1664 1664
         },
1665 1665
         {
1666 1666
             "name": "filament/actions",
1667
-            "version": "v3.2.123",
1667
+            "version": "v3.2.124",
1668 1668
             "source": {
1669 1669
                 "type": "git",
1670 1670
                 "url": "https://github.com/filamentphp/actions.git",
1671
-                "reference": "de0a2c9d453ceb6546b1a804a8240d0b8367b1ce"
1671
+                "reference": "631b38a36f5209a3884182acee60a0db682c6d24"
1672 1672
             },
1673 1673
             "dist": {
1674 1674
                 "type": "zip",
1675
-                "url": "https://api.github.com/repos/filamentphp/actions/zipball/de0a2c9d453ceb6546b1a804a8240d0b8367b1ce",
1676
-                "reference": "de0a2c9d453ceb6546b1a804a8240d0b8367b1ce",
1675
+                "url": "https://api.github.com/repos/filamentphp/actions/zipball/631b38a36f5209a3884182acee60a0db682c6d24",
1676
+                "reference": "631b38a36f5209a3884182acee60a0db682c6d24",
1677 1677
                 "shasum": ""
1678 1678
             },
1679 1679
             "require": {
@@ -1713,20 +1713,20 @@
1713 1713
                 "issues": "https://github.com/filamentphp/filament/issues",
1714 1714
                 "source": "https://github.com/filamentphp/filament"
1715 1715
             },
1716
-            "time": "2024-11-06T08:50:46+00:00"
1716
+            "time": "2024-11-13T16:35:31+00:00"
1717 1717
         },
1718 1718
         {
1719 1719
             "name": "filament/filament",
1720
-            "version": "v3.2.123",
1720
+            "version": "v3.2.124",
1721 1721
             "source": {
1722 1722
                 "type": "git",
1723 1723
                 "url": "https://github.com/filamentphp/panels.git",
1724
-                "reference": "5c4bf4225106e5d2a1348de4e717a1ef8432b332"
1724
+                "reference": "3f170b1c57033ad8e9e6bd71f3dc3f0665bf3ae9"
1725 1725
             },
1726 1726
             "dist": {
1727 1727
                 "type": "zip",
1728
-                "url": "https://api.github.com/repos/filamentphp/panels/zipball/5c4bf4225106e5d2a1348de4e717a1ef8432b332",
1729
-                "reference": "5c4bf4225106e5d2a1348de4e717a1ef8432b332",
1728
+                "url": "https://api.github.com/repos/filamentphp/panels/zipball/3f170b1c57033ad8e9e6bd71f3dc3f0665bf3ae9",
1729
+                "reference": "3f170b1c57033ad8e9e6bd71f3dc3f0665bf3ae9",
1730 1730
                 "shasum": ""
1731 1731
             },
1732 1732
             "require": {
@@ -1778,20 +1778,20 @@
1778 1778
                 "issues": "https://github.com/filamentphp/filament/issues",
1779 1779
                 "source": "https://github.com/filamentphp/filament"
1780 1780
             },
1781
-            "time": "2024-11-06T08:50:55+00:00"
1781
+            "time": "2024-11-13T16:35:35+00:00"
1782 1782
         },
1783 1783
         {
1784 1784
             "name": "filament/forms",
1785
-            "version": "v3.2.123",
1785
+            "version": "v3.2.124",
1786 1786
             "source": {
1787 1787
                 "type": "git",
1788 1788
                 "url": "https://github.com/filamentphp/forms.git",
1789
-                "reference": "f75386dc6f3c41fd3178265a71806f1ed4be0478"
1789
+                "reference": "c73351c086036bd8de24e8671fd97018942d6d61"
1790 1790
             },
1791 1791
             "dist": {
1792 1792
                 "type": "zip",
1793
-                "url": "https://api.github.com/repos/filamentphp/forms/zipball/f75386dc6f3c41fd3178265a71806f1ed4be0478",
1794
-                "reference": "f75386dc6f3c41fd3178265a71806f1ed4be0478",
1793
+                "url": "https://api.github.com/repos/filamentphp/forms/zipball/c73351c086036bd8de24e8671fd97018942d6d61",
1794
+                "reference": "c73351c086036bd8de24e8671fd97018942d6d61",
1795 1795
                 "shasum": ""
1796 1796
             },
1797 1797
             "require": {
@@ -1834,20 +1834,20 @@
1834 1834
                 "issues": "https://github.com/filamentphp/filament/issues",
1835 1835
                 "source": "https://github.com/filamentphp/filament"
1836 1836
             },
1837
-            "time": "2024-11-06T08:50:57+00:00"
1837
+            "time": "2024-11-13T16:35:31+00:00"
1838 1838
         },
1839 1839
         {
1840 1840
             "name": "filament/infolists",
1841
-            "version": "v3.2.123",
1841
+            "version": "v3.2.124",
1842 1842
             "source": {
1843 1843
                 "type": "git",
1844 1844
                 "url": "https://github.com/filamentphp/infolists.git",
1845
-                "reference": "2d934d4d7f420fc1165ced33df0959a656163a0c"
1845
+                "reference": "7946035f47746e69ff9d98bfed04b0248000ee2e"
1846 1846
             },
1847 1847
             "dist": {
1848 1848
                 "type": "zip",
1849
-                "url": "https://api.github.com/repos/filamentphp/infolists/zipball/2d934d4d7f420fc1165ced33df0959a656163a0c",
1850
-                "reference": "2d934d4d7f420fc1165ced33df0959a656163a0c",
1849
+                "url": "https://api.github.com/repos/filamentphp/infolists/zipball/7946035f47746e69ff9d98bfed04b0248000ee2e",
1850
+                "reference": "7946035f47746e69ff9d98bfed04b0248000ee2e",
1851 1851
                 "shasum": ""
1852 1852
             },
1853 1853
             "require": {
@@ -1885,11 +1885,11 @@
1885 1885
                 "issues": "https://github.com/filamentphp/filament/issues",
1886 1886
                 "source": "https://github.com/filamentphp/filament"
1887 1887
             },
1888
-            "time": "2024-10-24T13:47:00+00:00"
1888
+            "time": "2024-11-13T16:35:31+00:00"
1889 1889
         },
1890 1890
         {
1891 1891
             "name": "filament/notifications",
1892
-            "version": "v3.2.123",
1892
+            "version": "v3.2.124",
1893 1893
             "source": {
1894 1894
                 "type": "git",
1895 1895
                 "url": "https://github.com/filamentphp/notifications.git",
@@ -1941,16 +1941,16 @@
1941 1941
         },
1942 1942
         {
1943 1943
             "name": "filament/support",
1944
-            "version": "v3.2.123",
1944
+            "version": "v3.2.124",
1945 1945
             "source": {
1946 1946
                 "type": "git",
1947 1947
                 "url": "https://github.com/filamentphp/support.git",
1948
-                "reference": "e7174cee7e1d08205f7120d0dcc0d00d9bdd4d32"
1948
+                "reference": "13b1e485d3bc993950c9e61a3f6a8cb05efd2b96"
1949 1949
             },
1950 1950
             "dist": {
1951 1951
                 "type": "zip",
1952
-                "url": "https://api.github.com/repos/filamentphp/support/zipball/e7174cee7e1d08205f7120d0dcc0d00d9bdd4d32",
1953
-                "reference": "e7174cee7e1d08205f7120d0dcc0d00d9bdd4d32",
1952
+                "url": "https://api.github.com/repos/filamentphp/support/zipball/13b1e485d3bc993950c9e61a3f6a8cb05efd2b96",
1953
+                "reference": "13b1e485d3bc993950c9e61a3f6a8cb05efd2b96",
1954 1954
                 "shasum": ""
1955 1955
             },
1956 1956
             "require": {
@@ -1996,20 +1996,20 @@
1996 1996
                 "issues": "https://github.com/filamentphp/filament/issues",
1997 1997
                 "source": "https://github.com/filamentphp/filament"
1998 1998
             },
1999
-            "time": "2024-10-31T13:38:25+00:00"
1999
+            "time": "2024-11-13T16:35:51+00:00"
2000 2000
         },
2001 2001
         {
2002 2002
             "name": "filament/tables",
2003
-            "version": "v3.2.123",
2003
+            "version": "v3.2.124",
2004 2004
             "source": {
2005 2005
                 "type": "git",
2006 2006
                 "url": "https://github.com/filamentphp/tables.git",
2007
-                "reference": "d066eed11528f1928a76cbe9075c54ddfe26fd1e"
2007
+                "reference": "5f1b04952080e71f3f72bae3801f2757619722e7"
2008 2008
             },
2009 2009
             "dist": {
2010 2010
                 "type": "zip",
2011
-                "url": "https://api.github.com/repos/filamentphp/tables/zipball/d066eed11528f1928a76cbe9075c54ddfe26fd1e",
2012
-                "reference": "d066eed11528f1928a76cbe9075c54ddfe26fd1e",
2011
+                "url": "https://api.github.com/repos/filamentphp/tables/zipball/5f1b04952080e71f3f72bae3801f2757619722e7",
2012
+                "reference": "5f1b04952080e71f3f72bae3801f2757619722e7",
2013 2013
                 "shasum": ""
2014 2014
             },
2015 2015
             "require": {
@@ -2048,20 +2048,20 @@
2048 2048
                 "issues": "https://github.com/filamentphp/filament/issues",
2049 2049
                 "source": "https://github.com/filamentphp/filament"
2050 2050
             },
2051
-            "time": "2024-11-06T08:51:06+00:00"
2051
+            "time": "2024-11-13T16:35:47+00:00"
2052 2052
         },
2053 2053
         {
2054 2054
             "name": "filament/widgets",
2055
-            "version": "v3.2.123",
2055
+            "version": "v3.2.124",
2056 2056
             "source": {
2057 2057
                 "type": "git",
2058 2058
                 "url": "https://github.com/filamentphp/widgets.git",
2059
-                "reference": "14ae503aae8265ddc48274debbf7b7aefc7afb0b"
2059
+                "reference": "59a907af93c9027180e2bac5879f35b5fb11c96f"
2060 2060
             },
2061 2061
             "dist": {
2062 2062
                 "type": "zip",
2063
-                "url": "https://api.github.com/repos/filamentphp/widgets/zipball/14ae503aae8265ddc48274debbf7b7aefc7afb0b",
2064
-                "reference": "14ae503aae8265ddc48274debbf7b7aefc7afb0b",
2063
+                "url": "https://api.github.com/repos/filamentphp/widgets/zipball/59a907af93c9027180e2bac5879f35b5fb11c96f",
2064
+                "reference": "59a907af93c9027180e2bac5879f35b5fb11c96f",
2065 2065
                 "shasum": ""
2066 2066
             },
2067 2067
             "require": {
@@ -2092,7 +2092,7 @@
2092 2092
                 "issues": "https://github.com/filamentphp/filament/issues",
2093 2093
                 "source": "https://github.com/filamentphp/filament"
2094 2094
             },
2095
-            "time": "2024-10-08T14:24:26+00:00"
2095
+            "time": "2024-11-13T16:35:48+00:00"
2096 2096
         },
2097 2097
         {
2098 2098
             "name": "firebase/php-jwt",
@@ -6585,16 +6585,16 @@
6585 6585
         },
6586 6586
         {
6587 6587
             "name": "symfony/console",
6588
-            "version": "v7.1.7",
6588
+            "version": "v7.1.8",
6589 6589
             "source": {
6590 6590
                 "type": "git",
6591 6591
                 "url": "https://github.com/symfony/console.git",
6592
-                "reference": "3284aafcac338b6e86fd955ee4d794cbe434151a"
6592
+                "reference": "ff04e5b5ba043d2badfb308197b9e6b42883fcd5"
6593 6593
             },
6594 6594
             "dist": {
6595 6595
                 "type": "zip",
6596
-                "url": "https://api.github.com/repos/symfony/console/zipball/3284aafcac338b6e86fd955ee4d794cbe434151a",
6597
-                "reference": "3284aafcac338b6e86fd955ee4d794cbe434151a",
6596
+                "url": "https://api.github.com/repos/symfony/console/zipball/ff04e5b5ba043d2badfb308197b9e6b42883fcd5",
6597
+                "reference": "ff04e5b5ba043d2badfb308197b9e6b42883fcd5",
6598 6598
                 "shasum": ""
6599 6599
             },
6600 6600
             "require": {
@@ -6658,7 +6658,7 @@
6658 6658
                 "terminal"
6659 6659
             ],
6660 6660
             "support": {
6661
-                "source": "https://github.com/symfony/console/tree/v7.1.7"
6661
+                "source": "https://github.com/symfony/console/tree/v7.1.8"
6662 6662
             },
6663 6663
             "funding": [
6664 6664
                 {
@@ -6674,7 +6674,7 @@
6674 6674
                     "type": "tidelift"
6675 6675
                 }
6676 6676
             ],
6677
-            "time": "2024-11-05T15:34:55+00:00"
6677
+            "time": "2024-11-06T14:23:19+00:00"
6678 6678
         },
6679 6679
         {
6680 6680
             "name": "symfony/css-selector",
@@ -7174,16 +7174,16 @@
7174 7174
         },
7175 7175
         {
7176 7176
             "name": "symfony/http-foundation",
7177
-            "version": "v7.1.7",
7177
+            "version": "v7.1.8",
7178 7178
             "source": {
7179 7179
                 "type": "git",
7180 7180
                 "url": "https://github.com/symfony/http-foundation.git",
7181
-                "reference": "5183b61657807099d98f3367bcccb850238b17a9"
7181
+                "reference": "f4419ec69ccfc3f725a4de7c20e4e57626d10112"
7182 7182
             },
7183 7183
             "dist": {
7184 7184
                 "type": "zip",
7185
-                "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5183b61657807099d98f3367bcccb850238b17a9",
7186
-                "reference": "5183b61657807099d98f3367bcccb850238b17a9",
7185
+                "url": "https://api.github.com/repos/symfony/http-foundation/zipball/f4419ec69ccfc3f725a4de7c20e4e57626d10112",
7186
+                "reference": "f4419ec69ccfc3f725a4de7c20e4e57626d10112",
7187 7187
                 "shasum": ""
7188 7188
             },
7189 7189
             "require": {
@@ -7193,12 +7193,12 @@
7193 7193
             },
7194 7194
             "conflict": {
7195 7195
                 "doctrine/dbal": "<3.6",
7196
-                "symfony/cache": "<6.4"
7196
+                "symfony/cache": "<6.4.12|>=7.0,<7.1.5"
7197 7197
             },
7198 7198
             "require-dev": {
7199 7199
                 "doctrine/dbal": "^3.6|^4",
7200 7200
                 "predis/predis": "^1.1|^2.0",
7201
-                "symfony/cache": "^6.4|^7.0",
7201
+                "symfony/cache": "^6.4.12|^7.1.5",
7202 7202
                 "symfony/dependency-injection": "^6.4|^7.0",
7203 7203
                 "symfony/expression-language": "^6.4|^7.0",
7204 7204
                 "symfony/http-kernel": "^6.4|^7.0",
@@ -7231,7 +7231,7 @@
7231 7231
             "description": "Defines an object-oriented layer for the HTTP specification",
7232 7232
             "homepage": "https://symfony.com",
7233 7233
             "support": {
7234
-                "source": "https://github.com/symfony/http-foundation/tree/v7.1.7"
7234
+                "source": "https://github.com/symfony/http-foundation/tree/v7.1.8"
7235 7235
             },
7236 7236
             "funding": [
7237 7237
                 {
@@ -7247,20 +7247,20 @@
7247 7247
                     "type": "tidelift"
7248 7248
                 }
7249 7249
             ],
7250
-            "time": "2024-11-06T09:02:46+00:00"
7250
+            "time": "2024-11-09T09:16:45+00:00"
7251 7251
         },
7252 7252
         {
7253 7253
             "name": "symfony/http-kernel",
7254
-            "version": "v7.1.7",
7254
+            "version": "v7.1.8",
7255 7255
             "source": {
7256 7256
                 "type": "git",
7257 7257
                 "url": "https://github.com/symfony/http-kernel.git",
7258
-                "reference": "7f137cda31fd41e422edcdc01915f2c095b84399"
7258
+                "reference": "33fef24e3dc79d6d30bf4936531f2f4bd2ca189e"
7259 7259
             },
7260 7260
             "dist": {
7261 7261
                 "type": "zip",
7262
-                "url": "https://api.github.com/repos/symfony/http-kernel/zipball/7f137cda31fd41e422edcdc01915f2c095b84399",
7263
-                "reference": "7f137cda31fd41e422edcdc01915f2c095b84399",
7262
+                "url": "https://api.github.com/repos/symfony/http-kernel/zipball/33fef24e3dc79d6d30bf4936531f2f4bd2ca189e",
7263
+                "reference": "33fef24e3dc79d6d30bf4936531f2f4bd2ca189e",
7264 7264
                 "shasum": ""
7265 7265
             },
7266 7266
             "require": {
@@ -7345,7 +7345,7 @@
7345 7345
             "description": "Provides a structured process for converting a Request into a Response",
7346 7346
             "homepage": "https://symfony.com",
7347 7347
             "support": {
7348
-                "source": "https://github.com/symfony/http-kernel/tree/v7.1.7"
7348
+                "source": "https://github.com/symfony/http-kernel/tree/v7.1.8"
7349 7349
             },
7350 7350
             "funding": [
7351 7351
                 {
@@ -7361,20 +7361,20 @@
7361 7361
                     "type": "tidelift"
7362 7362
                 }
7363 7363
             ],
7364
-            "time": "2024-11-06T09:54:34+00:00"
7364
+            "time": "2024-11-13T14:25:32+00:00"
7365 7365
         },
7366 7366
         {
7367 7367
             "name": "symfony/intl",
7368
-            "version": "v6.4.14",
7368
+            "version": "v6.4.15",
7369 7369
             "source": {
7370 7370
                 "type": "git",
7371 7371
                 "url": "https://github.com/symfony/intl.git",
7372
-                "reference": "4e852ff0b0f9851a7ca543ff731686d9a46574d1"
7372
+                "reference": "b1d5e8d82615b60f229216edfee0b59e2ef66da6"
7373 7373
             },
7374 7374
             "dist": {
7375 7375
                 "type": "zip",
7376
-                "url": "https://api.github.com/repos/symfony/intl/zipball/4e852ff0b0f9851a7ca543ff731686d9a46574d1",
7377
-                "reference": "4e852ff0b0f9851a7ca543ff731686d9a46574d1",
7376
+                "url": "https://api.github.com/repos/symfony/intl/zipball/b1d5e8d82615b60f229216edfee0b59e2ef66da6",
7377
+                "reference": "b1d5e8d82615b60f229216edfee0b59e2ef66da6",
7378 7378
                 "shasum": ""
7379 7379
             },
7380 7380
             "require": {
@@ -7428,7 +7428,7 @@
7428 7428
                 "localization"
7429 7429
             ],
7430 7430
             "support": {
7431
-                "source": "https://github.com/symfony/intl/tree/v6.4.14"
7431
+                "source": "https://github.com/symfony/intl/tree/v6.4.15"
7432 7432
             },
7433 7433
             "funding": [
7434 7434
                 {
@@ -7444,7 +7444,7 @@
7444 7444
                     "type": "tidelift"
7445 7445
                 }
7446 7446
             ],
7447
-            "time": "2024-11-05T15:34:40+00:00"
7447
+            "time": "2024-11-08T15:28:48+00:00"
7448 7448
         },
7449 7449
         {
7450 7450
             "name": "symfony/mailer",
@@ -8248,16 +8248,16 @@
8248 8248
         },
8249 8249
         {
8250 8250
             "name": "symfony/process",
8251
-            "version": "v7.1.7",
8251
+            "version": "v7.1.8",
8252 8252
             "source": {
8253 8253
                 "type": "git",
8254 8254
                 "url": "https://github.com/symfony/process.git",
8255
-                "reference": "9b8a40b7289767aa7117e957573c2a535efe6585"
8255
+                "reference": "42783370fda6e538771f7c7a36e9fa2ee3a84892"
8256 8256
             },
8257 8257
             "dist": {
8258 8258
                 "type": "zip",
8259
-                "url": "https://api.github.com/repos/symfony/process/zipball/9b8a40b7289767aa7117e957573c2a535efe6585",
8260
-                "reference": "9b8a40b7289767aa7117e957573c2a535efe6585",
8259
+                "url": "https://api.github.com/repos/symfony/process/zipball/42783370fda6e538771f7c7a36e9fa2ee3a84892",
8260
+                "reference": "42783370fda6e538771f7c7a36e9fa2ee3a84892",
8261 8261
                 "shasum": ""
8262 8262
             },
8263 8263
             "require": {
@@ -8289,7 +8289,7 @@
8289 8289
             "description": "Executes commands in sub-processes",
8290 8290
             "homepage": "https://symfony.com",
8291 8291
             "support": {
8292
-                "source": "https://github.com/symfony/process/tree/v7.1.7"
8292
+                "source": "https://github.com/symfony/process/tree/v7.1.8"
8293 8293
             },
8294 8294
             "funding": [
8295 8295
                 {
@@ -8305,7 +8305,7 @@
8305 8305
                     "type": "tidelift"
8306 8306
                 }
8307 8307
             ],
8308
-            "time": "2024-11-06T09:25:12+00:00"
8308
+            "time": "2024-11-06T14:23:19+00:00"
8309 8309
         },
8310 8310
         {
8311 8311
             "name": "symfony/routing",
@@ -8473,16 +8473,16 @@
8473 8473
         },
8474 8474
         {
8475 8475
             "name": "symfony/string",
8476
-            "version": "v7.1.6",
8476
+            "version": "v7.1.8",
8477 8477
             "source": {
8478 8478
                 "type": "git",
8479 8479
                 "url": "https://github.com/symfony/string.git",
8480
-                "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626"
8480
+                "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281"
8481 8481
             },
8482 8482
             "dist": {
8483 8483
                 "type": "zip",
8484
-                "url": "https://api.github.com/repos/symfony/string/zipball/61b72d66bf96c360a727ae6232df5ac83c71f626",
8485
-                "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626",
8484
+                "url": "https://api.github.com/repos/symfony/string/zipball/591ebd41565f356fcd8b090fe64dbb5878f50281",
8485
+                "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281",
8486 8486
                 "shasum": ""
8487 8487
             },
8488 8488
             "require": {
@@ -8540,7 +8540,7 @@
8540 8540
                 "utf8"
8541 8541
             ],
8542 8542
             "support": {
8543
-                "source": "https://github.com/symfony/string/tree/v7.1.6"
8543
+                "source": "https://github.com/symfony/string/tree/v7.1.8"
8544 8544
             },
8545 8545
             "funding": [
8546 8546
                 {
@@ -8556,7 +8556,7 @@
8556 8556
                     "type": "tidelift"
8557 8557
                 }
8558 8558
             ],
8559
-            "time": "2024-09-25T14:20:29+00:00"
8559
+            "time": "2024-11-13T13:31:21+00:00"
8560 8560
         },
8561 8561
         {
8562 8562
             "name": "symfony/translation",
@@ -8806,16 +8806,16 @@
8806 8806
         },
8807 8807
         {
8808 8808
             "name": "symfony/var-dumper",
8809
-            "version": "v7.1.7",
8809
+            "version": "v7.1.8",
8810 8810
             "source": {
8811 8811
                 "type": "git",
8812 8812
                 "url": "https://github.com/symfony/var-dumper.git",
8813
-                "reference": "f6ea51f669760cacd7464bf7eaa0be87b8072db1"
8813
+                "reference": "7bb01a47b1b00428d32b5e7b4d3b2d1aa58d3db8"
8814 8814
             },
8815 8815
             "dist": {
8816 8816
                 "type": "zip",
8817
-                "url": "https://api.github.com/repos/symfony/var-dumper/zipball/f6ea51f669760cacd7464bf7eaa0be87b8072db1",
8818
-                "reference": "f6ea51f669760cacd7464bf7eaa0be87b8072db1",
8817
+                "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7bb01a47b1b00428d32b5e7b4d3b2d1aa58d3db8",
8818
+                "reference": "7bb01a47b1b00428d32b5e7b4d3b2d1aa58d3db8",
8819 8819
                 "shasum": ""
8820 8820
             },
8821 8821
             "require": {
@@ -8869,7 +8869,7 @@
8869 8869
                 "dump"
8870 8870
             ],
8871 8871
             "support": {
8872
-                "source": "https://github.com/symfony/var-dumper/tree/v7.1.7"
8872
+                "source": "https://github.com/symfony/var-dumper/tree/v7.1.8"
8873 8873
             },
8874 8874
             "funding": [
8875 8875
                 {
@@ -8885,7 +8885,7 @@
8885 8885
                     "type": "tidelift"
8886 8886
                 }
8887 8887
             ],
8888
-            "time": "2024-11-05T15:34:55+00:00"
8888
+            "time": "2024-11-08T15:46:42+00:00"
8889 8889
         },
8890 8890
         {
8891 8891
             "name": "tijsverkoyen/css-to-inline-styles",

+ 23
- 0
database/factories/ClientFactory.php Wyświetl plik

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+namespace Database\Factories;
4
+
5
+use Illuminate\Database\Eloquent\Factories\Factory;
6
+
7
+/**
8
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Client>
9
+ */
10
+class ClientFactory extends Factory
11
+{
12
+    /**
13
+     * Define the model's default state.
14
+     *
15
+     * @return array<string, mixed>
16
+     */
17
+    public function definition(): array
18
+    {
19
+        return [
20
+            //
21
+        ];
22
+    }
23
+}

+ 23
- 0
database/factories/DocumentFactory.php Wyświetl plik

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+namespace Database\Factories;
4
+
5
+use Illuminate\Database\Eloquent\Factories\Factory;
6
+
7
+/**
8
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Document>
9
+ */
10
+class DocumentFactory extends Factory
11
+{
12
+    /**
13
+     * Define the model's default state.
14
+     *
15
+     * @return array<string, mixed>
16
+     */
17
+    public function definition(): array
18
+    {
19
+        return [
20
+            //
21
+        ];
22
+    }
23
+}

+ 23
- 0
database/factories/DocumentLineItemFactory.php Wyświetl plik

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+namespace Database\Factories;
4
+
5
+use Illuminate\Database\Eloquent\Factories\Factory;
6
+
7
+/**
8
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\DocumentLineItem>
9
+ */
10
+class DocumentLineItemFactory extends Factory
11
+{
12
+    /**
13
+     * Define the model's default state.
14
+     *
15
+     * @return array<string, mixed>
16
+     */
17
+    public function definition(): array
18
+    {
19
+        return [
20
+            //
21
+        ];
22
+    }
23
+}

+ 23
- 0
database/factories/OfferingFactory.php Wyświetl plik

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+namespace Database\Factories;
4
+
5
+use Illuminate\Database\Eloquent\Factories\Factory;
6
+
7
+/**
8
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Offering>
9
+ */
10
+class OfferingFactory extends Factory
11
+{
12
+    /**
13
+     * Define the model's default state.
14
+     *
15
+     * @return array<string, mixed>
16
+     */
17
+    public function definition(): array
18
+    {
19
+        return [
20
+            //
21
+        ];
22
+    }
23
+}

+ 23
- 0
database/factories/PaymentFactory.php Wyświetl plik

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+namespace Database\Factories;
4
+
5
+use Illuminate\Database\Eloquent\Factories\Factory;
6
+
7
+/**
8
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Payment>
9
+ */
10
+class PaymentFactory extends Factory
11
+{
12
+    /**
13
+     * Define the model's default state.
14
+     *
15
+     * @return array<string, mixed>
16
+     */
17
+    public function definition(): array
18
+    {
19
+        return [
20
+            //
21
+        ];
22
+    }
23
+}

+ 23
- 0
database/factories/VendorFactory.php Wyświetl plik

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+namespace Database\Factories;
4
+
5
+use Illuminate\Database\Eloquent\Factories\Factory;
6
+
7
+/**
8
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Vendor>
9
+ */
10
+class VendorFactory extends Factory
11
+{
12
+    /**
13
+     * Define the model's default state.
14
+     *
15
+     * @return array<string, mixed>
16
+     */
17
+    public function definition(): array
18
+    {
19
+        return [
20
+            //
21
+        ];
22
+    }
23
+}

+ 34
- 0
database/migrations/2024_11_13_214149_create_offerings_table.php Wyświetl plik

@@ -0,0 +1,34 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('offerings', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->foreignId('company_id')->constrained()->cascadeOnDelete();
17
+            $table->string('name')->index();
18
+            $table->string('description')->nullable();
19
+            $table->string('type')->nullable(); // product, service, etc.
20
+            $table->integer('price')->default(0);
21
+            $table->foreignId('income_account_id')->nullable()->constrained('accounts')->nullOnDelete(); // income account e.g. sales/invoice
22
+            $table->foreignId('expense_account_id')->nullable()->constrained('accounts')->nullOnDelete(); // expense account e.g. purchase/bill
23
+            $table->timestamps();
24
+        });
25
+    }
26
+
27
+    /**
28
+     * Reverse the migrations.
29
+     */
30
+    public function down(): void
31
+    {
32
+        Schema::dropIfExists('offerings');
33
+    }
34
+};

+ 27
- 0
database/migrations/2024_11_13_214358_create_clients_table.php Wyświetl plik

@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('clients', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->timestamps();
17
+        });
18
+    }
19
+
20
+    /**
21
+     * Reverse the migrations.
22
+     */
23
+    public function down(): void
24
+    {
25
+        Schema::dropIfExists('clients');
26
+    }
27
+};

+ 27
- 0
database/migrations/2024_11_13_214406_create_vendors_table.php Wyświetl plik

@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('vendors', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->timestamps();
17
+        });
18
+    }
19
+
20
+    /**
21
+     * Reverse the migrations.
22
+     */
23
+    public function down(): void
24
+    {
25
+        Schema::dropIfExists('vendors');
26
+    }
27
+};

+ 27
- 0
database/migrations/2024_11_13_214900_create_documents_table.php Wyświetl plik

@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('documents', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->timestamps();
17
+        });
18
+    }
19
+
20
+    /**
21
+     * Reverse the migrations.
22
+     */
23
+    public function down(): void
24
+    {
25
+        Schema::dropIfExists('documents');
26
+    }
27
+};

+ 27
- 0
database/migrations/2024_11_13_215818_create_payments_table.php Wyświetl plik

@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('payments', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->timestamps();
17
+        });
18
+    }
19
+
20
+    /**
21
+     * Reverse the migrations.
22
+     */
23
+    public function down(): void
24
+    {
25
+        Schema::dropIfExists('payments');
26
+    }
27
+};

+ 27
- 0
database/migrations/2024_11_13_220301_create_document_line_items_table.php Wyświetl plik

@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('document_line_items', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->timestamps();
17
+        });
18
+    }
19
+
20
+    /**
21
+     * Reverse the migrations.
22
+     */
23
+    public function down(): void
24
+    {
25
+        Schema::dropIfExists('document_line_items');
26
+    }
27
+};

+ 30
- 0
database/migrations/2024_11_13_225714_create_adjustmentables_table.php Wyświetl plik

@@ -0,0 +1,30 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
+
7
+return new class extends Migration
8
+{
9
+    /**
10
+     * Run the migrations.
11
+     */
12
+    public function up(): void
13
+    {
14
+        Schema::create('adjustmentables', function (Blueprint $table) {
15
+            $table->id();
16
+            $table->foreignId('adjustment_id')->constrained()->cascadeOnDelete();
17
+            $table->string('adjustment_type');
18
+            $table->morphs('adjustmentable');
19
+            $table->timestamps();
20
+        });
21
+    }
22
+
23
+    /**
24
+     * Reverse the migrations.
25
+     */
26
+    public function down(): void
27
+    {
28
+        Schema::dropIfExists('adjustmentables');
29
+    }
30
+};

+ 75
- 75
package-lock.json Wyświetl plik

@@ -541,9 +541,9 @@
541 541
             }
542 542
         },
543 543
         "node_modules/@rollup/rollup-android-arm-eabi": {
544
-            "version": "4.25.0",
545
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.25.0.tgz",
546
-            "integrity": "sha512-CC/ZqFZwlAIbU1wUPisHyV/XRc5RydFrNLtgl3dGYskdwPZdt4HERtKm50a/+DtTlKeCq9IXFEWR+P6blwjqBA==",
544
+            "version": "4.26.0",
545
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.26.0.tgz",
546
+            "integrity": "sha512-gJNwtPDGEaOEgejbaseY6xMFu+CPltsc8/T+diUTTbOQLqD+bnrJq9ulH6WD69TqwqWmrfRAtUv30cCFZlbGTQ==",
547 547
             "cpu": [
548 548
                 "arm"
549 549
             ],
@@ -555,9 +555,9 @@
555 555
             ]
556 556
         },
557 557
         "node_modules/@rollup/rollup-android-arm64": {
558
-            "version": "4.25.0",
559
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.25.0.tgz",
560
-            "integrity": "sha512-/Y76tmLGUJqVBXXCfVS8Q8FJqYGhgH4wl4qTA24E9v/IJM0XvJCGQVSW1QZ4J+VURO9h8YCa28sTFacZXwK7Rg==",
558
+            "version": "4.26.0",
559
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.26.0.tgz",
560
+            "integrity": "sha512-YJa5Gy8mEZgz5JquFruhJODMq3lTHWLm1fOy+HIANquLzfIOzE9RA5ie3JjCdVb9r46qfAQY/l947V0zfGJ0OQ==",
561 561
             "cpu": [
562 562
                 "arm64"
563 563
             ],
@@ -569,9 +569,9 @@
569 569
             ]
570 570
         },
571 571
         "node_modules/@rollup/rollup-darwin-arm64": {
572
-            "version": "4.25.0",
573
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.25.0.tgz",
574
-            "integrity": "sha512-YVT6L3UrKTlC0FpCZd0MGA7NVdp7YNaEqkENbWQ7AOVOqd/7VzyHpgIpc1mIaxRAo1ZsJRH45fq8j4N63I/vvg==",
572
+            "version": "4.26.0",
573
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.26.0.tgz",
574
+            "integrity": "sha512-ErTASs8YKbqTBoPLp/kA1B1Um5YSom8QAc4rKhg7b9tyyVqDBlQxy7Bf2wW7yIlPGPg2UODDQcbkTlruPzDosw==",
575 575
             "cpu": [
576 576
                 "arm64"
577 577
             ],
@@ -583,9 +583,9 @@
583 583
             ]
584 584
         },
585 585
         "node_modules/@rollup/rollup-darwin-x64": {
586
-            "version": "4.25.0",
587
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.25.0.tgz",
588
-            "integrity": "sha512-ZRL+gexs3+ZmmWmGKEU43Bdn67kWnMeWXLFhcVv5Un8FQcx38yulHBA7XR2+KQdYIOtD0yZDWBCudmfj6lQJoA==",
586
+            "version": "4.26.0",
587
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.26.0.tgz",
588
+            "integrity": "sha512-wbgkYDHcdWW+NqP2mnf2NOuEbOLzDblalrOWcPyY6+BRbVhliavon15UploG7PpBRQ2bZJnbmh8o3yLoBvDIHA==",
589 589
             "cpu": [
590 590
                 "x64"
591 591
             ],
@@ -597,9 +597,9 @@
597 597
             ]
598 598
         },
599 599
         "node_modules/@rollup/rollup-freebsd-arm64": {
600
-            "version": "4.25.0",
601
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.25.0.tgz",
602
-            "integrity": "sha512-xpEIXhiP27EAylEpreCozozsxWQ2TJbOLSivGfXhU4G1TBVEYtUPi2pOZBnvGXHyOdLAUUhPnJzH3ah5cqF01g==",
600
+            "version": "4.26.0",
601
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.26.0.tgz",
602
+            "integrity": "sha512-Y9vpjfp9CDkAG4q/uwuhZk96LP11fBz/bYdyg9oaHYhtGZp7NrbkQrj/66DYMMP2Yo/QPAsVHkV891KyO52fhg==",
603 603
             "cpu": [
604 604
                 "arm64"
605 605
             ],
@@ -611,9 +611,9 @@
611 611
             ]
612 612
         },
613 613
         "node_modules/@rollup/rollup-freebsd-x64": {
614
-            "version": "4.25.0",
615
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.25.0.tgz",
616
-            "integrity": "sha512-sC5FsmZGlJv5dOcURrsnIK7ngc3Kirnx3as2XU9uER+zjfyqIjdcMVgzy4cOawhsssqzoAX19qmxgJ8a14Qrqw==",
614
+            "version": "4.26.0",
615
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.26.0.tgz",
616
+            "integrity": "sha512-A/jvfCZ55EYPsqeaAt/yDAG4q5tt1ZboWMHEvKAH9Zl92DWvMIbnZe/f/eOXze65aJaaKbL+YeM0Hz4kLQvdwg==",
617 617
             "cpu": [
618 618
                 "x64"
619 619
             ],
@@ -625,9 +625,9 @@
625 625
             ]
626 626
         },
627 627
         "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
628
-            "version": "4.25.0",
629
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.25.0.tgz",
630
-            "integrity": "sha512-uD/dbLSs1BEPzg564TpRAQ/YvTnCds2XxyOndAO8nJhaQcqQGFgv/DAVko/ZHap3boCvxnzYMa3mTkV/B/3SWA==",
628
+            "version": "4.26.0",
629
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.26.0.tgz",
630
+            "integrity": "sha512-paHF1bMXKDuizaMODm2bBTjRiHxESWiIyIdMugKeLnjuS1TCS54MF5+Y5Dx8Ui/1RBPVRE09i5OUlaLnv8OGnA==",
631 631
             "cpu": [
632 632
                 "arm"
633 633
             ],
@@ -639,9 +639,9 @@
639 639
             ]
640 640
         },
641 641
         "node_modules/@rollup/rollup-linux-arm-musleabihf": {
642
-            "version": "4.25.0",
643
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.25.0.tgz",
644
-            "integrity": "sha512-ZVt/XkrDlQWegDWrwyC3l0OfAF7yeJUF4fq5RMS07YM72BlSfn2fQQ6lPyBNjt+YbczMguPiJoCfaQC2dnflpQ==",
642
+            "version": "4.26.0",
643
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.26.0.tgz",
644
+            "integrity": "sha512-cwxiHZU1GAs+TMxvgPfUDtVZjdBdTsQwVnNlzRXC5QzIJ6nhfB4I1ahKoe9yPmoaA/Vhf7m9dB1chGPpDRdGXg==",
645 645
             "cpu": [
646 646
                 "arm"
647 647
             ],
@@ -653,9 +653,9 @@
653 653
             ]
654 654
         },
655 655
         "node_modules/@rollup/rollup-linux-arm64-gnu": {
656
-            "version": "4.25.0",
657
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.25.0.tgz",
658
-            "integrity": "sha512-qboZ+T0gHAW2kkSDPHxu7quaFaaBlynODXpBVnPxUgvWYaE84xgCKAPEYE+fSMd3Zv5PyFZR+L0tCdYCMAtG0A==",
656
+            "version": "4.26.0",
657
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.26.0.tgz",
658
+            "integrity": "sha512-4daeEUQutGRCW/9zEo8JtdAgtJ1q2g5oHaoQaZbMSKaIWKDQwQ3Yx0/3jJNmpzrsScIPtx/V+1AfibLisb3AMQ==",
659 659
             "cpu": [
660 660
                 "arm64"
661 661
             ],
@@ -667,9 +667,9 @@
667 667
             ]
668 668
         },
669 669
         "node_modules/@rollup/rollup-linux-arm64-musl": {
670
-            "version": "4.25.0",
671
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.25.0.tgz",
672
-            "integrity": "sha512-ndWTSEmAaKr88dBuogGH2NZaxe7u2rDoArsejNslugHZ+r44NfWiwjzizVS1nUOHo+n1Z6qV3X60rqE/HlISgw==",
670
+            "version": "4.26.0",
671
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.26.0.tgz",
672
+            "integrity": "sha512-eGkX7zzkNxvvS05ROzJ/cO/AKqNvR/7t1jA3VZDi2vRniLKwAWxUr85fH3NsvtxU5vnUUKFHKh8flIBdlo2b3Q==",
673 673
             "cpu": [
674 674
                 "arm64"
675 675
             ],
@@ -681,9 +681,9 @@
681 681
             ]
682 682
         },
683 683
         "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
684
-            "version": "4.25.0",
685
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.25.0.tgz",
686
-            "integrity": "sha512-BVSQvVa2v5hKwJSy6X7W1fjDex6yZnNKy3Kx1JGimccHft6HV0THTwNtC2zawtNXKUu+S5CjXslilYdKBAadzA==",
684
+            "version": "4.26.0",
685
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.26.0.tgz",
686
+            "integrity": "sha512-Odp/lgHbW/mAqw/pU21goo5ruWsytP7/HCC/liOt0zcGG0llYWKrd10k9Fj0pdj3prQ63N5yQLCLiE7HTX+MYw==",
687 687
             "cpu": [
688 688
                 "ppc64"
689 689
             ],
@@ -695,9 +695,9 @@
695 695
             ]
696 696
         },
697 697
         "node_modules/@rollup/rollup-linux-riscv64-gnu": {
698
-            "version": "4.25.0",
699
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.25.0.tgz",
700
-            "integrity": "sha512-G4hTREQrIdeV0PE2JruzI+vXdRnaK1pg64hemHq2v5fhv8C7WjVaeXc9P5i4Q5UC06d/L+zA0mszYIKl+wY8oA==",
698
+            "version": "4.26.0",
699
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.26.0.tgz",
700
+            "integrity": "sha512-MBR2ZhCTzUgVD0OJdTzNeF4+zsVogIR1U/FsyuFerwcqjZGvg2nYe24SAHp8O5sN8ZkRVbHwlYeHqcSQ8tcYew==",
701 701
             "cpu": [
702 702
                 "riscv64"
703 703
             ],
@@ -709,9 +709,9 @@
709 709
             ]
710 710
         },
711 711
         "node_modules/@rollup/rollup-linux-s390x-gnu": {
712
-            "version": "4.25.0",
713
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.25.0.tgz",
714
-            "integrity": "sha512-9T/w0kQ+upxdkFL9zPVB6zy9vWW1deA3g8IauJxojN4bnz5FwSsUAD034KpXIVX5j5p/rn6XqumBMxfRkcHapQ==",
712
+            "version": "4.26.0",
713
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.26.0.tgz",
714
+            "integrity": "sha512-YYcg8MkbN17fMbRMZuxwmxWqsmQufh3ZJFxFGoHjrE7bv0X+T6l3glcdzd7IKLiwhT+PZOJCblpnNlz1/C3kGQ==",
715 715
             "cpu": [
716 716
                 "s390x"
717 717
             ],
@@ -723,9 +723,9 @@
723 723
             ]
724 724
         },
725 725
         "node_modules/@rollup/rollup-linux-x64-gnu": {
726
-            "version": "4.25.0",
727
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.25.0.tgz",
728
-            "integrity": "sha512-ThcnU0EcMDn+J4B9LD++OgBYxZusuA7iemIIiz5yzEcFg04VZFzdFjuwPdlURmYPZw+fgVrFzj4CA64jSTG4Ig==",
726
+            "version": "4.26.0",
727
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.26.0.tgz",
728
+            "integrity": "sha512-ZuwpfjCwjPkAOxpjAEjabg6LRSfL7cAJb6gSQGZYjGhadlzKKywDkCUnJ+KEfrNY1jH5EEoSIKLCb572jSiglA==",
729 729
             "cpu": [
730 730
                 "x64"
731 731
             ],
@@ -737,9 +737,9 @@
737 737
             ]
738 738
         },
739 739
         "node_modules/@rollup/rollup-linux-x64-musl": {
740
-            "version": "4.25.0",
741
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.25.0.tgz",
742
-            "integrity": "sha512-zx71aY2oQxGxAT1JShfhNG79PnjYhMC6voAjzpu/xmMjDnKNf6Nl/xv7YaB/9SIa9jDYf8RBPWEnjcdlhlv1rQ==",
740
+            "version": "4.26.0",
741
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.26.0.tgz",
742
+            "integrity": "sha512-+HJD2lFS86qkeF8kNu0kALtifMpPCZU80HvwztIKnYwym3KnA1os6nsX4BGSTLtS2QVAGG1P3guRgsYyMA0Yhg==",
743 743
             "cpu": [
744 744
                 "x64"
745 745
             ],
@@ -751,9 +751,9 @@
751 751
             ]
752 752
         },
753 753
         "node_modules/@rollup/rollup-win32-arm64-msvc": {
754
-            "version": "4.25.0",
755
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.25.0.tgz",
756
-            "integrity": "sha512-JT8tcjNocMs4CylWY/CxVLnv8e1lE7ff1fi6kbGocWwxDq9pj30IJ28Peb+Y8yiPNSF28oad42ApJB8oUkwGww==",
754
+            "version": "4.26.0",
755
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.26.0.tgz",
756
+            "integrity": "sha512-WUQzVFWPSw2uJzX4j6YEbMAiLbs0BUysgysh8s817doAYhR5ybqTI1wtKARQKo6cGop3pHnrUJPFCsXdoFaimQ==",
757 757
             "cpu": [
758 758
                 "arm64"
759 759
             ],
@@ -765,9 +765,9 @@
765 765
             ]
766 766
         },
767 767
         "node_modules/@rollup/rollup-win32-ia32-msvc": {
768
-            "version": "4.25.0",
769
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.25.0.tgz",
770
-            "integrity": "sha512-dRLjLsO3dNOfSN6tjyVlG+Msm4IiZnGkuZ7G5NmpzwF9oOc582FZG05+UdfTbz5Jd4buK/wMb6UeHFhG18+OEg==",
768
+            "version": "4.26.0",
769
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.26.0.tgz",
770
+            "integrity": "sha512-D4CxkazFKBfN1akAIY6ieyOqzoOoBV1OICxgUblWxff/pSjCA2khXlASUx7mK6W1oP4McqhgcCsu6QaLj3WMWg==",
771 771
             "cpu": [
772 772
                 "ia32"
773 773
             ],
@@ -779,9 +779,9 @@
779 779
             ]
780 780
         },
781 781
         "node_modules/@rollup/rollup-win32-x64-msvc": {
782
-            "version": "4.25.0",
783
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.25.0.tgz",
784
-            "integrity": "sha512-/RqrIFtLB926frMhZD0a5oDa4eFIbyNEwLLloMTEjmqfwZWXywwVVOVmwTsuyhC9HKkVEZcOOi+KV4U9wmOdlg==",
782
+            "version": "4.26.0",
783
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.26.0.tgz",
784
+            "integrity": "sha512-2x8MO1rm4PGEP0xWbubJW5RtbNLk3puzAMaLQd3B3JHVw4KcHlmXcO+Wewx9zCoo7EUFiMlu/aZbCJ7VjMzAag==",
785 785
             "cpu": [
786 786
                 "x64"
787 787
             ],
@@ -2199,9 +2199,9 @@
2199 2199
             }
2200 2200
         },
2201 2201
         "node_modules/rollup": {
2202
-            "version": "4.25.0",
2203
-            "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.25.0.tgz",
2204
-            "integrity": "sha512-uVbClXmR6wvx5R1M3Od4utyLUxrmOcEm3pAtMphn73Apq19PDtHpgZoEvqH2YnnaNUuvKmg2DgRd2Sqv+odyqg==",
2202
+            "version": "4.26.0",
2203
+            "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.26.0.tgz",
2204
+            "integrity": "sha512-ilcl12hnWonG8f+NxU6BlgysVA0gvY2l8N0R84S1HcINbW20bvwuCngJkkInV6LXhwRpucsW5k1ovDwEdBVrNg==",
2205 2205
             "dev": true,
2206 2206
             "license": "MIT",
2207 2207
             "dependencies": {
@@ -2215,24 +2215,24 @@
2215 2215
                 "npm": ">=8.0.0"
2216 2216
             },
2217 2217
             "optionalDependencies": {
2218
-                "@rollup/rollup-android-arm-eabi": "4.25.0",
2219
-                "@rollup/rollup-android-arm64": "4.25.0",
2220
-                "@rollup/rollup-darwin-arm64": "4.25.0",
2221
-                "@rollup/rollup-darwin-x64": "4.25.0",
2222
-                "@rollup/rollup-freebsd-arm64": "4.25.0",
2223
-                "@rollup/rollup-freebsd-x64": "4.25.0",
2224
-                "@rollup/rollup-linux-arm-gnueabihf": "4.25.0",
2225
-                "@rollup/rollup-linux-arm-musleabihf": "4.25.0",
2226
-                "@rollup/rollup-linux-arm64-gnu": "4.25.0",
2227
-                "@rollup/rollup-linux-arm64-musl": "4.25.0",
2228
-                "@rollup/rollup-linux-powerpc64le-gnu": "4.25.0",
2229
-                "@rollup/rollup-linux-riscv64-gnu": "4.25.0",
2230
-                "@rollup/rollup-linux-s390x-gnu": "4.25.0",
2231
-                "@rollup/rollup-linux-x64-gnu": "4.25.0",
2232
-                "@rollup/rollup-linux-x64-musl": "4.25.0",
2233
-                "@rollup/rollup-win32-arm64-msvc": "4.25.0",
2234
-                "@rollup/rollup-win32-ia32-msvc": "4.25.0",
2235
-                "@rollup/rollup-win32-x64-msvc": "4.25.0",
2218
+                "@rollup/rollup-android-arm-eabi": "4.26.0",
2219
+                "@rollup/rollup-android-arm64": "4.26.0",
2220
+                "@rollup/rollup-darwin-arm64": "4.26.0",
2221
+                "@rollup/rollup-darwin-x64": "4.26.0",
2222
+                "@rollup/rollup-freebsd-arm64": "4.26.0",
2223
+                "@rollup/rollup-freebsd-x64": "4.26.0",
2224
+                "@rollup/rollup-linux-arm-gnueabihf": "4.26.0",
2225
+                "@rollup/rollup-linux-arm-musleabihf": "4.26.0",
2226
+                "@rollup/rollup-linux-arm64-gnu": "4.26.0",
2227
+                "@rollup/rollup-linux-arm64-musl": "4.26.0",
2228
+                "@rollup/rollup-linux-powerpc64le-gnu": "4.26.0",
2229
+                "@rollup/rollup-linux-riscv64-gnu": "4.26.0",
2230
+                "@rollup/rollup-linux-s390x-gnu": "4.26.0",
2231
+                "@rollup/rollup-linux-x64-gnu": "4.26.0",
2232
+                "@rollup/rollup-linux-x64-musl": "4.26.0",
2233
+                "@rollup/rollup-win32-arm64-msvc": "4.26.0",
2234
+                "@rollup/rollup-win32-ia32-msvc": "4.26.0",
2235
+                "@rollup/rollup-win32-x64-msvc": "4.26.0",
2236 2236
                 "fsevents": "~2.3.2"
2237 2237
             }
2238 2238
         },

Ładowanie…
Anuluj
Zapisz