Browse Source

refactor: use basic one-to-one relationship instead for Account/BankAccount

3.x
wallo 1 year ago
parent
commit
fad30b138e

+ 0
- 1
app/Filament/Company/Clusters/Settings/Pages/Invoice.php View File

15
 use Filament\Forms\Components\Component;
15
 use Filament\Forms\Components\Component;
16
 use Filament\Forms\Components\FileUpload;
16
 use Filament\Forms\Components\FileUpload;
17
 use Filament\Forms\Components\Grid;
17
 use Filament\Forms\Components\Grid;
18
-use Filament\Forms\Components\MarkdownEditor;
19
 use Filament\Forms\Components\Section;
18
 use Filament\Forms\Components\Section;
20
 use Filament\Forms\Components\Select;
19
 use Filament\Forms\Components\Select;
21
 use Filament\Forms\Components\Textarea;
20
 use Filament\Forms\Components\Textarea;

+ 2
- 2
app/Filament/Company/Clusters/Settings/Pages/Localization.php View File

127
                     ->options(LocalizationModel::getAllLanguages())
127
                     ->options(LocalizationModel::getAllLanguages())
128
                     ->searchable(),
128
                     ->searchable(),
129
                 Select::make('timezone')
129
                 Select::make('timezone')
130
+                    ->softRequired()
130
                     ->localizeLabel()
131
                     ->localizeLabel()
131
                     ->options(Timezone::getTimezoneOptions(CompanyProfileModel::first()->country))
132
                     ->options(Timezone::getTimezoneOptions(CompanyProfileModel::first()->country))
132
-                    ->searchable()
133
-                    ->nullable(),
133
+                    ->searchable(),
134
             ])->columns();
134
             ])->columns();
135
     }
135
     }
136
 
136
 

+ 1
- 1
app/Filament/Company/Pages/Accounting/Transactions.php View File

718
         };
718
         };
719
 
719
 
720
         return Account::query()
720
         return Account::query()
721
-            ->when($nominalAccountsOnly, fn (Builder $query) => $query->whereNull('accountable_type'))
721
+            ->when($nominalAccountsOnly, fn (Builder $query) => $query->doesntHave('bankAccount'))
722
             ->when($excludedCategory, fn (Builder $query) => $query->whereNot('category', $excludedCategory))
722
             ->when($excludedCategory, fn (Builder $query) => $query->whereNot('category', $excludedCategory))
723
             ->get()
723
             ->get()
724
             ->groupBy(fn (Account $account) => $account->category->getPluralLabel())
724
             ->groupBy(fn (Account $account) => $account->category->getPluralLabel())

+ 1
- 1
app/Listeners/ConfigureChartOfAccounts.php View File

79
                 ]);
79
                 ]);
80
 
80
 
81
                 if ($bankAccount) {
81
                 if ($bankAccount) {
82
-                    $account->accountable()->associate($bankAccount);
82
+                    $account->bankAccount()->associate($bankAccount);
83
                 }
83
                 }
84
 
84
 
85
                 $account->save();
85
                 $account->save();

+ 4
- 5
app/Models/Accounting/Account.php View File

7
 use App\Enums\Accounting\AccountCategory;
7
 use App\Enums\Accounting\AccountCategory;
8
 use App\Enums\Accounting\AccountType;
8
 use App\Enums\Accounting\AccountType;
9
 use App\Facades\Accounting;
9
 use App\Facades\Accounting;
10
+use App\Models\Banking\BankAccount;
10
 use App\Models\Setting\Currency;
11
 use App\Models\Setting\Currency;
11
 use App\Observers\AccountObserver;
12
 use App\Observers\AccountObserver;
12
 use Database\Factories\Accounting\AccountFactory;
13
 use Database\Factories\Accounting\AccountFactory;
17
 use Illuminate\Database\Eloquent\Model;
18
 use Illuminate\Database\Eloquent\Model;
18
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
19
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
19
 use Illuminate\Database\Eloquent\Relations\HasMany;
20
 use Illuminate\Database\Eloquent\Relations\HasMany;
20
-use Illuminate\Database\Eloquent\Relations\MorphTo;
21
 use Illuminate\Support\Carbon;
21
 use Illuminate\Support\Carbon;
22
 
22
 
23
 #[ObservedBy(AccountObserver::class)]
23
 #[ObservedBy(AccountObserver::class)]
41
         'description',
41
         'description',
42
         'active',
42
         'active',
43
         'default',
43
         'default',
44
-        'accountable_id',
45
-        'accountable_type',
44
+        'bank_account_id',
46
         'created_by',
45
         'created_by',
47
         'updated_by',
46
         'updated_by',
48
     ];
47
     ];
75
         return $this->belongsTo(Currency::class, 'currency_code', 'code');
74
         return $this->belongsTo(Currency::class, 'currency_code', 'code');
76
     }
75
     }
77
 
76
 
78
-    public function accountable(): MorphTo
77
+    public function bankAccount(): BelongsTo
79
     {
78
     {
80
-        return $this->morphTo();
79
+        return $this->belongsTo(BankAccount::class, 'bank_account_id');
81
     }
80
     }
82
 
81
 
83
     public function getLastTransactionDate(): ?string
82
     public function getLastTransactionDate(): ?string

+ 0
- 6
app/Models/Accounting/JournalEntry.php View File

7
 use App\Concerns\Blamable;
7
 use App\Concerns\Blamable;
8
 use App\Concerns\CompanyOwned;
8
 use App\Concerns\CompanyOwned;
9
 use App\Enums\Accounting\JournalEntryType;
9
 use App\Enums\Accounting\JournalEntryType;
10
-use App\Models\Banking\BankAccount;
11
 use Database\Factories\Accounting\JournalEntryFactory;
10
 use Database\Factories\Accounting\JournalEntryFactory;
12
 use Illuminate\Database\Eloquent\Factories\Factory;
11
 use Illuminate\Database\Eloquent\Factories\Factory;
13
 use Illuminate\Database\Eloquent\Factories\HasFactory;
12
 use Illuminate\Database\Eloquent\Factories\HasFactory;
46
         return $this->belongsTo(Transaction::class, 'transaction_id');
45
         return $this->belongsTo(Transaction::class, 'transaction_id');
47
     }
46
     }
48
 
47
 
49
-    public function bankAccount(): BelongsTo
50
-    {
51
-        return $this->account()->where('accountable_type', BankAccount::class);
52
-    }
53
-
54
     public function isUncategorized(): bool
48
     public function isUncategorized(): bool
55
     {
49
     {
56
         return $this->account->isUncategorized();
50
         return $this->account->isUncategorized();

+ 2
- 3
app/Models/Banking/BankAccount.php View File

19
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
19
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
20
 use Illuminate\Database\Eloquent\Relations\HasMany;
20
 use Illuminate\Database\Eloquent\Relations\HasMany;
21
 use Illuminate\Database\Eloquent\Relations\HasOne;
21
 use Illuminate\Database\Eloquent\Relations\HasOne;
22
-use Illuminate\Database\Eloquent\Relations\MorphOne;
23
 
22
 
24
 #[ObservedBy(BankAccountObserver::class)]
23
 #[ObservedBy(BankAccountObserver::class)]
25
 class BankAccount extends Model
24
 class BankAccount extends Model
56
         return $this->hasOne(ConnectedBankAccount::class, 'bank_account_id');
55
         return $this->hasOne(ConnectedBankAccount::class, 'bank_account_id');
57
     }
56
     }
58
 
57
 
59
-    public function account(): MorphOne
58
+    public function account(): HasOne
60
     {
59
     {
61
-        return $this->morphOne(Account::class, 'accountable');
60
+        return $this->hasOne(Account::class, 'bank_account_id');
62
     }
61
     }
63
 
62
 
64
     public function institution(): BelongsTo
63
     public function institution(): BelongsTo

+ 3
- 28
app/Models/Banking/Institution.php View File

7
 use Illuminate\Database\Eloquent\Factories\HasFactory;
7
 use Illuminate\Database\Eloquent\Factories\HasFactory;
8
 use Illuminate\Database\Eloquent\Model;
8
 use Illuminate\Database\Eloquent\Model;
9
 use Illuminate\Database\Eloquent\Relations\HasMany;
9
 use Illuminate\Database\Eloquent\Relations\HasMany;
10
-use Illuminate\Support\Carbon;
10
+use Illuminate\Database\Eloquent\Relations\HasOne;
11
 use Illuminate\Support\Facades\Storage;
11
 use Illuminate\Support\Facades\Storage;
12
 
12
 
13
 class Institution extends Model
13
 class Institution extends Model
46
         return $this->hasMany(ConnectedBankAccount::class, 'institution_id');
46
         return $this->hasMany(ConnectedBankAccount::class, 'institution_id');
47
     }
47
     }
48
 
48
 
49
-    public function getLastTransactionDate(): ?string
49
+    public function latestImport(): HasOne
50
     {
50
     {
51
-        $latestDate = $this->connectedBankAccounts->map(function ($connectedBankAccount) {
52
-            if ($connectedBankAccount->bankAccount) {
53
-                return $connectedBankAccount->bankAccount->transactions()->max('posted_at');
54
-            }
55
-
56
-            return null;
57
-        })->filter()->max();
58
-
59
-        if ($latestDate) {
60
-            return Carbon::parse($latestDate)->diffForHumans();
61
-        }
62
-
63
-        return null;
64
-    }
65
-
66
-    public function getLastImportDate(): ?string
67
-    {
68
-        $latestDate = $this->connectedBankAccounts->map(function ($connectedBankAccount) {
69
-            return $connectedBankAccount->last_imported_at;
70
-        })->filter()->max();
71
-
72
-        if ($latestDate) {
73
-            return Carbon::parse($latestDate)->diffForHumans();
74
-        }
75
-
76
-        return null;
51
+        return $this->hasOne(ConnectedBankAccount::class, 'institution_id')->latestOfMany('last_imported_at');
77
     }
52
     }
78
 
53
 
79
     protected function logoUrl(): Attribute
54
     protected function logoUrl(): Attribute

+ 2
- 4
app/Observers/AccountObserver.php View File

6
 use App\Enums\Accounting\AccountType;
6
 use App\Enums\Accounting\AccountType;
7
 use App\Models\Accounting\Account;
7
 use App\Models\Accounting\Account;
8
 use App\Models\Accounting\AccountSubtype;
8
 use App\Models\Accounting\AccountSubtype;
9
-use App\Models\Banking\BankAccount;
10
 use App\Utilities\Accounting\AccountCode;
9
 use App\Utilities\Accounting\AccountCode;
11
 
10
 
12
 class AccountObserver
11
 class AccountObserver
41
         $generatedAccountCode = AccountCode::generate($account->subtype);
40
         $generatedAccountCode = AccountCode::generate($account->subtype);
42
 
41
 
43
         $account->code = $generatedAccountCode;
42
         $account->code = $generatedAccountCode;
44
-
45
-        $account->save();
46
     }
43
     }
47
 
44
 
48
     /**
45
     /**
50
      */
47
      */
51
     public function created(Account $account): void
48
     public function created(Account $account): void
