Files
2026-05-04 14:32:40 +02:00

1.1 KiB

TextColumn::make('flaeche') ->numeric( decimalPlaces: 2, decimalSeparator: ',', thousandsSeparator: '.' ) // ->updateStateUsing(function ($record, $state) { // return $record->update(['flaeche' => str_replace(',', '.', $state)]); // }) // ->extraInputAttributes(['onClick' => 'this.select()']) ->summarize(Sum::make()->label('Gesammt')->numeric( decimalPlaces: 2, )->suffix(new HtmlString(' m²'))) ->suffix(new HtmlString(' m²')) ->width('2rem') // ->rules(['required']) ->alignment('right') ->label('Fläche') ->searchable(), // ->validationMessages([ // 'required' => 'Die Eingabe einer Fläche ist erforderlich.', // 'decimal' => 'Für die Fläche sind zwei Dezimalstellen erforderlich.', // ]) // ->afterStateUpdated(function (Component $livewire) { // $livewire->dispatch('refreshProjektAllgemeinflaechen'); // }),

GOOD TURORIAL AND WIKI https://mintlify.wiki/filamentphp/filament/advanced/custom-actions

MAIL https://medium.com/@maitrikt1998/send-email-using-3-ways-in-laravel-12-0d0ff6977ac4