konto wip
This commit is contained in:
1 parent
09bcc5e13e
commit
e379bb5c94
7 files changed
+66
-80
No files matched your search
@@ -12,7 +12,6 @@ use BackedEnum;
|
|||||||
use Filament\Resources\Resource;
|
use Filament\Resources\Resource;
|
||||||
use Filament\Schemas\Schema;
|
use Filament\Schemas\Schema;
|
||||||
use Filament\Tables\Table;
|
use Filament\Tables\Table;
|
||||||
use UnitEnum;
|
|
||||||
|
|
||||||
class KontoResource extends Resource
|
class KontoResource extends Resource
|
||||||
{
|
{
|
||||||
@@ -20,9 +19,7 @@ class KontoResource extends Resource
|
|||||||
|
|
||||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-circle-user-round';
|
protected static string|BackedEnum|null $navigationIcon = 'lucide-circle-user-round';
|
||||||
|
|
||||||
protected static string|UnitEnum|null $navigationGroup = 'Interne Administration';
|
protected static ?string $navigationLabel = 'Konto';
|
||||||
|
|
||||||
protected static ?string $navigationLabel = 'Kontos';
|
|
||||||
|
|
||||||
protected static ?string $modelLabel = 'Konto';
|
protected static ?string $modelLabel = 'Konto';
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ use Filament\Actions\DeleteBulkAction;
|
|||||||
use Filament\Actions\EditAction;
|
use Filament\Actions\EditAction;
|
||||||
use Filament\Tables\Columns\TextColumn;
|
use Filament\Tables\Columns\TextColumn;
|
||||||
use Filament\Tables\Table;
|
use Filament\Tables\Table;
|
||||||
|
use Ysfkaya\FilamentPhoneInput\PhoneInputNumberType;
|
||||||
|
use Ysfkaya\FilamentPhoneInput\Tables\PhoneColumn;
|
||||||
|
|
||||||
class KontosTable
|
class KontosTable
|
||||||
{
|
{
|
||||||
@@ -14,17 +16,15 @@ class KontosTable
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('id'),
|
// TextColumn::make('id'),
|
||||||
TextColumn::make('gender')->label('Geschlecht'),
|
TextColumn::make('konto_gender')->label('Geschlecht'),
|
||||||
TextColumn::make('title')->label('Title'),
|
TextColumn::make('konto_title')->label('Title'),
|
||||||
TextColumn::make('first_name')->label('Vorname'),
|
TextColumn::make('konto_first_name')->label('Vorname'),
|
||||||
TextColumn::make('last_name')->label('Nachname'),
|
TextColumn::make('konto_last_name')->label('Nachname'),
|
||||||
TextColumn::make('company')->label('Firma'),
|
TextColumn::make('konto_company')->label('Firma'),
|
||||||
TextColumn::make('address')->label('Adresse'),
|
PhoneColumn::make('konto_phone')
|
||||||
TextColumn::make('location')->label('Ort'),
|
->label('Telefon')
|
||||||
TextColumn::make('code')->label('PLZ'),
|
->displayFormat(PhoneInputNumberType::INTERNATIONAL),
|
||||||
TextColumn::make('phone')->label('Telefon'),
|
|
||||||
TextColumn::make('uid_number')->label('UID Nummer'),
|
|
||||||
])
|
])
|
||||||
->filters([
|
->filters([
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
'danger' => Color::Red,
|
'danger' => Color::Red,
|
||||||
'gray' => Color::Zinc,
|
'gray' => Color::Zinc,
|
||||||
'info' => Color::Indigo,
|
'info' => Color::Indigo,
|
||||||
'primary' => Color::Blue,
|
'primary' => Color::Sky,
|
||||||
'success' => Color::Green,
|
'success' => Color::Green,
|
||||||
'warning' => Color::Amber,
|
'warning' => Color::Amber,
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ class AdminPanelProvider extends PanelProvider
|
|||||||
->recoverable(),
|
->recoverable(),
|
||||||
])
|
])
|
||||||
// ], isRequired: true)
|
// ], isRequired: true)
|
||||||
|
->topNavigation()
|
||||||
->maxContentWidth(Width::ScreenExtraLarge)
|
->maxContentWidth(Width::ScreenExtraLarge)
|
||||||
// ->sidebarCollapsibleOnDesktop()
|
// ->sidebarCollapsibleOnDesktop()
|
||||||
// ->font('Open Sans')
|
// ->font('Open Sans')
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
@include('layouts.nav')
|
@include('layouts.nav')
|
||||||
|
|
||||||
<main class="mx-auto mt-30 rounded-2xl p-10 max-w-5xl shadow-2xl bg-white/80 dark:bg-gray-900/90">
|
<main class="mx-auto mt-30 rounded-xl p-10 max-w-5xl shadow-2xl bg-white/80 dark:bg-gray-900/90">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<nav class="fixed top-0 right-0 left-0 z-20">
|
<nav class="fixed top-0 right-0 left-0 z-20 bg-white/80 dark:bg-black/80">
|
||||||
<div class=" grid grid-cols-2 max-w-5xl mx-auto bg-white p-4 rounded-b-2xl">
|
<div class=" grid grid-cols-2 max-w-5xl mx-auto py-4">
|
||||||
<div class="fi-logo flex gap-1">
|
<div class="fi-logo flex gap-1">
|
||||||
<div class="w-9 pt-1">
|
<div class="w-9 pt-1">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
||||||
@@ -18,19 +18,19 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="grid grid-flow-col gap-3">
|
<div class="grid grid-flow-col">
|
||||||
<x-filament::button href="/" tag="a" size="xs">
|
<x-filament::link href="/" color="gray" icon="heroicon-m-home">
|
||||||
Home
|
Home
|
||||||
</x-filament::button>
|
</x-filament::link>
|
||||||
<x-filament::button href="/nutzwerte" tag="a" size="xs">
|
<x-filament::link href="/nutzwerte" color="gray" icon="heroicon-m-building-office-2">
|
||||||
Nutzwerte
|
Nutzwerte
|
||||||
</x-filament::button>
|
</x-filament::link>
|
||||||
<x-filament::button href="/dieses-programm" tag="a" size="xs">
|
<x-filament::link href="/dieses-programm" color="gray" icon="heroicon-m-calculator">
|
||||||
Programm
|
Programm
|
||||||
</x-filament::button>
|
</x-filament::link>
|
||||||
<x-filament::button href="/impressum" tag="a" size="xs">
|
<x-filament::link href="/impressum" color="gray" icon="heroicon-m-calendar-date-range">
|
||||||
Impressum
|
Impressum
|
||||||
</x-filament::button>
|
</x-filament::link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
@@ -2,61 +2,49 @@
|
|||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="text-gray-700 dark:text-gray-200">
|
<div class="text-gray-700 dark:text-gray-200">
|
||||||
<div class="flex gap-7 leading-6">
|
<div class="flex gap-7">
|
||||||
<x-filament::section>
|
<div class="flex flex-col gap-5">
|
||||||
<x-slot name="heading">
|
<x-filament::section icon="heroicon-m-building-office-2">
|
||||||
<x-title>
|
<x-slot name="heading">
|
||||||
Die Nutzwertberechnung
|
<x-title>
|
||||||
</x-title>
|
Die Nutzwertberechnung
|
||||||
</x-slot>
|
</x-title>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
</x-slot>
|
||||||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
||||||
class="lucide lucide-building-icon lucide-building mx-auto">
|
<x-slot name="description">
|
||||||
<path d="M12 10h.01" />
|
ist ein Gutachten im österreichischen Wohnungseigentumsrecht
|
||||||
<path d="M12 14h.01" />
|
</x-slot>
|
||||||
<path d="M12 6h.01" />
|
<p class="indent-5">
|
||||||
<path d="M16 10h.01" />
|
Es wird das Verhältnis der einzelnen Eigentumsanteile innerhalb eines Gebäudes bestimmt.
|
||||||
<path d="M16 14h.01" />
|
Sie bildet die Grundlage für die Berechnung der Betriebs- und Instandhaltungskosten sowie für
|
||||||
<path d="M16 6h.01" />
|
das
|
||||||
<path d="M8 10h.01" />
|
Stimmrecht der Miteigentümer und ist für die Begründung von Wohnungseigentum notwendig.
|
||||||
<path d="M8 14h.01" />
|
<x-filament::link href="/nutzwerte" icon-position="after" icon="lucide-external-link">
|
||||||
<path d="M8 6h.01" />
|
Lesen Sie mehr über die Nutzwertberechnung.
|
||||||
<path d="M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3" />
|
</x-filament::link>
|
||||||
<rect x="4" y="2" width="16" height="20" rx="2" />
|
</p>
|
||||||
</svg>
|
</x-filament::section>
|
||||||
<p class="indent-8">
|
|
||||||
Die Nutzwertberechnung ist ein Gutachten im österreichischen Wohnungseigentumsrecht, das das Verhältnis
|
<x-filament::section icon="heroicon-m-calendar-date-range">
|
||||||
der
|
<x-slot name="heading">
|
||||||
einzelnen
|
<x-title>
|
||||||
Eigentumsanteile innerhalb eines Gebäudes bestimmt. <x-filament::link href="/nutzwerte"
|
Dieses Programm
|
||||||
icon-position="after" icon="lucide-external-link">
|
</x-title>
|
||||||
Über die Nutzwertberechnung
|
</x-slot>
|
||||||
</x-filament::link>
|
<x-slot name="description">
|
||||||
</p>
|
importiert die Daten aus einem Zeichenprogramm als Grundlage.
|
||||||
<br>
|
</x-slot>
|
||||||
<br>
|
Wie Ihnen dieses Programm bei der Nutzwertberechnung zur Hand gehen kann, erfahren sie hier.
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" viewBox="0 0 24 24" fill="none"
|
<x-filament::link href="/dieses-programm" icon-position="after" icon="lucide-external-link">
|
||||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
||||||
class="lucide lucide-school-icon lucide-school mx-auto">
|
|
||||||
<path d="M14 21v-3a2 2 0 0 0-4 0v3" />
|
|
||||||
<path d="M18 5v16" />
|
|
||||||
<path d="m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6" />
|
|
||||||
<path
|
|
||||||
d="m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11" />
|
|
||||||
<path d="M6 5v16" />
|
|
||||||
<circle cx="12" cy="9" r="2" />
|
|
||||||
</svg>
|
|
||||||
<p class="indent-8 mb-10">
|
|
||||||
Wie Ihnen dieses Programm bei der Nutzwertberechnung zur Hand gehen kann, und Ihnen wertvolle Zeit bei
|
|
||||||
der
|
|
||||||
Berechnung und Formatierung sparen hilft, erfahren sie hier.
|
|
||||||
<br><x-filament::link href="/dieses-programm" icon-position="after" icon="lucide-external-link">
|
|
||||||
Über dieses Programm
|
Über dieses Programm
|
||||||
</x-filament::link>
|
</x-filament::link>
|
||||||
</p>
|
|
||||||
@include('components.login')
|
|
||||||
</x-filament::section>
|
|
||||||
|
|
||||||
|
</x-filament::section>
|
||||||
|
<x-filament::section>
|
||||||
|
@include('components.login')
|
||||||
|
</x-filament::section>
|
||||||
|
|
||||||
|
</div>
|
||||||
<img src="images/house.jpg" class="w-82 rounded-2xl border border-gray-300" />
|
<img src="images/house.jpg" class="w-82 rounded-2xl border border-gray-300" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user