52
     {
49
     {
53
-        if (($account->accountable_type === BankAccount::class) && $account->code === null) {
50
+        if ($account->bankAccount && $account->code === null) {
54
             $this->setFieldsForBankAccount($account);
51
             $this->setFieldsForBankAccount($account);
52
+            $account->save();
55
         }
53
         }
56
     }
54
     }
57
 }
55
 }

+ 8
- 4
app/Services/AccountService.php View File

189
 
189
 
190
     public function getTotalBalanceForAllBankAccounts(string $startDate, string $endDate): Money
190
     public function getTotalBalanceForAllBankAccounts(string $startDate, string $endDate): Money
191
     {
191
     {
192
-        $bankAccountsAccounts = Account::where('accountable_type', BankAccount::class)
192
+        $bankAccounts = BankAccount::with('account')
193
             ->get();
193
             ->get();
194
 
194
 
195
         $totalBalance = 0;
195
         $totalBalance = 0;
196
 
196
 
197
         // Get ending balance for each bank account
197
         // Get ending balance for each bank account
198
-        foreach ($bankAccountsAccounts as $account) {
199
-            $endingBalance = $this->getEndingBalance($account, $startDate, $endDate)?->getAmount() ?? 0;
200
-            $totalBalance += $endingBalance;
198
+        foreach ($bankAccounts as $bankAccount) {
199
+            $account = $bankAccount->account;
200
+
201
+            if ($account) {
202
+                $endingBalance = $this->getEndingBalance($account, $startDate, $endDate)?->getAmount() ?? 0;
203
+                $totalBalance += $endingBalance;
204
+            }
201
         }
205
         }
202
 
206
 
203
         return new Money($totalBalance, CurrencyAccessor::getDefaultCurrency());
207
         return new Money($totalBalance, CurrencyAccessor::getDefaultCurrency());

+ 141
- 158
composer.lock View File

497
         },
497
         },
