Skip to content

Commit a7b14d0

Browse files
committed
wip
1 parent f190f95 commit a7b14d0

11 files changed

Lines changed: 737 additions & 749 deletions

File tree

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,8 @@ ARG REVISION
4747

4848
RUN echo "$VERSION (${REVISION:0:7})" > /var/www/.version
4949

50-
# COPY --chmod=755 docker/ /
5150
COPY --from=assets --chown=www-data:www-data /build/public/build /var/www/html/public/build
5251

5352
ENV WORKER_ENABLED=true
5453

5554
ENV PHP_PM_MAX_CHILDREN=64
56-
57-
EXPOSE 80

app/Filament/Resources/Beneficiaries/Resources/Catagraphies/Schemas/CatagraphyForm.php

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
use Filament\Forms\Components\TextInput;
2020
use Filament\Schemas\Components\Section;
2121
use Filament\Schemas\Components\Utilities\Get;
22-
use Filament\Schemas\Components\Utilities\Set;
2322
use Filament\Schemas\Schema;
2423
use Filament\Support\Icons\Heroicon;
25-
use Illuminate\Support\Str;
2624

2725
class CatagraphyForm
2826
{
@@ -143,20 +141,7 @@ public static function configure(Schema $schema): Schema
143141
placeholder: __('placeholder.select_one'),
144142
)
145143
->formatStateUsing(fn (?bool $state) => ! \is_null($state) ? (int) $state : $state)
146-
->live()
147-
->afterStateUpdated(function ($state, Get $get, Set $set) {
148-
$state = \boolval($state);
149-
150-
if (! $state) {
151-
return;
152-
}
153-
154-
if (collect($get('disabilities'))->isNotEmpty()) {
155-
return;
156-
}
157-
158-
$set('disabilities', [[(string) Str::uuid() => []]]);
159-
}),
144+
->live(),
160145

161146
Section::make()
162147
->heading(__('field.section_details', ['section' => $categories->get('DIZ')]))
@@ -241,20 +226,7 @@ public static function configure(Schema $schema): Schema
241226
placeholder: __('placeholder.select_one'),
242227
)
243228
->formatStateUsing(fn (?bool $state) => ! \is_null($state) ? (int) $state : $state)
244-
->live()
245-
->afterStateUpdated(function ($state, Get $get, Set $set) {
246-
$state = \boolval($state);
247-
248-
if (! $state) {
249-
return;
250-
}
251-
252-
if (collect($get('diseases'))->isNotEmpty()) {
253-
return;
254-
}
255-
256-
$set('diseases', [[(string) Str::uuid() => []]]);
257-
}),
229+
->live(),
258230

259231
Section::make()
260232
->heading(__('field.section_details', ['section' => $categories->get('SS')]))

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MPL-2.0",
77
"require": {
88
"php": "^8.4",
9-
"aedart/athenaeum-antivirus": "^9.15",
9+
"aedart/athenaeum-antivirus": "^9.17",
1010
"alcea/cnp": "^3.0",
1111
"blade-ui-kit/blade-heroicons": "^2.6",
1212
"commitglobal/app-version": "^v1.0",
@@ -16,13 +16,13 @@
1616
"guzzlehttp/guzzle": "^7.10",
1717
"jeffgreco13/filament-breezy": "^3.0",
1818
"kalnoy/nestedset": "^6.0",
19-
"laravel/framework": "^12.38",
19+
"laravel/framework": "^12.41",
2020
"laravel/sanctum": "^4.2",
2121
"laravel/tinker": "^2.10",
2222
"maatwebsite/excel": "^3.1",
2323
"malzariey/filament-daterangepicker-filter": "^4.0",
2424
"saade/filament-fullcalendar": "^4.0",
25-
"sentry/sentry-laravel": "^4.19",
25+
"sentry/sentry-laravel": "^4.20",
2626
"spatie/laravel-activitylog": "^4.10",
2727
"spatie/laravel-csp": "^3.21",
2828
"spatie/laravel-onboard": "^2.6",
@@ -36,11 +36,11 @@
3636
"barryvdh/laravel-debugbar": "^3.16",
3737
"barryvdh/laravel-ide-helper": "^3.6",
3838
"fakerphp/faker": "^1.24",
39-
"friendsofphp/php-cs-fixer": "^3.89",
39+
"friendsofphp/php-cs-fixer": "^3.91",
4040
"itsgoingd/clockwork": "^5.3",
41-
"laradumps/laradumps": "^4.5",
41+
"laradumps/laradumps": "^4.6",
4242
"larastan/larastan": "^3.8",
43-
"laravel/sail": "^1.48",
43+
"laravel/sail": "^1.49",
4444
"laravel/telescope": "^5.15",
4545
"mockery/mockery": "^1.6",
4646
"nunomaduro/collision": "^8.8",

0 commit comments

Comments
 (0)