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