498
         {
498
         {
499
             "name": "aws/aws-sdk-php",
499
             "name": "aws/aws-sdk-php",
500
-            "version": "3.306.7",
500
+            "version": "3.308.1",
501
             "source": {
501
             "source": {
502
                 "type": "git",
502
                 "type": "git",
503
                 "url": "https://github.com/aws/aws-sdk-php.git",
503
                 "url": "https://github.com/aws/aws-sdk-php.git",
504
-                "reference": "bc30df54badd9d2af8d291cd0665ade6eb509598"
504
+                "reference": "bf5f1221d4c5c67d3213150fb91dfb5ce627227b"
505
             },
505
             },
506
             "dist": {
506
             "dist": {
507
                 "type": "zip",
507
                 "type": "zip",
508
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bc30df54badd9d2af8d291cd0665ade6eb509598",
509
-                "reference": "bc30df54badd9d2af8d291cd0665ade6eb509598",
508
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bf5f1221d4c5c67d3213150fb91dfb5ce627227b",
509
+                "reference": "bf5f1221d4c5c67d3213150fb91dfb5ce627227b",
510
                 "shasum": ""
510
                 "shasum": ""
511
             },
511
             },
512
             "require": {
512
             "require": {
586
             "support": {
586
             "support": {
587
                 "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
587
                 "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
588
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
588
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
589
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.306.7"
589
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.308.1"
590
             },
590
             },
591
-            "time": "2024-05-15T18:04:12+00:00"
591
+            "time": "2024-05-22T18:05:56+00:00"
592
         },
592
         },
593
         {
593
         {
594
             "name": "aws/aws-sdk-php-laravel",
594
             "name": "aws/aws-sdk-php-laravel",
1536
         },
1536
         },
1537
         {
1537
         {
1538
             "name": "doctrine/event-manager",
1538
             "name": "doctrine/event-manager",
1539
-            "version": "2.0.0",
1539
+            "version": "2.0.1",
1540
             "source": {
1540
             "source": {
1541
                 "type": "git",
1541
                 "type": "git",
1542
                 "url": "https://github.com/doctrine/event-manager.git",
1542
                 "url": "https://github.com/doctrine/event-manager.git",
1543
-                "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32"
1543
+                "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e"
1544
             },
1544
             },
1545
             "dist": {
1545
             "dist": {
1546
                 "type": "zip",
1546
                 "type": "zip",
1547
-                "url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32",
1548
-                "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32",
1547
+                "url": "https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e",
1548
+                "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e",
1549
                 "shasum": ""
1549
                 "shasum": ""
1550
             },
1550
             },
1551
             "require": {
1551
             "require": {
1555
                 "doctrine/common": "<2.9"
1555
                 "doctrine/common": "<2.9"
1556
             },
1556
             },
1557
             "require-dev": {
1557
             "require-dev": {
1558
-                "doctrine/coding-standard": "^10",
1558
+                "doctrine/coding-standard": "^12",
1559
                 "phpstan/phpstan": "^1.8.8",
1559
                 "phpstan/phpstan": "^1.8.8",
1560
-                "phpunit/phpunit": "^9.5",
1561
-                "vimeo/psalm": "^4.28"
1560
+                "phpunit/phpunit": "^10.5",
1561
+                "vimeo/psalm": "^5.24"
1562
             },
1562
             },
1563
             "type": "library",
1563
             "type": "library",
1564
             "autoload": {
1564
             "autoload": {
1607
             ],
1607
             ],
1608
             "support": {
1608
             "support": {
1609
                 "issues": "https://github.com/doctrine/event-manager/issues",
1609
                 "issues": "https://github.com/doctrine/event-manager/issues",
1610
-                "source": "https://github.com/doctrine/event-manager/tree/2.0.0"
1610
+                "source": "https://github.com/doctrine/event-manager/tree/2.0.1"
1611
             },
1611
             },
1612
             "funding": [
1612
             "funding": [
1613
                 {
1613
                 {
1623
                     "type": "tidelift"
1623
                     "type": "tidelift"
1624
                 }
1624
                 }
1625
             ],
1625
             ],
1626
-            "time": "2022-10-12T20:59:15+00:00"
1626
+            "time": "2024-05-22T20:47:39+00:00"
1627
         },
1627
         },
1628
         {
1628
         {
1629
             "name": "doctrine/inflector",
1629
             "name": "doctrine/inflector",
1985
         },
1985
         },
1986
         {
1986
         {
1987
             "name": "filament/actions",
1987
             "name": "filament/actions",
1988
-            "version": "v3.2.79",
1988
+            "version": "v3.2.81",
1989
             "source": {
1989
             "source": {
1990
                 "type": "git",
1990
                 "type": "git",
1991
                 "url": "https://github.com/filamentphp/actions.git",
1991
                 "url": "https://github.com/filamentphp/actions.git",
1992
-                "reference": "272fa664b456ec01c098026170960317b260ed30"
1992
+                "reference": "05e19bf192dfc7eb13989543c4fae4c41ee08124"
1993
             },
1993
             },
1994
             "dist": {
1994
             "dist": {
1995
                 "type": "zip",
1995
                 "type": "zip",
1996
-                "url": "https://api.github.com/repos/filamentphp/actions/zipball/272fa664b456ec01c098026170960317b260ed30",
1997
-                "reference": "272fa664b456ec01c098026170960317b260ed30",
1996
+                "url": "https://api.github.com/repos/filamentphp/actions/zipball/05e19bf192dfc7eb13989543c4fae4c41ee08124",
1997
+                "reference": "05e19bf192dfc7eb13989543c4fae4c41ee08124",
1998
                 "shasum": ""
1998
                 "shasum": ""
1999
             },
1999
             },
2000
             "require": {
2000
             "require": {
2034
                 "issues": "https://github.com/filamentphp/filament/issues",
2034
                 "issues": "https://github.com/filamentphp/filament/issues",
2035
                 "source": "https://github.com/filamentphp/filament"
2035
                 "source": "https://github.com/filamentphp/filament"
2036
             },
2036
             },
2037
-            "time": "2024-05-15T10:37:05+00:00"
2037
+            "time": "2024-05-20T16:26:41+00:00"
2038
         },
2038
         },
2039
         {
2039
         {
2040
             "name": "filament/filament",
2040
             "name": "filament/filament",
2041
-            "version": "v3.2.79",
2041
+            "version": "v3.2.81",
2042
             "source": {
2042
             "source": {
2043
                 "type": "git",
2043
                 "type": "git",
2044
                 "url": "https://github.com/filamentphp/panels.git",
2044
                 "url": "https://github.com/filamentphp/panels.git",
2045
-                "reference": "a8b17780beaf28925a9a9eb721f0f7f8483bcbcf"
2045
+                "reference": "3fb5cbeb32b02ef196a750441c7ac452c273efab"
2046
             },
2046
             },
2047
             "dist": {
2047
             "dist": {
2048
                 "type": "zip",
2048
                 "type": "zip",
2049
-                "url": "https://api.github.com/repos/filamentphp/panels/zipball/a8b17780beaf28925a9a9eb721f0f7f8483bcbcf",
2050
-                "reference": "a8b17780beaf28925a9a9eb721f0f7f8483bcbcf",
2049
+                "url": "https://api.github.com/repos/filamentphp/panels/zipball/3fb5cbeb32b02ef196a750441c7ac452c273efab",
2050
+                "reference": "3fb5cbeb32b02ef196a750441c7ac452c273efab",
2051
                 "shasum": ""
2051
                 "shasum": ""
2052
             },
2052
             },
2053
             "require": {
2053
             "require": {
2099
                 "issues": "https://github.com/filamentphp/filament/issues",
2099
                 "issues": "https://github.com/filamentphp/filament/issues",
2100
                 "source": "https://github.com/filamentphp/filament"
2100
                 "source": "https://github.com/filamentphp/filament"
2101
             },
2101
             },
2102
-            "time": "2024-05-15T10:37:20+00:00"
2102
+            "time": "2024-05-20T16:26:45+00:00"
2103
         },
2103
         },
2104
         {
2104
         {
2105
             "name": "filament/forms",
2105
             "name": "filament/forms",
2106
-            "version": "v3.2.79",
2106
+            "version": "v3.2.81",
2107
             "source": {
2107
             "source": {
2108
                 "type": "git",
2108
                 "type": "git",
2109
                 "url": "https://github.com/filamentphp/forms.git",
2109
                 "url": "https://github.com/filamentphp/forms.git",
2110
-                "reference": "2cc78f16674f91d5dd08796a59520ea4ea8229ab"
2110
+                "reference": "9ab84e46226acdbbf48e1f73fa1d141d566eab73"
2111
             },
2111
             },
2112
             "dist": {
2112
             "dist": {
2113
                 "type": "zip",
2113
                 "type": "zip",
2114
-                "url": "https://api.github.com/repos/filamentphp/forms/zipball/2cc78f16674f91d5dd08796a59520ea4ea8229ab",
2115
-                "reference": "2cc78f16674f91d5dd08796a59520ea4ea8229ab",
2114
+                "url": "https://api.github.com/repos/filamentphp/forms/zipball/9ab84e46226acdbbf48e1f73fa1d141d566eab73",
2115
+                "reference": "9ab84e46226acdbbf48e1f73fa1d141d566eab73",
2116
                 "shasum": ""
2116
                 "shasum": ""
2117
             },
2117
             },
2118
             "require": {
2118
             "require": {
2155
                 "issues": "https://github.com/filamentphp/filament/issues",
2155
                 "issues": "https://github.com/filamentphp/filament/issues",
2156
                 "source": "https://github.com/filamentphp/filament"
2156
                 "source": "https://github.com/filamentphp/filament"
2157
             },
2157
             },
2158
-            "time": "2024-05-15T10:37:07+00:00"
2158
+            "time": "2024-05-20T16:26:41+00:00"
2159
         },
2159
         },
2160
         {
2160
         {
2161
             "name": "filament/infolists",
2161
             "name": "filament/infolists",
2162
-            "version": "v3.2.79",
2162
+            "version": "v3.2.81",
2163
             "source": {
2163
             "source": {
2164
                 "type": "git",
2164
                 "type": "git",
2165
                 "url": "https://github.com/filamentphp/infolists.git",
2165
                 "url": "https://github.com/filamentphp/infolists.git",
2166
-                "reference": "1dd25e010df2c1983e09588601f5ffc60b781c90"
2166
+                "reference": "214c92c446277bb6599758a29ad885e79b11e6b0"
2167
             },
2167
             },
2168
             "dist": {
2168
             "dist": {
2169
                 "type": "zip",
2169
                 "type": "zip",
2170
-                "url": "https://api.github.com/repos/filamentphp/infolists/zipball/1dd25e010df2c1983e09588601f5ffc60b781c90",
2171
-                "reference": "1dd25e010df2c1983e09588601f5ffc60b781c90",
2170
+                "url": "https://api.github.com/repos/filamentphp/infolists/zipball/214c92c446277bb6599758a29ad885e79b11e6b0",
2171
+                "reference": "214c92c446277bb6599758a29ad885e79b11e6b0",
2172
                 "shasum": ""
2172
                 "shasum": ""
2173
             },
2173
             },
2174
             "require": {
2174
             "require": {
2206
                 "issues": "https://github.com/filamentphp/filament/issues",
2206
                 "issues": "https://github.com/filamentphp/filament/issues",
2207
                 "source": "https://github.com/filamentphp/filament"
2207
                 "source": "https://github.com/filamentphp/filament"
2208
             },
2208
             },
2209
-            "time": "2024-05-13T11:04:31+00:00"
2209
+            "time": "2024-05-16T11:11:37+00:00"
2210
         },
2210
         },
2211
         {
2211
         {
2212
             "name": "filament/notifications",
2212
             "name": "filament/notifications",
2213
-            "version": "v3.2.79",
2213
+            "version": "v3.2.81",
2214
             "source": {
2214
             "source": {
2215
                 "type": "git",
2215
                 "type": "git",
2216
                 "url": "https://github.com/filamentphp/notifications.git",
2216
                 "url": "https://github.com/filamentphp/notifications.git",
2262
         },
2262
         },
2263
         {
2263
         {
2264
             "name": "filament/support",
2264
             "name": "filament/support",
2265
-            "version": "v3.2.79",
2265
+            "version": "v3.2.81",
2266
             "source": {
2266
             "source": {
2267
                 "type": "git",
2267
                 "type": "git",
2268
                 "url": "https://github.com/filamentphp/support.git",
2268
                 "url": "https://github.com/filamentphp/support.git",
2269
-                "reference": "b49a62028f77a4b7daf5b4caad5d933665cc995a"
2269
+                "reference": "1435caac4c2a454ab0eb11fc6590628eda36aa0b"
2270
             },
2270
             },
2271
             "dist": {
2271
             "dist": {
2272
                 "type": "zip",
2272
                 "type": "zip",
2273
-                "url": "https://api.github.com/repos/filamentphp/support/zipball/b49a62028f77a4b7daf5b4caad5d933665cc995a",
2274
-                "reference": "b49a62028f77a4b7daf5b4caad5d933665cc995a",
2273
+                "url": "https://api.github.com/repos/filamentphp/support/zipball/1435caac4c2a454ab0eb11fc6590628eda36aa0b",
2274
+                "reference": "1435caac4c2a454ab0eb11fc6590628eda36aa0b",
2275
                 "shasum": ""
2275
                 "shasum": ""
2276
             },
2276
             },
2277
             "require": {
2277
             "require": {
2316
                 "issues": "https://github.com/filamentphp/filament/issues",
2316
                 "issues": "https://github.com/filamentphp/filament/issues",
2317
                 "source": "https://github.com/filamentphp/filament"
2317
                 "source": "https://github.com/filamentphp/filament"
2318
             },
2318
             },
2319
-            "time": "2024-05-13T11:05:17+00:00"
2319
+            "time": "2024-05-20T16:26:41+00:00"
2320
         },
2320
         },
2321
         {
2321
         {
2322
             "name": "filament/tables",
2322
             "name": "filament/tables",
2323
-            "version": "v3.2.79",
2323
+            "version": "v3.2.81",
2324
             "source": {
2324
             "source": {
2325
                 "type": "git",
2325
                 "type": "git",
2326
                 "url": "https://github.com/filamentphp/tables.git",
2326
                 "url": "https://github.com/filamentphp/tables.git",
2327
-                "reference": "c1265e97447aa6acaaa18026851f516e3ddbcbd3"
2327
+                "reference": "9f0141c7076c096b90cf1e22b45d7ddc3db9c8d5"
2328
             },
2328
             },
2329
             "dist": {
2329
             "dist": {
2330
                 "type": "zip",
2330
                 "type": "zip",
2331
-                "url": "https://api.github.com/repos/filamentphp/tables/zipball/c1265e97447aa6acaaa18026851f516e3ddbcbd3",
2332
-                "reference": "c1265e97447aa6acaaa18026851f516e3ddbcbd3",
2331
+                "url": "https://api.github.com/repos/filamentphp/tables/zipball/9f0141c7076c096b90cf1e22b45d7ddc3db9c8d5",
2332
+                "reference": "9f0141c7076c096b90cf1e22b45d7ddc3db9c8d5",
2333
                 "shasum": ""
2333
                 "shasum": ""
2334
             },
2334
             },
2335
             "require": {
2335
             "require": {
2369
                 "issues": "https://github.com/filamentphp/filament/issues",
2369
                 "issues": "https://github.com/filamentphp/filament/issues",
2370
                 "source": "https://github.com/filamentphp/filament"
2370
                 "source": "https://github.com/filamentphp/filament"
2371
             },
2371
             },
2372
-            "time": "2024-05-14T12:08:22+00:00"
2372
+            "time": "2024-05-20T16:26:45+00:00"
2373
         },
2373
         },
2374
         {
2374
         {
2375
             "name": "filament/widgets",
2375
             "name": "filament/widgets",
2376
-            "version": "v3.2.79",
2376
+            "version": "v3.2.81",
2377
             "source": {
2377
             "source": {
2378
                 "type": "git",
2378
                 "type": "git",
2379
                 "url": "https://github.com/filamentphp/widgets.git",
2379
                 "url": "https://github.com/filamentphp/widgets.git",
2380
-                "reference": "65ec747c3eac23664a2bcbd6adb61babc0c41b51"
2380
+                "reference": "8f30d0120641d055a9ab47689d19258a1d670444"
2381
             },
2381
             },
2382
             "dist": {
2382
             "dist": {
2383
                 "type": "zip",
2383
                 "type": "zip",
2384
-                "url": "https://api.github.com/repos/filamentphp/widgets/zipball/65ec747c3eac23664a2bcbd6adb61babc0c41b51",
2385
-                "reference": "65ec747c3eac23664a2bcbd6adb61babc0c41b51",
2384
+                "url": "https://api.github.com/repos/filamentphp/widgets/zipball/8f30d0120641d055a9ab47689d19258a1d670444",
2385
+                "reference": "8f30d0120641d055a9ab47689d19258a1d670444",
2386
                 "shasum": ""
2386
                 "shasum": ""
2387
             },
2387
             },
2388
             "require": {
2388
             "require": {
2413
                 "issues": "https://github.com/filamentphp/filament/issues",
2413
                 "issues": "https://github.com/filamentphp/filament/issues",
2414
                 "source": "https://github.com/filamentphp/filament"
2414
                 "source": "https://github.com/filamentphp/filament"
2415
             },
2415
             },
2416
-            "time": "2024-05-08T16:21:40+00:00"
2416
+            "time": "2024-05-20T16:26:42+00:00"
2417
         },
2417
         },
2418
         {
2418
         {
2419
             "name": "firebase/php-jwt",
2419
             "name": "firebase/php-jwt",
2420
-            "version": "v6.10.0",
2420
+            "version": "v6.10.1",
2421
             "source": {
2421
             "source": {
2422
                 "type": "git",
2422
                 "type": "git",
2423
                 "url": "https://github.com/firebase/php-jwt.git",
2423
                 "url": "https://github.com/firebase/php-jwt.git",
2424
-                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff"
2424
+                "reference": "500501c2ce893c824c801da135d02661199f60c5"
2425
             },
2425
             },
2426
             "dist": {
2426
             "dist": {
2427
                 "type": "zip",
2427
                 "type": "zip",
2428
-                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff",
2429
-                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff",
2428
+                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5",
2429
+                "reference": "500501c2ce893c824c801da135d02661199f60c5",
2430
                 "shasum": ""
2430
                 "shasum": ""
2431
             },
2431
             },
2432
             "require": {
2432
             "require": {
2433
-                "php": "^7.4||^8.0"
2433
+                "php": "^8.0"
2434
             },
2434
             },
2435
             "require-dev": {
2435
             "require-dev": {
2436
-                "guzzlehttp/guzzle": "^6.5||^7.4",
2436
+                "guzzlehttp/guzzle": "^7.4",
2437
                 "phpspec/prophecy-phpunit": "^2.0",
2437
                 "phpspec/prophecy-phpunit": "^2.0",
2438
                 "phpunit/phpunit": "^9.5",
2438
                 "phpunit/phpunit": "^9.5",
2439
-                "psr/cache": "^1.0||^2.0",
2439
+                "psr/cache": "^2.0||^3.0",
2440
                 "psr/http-client": "^1.0",
2440
                 "psr/http-client": "^1.0",
2441
                 "psr/http-factory": "^1.0"
2441
                 "psr/http-factory": "^1.0"
2442
             },
2442
             },
2474
             ],
2474
             ],
2475
             "support": {
2475
             "support": {
2476
                 "issues": "https://github.com/firebase/php-jwt/issues",
2476
                 "issues": "https://github.com/firebase/php-jwt/issues",
2477
-                "source": "https://github.com/firebase/php-jwt/tree/v6.10.0"
2477
+                "source": "https://github.com/firebase/php-jwt/tree/v6.10.1"
2478
             },
2478
             },
2479
-            "time": "2023-12-01T16:26:39+00:00"
2479
+            "time": "2024-05-18T18:05:11+00:00"
2480
         },
2480
         },
2481
         {
2481
         {
2482
             "name": "fruitcake/php-cors",
2482
             "name": "fruitcake/php-cors",
2613
         },
2613
         },
2614
         {
2614
         {
2615
             "name": "guava/filament-clusters",
2615
             "name": "guava/filament-clusters",
2616
-            "version": "1.2.0",
2616
+            "version": "1.2.1",
2617
             "source": {
2617
             "source": {
2618
                 "type": "git",
2618
                 "type": "git",
2619
                 "url": "https://github.com/GuavaCZ/filament-clusters.git",
2619
                 "url": "https://github.com/GuavaCZ/filament-clusters.git",
2620
-                "reference": "b9bd5a413e8f392653c06e77acb19c20b6a26924"
2620
+                "reference": "dcc1902505874be461374ecbc57f282228ff56fd"
2621
             },
2621
             },
2622
             "dist": {
2622
             "dist": {
2623
                 "type": "zip",
2623
                 "type": "zip",
2624
-                "url": "https://api.github.com/repos/GuavaCZ/filament-clusters/zipball/b9bd5a413e8f392653c06e77acb19c20b6a26924",
2625
-                "reference": "b9bd5a413e8f392653c06e77acb19c20b6a26924",
2624
+                "url": "https://api.github.com/repos/GuavaCZ/filament-clusters/zipball/dcc1902505874be461374ecbc57f282228ff56fd",
2625
+                "reference": "dcc1902505874be461374ecbc57f282228ff56fd",
2626
                 "shasum": ""
2626
                 "shasum": ""
2627
             },
2627
             },
2628
             "require": {
2628
             "require": {
2676
             ],
2676
             ],
2677
             "support": {
2677
             "support": {
2678
                 "issues": "https://github.com/GuavaCZ/filament-clusters/issues",
2678
                 "issues": "https://github.com/GuavaCZ/filament-clusters/issues",
2679
-                "source": "https://github.com/GuavaCZ/filament-clusters/tree/1.2.0"
2679
+                "source": "https://github.com/GuavaCZ/filament-clusters/tree/1.2.1"
2680
             },
2680
             },
2681
             "funding": [
2681
             "funding": [
2682
                 {
2682
                 {
2684
                     "type": "github"
2684
                     "type": "github"
2685
                 }
2685
                 }
2686
             ],
2686
             ],
2687
-            "time": "2024-03-15T12:43:01+00:00"
2687
+            "time": "2024-05-21T07:18:53+00:00"
2688
         },
2688
         },
2689
         {
2689
         {
2690
             "name": "guzzlehttp/guzzle",
2690
             "name": "guzzlehttp/guzzle",
3161
         },
3161
         },
3162
         {
3162
         {
3163
             "name": "laravel/framework",
3163
             "name": "laravel/framework",
3164
-            "version": "v11.7.0",
3164
+            "version": "v11.8.0",
3165
             "source": {
3165
             "source": {
3166
                 "type": "git",
3166
                 "type": "git",
3167
                 "url": "https://github.com/laravel/framework.git",
3167
                 "url": "https://github.com/laravel/framework.git",
3168
-                "reference": "e5ac72f513f635f208024aa76b8a04efc1b47f93"
3168
+                "reference": "ceb892a25817c888ef3df4d1a2af9cac53978300"
3169
             },
3169
             },
3170
             "dist": {
3170
             "dist": {
3171
                 "type": "zip",
3171
                 "type": "zip",
3172
-                "url": "https://api.github.com/repos/laravel/framework/zipball/e5ac72f513f635f208024aa76b8a04efc1b47f93",
3173
-                "reference": "e5ac72f513f635f208024aa76b8a04efc1b47f93",
3172
+                "url": "https://api.github.com/repos/laravel/framework/zipball/ceb892a25817c888ef3df4d1a2af9cac53978300",
3173
+                "reference": "ceb892a25817c888ef3df4d1a2af9cac53978300",
3174
                 "shasum": ""
3174
                 "shasum": ""
3175
             },
3175
             },
3176
             "require": {
3176
             "require": {
3295
                 "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.",
3295
                 "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.",
3296
                 "ext-pdo": "Required to use all database features.",
3296
                 "ext-pdo": "Required to use all database features.",
3297
                 "ext-posix": "Required to use all features of the queue worker.",
3297
                 "ext-posix": "Required to use all features of the queue worker.",
3298
-                "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
3298
+                "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).",
3299
                 "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
3299
                 "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
3300
                 "filp/whoops": "Required for friendly error pages in development (^2.14.3).",
3300
                 "filp/whoops": "Required for friendly error pages in development (^2.14.3).",
3301
                 "laravel/tinker": "Required to use the tinker console command (^2.0).",
3301
                 "laravel/tinker": "Required to use the tinker console command (^2.0).",
3362
                 "issues": "https://github.com/laravel/framework/issues",
3362
                 "issues": "https://github.com/laravel/framework/issues",
3363
                 "source": "https://github.com/laravel/framework"
3363
                 "source": "https://github.com/laravel/framework"
3364
             },
3364
             },
3365
-            "time": "2024-05-07T13:41:51+00:00"
3365
+            "time": "2024-05-21T17:57:45+00:00"
3366
         },
3366
         },
3367
         {
3367
         {
3368
             "name": "laravel/prompts",
3368
             "name": "laravel/prompts",
3369
-            "version": "v0.1.21",
3369
+            "version": "v0.1.22",
3370
             "source": {
3370
             "source": {
3371
                 "type": "git",
3371
                 "type": "git",
3372
                 "url": "https://github.com/laravel/prompts.git",
3372
                 "url": "https://github.com/laravel/prompts.git",
3373
-                "reference": "23ea808e8a145653e0ab29e30d4385e49f40a920"
3373
+                "reference": "37f94de71758dbfbccc9d299b0e5eb76e02a40f5"
3374
             },
3374
             },
3375
             "dist": {
3375
             "dist": {
3376
                 "type": "zip",
3376
                 "type": "zip",
3377
-                "url": "https://api.github.com/repos/laravel/prompts/zipball/23ea808e8a145653e0ab29e30d4385e49f40a920",
3378
-                "reference": "23ea808e8a145653e0ab29e30d4385e49f40a920",
3377
+                "url": "https://api.github.com/repos/laravel/prompts/zipball/37f94de71758dbfbccc9d299b0e5eb76e02a40f5",
3378
+                "reference": "37f94de71758dbfbccc9d299b0e5eb76e02a40f5",
3379
                 "shasum": ""
3379
                 "shasum": ""
3380
             },
3380
             },
3381
             "require": {
3381
             "require": {
3418
             "description": "Add beautiful and user-friendly forms to your command-line applications.",
3418
             "description": "Add beautiful and user-friendly forms to your command-line applications.",
3419
             "support": {
3419
             "support": {
3420
                 "issues": "https://github.com/laravel/prompts/issues",
3420
                 "issues": "https://github.com/laravel/prompts/issues",
3421
-                "source": "https://github.com/laravel/prompts/tree/v0.1.21"
3421
+                "source": "https://github.com/laravel/prompts/tree/v0.1.22"
3422
             },
3422
             },
3423
-            "time": "2024-04-30T12:46:16+00:00"
3423
+            "time": "2024-05-10T19:22:18+00:00"
3424
         },
3424
         },
3425
         {
3425
         {
3426
             "name": "laravel/sanctum",
3426
             "name": "laravel/sanctum",
3963
         },
3963
         },
3964
         {
3964
         {
3965
             "name": "league/flysystem",
3965
             "name": "league/flysystem",
3966
-            "version": "3.27.0",
3966
+            "version": "3.28.0",
3967
             "source": {
3967
             "source": {
3968
                 "type": "git",
3968
                 "type": "git",
3969
                 "url": "https://github.com/thephpleague/flysystem.git",
3969
                 "url": "https://github.com/thephpleague/flysystem.git",
3970
-                "reference": "4729745b1ab737908c7d055148c9a6b3e959832f"
3970
+                "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c"
3971
             },
3971
             },
3972
             "dist": {
3972
             "dist": {
3973
                 "type": "zip",
3973
                 "type": "zip",
3974
-                "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4729745b1ab737908c7d055148c9a6b3e959832f",
3975
-                "reference": "4729745b1ab737908c7d055148c9a6b3e959832f",
3974
+                "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c",
3975
+                "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c",
3976
                 "shasum": ""
3976
                 "shasum": ""
3977
             },
3977
             },
3978
             "require": {
3978
             "require": {
3996
                 "composer/semver": "^3.0",
3996
                 "composer/semver": "^3.0",
3997
                 "ext-fileinfo": "*",
3997
                 "ext-fileinfo": "*",
3998
                 "ext-ftp": "*",
3998
                 "ext-ftp": "*",
3999
+                "ext-mongodb": "^1.3",
3999
                 "ext-zip": "*",
4000
                 "ext-zip": "*",
4000
                 "friendsofphp/php-cs-fixer": "^3.5",
4001
                 "friendsofphp/php-cs-fixer": "^3.5",
4001
                 "google/cloud-storage": "^1.23",
4002
                 "google/cloud-storage": "^1.23",
4003
+                "guzzlehttp/psr7": "^2.6",
4002
                 "microsoft/azure-storage-blob": "^1.1",
4004
                 "microsoft/azure-storage-blob": "^1.1",
4005
+                "mongodb/mongodb": "^1.2",
4003
                 "phpseclib/phpseclib": "^3.0.36",
4006
                 "phpseclib/phpseclib": "^3.0.36",
4004
                 "phpstan/phpstan": "^1.10",
4007
                 "phpstan/phpstan": "^1.10",
4005
                 "phpunit/phpunit": "^9.5.11|^10.0",
4008
                 "phpunit/phpunit": "^9.5.11|^10.0",
4037
             ],
4040
             ],
4038
             "support": {
4041
             "support": {
4039
                 "issues": "https://github.com/thephpleague/flysystem/issues",
4042
                 "issues": "https://github.com/thephpleague/flysystem/issues",
4040
-                "source": "https://github.com/thephpleague/flysystem/tree/3.27.0"
4043
+                "source": "https://github.com/thephpleague/flysystem/tree/3.28.0"
4041
             },
4044
             },
4042
-            "funding": [
4043
-                {
4044
-                    "url": "https://ecologi.com/frankdejonge",
4045
-                    "type": "custom"
4046
-                },
4047
-                {
4048
-                    "url": "https://github.com/frankdejonge",
4049
-                    "type": "github"
4050
-                }
4051
-            ],
4052
-            "time": "2024-04-07T19:17:50+00:00"
4045
+            "time": "2024-05-22T10:09:12+00:00"
4053
         },
4046
         },
4054
         {
4047
         {
4055
             "name": "league/flysystem-local",
4048
             "name": "league/flysystem-local",
4056
-            "version": "3.25.1",
4049
+            "version": "3.28.0",
4057
             "source": {
4050
             "source": {
4058
                 "type": "git",
4051
                 "type": "git",
4059
                 "url": "https://github.com/thephpleague/flysystem-local.git",
4052
                 "url": "https://github.com/thephpleague/flysystem-local.git",
4060
-                "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92"
4053
+                "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40"
4061
             },
4054
             },
4062
             "dist": {
4055
             "dist": {
4063
                 "type": "zip",
4056
                 "type": "zip",
4064
-                "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92",
4065
-                "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92",
4057
+                "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/13f22ea8be526ea58c2ddff9e158ef7c296e4f40",
4058
+                "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40",
4066
                 "shasum": ""
4059
                 "shasum": ""
4067
             },
4060
             },
4068
             "require": {
4061
             "require": {
4096
                 "local"
4089
                 "local"
4097
             ],
4090
             ],
4098
             "support": {
4091
             "support": {
4099
-                "source": "https://github.com/thephpleague/flysystem-local/tree/3.25.1"
4092
+                "source": "https://github.com/thephpleague/flysystem-local/tree/3.28.0"
4100
             },
4093
             },
4101
-            "funding": [
4102
-                {
4103
-                    "url": "https://ecologi.com/frankdejonge",
4104
-                    "type": "custom"
4105
-                },
4106
-                {
4107
-                    "url": "https://github.com/frankdejonge",
4108
-                    "type": "github"
4109
-                }
4110
-            ],
4111
-            "time": "2024-03-15T19:58:44+00:00"
4094
+            "time": "2024-05-06T20:05:52+00:00"
4112
         },
4095
         },
4113
         {
4096
         {
4114
             "name": "league/mime-type-detection",
4097
             "name": "league/mime-type-detection",
4418
         },
4401
         },
4419
         {
4402
         {
4420
             "name": "livewire/livewire",
4403
             "name": "livewire/livewire",
4421
-            "version": "v3.4.12",
4404
+            "version": "v3.5.0",
4422
             "source": {
4405
             "source": {
4423
                 "type": "git",
4406
                 "type": "git",
4424
                 "url": "https://github.com/livewire/livewire.git",
4407
                 "url": "https://github.com/livewire/livewire.git",
4425
-                "reference": "54dd265c17f7b5200627eb9690590e7cbbad1027"
4408
+                "reference": "72e900825c560f0e4e620185b26c5441a8914435"
4426
             },
4409
             },
4427
             "dist": {
4410
             "dist": {
4428
                 "type": "zip",
4411
                 "type": "zip",
4429
-                "url": "https://api.github.com/repos/livewire/livewire/zipball/54dd265c17f7b5200627eb9690590e7cbbad1027",
4430
-                "reference": "54dd265c17f7b5200627eb9690590e7cbbad1027",
4412
+                "url": "https://api.github.com/repos/livewire/livewire/zipball/72e900825c560f0e4e620185b26c5441a8914435",
4413
+                "reference": "72e900825c560f0e4e620185b26c5441a8914435",
4431
                 "shasum": ""
4414
                 "shasum": ""
4432
             },
4415
             },
4433
             "require": {
4416
             "require": {
4482
             "description": "A front-end framework for Laravel.",
4465
             "description": "A front-end framework for Laravel.",
4483
             "support": {
4466
             "support": {
4484
                 "issues": "https://github.com/livewire/livewire/issues",
4467
                 "issues": "https://github.com/livewire/livewire/issues",
4485
-                "source": "https://github.com/livewire/livewire/tree/v3.4.12"
4468
+                "source": "https://github.com/livewire/livewire/tree/v3.5.0"
4486
             },
4469
             },
4487
             "funding": [
4470
             "funding": [
4488
                 {
4471
                 {
4490
                     "type": "github"
4473
                     "type": "github"
4491
                 }
4474
                 }
4492
             ],
4475
             ],
4493
-            "time": "2024-05-02T17:10:37+00:00"
4476
+            "time": "2024-05-21T13:39:04+00:00"
4494
         },
4477
         },
4495
         {
4478
         {
4496
             "name": "masterminds/html5",
4479
             "name": "masterminds/html5",
5251
         },
5234
         },
5252
         {
5235
         {
5253
             "name": "openspout/openspout",
5236
             "name": "openspout/openspout",
5254
-            "version": "v4.24.0",
5237
+            "version": "v4.24.1",
5255
             "source": {
5238
             "source": {
5256
                 "type": "git",
5239
                 "type": "git",
5257
                 "url": "https://github.com/openspout/openspout.git",
5240
                 "url": "https://github.com/openspout/openspout.git",
5258
-                "reference": "51f2a627d4cdcdb06eb451c6f434daeb190c4afb"
5241
+                "reference": "003991abc5cfee93423254774c71766d38cbe340"
5259
             },
5242
             },
5260
             "dist": {
5243
             "dist": {
5261
                 "type": "zip",
5244
                 "type": "zip",
5262
-                "url": "https://api.github.com/repos/openspout/openspout/zipball/51f2a627d4cdcdb06eb451c6f434daeb190c4afb",
5263
-                "reference": "51f2a627d4cdcdb06eb451c6f434daeb190c4afb",
5245
+                "url": "https://api.github.com/repos/openspout/openspout/zipball/003991abc5cfee93423254774c71766d38cbe340",
5246
+                "reference": "003991abc5cfee93423254774c71766d38cbe340",
5264
                 "shasum": ""
5247
                 "shasum": ""
5265
             },
5248
             },
5266
             "require": {
5249
             "require": {
5274
             },
5257
             },
5275
             "require-dev": {
5258
             "require-dev": {
5276
                 "ext-zlib": "*",
5259
                 "ext-zlib": "*",
5277
-                "friendsofphp/php-cs-fixer": "^3.56.0",
5260
+                "friendsofphp/php-cs-fixer": "^3.57.1",
5278
                 "infection/infection": "^0.28.1",
5261
                 "infection/infection": "^0.28.1",
5279
                 "phpbench/phpbench": "^1.2.15",
5262
                 "phpbench/phpbench": "^1.2.15",
5280
-                "phpstan/phpstan": "^1.10.67",
5281
-                "phpstan/phpstan-phpunit": "^1.3.16",
5282
-                "phpstan/phpstan-strict-rules": "^1.5.5",
5263
+                "phpstan/phpstan": "^1.11.1",
5264
+                "phpstan/phpstan-phpunit": "^1.4.0",
5265
+                "phpstan/phpstan-strict-rules": "^1.6.0",
5283
                 "phpunit/phpunit": "^10.5.20"
5266
                 "phpunit/phpunit": "^10.5.20"
5284
             },
5267
             },
5285
             "suggest": {
5268
             "suggest": {
5328
             ],
5311
             ],
5329
             "support": {
5312
             "support": {
5330
                 "issues": "https://github.com/openspout/openspout/issues",
5313
                 "issues": "https://github.com/openspout/openspout/issues",
5331
-                "source": "https://github.com/openspout/openspout/tree/v4.24.0"
5314
+                "source": "https://github.com/openspout/openspout/tree/v4.24.1"
5332
             },
5315
             },
5333
             "funding": [
5316
             "funding": [
5334
                 {
5317
                 {
5340
                     "type": "github"
5323
                     "type": "github"
5341
                 }
5324
                 }
5342
             ],
5325
             ],
5343
-            "time": "2024-05-10T09:06:16+00:00"
5326
+            "time": "2024-05-20T09:32:59+00:00"
5344
         },
5327
         },
5345
         {
5328
         {
5346
             "name": "paragonie/constant_time_encoding",
5329
             "name": "paragonie/constant_time_encoding",
6703
         },
6686
         },
6704
         {
6687
         {
6705
             "name": "spatie/invade",
6688
             "name": "spatie/invade",
6706
-            "version": "2.0.0",
6689
+            "version": "2.1.0",
6707
             "source": {
6690
             "source": {
6708
                 "type": "git",
6691
                 "type": "git",
6709
                 "url": "https://github.com/spatie/invade.git",
6692
                 "url": "https://github.com/spatie/invade.git",
6710
-                "reference": "7b20a25486de69198e402da20dc924d8bcc8024a"
6693
+                "reference": "b920f6411d21df4e8610a138e2e87ae4957d7f63"
6711
             },
6694
             },
6712
             "dist": {
6695
             "dist": {
6713
                 "type": "zip",
6696
                 "type": "zip",
6714
-                "url": "https://api.github.com/repos/spatie/invade/zipball/7b20a25486de69198e402da20dc924d8bcc8024a",
6715
-                "reference": "7b20a25486de69198e402da20dc924d8bcc8024a",
6697
+                "url": "https://api.github.com/repos/spatie/invade/zipball/b920f6411d21df4e8610a138e2e87ae4957d7f63",
6698
+                "reference": "b920f6411d21df4e8610a138e2e87ae4957d7f63",
6716
                 "shasum": ""
6699
                 "shasum": ""
6717
             },
6700
             },
6718
             "require": {
6701
             "require": {
6750
                 "spatie"
6733
                 "spatie"
6751
             ],
6734
             ],
6752
             "support": {
6735
             "support": {
6753
-                "source": "https://github.com/spatie/invade/tree/2.0.0"
6736
+                "source": "https://github.com/spatie/invade/tree/2.1.0"
6754
             },
6737
             },
6755
             "funding": [
6738
             "funding": [
6756
                 {
6739
                 {
6758
                     "type": "github"
6741
                     "type": "github"
6759
                 }
6742
                 }
6760
             ],
6743
             ],
6761
-            "time": "2023-07-19T18:55:36+00:00"
6744
+            "time": "2024-05-17T09:06:10+00:00"
6762
         },
6745
         },
6763
         {
6746
         {
6764
             "name": "spatie/laravel-package-tools",
6747
             "name": "spatie/laravel-package-tools",
9838
         },
9821
         },
9839
         {
9822
         {
9840
             "name": "laravel/pint",
9823
             "name": "laravel/pint",
9841
-            "version": "v1.15.3",
9824
+            "version": "v1.16.0",
9842
             "source": {
9825
             "source": {
9843
                 "type": "git",
9826
                 "type": "git",
9844
                 "url": "https://github.com/laravel/pint.git",
9827
                 "url": "https://github.com/laravel/pint.git",
9845
-                "reference": "3600b5d17aff52f6100ea4921849deacbbeb8656"
9828
+                "reference": "1b3a3dc5bc6a81ff52828ba7277621f1d49d6d98"
9846
             },
9829
             },
9847
             "dist": {
9830
             "dist": {
9848
                 "type": "zip",
9831
                 "type": "zip",
9849
-                "url": "https://api.github.com/repos/laravel/pint/zipball/3600b5d17aff52f6100ea4921849deacbbeb8656",
9850
-                "reference": "3600b5d17aff52f6100ea4921849deacbbeb8656",
9832
+                "url": "https://api.github.com/repos/laravel/pint/zipball/1b3a3dc5bc6a81ff52828ba7277621f1d49d6d98",
9833
+                "reference": "1b3a3dc5bc6a81ff52828ba7277621f1d49d6d98",
9851
                 "shasum": ""
9834
                 "shasum": ""
9852
             },
9835
             },
9853
             "require": {
9836
             "require": {
9858
                 "php": "^8.1.0"
9841
                 "php": "^8.1.0"
9859
             },
9842
             },
9860
             "require-dev": {
9843
             "require-dev": {
9861
-                "friendsofphp/php-cs-fixer": "^3.54.0",
9862
-                "illuminate/view": "^10.48.8",
9863
-                "larastan/larastan": "^2.9.5",
9864
-                "laravel-zero/framework": "^10.3.0",
9865
-                "mockery/mockery": "^1.6.11",
9844
+                "friendsofphp/php-cs-fixer": "^3.57.1",
9845
+                "illuminate/view": "^10.48.10",
9846
+                "larastan/larastan": "^2.9.6",
9847
+                "laravel-zero/framework": "^10.4.0",
9848
+                "mockery/mockery": "^1.6.12",
9866
                 "nunomaduro/termwind": "^1.15.1",
9849
                 "nunomaduro/termwind": "^1.15.1",
9867
                 "pestphp/pest": "^2.34.7"
9850
                 "pestphp/pest": "^2.34.7"
9868
             },
9851
             },
9900
                 "issues": "https://github.com/laravel/pint/issues",
9883
                 "issues": "https://github.com/laravel/pint/issues",
9901
                 "source": "https://github.com/laravel/pint"
9884
                 "source": "https://github.com/laravel/pint"
9902
             },
9885
             },
9903
-            "time": "2024-04-30T15:02:26+00:00"
9886
+            "time": "2024-05-21T18:08:25+00:00"
9904
         },
9887
         },
9905
         {
9888
         {
9906
             "name": "laravel/sail",
9889
             "name": "laravel/sail",
9907
-            "version": "v1.29.1",
9890
+            "version": "v1.29.2",
9908
             "source": {
9891
             "source": {
9909
                 "type": "git",
9892
                 "type": "git",
9910
                 "url": "https://github.com/laravel/sail.git",
9893
                 "url": "https://github.com/laravel/sail.git",
9911
-                "reference": "8be4a31150eab3b46af11a2e7b2c4632eefaad7e"
9894
+                "reference": "a8e4e749735ba2f091856eafeb3f99db8cd6b621"
9912
             },
9895
             },
9913
             "dist": {
9896
             "dist": {
9914
                 "type": "zip",
9897
                 "type": "zip",
9915
-                "url": "https://api.github.com/repos/laravel/sail/zipball/8be4a31150eab3b46af11a2e7b2c4632eefaad7e",
9916
-                "reference": "8be4a31150eab3b46af11a2e7b2c4632eefaad7e",
9898
+                "url": "https://api.github.com/repos/laravel/sail/zipball/a8e4e749735ba2f091856eafeb3f99db8cd6b621",
9899
+                "reference": "a8e4e749735ba2f091856eafeb3f99db8cd6b621",
9917
                 "shasum": ""
9900
                 "shasum": ""
9918
             },
9901
             },
9919
             "require": {
9902
             "require": {
9963
                 "issues": "https://github.com/laravel/sail/issues",
9946
                 "issues": "https://github.com/laravel/sail/issues",
9964
                 "source": "https://github.com/laravel/sail"
9947
                 "source": "https://github.com/laravel/sail"
9965
             },
9948
             },
9966
-            "time": "2024-03-20T20:09:31+00:00"
9949
+            "time": "2024-05-16T21:39:11+00:00"
9967
         },
9950
         },
9968
         {
9951
         {
9969
             "name": "mockery/mockery",
9952
             "name": "mockery/mockery",
9970
-            "version": "1.6.11",
9953
+            "version": "1.6.12",
9971
             "source": {
9954
             "source": {
9972
                 "type": "git",
9955
                 "type": "git",
9973
                 "url": "https://github.com/mockery/mockery.git",
9956
                 "url": "https://github.com/mockery/mockery.git",
9974
-                "reference": "81a161d0b135df89951abd52296adf97deb0723d"
9957
+                "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699"
9975
             },
9958
             },
9976
             "dist": {
9959
             "dist": {
9977
                 "type": "zip",
9960
                 "type": "zip",
9978
-                "url": "https://api.github.com/repos/mockery/mockery/zipball/81a161d0b135df89951abd52296adf97deb0723d",
9979
-                "reference": "81a161d0b135df89951abd52296adf97deb0723d",
9961
+                "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699",
9962
+                "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699",
9980
                 "shasum": ""
9963
                 "shasum": ""
9981
             },
9964
             },
9982
             "require": {
9965
             "require": {
10046
                 "security": "https://github.com/mockery/mockery/security/advisories",
10029
                 "security": "https://github.com/mockery/mockery/security/advisories",
10047
                 "source": "https://github.com/mockery/mockery"
10030
                 "source": "https://github.com/mockery/mockery"
10048
             },
10031
             },
10049
-            "time": "2024-03-21T18:34:15+00:00"
10032
+            "time": "2024-05-16T03:13:13+00:00"
10050
         },
10033
         },
10051
         {
10034
         {
10052
             "name": "myclabs/deep-copy",
10035
             "name": "myclabs/deep-copy",
11725
         },
11708
         },
11726
         {
11709
         {
11727
             "name": "spatie/flare-client-php",
11710
             "name": "spatie/flare-client-php",
11728
-            "version": "1.5.1",
11711
+            "version": "1.6.0",
11729
             "source": {
11712
             "source": {
11730
                 "type": "git",
11713
                 "type": "git",
11731
                 "url": "https://github.com/spatie/flare-client-php.git",
11714
                 "url": "https://github.com/spatie/flare-client-php.git",
11732
-                "reference": "e27977d534eefe04c154c6fd8460217024054c05"
11715
+                "reference": "220a7c8745e9fa427d54099f47147c4b97fe6462"
11733
             },
11716
             },
11734
             "dist": {
11717
             "dist": {
11735
                 "type": "zip",
11718
                 "type": "zip",
11736
-                "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/e27977d534eefe04c154c6fd8460217024054c05",
11737
-                "reference": "e27977d534eefe04c154c6fd8460217024054c05",
11719
+                "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/220a7c8745e9fa427d54099f47147c4b97fe6462",
11720
+                "reference": "220a7c8745e9fa427d54099f47147c4b97fe6462",
11738
                 "shasum": ""
11721
                 "shasum": ""
11739
             },
11722
             },
11740
             "require": {
11723
             "require": {
11782
             ],
11765
             ],
11783
             "support": {
11766
             "support": {
11784
                 "issues": "https://github.com/spatie/flare-client-php/issues",
11767
                 "issues": "https://github.com/spatie/flare-client-php/issues",
11785
-                "source": "https://github.com/spatie/flare-client-php/tree/1.5.1"
11768
+                "source": "https://github.com/spatie/flare-client-php/tree/1.6.0"
11786
             },
11769
             },
11787
             "funding": [
11770
             "funding": [
11788
                 {
11771
                 {
11790
                     "type": "github"
11773
                     "type": "github"
11791
                 }
11774
                 }
11792
             ],
11775
             ],
11793
-            "time": "2024-05-03T15:43:14+00:00"
11776
+            "time": "2024-05-22T09:45:39+00:00"
11794
         },
11777
         },
11795
         {
11778
         {
11796
             "name": "spatie/ignition",
11779
             "name": "spatie/ignition",

+ 13
- 14
database/migrations/2023_09_03_100000_create_accounting_tables.php View File

36
             $table->timestamps();
36
             $table->timestamps();
37
         });
37
         });
38
 
38
 
39
+        Schema::create('bank_accounts', function (Blueprint $table) {
40
+            $table->id();
41
+            $table->foreignId('company_id')->constrained()->cascadeOnDelete();
42
+            $table->foreignId('institution_id')->nullable()->constrained('institutions')->nullOnDelete();
43
+            $table->string('type')->default(BankAccountType::DEFAULT);
44
+            $table->string('number', 20)->nullable();
45
+            $table->boolean('enabled')->default(true);
46
+            $table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
47
+            $table->foreignId('updated_by')->nullable()->constrained('users')->nullOnDelete();
48
+            $table->timestamps();
49
+        });
50
+
39
         Schema::create('accounts', function (Blueprint $table) {
51
         Schema::create('accounts', function (Blueprint $table) {
40
             $table->id();
52
             $table->id();
41
             $table->foreignId('company_id')->constrained()->cascadeOnDelete();
53
             $table->foreignId('company_id')->constrained()->cascadeOnDelete();
49
             $table->text('description')->nullable();
61
             $table->text('description')->nullable();
50
             $table->boolean('active')->default(true);
62
             $table->boolean('active')->default(true);
51
             $table->boolean('default')->default(false);
63
             $table->boolean('default')->default(false);
52
-            $table->unsignedBigInteger('accountable_id')->nullable();
53
-            $table->string('accountable_type')->nullable();
64
+            $table->foreignId('bank_account_id')->nullable()->constrained('bank_accounts')->cascadeOnDelete();
54
             $table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
65
             $table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
55
             $table->foreignId('updated_by')->nullable()->constrained('users')->nullOnDelete();
66
             $table->foreignId('updated_by')->nullable()->constrained('users')->nullOnDelete();
56
             $table->timestamps();
67
             $table->timestamps();
58
             $table->unique(['company_id', 'code']);
69
             $table->unique(['company_id', 'code']);
59
         });
70
         });
60
 
71
 
61
-        Schema::create('bank_accounts', function (Blueprint $table) {
62
-            $table->id();
63
-            $table->foreignId('company_id')->constrained()->cascadeOnDelete();
64
-            $table->foreignId('institution_id')->nullable()->constrained('institutions')->nullOnDelete();
65
-            $table->string('type')->default(BankAccountType::DEFAULT);
66
-            $table->string('number', 20)->nullable();
67
-            $table->boolean('enabled')->default(true);
68
-            $table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
69
-            $table->foreignId('updated_by')->nullable()->constrained('users')->nullOnDelete();
70
-            $table->timestamps();
71
-        });
72
-
73
         Schema::create('connected_bank_accounts', function (Blueprint $table) {
72
         Schema::create('connected_bank_accounts', function (Blueprint $table) {
74
             $table->id();
73
             $table->id();
75
             $table->foreignId('company_id')->constrained()->cascadeOnDelete();
74
             $table->foreignId('company_id')->constrained()->cascadeOnDelete();

+ 106
- 106
package-lock.json View File

507
             }
507
             }
508
         },
508
         },
509
         "node_modules/@rollup/rollup-android-arm-eabi": {
509
         "node_modules/@rollup/rollup-android-arm-eabi": {
510
-            "version": "4.17.2",
511
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.17.2.tgz",
512
-            "integrity": "sha512-NM0jFxY8bB8QLkoKxIQeObCaDlJKewVlIEkuyYKm5An1tdVZ966w2+MPQ2l8LBZLjR+SgyV+nRkTIunzOYBMLQ==",
510
+            "version": "4.18.0",
511
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz",
512
+            "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==",
513
             "cpu": [
513
             "cpu": [
514
                 "arm"
514
                 "arm"
515
             ],
515
             ],
520
             ]
520
             ]
521
         },
521
         },
522
         "node_modules/@rollup/rollup-android-arm64": {
522
         "node_modules/@rollup/rollup-android-arm64": {
523
-            "version": "4.17.2",
524
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.17.2.tgz",
525
-            "integrity": "sha512-yeX/Usk7daNIVwkq2uGoq2BYJKZY1JfyLTaHO/jaiSwi/lsf8fTFoQW/n6IdAsx5tx+iotu2zCJwz8MxI6D/Bw==",
523
+            "version": "4.18.0",
524
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz",
525
+            "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==",
526
             "cpu": [
526
             "cpu": [
527
                 "arm64"
527
                 "arm64"
528
             ],
528
             ],
533
             ]
533
             ]
534
         },
534
         },
535
         "node_modules/@rollup/rollup-darwin-arm64": {
535
         "node_modules/@rollup/rollup-darwin-arm64": {
536
-            "version": "4.17.2",
537
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.17.2.tgz",
538
-            "integrity": "sha512-kcMLpE6uCwls023+kknm71ug7MZOrtXo+y5p/tsg6jltpDtgQY1Eq5sGfHcQfb+lfuKwhBmEURDga9N0ol4YPw==",
536
+            "version": "4.18.0",
537
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz",
538
+            "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==",
539
             "cpu": [
539
             "cpu": [
540
                 "arm64"
540
                 "arm64"
541
             ],
541
             ],
546
             ]
546
             ]
547
         },
547
         },
548
         "node_modules/@rollup/rollup-darwin-x64": {
548
         "node_modules/@rollup/rollup-darwin-x64": {
549
-            "version": "4.17.2",
550
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.17.2.tgz",
551
-            "integrity": "sha512-AtKwD0VEx0zWkL0ZjixEkp5tbNLzX+FCqGG1SvOu993HnSz4qDI6S4kGzubrEJAljpVkhRSlg5bzpV//E6ysTQ==",
549
+            "version": "4.18.0",
550
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz",
551
+            "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==",
552
             "cpu": [
552
             "cpu": [
553
                 "x64"
553
                 "x64"
554
             ],
554
             ],
559
             ]
559
             ]
560
         },
560
         },
561
         "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
561
         "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
562
-            "version": "4.17.2",
563
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.17.2.tgz",
564
-            "integrity": "sha512-3reX2fUHqN7sffBNqmEyMQVj/CKhIHZd4y631duy0hZqI8Qoqf6lTtmAKvJFYa6bhU95B1D0WgzHkmTg33In0A==",
562
+            "version": "4.18.0",
563
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz",
564
+            "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==",
565
             "cpu": [
565
             "cpu": [
566
                 "arm"
566
                 "arm"
567
             ],
567
             ],
572
             ]
572
             ]
573
         },
573
         },
574
         "node_modules/@rollup/rollup-linux-arm-musleabihf": {
574
         "node_modules/@rollup/rollup-linux-arm-musleabihf": {
575
-            "version": "4.17.2",
576
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.17.2.tgz",
577
-            "integrity": "sha512-uSqpsp91mheRgw96xtyAGP9FW5ChctTFEoXP0r5FAzj/3ZRv3Uxjtc7taRQSaQM/q85KEKjKsZuiZM3GyUivRg==",
575
+            "version": "4.18.0",
576
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz",
577
+            "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==",
578
             "cpu": [
578
             "cpu": [
579
                 "arm"
579
                 "arm"
580
             ],
580
             ],
585
             ]
585
             ]
586
         },
586
         },
587
         "node_modules/@rollup/rollup-linux-arm64-gnu": {
587
         "node_modules/@rollup/rollup-linux-arm64-gnu": {
588
-            "version": "4.17.2",
589
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.17.2.tgz",
590
-            "integrity": "sha512-EMMPHkiCRtE8Wdk3Qhtciq6BndLtstqZIroHiiGzB3C5LDJmIZcSzVtLRbwuXuUft1Cnv+9fxuDtDxz3k3EW2A==",
588
+            "version": "4.18.0",
589
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz",
590
+            "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==",
591
             "cpu": [
591
             "cpu": [
592
                 "arm64"
592
                 "arm64"
593
             ],
593
             ],
598
             ]
598
             ]
599
         },
599
         },
600
         "node_modules/@rollup/rollup-linux-arm64-musl": {
600
         "node_modules/@rollup/rollup-linux-arm64-musl": {
601
-            "version": "4.17.2",
602
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.17.2.tgz",
603
-            "integrity": "sha512-NMPylUUZ1i0z/xJUIx6VUhISZDRT+uTWpBcjdv0/zkp7b/bQDF+NfnfdzuTiB1G6HTodgoFa93hp0O1xl+/UbA==",
601
+            "version": "4.18.0",
602
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz",
603
+            "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==",
604
             "cpu": [
604
             "cpu": [
605
                 "arm64"
605
                 "arm64"
606
             ],
606
             ],
611
             ]
611
             ]
612
         },
612
         },
613
         "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
613
         "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
614
-            "version": "4.17.2",
615
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.17.2.tgz",
616
-            "integrity": "sha512-T19My13y8uYXPw/L/k0JYaX1fJKFT/PWdXiHr8mTbXWxjVF1t+8Xl31DgBBvEKclw+1b00Chg0hxE2O7bTG7GQ==",
614
+            "version": "4.18.0",
615
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz",
616
+            "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==",
617
             "cpu": [
617
             "cpu": [
618
                 "ppc64"
618
                 "ppc64"
619
             ],
619
             ],
624
             ]
624
             ]
625
         },
625
         },
626
         "node_modules/@rollup/rollup-linux-riscv64-gnu": {
626
         "node_modules/@rollup/rollup-linux-riscv64-gnu": {
627
-            "version": "4.17.2",
628
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.17.2.tgz",
629
-            "integrity": "sha512-BOaNfthf3X3fOWAB+IJ9kxTgPmMqPPH5f5k2DcCsRrBIbWnaJCgX2ll77dV1TdSy9SaXTR5iDXRL8n7AnoP5cg==",
627
+            "version": "4.18.0",
628
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz",
629
+            "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==",
630
             "cpu": [
630
             "cpu": [
631
                 "riscv64"
631
                 "riscv64"
632
             ],
632
             ],
637
             ]
637
             ]
638
         },
638
         },
639
         "node_modules/@rollup/rollup-linux-s390x-gnu": {
639
         "node_modules/@rollup/rollup-linux-s390x-gnu": {
640
-            "version": "4.17.2",
641
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.17.2.tgz",
642
-            "integrity": "sha512-W0UP/x7bnn3xN2eYMql2T/+wpASLE5SjObXILTMPUBDB/Fg/FxC+gX4nvCfPBCbNhz51C+HcqQp2qQ4u25ok6g==",
640
+            "version": "4.18.0",
641
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz",
642
+            "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==",
643
             "cpu": [
643
             "cpu": [
644
                 "s390x"
644
                 "s390x"
645
             ],
645
             ],
650
             ]
650
             ]
651
         },
651
         },
652
         "node_modules/@rollup/rollup-linux-x64-gnu": {
652
         "node_modules/@rollup/rollup-linux-x64-gnu": {
653
-            "version": "4.17.2",
654
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.17.2.tgz",
655
-            "integrity": "sha512-Hy7pLwByUOuyaFC6mAr7m+oMC+V7qyifzs/nW2OJfC8H4hbCzOX07Ov0VFk/zP3kBsELWNFi7rJtgbKYsav9QQ==",
653
+            "version": "4.18.0",
654
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz",
655
+            "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==",
656
             "cpu": [
656
             "cpu": [
657
                 "x64"
657
                 "x64"
658
             ],
658
             ],
663
             ]
663
             ]
664
         },
664
         },
665
         "node_modules/@rollup/rollup-linux-x64-musl": {
665
         "node_modules/@rollup/rollup-linux-x64-musl": {
666
-            "version": "4.17.2",
667
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.17.2.tgz",
668
-            "integrity": "sha512-h1+yTWeYbRdAyJ/jMiVw0l6fOOm/0D1vNLui9iPuqgRGnXA0u21gAqOyB5iHjlM9MMfNOm9RHCQ7zLIzT0x11Q==",
666
+            "version": "4.18.0",
667
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz",
668
+            "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==",
669
             "cpu": [
669
             "cpu": [
670
                 "x64"
670
                 "x64"
671
             ],
671
             ],
676
             ]
676
             ]
677
         },
677
         },
678
         "node_modules/@rollup/rollup-win32-arm64-msvc": {
678
         "node_modules/@rollup/rollup-win32-arm64-msvc": {
679
-            "version": "4.17.2",
680
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.17.2.tgz",
681
-            "integrity": "sha512-tmdtXMfKAjy5+IQsVtDiCfqbynAQE/TQRpWdVataHmhMb9DCoJxp9vLcCBjEQWMiUYxO1QprH/HbY9ragCEFLA==",
679
+            "version": "4.18.0",
680
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz",
681
+            "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==",
682
             "cpu": [
682
             "cpu": [
683
                 "arm64"
683
                 "arm64"
684
             ],
684
             ],
689
             ]
689
             ]
690
         },
690
         },
691
         "node_modules/@rollup/rollup-win32-ia32-msvc": {
691
         "node_modules/@rollup/rollup-win32-ia32-msvc": {
692
-            "version": "4.17.2",
693
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.17.2.tgz",
694
-            "integrity": "sha512-7II/QCSTAHuE5vdZaQEwJq2ZACkBpQDOmQsE6D6XUbnBHW8IAhm4eTufL6msLJorzrHDFv3CF8oCA/hSIRuZeQ==",
692
+            "version": "4.18.0",
693
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz",
694
+            "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==",
695
             "cpu": [
695
             "cpu": [
696
                 "ia32"
696
                 "ia32"
697
             ],
697
             ],
702
             ]
702
             ]
703
         },
703
         },
704
         "node_modules/@rollup/rollup-win32-x64-msvc": {
704
         "node_modules/@rollup/rollup-win32-x64-msvc": {
705
-            "version": "4.17.2",
706
-            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.17.2.tgz",
707
-            "integrity": "sha512-TGGO7v7qOq4CYmSBVEYpI1Y5xDuCEnbVC5Vth8mOsW0gDSzxNrVERPc790IGHsrT2dQSimgMr9Ub3Y1Jci5/8w==",
705
+            "version": "4.18.0",
706
+            "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz",
707
+            "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==",
708
             "cpu": [
708
             "cpu": [
709
                 "x64"
709
                 "x64"
710
             ],
710
             ],
840
             }
840
             }
841
         },
841
         },
842
         "node_modules/axios": {
842
         "node_modules/axios": {
843
-            "version": "1.6.8",
844
-            "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz",
845
-            "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==",
843
+            "version": "1.7.2",
844
+            "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz",
845
+            "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==",
846
             "dev": true,
846
             "dev": true,
847
             "dependencies": {
847
             "dependencies": {
848
                 "follow-redirects": "^1.15.6",
848
                 "follow-redirects": "^1.15.6",
878
             }
878
             }
879
         },
879
         },
880
         "node_modules/braces": {
880
         "node_modules/braces": {
881
-            "version": "3.0.2",
882
-            "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
883
-            "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
881
+            "version": "3.0.3",
882
+            "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
883
+            "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
884
             "dev": true,
884
             "dev": true,
885
             "dependencies": {
885
             "dependencies": {
886
-                "fill-range": "^7.0.1"
886
+                "fill-range": "^7.1.1"
887
             },
887
             },
888
             "engines": {
888
             "engines": {
889
                 "node": ">=8"
889
                 "node": ">=8"
931
             }
931
             }
932
         },
932
         },
933
         "node_modules/caniuse-lite": {
933
         "node_modules/caniuse-lite": {
934
-            "version": "1.0.30001618",
935
-            "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001618.tgz",
936
-            "integrity": "sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==",
934
+            "version": "1.0.30001621",
935
+            "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001621.tgz",
936
+            "integrity": "sha512-+NLXZiviFFKX0fk8Piwv3PfLPGtRqJeq2TiNoUff/qB5KJgwecJTvCXDpmlyP/eCI/GUEmp/h/y5j0yckiiZrA==",
937
             "dev": true,
937
             "dev": true,
938
             "funding": [
938
             "funding": [
939
                 {
939
                 {
1079
             "dev": true
1079
             "dev": true
1080
         },
1080
         },
1081
         "node_modules/electron-to-chromium": {
1081
         "node_modules/electron-to-chromium": {
1082
-            "version": "1.4.771",
1083
-            "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.771.tgz",
1084
-            "integrity": "sha512-b/CmBh1c5SXZy5oFu4a0o+2TdM0AYStiwoQebEoImGAINstCsS/s/MOvPKMoxu1nA2BJtEOJI1nC/VoVRzdXWA==",
1082
+            "version": "1.4.778",
1083
+            "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.778.tgz",
1084
+            "integrity": "sha512-C6q/xcUJf/2yODRxAVCfIk4j3y3LMsD0ehiE2RQNV2cxc8XU62gR6vvYh3+etSUzlgTfil+qDHI1vubpdf0TOA==",
1085
             "dev": true
1085
             "dev": true
1086
         },
1086
         },
1087
         "node_modules/emoji-regex": {
1087
         "node_modules/emoji-regex": {
1175
             }
1175
             }
1176
         },
1176
         },
1177
         "node_modules/fill-range": {
1177
         "node_modules/fill-range": {
1178
-            "version": "7.0.1",
1179
-            "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
1180
-            "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
1178
+            "version": "7.1.1",
1179
+            "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
1180
+            "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
1181
             "dev": true,
1181
             "dev": true,
1182
             "dependencies": {
1182
             "dependencies": {
1183
                 "to-regex-range": "^5.0.1"
1183
                 "to-regex-range": "^5.0.1"
1273
             }
1273
             }
1274
         },
1274
         },
1275
         "node_modules/glob": {
1275
         "node_modules/glob": {
1276
-            "version": "10.3.15",
1277
-            "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.15.tgz",
1278
-            "integrity": "sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==",
1276
+            "version": "10.3.16",
1277
+            "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.16.tgz",
1278
+            "integrity": "sha512-JDKXl1DiuuHJ6fVS2FXjownaavciiHNUU4mOvV/B793RLh05vZL1rcPnCSaOgv1hDT6RDlY7AB7ZUvFYAtPgAw==",
1279
             "dev": true,
1279
             "dev": true,
1280
             "dependencies": {
1280
             "dependencies": {
1281
                 "foreground-child": "^3.1.0",
1281
                 "foreground-child": "^3.1.0",
1282
-                "jackspeak": "^2.3.6",
1282
+                "jackspeak": "^3.1.2",
1283
                 "minimatch": "^9.0.1",
1283
                 "minimatch": "^9.0.1",
1284
                 "minipass": "^7.0.4",
1284
                 "minipass": "^7.0.4",
1285
                 "path-scurry": "^1.11.0"
1285
                 "path-scurry": "^1.11.0"
1388
             "dev": true
1388
             "dev": true
1389
         },
1389
         },
1390
         "node_modules/jackspeak": {
1390
         "node_modules/jackspeak": {
1391
-            "version": "2.3.6",
1392
-            "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
1393
-            "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
1391
+            "version": "3.1.2",
1392
+            "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.1.2.tgz",
1393
+            "integrity": "sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==",
1394
             "dev": true,
1394
             "dev": true,
1395
             "dependencies": {
1395
             "dependencies": {
1396
                 "@isaacs/cliui": "^8.0.2"
1396
                 "@isaacs/cliui": "^8.0.2"
1415
             }
1415
             }
1416
         },
1416
         },
1417
         "node_modules/laravel-vite-plugin": {
1417
         "node_modules/laravel-vite-plugin": {
1418
-            "version": "1.0.2",
1419
-            "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-1.0.2.tgz",
1420
-            "integrity": "sha512-Mcclml10khYzBVxDwJro8wnVDwD4i7XOSEMACQNnarvTnHjrjXLLL+B/Snif2wYAyElsOqagJZ7VAinb/2vF5g==",
1418
+            "version": "1.0.4",
1419
+            "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-1.0.4.tgz",
1420
+            "integrity": "sha512-dEj8Q/Fsn0kKbOQ55bl/NmyJL+dD6OxnVaM/nNByw5XV4b00ky6FzXKVuHLDr4BvSJKH1y6oaOcEG5wKpCZ5+A==",
1421
             "dev": true,
1421
             "dev": true,
1422
             "dependencies": {
1422
             "dependencies": {
1423
                 "picocolors": "^1.0.0",
1423
                 "picocolors": "^1.0.0",
1485
             }
1485
             }
1486
         },
1486
         },
1487
         "node_modules/micromatch": {
1487
         "node_modules/micromatch": {
1488
-            "version": "4.0.5",
1489
-            "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
1490
-            "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
1488
+            "version": "4.0.7",
1489
+            "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
1490
+            "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
1491
             "dev": true,
1491
             "dev": true,
1492
             "dependencies": {
1492
             "dependencies": {
1493
-                "braces": "^3.0.2",
1493
+                "braces": "^3.0.3",
1494
                 "picomatch": "^2.3.1"
1494
                 "picomatch": "^2.3.1"
1495
             },
1495
             },
1496
             "engines": {
1496
             "engines": {
1820
             }
1820
             }
1821
         },
1821
         },
1822
         "node_modules/postcss-nested/node_modules/postcss-selector-parser": {
1822
         "node_modules/postcss-nested/node_modules/postcss-selector-parser": {
1823
-            "version": "6.0.16",
1824
-            "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz",
1825
-            "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==",
1823
+            "version": "6.1.0",
1824
+            "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz",
1825
+            "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==",
1826
             "dev": true,
1826
             "dev": true,
1827
             "dependencies": {
1827
             "dependencies": {
1828
                 "cssesc": "^3.0.0",
1828
                 "cssesc": "^3.0.0",
1904
             }
1904
             }
1905
         },
1905
         },
1906
         "node_modules/postcss-nesting/node_modules/postcss-selector-parser": {
1906
         "node_modules/postcss-nesting/node_modules/postcss-selector-parser": {
1907
-            "version": "6.0.16",
1908
-            "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz",
1909
-            "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==",
1907
+            "version": "6.1.0",
1908
+            "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz",
1909
+            "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==",
1910
             "dev": true,
1910
             "dev": true,
1911
             "dependencies": {
1911
             "dependencies": {
1912
                 "cssesc": "^3.0.0",
1912
                 "cssesc": "^3.0.0",
2010
             }
2010
             }
2011
         },
2011
         },
2012
         "node_modules/rollup": {
2012
         "node_modules/rollup": {
2013
-            "version": "4.17.2",
2014
-            "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.17.2.tgz",
2015
-            "integrity": "sha512-/9ClTJPByC0U4zNLowV1tMBe8yMEAxewtR3cUNX5BoEpGH3dQEWpJLr6CLp0fPdYRF/fzVOgvDb1zXuakwF5kQ==",
2013
+            "version": "4.18.0",
2014
+            "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz",
2015
+            "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==",
2016
             "dev": true,
2016
             "dev": true,
2017
             "dependencies": {
2017
             "dependencies": {
2018
                 "@types/estree": "1.0.5"
2018
                 "@types/estree": "1.0.5"
2025
                 "npm": ">=8.0.0"
2025
                 "npm": ">=8.0.0"
2026
             },
2026
             },
2027
             "optionalDependencies": {
2027
             "optionalDependencies": {
2028
-                "@rollup/rollup-android-arm-eabi": "4.17.2",
2029
-                "@rollup/rollup-android-arm64": "4.17.2",
2030
-                "@rollup/rollup-darwin-arm64": "4.17.2",
2031
-                "@rollup/rollup-darwin-x64": "4.17.2",
2032
-                "@rollup/rollup-linux-arm-gnueabihf": "4.17.2",
2033
-                "@rollup/rollup-linux-arm-musleabihf": "4.17.2",
2034
-                "@rollup/rollup-linux-arm64-gnu": "4.17.2",
2035
-                "@rollup/rollup-linux-arm64-musl": "4.17.2",
2036
-                "@rollup/rollup-linux-powerpc64le-gnu": "4.17.2",
2037
-                "@rollup/rollup-linux-riscv64-gnu": "4.17.2",
2038
-                "@rollup/rollup-linux-s390x-gnu": "4.17.2",
2039
-                "@rollup/rollup-linux-x64-gnu": "4.17.2",
2040
-                "@rollup/rollup-linux-x64-musl": "4.17.2",
2041
-                "@rollup/rollup-win32-arm64-msvc": "4.17.2",
2042
-                "@rollup/rollup-win32-ia32-msvc": "4.17.2",
2043
-                "@rollup/rollup-win32-x64-msvc": "4.17.2",
2028
+                "@rollup/rollup-android-arm-eabi": "4.18.0",
2029
+                "@rollup/rollup-android-arm64": "4.18.0",
2030
+                "@rollup/rollup-darwin-arm64": "4.18.0",
2031
+                "@rollup/rollup-darwin-x64": "4.18.0",
2032
+                "@rollup/rollup-linux-arm-gnueabihf": "4.18.0",
2033
+                "@rollup/rollup-linux-arm-musleabihf": "4.18.0",
2034
+                "@rollup/rollup-linux-arm64-gnu": "4.18.0",
2035
+                "@rollup/rollup-linux-arm64-musl": "4.18.0",
2036
+                "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0",
2037
+                "@rollup/rollup-linux-riscv64-gnu": "4.18.0",
2038
+                "@rollup/rollup-linux-s390x-gnu": "4.18.0",
2039
+                "@rollup/rollup-linux-x64-gnu": "4.18.0",
2040
+                "@rollup/rollup-linux-x64-musl": "4.18.0",
2041
+                "@rollup/rollup-win32-arm64-msvc": "4.18.0",
2042
+                "@rollup/rollup-win32-ia32-msvc": "4.18.0",
2043
+                "@rollup/rollup-win32-x64-msvc": "4.18.0",
2044
                 "fsevents": "~2.3.2"
2044
                 "fsevents": "~2.3.2"
2045
             }
2045
             }
2046
         },
2046
         },
2277
             }
2277
             }
2278
         },
2278
         },
2279
         "node_modules/tailwindcss/node_modules/postcss-selector-parser": {
2279
         "node_modules/tailwindcss/node_modules/postcss-selector-parser": {
2280
-            "version": "6.0.16",
2281
-            "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz",
2282
-            "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==",
2280
+            "version": "6.1.0",
2281
+            "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz",
2282
+            "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==",
2283
             "dev": true,
2283
             "dev": true,
2284
             "dependencies": {
2284
             "dependencies": {
2285
                 "cssesc": "^3.0.0",
2285
                 "cssesc": "^3.0.0",

+ 2
- 2
resources/views/livewire/company/service/connected-account/list-institutions.blade.php View File

23
                             {{ $institution->name }}
23
                             {{ $institution->name }}
24
                         </h3>
24
                         </h3>
25
 
25
 
26
-                        @if($institution->getLastImportDate())
26
+                        @if($institution->latestImport)
27
                             <p class="connected-account-section-header-description text-sm leading-6 text-gray-500 dark:text-gray-400">
27
                             <p class="connected-account-section-header-description text-sm leading-6 text-gray-500 dark:text-gray-400">
28
-                                {{ __('Last updated') }} {{ $institution->getLastImportDate() }}
28
+                                {{ __('Last updated') }} {{ $institution->latestImport->last_imported_at->diffForHumans() }}
29
                             </p>
29
                             </p>
30
                         @endif
30
                         @endif
31
                     </div>
31
                     </div>

Loading…
Cancel
Save