add konto und konto optionen
This commit is contained in:
1 parent
81370e9706
commit
b005c7677e
89 files changed
+4406
-7
No files matched your search
@@ -0,0 +1,9 @@
|
||||
a make:model Customer -ms
|
||||
|
||||
a make:filament-resource Customer
|
||||
|
||||
php artisan make:model ModelName -m // creates migration too
|
||||
php artisan make:model ModelName -c // creates controller too
|
||||
php artisan make:model ModelName -f // also creates a factory
|
||||
php artisan make:model ModelName -s // also creates a database seeder
|
||||
php artisan make:model ModelName -mfcs // creates migration, factory, controller and seeder
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Gutachters;
|
||||
|
||||
use App\Filament\Resources\Gutachters\Pages\CreateGutachter;
|
||||
use App\Filament\Resources\Gutachters\Pages\EditGutachter;
|
||||
use App\Filament\Resources\Gutachters\Pages\ListGutachters;
|
||||
use App\Filament\Resources\Gutachters\Schemas\GutachterForm;
|
||||
use App\Filament\Resources\Gutachters\Tables\GutachtersTable;
|
||||
use App\Models\Gutachter;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
|
||||
class GutachterResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Gutachter::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-drafting-compass';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $navigationLabel = 'Gutachter';
|
||||
|
||||
protected static ?string $modelLabel = 'Gutachter';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Gutachter';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return GutachterForm::configure($schema);
|
||||
}
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return GutachtersTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => ListGutachters::route('/'),
|
||||
'create' => CreateGutachter::route('/create'),
|
||||
'edit' => EditGutachter::route('/{record}/edit'),
|
||||
];
|
||||
}
|
||||
|
||||
public static function getRecordRouteBindingEloquentQuery(): Builder
|
||||
{
|
||||
return parent::getRecordRouteBindingEloquentQuery()
|
||||
->withoutGlobalScopes([
|
||||
SoftDeletingScope::class,
|
||||
]);
|
||||
}
|
||||
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return parent::getEloquentQuery()->count();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Gutachters\Pages;
|
||||
|
||||
use App\Filament\Resources\Gutachters\GutachterResource;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
class CreateGutachter extends CreateRecord
|
||||
{
|
||||
protected static string $resource = GutachterResource::class;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Gutachters\Pages;
|
||||
|
||||
use App\Filament\Resources\Gutachters\GutachterResource;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Actions\ForceDeleteAction;
|
||||
use Filament\Actions\RestoreAction;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class EditGutachter extends EditRecord
|
||||
{
|
||||
protected static string $resource = GutachterResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
ForceDeleteAction::make(),
|
||||
RestoreAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Gutachters\Pages;
|
||||
|
||||
use App\Filament\Resources\Gutachters\GutachterResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListGutachters extends ListRecords
|
||||
{
|
||||
protected static string $resource = GutachterResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Gutachters\Schemas;
|
||||
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class GutachterForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Gutachters\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Actions\ForceDeleteBulkAction;
|
||||
use Filament\Actions\RestoreBulkAction;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Filters\TrashedFilter;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class GutachtersTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
])
|
||||
->filters([
|
||||
TrashedFilter::make(),
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
ForceDeleteBulkAction::make(),
|
||||
RestoreBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontooptionens;
|
||||
|
||||
use App\Filament\Resources\Kontooptionens\Pages\CreateKontooptionen;
|
||||
use App\Filament\Resources\Kontooptionens\Pages\EditKontooptionen;
|
||||
use App\Filament\Resources\Kontooptionens\Pages\ListKontooptionens;
|
||||
use App\Filament\Resources\Kontooptionens\Schemas\KontooptionenForm;
|
||||
use App\Filament\Resources\Kontooptionens\Tables\KontooptionensTable;
|
||||
use App\Models\Kontooptionen;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Tables\Table;
|
||||
use UnitEnum;
|
||||
|
||||
class KontooptionenResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Kontooptionen::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-key-square';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Interne Administration';
|
||||
|
||||
protected static ?string $navigationLabel = 'Konto Optionen';
|
||||
|
||||
protected static ?string $modelLabel = 'Konto Option';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Konto Optionen';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return KontooptionenForm::configure($schema);
|
||||
}
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return KontooptionensTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => ListKontooptionens::route('/'),
|
||||
'create' => CreateKontooptionen::route('/create'),
|
||||
'edit' => EditKontooptionen::route('/{record}/edit'),
|
||||
];
|
||||
}
|
||||
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return parent::getEloquentQuery()->count();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontooptionens\Pages;
|
||||
|
||||
use App\Filament\Resources\Kontooptionens\KontooptionenResource;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
class CreateKontooptionen extends CreateRecord
|
||||
{
|
||||
protected static string $resource = KontooptionenResource::class;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontooptionens\Pages;
|
||||
|
||||
use App\Filament\Resources\Kontooptionens\KontooptionenResource;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class EditKontooptionen extends EditRecord
|
||||
{
|
||||
protected static string $resource = KontooptionenResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontooptionens\Pages;
|
||||
|
||||
use App\Filament\Resources\Kontooptionens\KontooptionenResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListKontooptionens extends ListRecords
|
||||
{
|
||||
protected static string $resource = KontooptionenResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontooptionens\Schemas;
|
||||
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class KontooptionenForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontooptionens\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class KontooptionensTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('name')->description(fn ($record): string => $record->description),
|
||||
TextColumn::make('number_user')->alignCenter()->badge(),
|
||||
TextColumn::make('number_gutachter')->alignCenter()->badge(),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontos;
|
||||
|
||||
use App\Filament\Resources\Kontos\Pages\CreateKonto;
|
||||
use App\Filament\Resources\Kontos\Pages\EditKonto;
|
||||
use App\Filament\Resources\Kontos\Pages\ListKontos;
|
||||
use App\Filament\Resources\Kontos\Schemas\KontoForm;
|
||||
use App\Filament\Resources\Kontos\Tables\KontosTable;
|
||||
use App\Models\Konto;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Tables\Table;
|
||||
use UnitEnum;
|
||||
|
||||
class KontoResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Konto::class;
|
||||
|
||||
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 $modelLabel = 'Konto';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Kontos';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return KontoForm::configure($schema);
|
||||
}
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return KontosTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => ListKontos::route('/'),
|
||||
'create' => CreateKonto::route('/create'),
|
||||
'edit' => EditKonto::route('/{record}/edit'),
|
||||
];
|
||||
}
|
||||
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return parent::getEloquentQuery()->count();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontos\Pages;
|
||||
|
||||
use App\Filament\Resources\Kontos\KontoResource;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
class CreateKonto extends CreateRecord
|
||||
{
|
||||
protected static string $resource = KontoResource::class;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontos\Pages;
|
||||
|
||||
use App\Filament\Resources\Kontos\KontoResource;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class EditKonto extends EditRecord
|
||||
{
|
||||
protected static string $resource = KontoResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontos\Pages;
|
||||
|
||||
use App\Filament\Resources\Kontos\KontoResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListKontos extends ListRecords
|
||||
{
|
||||
protected static string $resource = KontoResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontos\Schemas;
|
||||
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class KontoForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Kontos\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class KontosTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
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('place')->label('Ort'),
|
||||
TextColumn::make('code')->label('PLZ'),
|
||||
TextColumn::make('phone')->label('Telefon'),
|
||||
TextColumn::make('uid_number')->label('UID Nummer'),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Permissions\Pages;
|
||||
|
||||
use App\Filament\Resources\Permissions\PermissionResource;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
class CreatePermission extends CreateRecord
|
||||
{
|
||||
protected static string $resource = PermissionResource::class;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Permissions\Pages;
|
||||
|
||||
use App\Filament\Resources\Permissions\PermissionResource;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class EditPermission extends EditRecord
|
||||
{
|
||||
protected static string $resource = PermissionResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Permissions\Pages;
|
||||
|
||||
use App\Filament\Resources\Permissions\PermissionResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListPermissions extends ListRecords
|
||||
{
|
||||
protected static string $resource = PermissionResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Permissions;
|
||||
|
||||
use App\Filament\Resources\Permissions\Pages\CreatePermission;
|
||||
use App\Filament\Resources\Permissions\Pages\EditPermission;
|
||||
use App\Filament\Resources\Permissions\Pages\ListPermissions;
|
||||
use App\Filament\Resources\Permissions\Schemas\PermissionForm;
|
||||
use App\Filament\Resources\Permissions\Tables\PermissionsTable;
|
||||
use App\Models\Permission;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Tables\Table;
|
||||
use UnitEnum;
|
||||
|
||||
class PermissionResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Permission::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-toggle-right';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Interne Administration';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $navigationLabel = 'Berechtigungen';
|
||||
|
||||
protected static ?string $modelLabel = 'Berechtigungen';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Berechtigungen';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return PermissionForm::configure($schema);
|
||||
}
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return PermissionsTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => ListPermissions::route('/'),
|
||||
'create' => CreatePermission::route('/create'),
|
||||
'edit' => EditPermission::route('/{record}/edit'),
|
||||
];
|
||||
}
|
||||
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return parent::getEloquentQuery()->count();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Permissions\Schemas;
|
||||
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class PermissionForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Permissions\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class PermissionsTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Users\Pages;
|
||||
|
||||
use App\Filament\Resources\Users\UserResource;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
class CreateUser extends CreateRecord
|
||||
{
|
||||
protected static string $resource = UserResource::class;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Users\Pages;
|
||||
|
||||
use App\Filament\Resources\Users\UserResource;
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Actions\ForceDeleteAction;
|
||||
use Filament\Actions\RestoreAction;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class EditUser extends EditRecord
|
||||
{
|
||||
protected static string $resource = UserResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
ForceDeleteAction::make(),
|
||||
RestoreAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Users\Pages;
|
||||
|
||||
use App\Filament\Resources\Users\UserResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListUsers extends ListRecords
|
||||
{
|
||||
protected static string $resource = UserResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Users\Schemas;
|
||||
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class UserForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Users\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Actions\ForceDeleteBulkAction;
|
||||
use Filament\Actions\RestoreBulkAction;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Filters\TrashedFilter;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class UsersTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
//
|
||||
])
|
||||
->filters([
|
||||
TrashedFilter::make(),
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
ForceDeleteBulkAction::make(),
|
||||
RestoreBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Users;
|
||||
|
||||
use App\Filament\Resources\Users\Pages\CreateUser;
|
||||
use App\Filament\Resources\Users\Pages\EditUser;
|
||||
use App\Filament\Resources\Users\Pages\ListUsers;
|
||||
use App\Filament\Resources\Users\Schemas\UserForm;
|
||||
use App\Filament\Resources\Users\Tables\UsersTable;
|
||||
use App\Models\User;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
use UnitEnum;
|
||||
|
||||
class UserResource extends Resource
|
||||
{
|
||||
protected static ?string $model = User::class;
|
||||
|
||||
// protected static bool $shouldSkipAuthorization = true;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-user';
|
||||
|
||||
// protected static string|UnitEnum|null $navigationGroup = 'Gutachten';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $navigationLabel = 'Benutzer';
|
||||
|
||||
protected static ?string $modelLabel = 'Benutzer';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Benutzer';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return UserForm::configure($schema);
|
||||
}
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return UsersTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => ListUsers::route('/'),
|
||||
'create' => CreateUser::route('/create'),
|
||||
'edit' => EditUser::route('/{record}/edit'),
|
||||
];
|
||||
}
|
||||
|
||||
public static function getRecordRouteBindingEloquentQuery(): Builder
|
||||
{
|
||||
return parent::getRecordRouteBindingEloquentQuery()
|
||||
->withoutGlobalScopes([
|
||||
SoftDeletingScope::class,
|
||||
]);
|
||||
}
|
||||
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return parent::getEloquentQuery()->count();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Gutachter extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Konto extends Model
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Kontooptionen extends Model
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Spatie\Permission\Models\Permission as SpatiePermission;
|
||||
|
||||
class Permission extends SpatiePermission
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Spatie\Permission\Models\Role as SpatieRole;
|
||||
|
||||
class Role extends SpatieRole
|
||||
{
|
||||
//
|
||||
}
|
||||
+2
-2
@@ -32,10 +32,10 @@ class User extends Authenticatable implements FilamentUser, MustVerifyEmail
|
||||
'last_name',
|
||||
'gender',
|
||||
'company',
|
||||
'uid',
|
||||
'uid_number',
|
||||
'address',
|
||||
'place',
|
||||
'postcode',
|
||||
'code',
|
||||
'phone',
|
||||
];
|
||||
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\Gutachter;
|
||||
use Illuminate\Auth\Access\HandlesAuthorization;
|
||||
|
||||
class GutachterPolicy
|
||||
{
|
||||
use HandlesAuthorization;
|
||||
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
return $user->can('view_any_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, Gutachter $gutachter): bool
|
||||
{
|
||||
return $user->can('view_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
return $user->can('create_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, Gutachter $gutachter): bool
|
||||
{
|
||||
return $user->can('update_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, Gutachter $gutachter): bool
|
||||
{
|
||||
return $user->can('delete_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk delete.
|
||||
*/
|
||||
public function deleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('delete_any_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete.
|
||||
*/
|
||||
public function forceDelete(User $user, Gutachter $gutachter): bool
|
||||
{
|
||||
return $user->can('force_delete_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently bulk delete.
|
||||
*/
|
||||
public function forceDeleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('force_delete_any_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore.
|
||||
*/
|
||||
public function restore(User $user, Gutachter $gutachter): bool
|
||||
{
|
||||
return $user->can('restore_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk restore.
|
||||
*/
|
||||
public function restoreAny(User $user): bool
|
||||
{
|
||||
return $user->can('restore_any_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can replicate.
|
||||
*/
|
||||
public function replicate(User $user, Gutachter $gutachter): bool
|
||||
{
|
||||
return $user->can('replicate_gutachters::gutachter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can reorder.
|
||||
*/
|
||||
public function reorder(User $user): bool
|
||||
{
|
||||
return $user->can('reorder_gutachters::gutachter');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\Konto;
|
||||
use Illuminate\Auth\Access\HandlesAuthorization;
|
||||
|
||||
class KontoPolicy
|
||||
{
|
||||
use HandlesAuthorization;
|
||||
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
return $user->can('view_any_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, Konto $konto): bool
|
||||
{
|
||||
return $user->can('view_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
return $user->can('create_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, Konto $konto): bool
|
||||
{
|
||||
return $user->can('update_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, Konto $konto): bool
|
||||
{
|
||||
return $user->can('delete_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk delete.
|
||||
*/
|
||||
public function deleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('delete_any_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete.
|
||||
*/
|
||||
public function forceDelete(User $user, Konto $konto): bool
|
||||
{
|
||||
return $user->can('force_delete_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently bulk delete.
|
||||
*/
|
||||
public function forceDeleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('force_delete_any_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore.
|
||||
*/
|
||||
public function restore(User $user, Konto $konto): bool
|
||||
{
|
||||
return $user->can('restore_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk restore.
|
||||
*/
|
||||
public function restoreAny(User $user): bool
|
||||
{
|
||||
return $user->can('restore_any_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can replicate.
|
||||
*/
|
||||
public function replicate(User $user, Konto $konto): bool
|
||||
{
|
||||
return $user->can('replicate_kontos::konto');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can reorder.
|
||||
*/
|
||||
public function reorder(User $user): bool
|
||||
{
|
||||
return $user->can('reorder_kontos::konto');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\Kontooptionen;
|
||||
use Illuminate\Auth\Access\HandlesAuthorization;
|
||||
|
||||
class KontooptionenPolicy
|
||||
{
|
||||
use HandlesAuthorization;
|
||||
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
return $user->can('view_any_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, Kontooptionen $kontooptionen): bool
|
||||
{
|
||||
return $user->can('view_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
return $user->can('create_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, Kontooptionen $kontooptionen): bool
|
||||
{
|
||||
return $user->can('update_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, Kontooptionen $kontooptionen): bool
|
||||
{
|
||||
return $user->can('delete_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk delete.
|
||||
*/
|
||||
public function deleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('delete_any_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete.
|
||||
*/
|
||||
public function forceDelete(User $user, Kontooptionen $kontooptionen): bool
|
||||
{
|
||||
return $user->can('force_delete_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently bulk delete.
|
||||
*/
|
||||
public function forceDeleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('force_delete_any_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore.
|
||||
*/
|
||||
public function restore(User $user, Kontooptionen $kontooptionen): bool
|
||||
{
|
||||
return $user->can('restore_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk restore.
|
||||
*/
|
||||
public function restoreAny(User $user): bool
|
||||
{
|
||||
return $user->can('restore_any_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can replicate.
|
||||
*/
|
||||
public function replicate(User $user, Kontooptionen $kontooptionen): bool
|
||||
{
|
||||
return $user->can('replicate_kontooptionens::kontooptionen');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can reorder.
|
||||
*/
|
||||
public function reorder(User $user): bool
|
||||
{
|
||||
return $user->can('reorder_kontooptionens::kontooptionen');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\Permission;
|
||||
use Illuminate\Auth\Access\HandlesAuthorization;
|
||||
|
||||
class PermissionPolicy
|
||||
{
|
||||
use HandlesAuthorization;
|
||||
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
return $user->can('view_any_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, Permission $permission): bool
|
||||
{
|
||||
return $user->can('view_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
return $user->can('create_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, Permission $permission): bool
|
||||
{
|
||||
return $user->can('update_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, Permission $permission): bool
|
||||
{
|
||||
return $user->can('delete_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk delete.
|
||||
*/
|
||||
public function deleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('delete_any_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete.
|
||||
*/
|
||||
public function forceDelete(User $user, Permission $permission): bool
|
||||
{
|
||||
return $user->can('force_delete_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently bulk delete.
|
||||
*/
|
||||
public function forceDeleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('force_delete_any_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore.
|
||||
*/
|
||||
public function restore(User $user, Permission $permission): bool
|
||||
{
|
||||
return $user->can('restore_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk restore.
|
||||
*/
|
||||
public function restoreAny(User $user): bool
|
||||
{
|
||||
return $user->can('restore_any_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can replicate.
|
||||
*/
|
||||
public function replicate(User $user, Permission $permission): bool
|
||||
{
|
||||
return $user->can('replicate_permissions::permission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can reorder.
|
||||
*/
|
||||
public function reorder(User $user): bool
|
||||
{
|
||||
return $user->can('reorder_permissions::permission');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
use Illuminate\Auth\Access\HandlesAuthorization;
|
||||
|
||||
class UserPolicy
|
||||
{
|
||||
use HandlesAuthorization;
|
||||
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
return $user->can('view_any_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function view(User $user): bool
|
||||
{
|
||||
return $user->can('view_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
return $user->can('create_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function update(User $user): bool
|
||||
{
|
||||
return $user->can('update_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function delete(User $user): bool
|
||||
{
|
||||
return $user->can('delete_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk delete.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function deleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('delete_any_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function forceDelete(User $user): bool
|
||||
{
|
||||
return $user->can('force_delete_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently bulk delete.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function forceDeleteAny(User $user): bool
|
||||
{
|
||||
return $user->can('force_delete_any_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function restore(User $user): bool
|
||||
{
|
||||
return $user->can('restore_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk restore.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function restoreAny(User $user): bool
|
||||
{
|
||||
return $user->can('restore_any_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can bulk restore.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function replicate(User $user): bool
|
||||
{
|
||||
return $user->can('replicate_users::user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can reorder.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return bool
|
||||
*/
|
||||
public function reorder(User $user): bool
|
||||
{
|
||||
return $user->can('reorder_users::user');
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,10 @@ class AppServiceProvider extends ServiceProvider
|
||||
'primary' => '#47847f',
|
||||
]);
|
||||
|
||||
FilamentView::registerRenderHook(
|
||||
PanelsRenderHook::AUTH_LOGIN_FORM_BEFORE, fn (): View => view('login-links'),
|
||||
);
|
||||
|
||||
FilamentView::registerRenderHook(
|
||||
PanelsRenderHook::AUTH_LOGIN_FORM_AFTER, fn (): View => view('login-text'),
|
||||
);
|
||||
|
||||
@@ -38,7 +38,7 @@ class AdminPanelProvider extends PanelProvider
|
||||
->default()
|
||||
->renderHook(
|
||||
PanelsRenderHook::GLOBAL_SEARCH_BEFORE,
|
||||
fn (): string => auth()->user()->hasRole('tenancy_switch') ? Blade::render('@livewire(\'tenancy-switch\')') : false
|
||||
fn (): string => auth()->user()->hasRole('gutachter_switch') ? Blade::render('@livewire(\'tenancy-switch\')') : false
|
||||
)
|
||||
->maxContentWidth(Width::ScreenExtraLarge)
|
||||
// ->sidebarCollapsibleOnDesktop()
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
"laravel/tinker": "^2.10.1",
|
||||
"livewire/livewire": "^3.6",
|
||||
"mallardduck/blade-lucide-icons": "^1.23",
|
||||
"spatie/laravel-login-link": "^1.6",
|
||||
"spatie/laravel-multitenancy": "^4.0",
|
||||
"swisnl/filament-backgrounds": "^2.0",
|
||||
"ysfkaya/filament-phone-input": "^4.0@beta"
|
||||
},
|
||||
|
||||
Generated
+145
-1
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "a3716cae8aaa07ceaee3c4cfd7a546c6",
|
||||
"content-hash": "bad50230eed48fcdbd195c9d49310cfa",
|
||||
"packages": [
|
||||
{
|
||||
"name": "agencetwogether/hookshelper",
|
||||
@@ -5754,6 +5754,150 @@
|
||||
],
|
||||
"time": "2024-05-17T09:06:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-login-link",
|
||||
"version": "1.6.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-login-link.git",
|
||||
"reference": "8fd82ccafcf6ee9fbc033b7b273d44e5f6fd5ca4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-login-link/zipball/8fd82ccafcf6ee9fbc033b7b273d44e5f6fd5ca4",
|
||||
"reference": "8fd82ccafcf6ee9fbc033b7b273d44e5f6fd5ca4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"illuminate/contracts": "^10.0|^11.0|^12.0",
|
||||
"php": "^8.0",
|
||||
"spatie/laravel-package-tools": "^1.9.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^3.8",
|
||||
"nunomaduro/collision": "^7.0|^8.0",
|
||||
"orchestra/testbench": "^8.0|^9.0|^10.0",
|
||||
"pestphp/pest": "^2.34|^3.7",
|
||||
"pestphp/pest-plugin-laravel": "^1.1|^2.3|^3.1",
|
||||
"spatie/laravel-ray": "^1.26",
|
||||
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
|
||||
"spatie/phpunit-snapshot-assertions": "^4.2.12|^5.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Spatie\\LoginLink\\LoginLinkServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Spatie\\LoginLink\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Freek Van der Herten",
|
||||
"email": "freek@spatie.be",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Quickly login to your local environment",
|
||||
"homepage": "https://github.com/spatie/laravel-login-link",
|
||||
"keywords": [
|
||||
"laravel",
|
||||
"laravel-login-link",
|
||||
"spatie"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/spatie/laravel-login-link/tree/1.6.3"
|
||||
},
|
||||
"time": "2025-04-16T13:42:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-multitenancy",
|
||||
"version": "4.0.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-multitenancy.git",
|
||||
"reference": "7b43b33a4e4194157949470a04effc64b8bac2a3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-multitenancy/zipball/7b43b33a4e4194157949470a04effc64b8bac2a3",
|
||||
"reference": "7b43b33a4e4194157949470a04effc64b8bac2a3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"illuminate/support": "^11.0|^12.0",
|
||||
"php": "^8.2",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/legacy-factories": "^1.0.4",
|
||||
"laravel/octane": "^2.5|dev-develop",
|
||||
"laravel/serializable-closure": "^1.1|^2.0",
|
||||
"mockery/mockery": "^1.4",
|
||||
"orchestra/testbench": "^9.0|^10.0",
|
||||
"pestphp/pest": "^2.34|^3.7",
|
||||
"spatie/valuestore": "^1.2"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"aliases": {
|
||||
"Multitenancy": "Spatie\\Multitenancy\\MultitenancyFacade"
|
||||
},
|
||||
"providers": [
|
||||
"Spatie\\Multitenancy\\MultitenancyServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Spatie\\Multitenancy\\": "src",
|
||||
"Spatie\\Multitenancy\\Database\\Factories\\": "database/factories"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Freek Van der Herten",
|
||||
"email": "freek@spatie.be",
|
||||
"homepage": "http://spatie.be",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Make your Laravel app usable by multiple tenants",
|
||||
"homepage": "https://github.com/spatie/laravel-multitenancy",
|
||||
"keywords": [
|
||||
"laravel-multitenancy",
|
||||
"spatie"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/spatie/laravel-multitenancy/issues",
|
||||
"source": "https://github.com/spatie/laravel-multitenancy/tree/4.0.5"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://spatie.be/open-source/support-us",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/spatie",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-05-12T09:56:03+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-package-tools",
|
||||
"version": "1.92.7",
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Broadcasting\BroadcastEvent;
|
||||
use Illuminate\Events\CallQueuedListener;
|
||||
use Illuminate\Mail\SendQueuedMailable;
|
||||
use Illuminate\Notifications\SendQueuedNotifications;
|
||||
use Illuminate\Queue\CallQueuedClosure;
|
||||
use Spatie\Multitenancy\Actions\ForgetCurrentTenantAction;
|
||||
use Spatie\Multitenancy\Actions\MakeQueueTenantAwareAction;
|
||||
use Spatie\Multitenancy\Actions\MakeTenantCurrentAction;
|
||||
use Spatie\Multitenancy\Actions\MigrateTenantAction;
|
||||
use Spatie\Multitenancy\Models\Tenant;
|
||||
|
||||
return [
|
||||
/*
|
||||
* This class is responsible for determining which tenant should be current
|
||||
* for the given request.
|
||||
*
|
||||
* This class should extend `Spatie\Multitenancy\TenantFinder\TenantFinder`
|
||||
*
|
||||
*/
|
||||
'tenant_finder' => null,
|
||||
|
||||
/*
|
||||
* These fields are used by tenant:artisan command to match one or more tenant.
|
||||
*/
|
||||
'tenant_artisan_search_fields' => [
|
||||
'id',
|
||||
],
|
||||
|
||||
/*
|
||||
* These tasks will be performed when switching tenants.
|
||||
*
|
||||
* A valid task is any class that implements Spatie\Multitenancy\Tasks\SwitchTenantTask
|
||||
*/
|
||||
'switch_tenant_tasks' => [
|
||||
// \Spatie\Multitenancy\Tasks\PrefixCacheTask::class,
|
||||
// \Spatie\Multitenancy\Tasks\SwitchTenantDatabaseTask::class,
|
||||
// \Spatie\Multitenancy\Tasks\SwitchRouteCacheTask::class,
|
||||
],
|
||||
|
||||
/*
|
||||
* This class is the model used for storing configuration on tenants.
|
||||
*
|
||||
* It must extend `Spatie\Multitenancy\Models\Tenant::class` or
|
||||
* implement `Spatie\Multitenancy\Contracts\IsTenant::class` interface
|
||||
*/
|
||||
'tenant_model' => Tenant::class,
|
||||
|
||||
/*
|
||||
* If there is a current tenant when dispatching a job, the id of the current tenant
|
||||
* will be automatically set on the job. When the job is executed, the set
|
||||
* tenant on the job will be made current.
|
||||
*/
|
||||
'queues_are_tenant_aware_by_default' => true,
|
||||
|
||||
/*
|
||||
* The connection name to reach the tenant database.
|
||||
*
|
||||
* Set to `null` to use the default connection.
|
||||
*/
|
||||
'tenant_database_connection_name' => null,
|
||||
|
||||
/*
|
||||
* The connection name to reach the landlord database.
|
||||
*/
|
||||
'landlord_database_connection_name' => null,
|
||||
|
||||
/*
|
||||
* This key will be used to associate the current tenant in the context
|
||||
*/
|
||||
'current_tenant_context_key' => 'tenantId',
|
||||
|
||||
/*
|
||||
* This key will be used to bind the current tenant in the container.
|
||||
*/
|
||||
'current_tenant_container_key' => 'currentTenant',
|
||||
|
||||
/*
|
||||
* Set it to `true` if you like to cache the tenant(s) routes
|
||||
* in a shared file using the `SwitchRouteCacheTask`.
|
||||
*/
|
||||
'shared_routes_cache' => false,
|
||||
|
||||
/*
|
||||
* You can customize some of the behavior of this package by using your own custom action.
|
||||
* Your custom action should always extend the default one.
|
||||
*/
|
||||
'actions' => [
|
||||
'make_tenant_current_action' => MakeTenantCurrentAction::class,
|
||||
'forget_current_tenant_action' => ForgetCurrentTenantAction::class,
|
||||
'make_queue_tenant_aware_action' => MakeQueueTenantAwareAction::class,
|
||||
'migrate_tenant' => MigrateTenantAction::class,
|
||||
],
|
||||
|
||||
/*
|
||||
* You can customize the way in which the package resolves the queueable to a job.
|
||||
*
|
||||
* For example, using the package laravel-actions (by Loris Leiva), you can
|
||||
* resolve JobDecorator to getAction() like so: JobDecorator::class => 'getAction'
|
||||
*/
|
||||
'queueable_to_job' => [
|
||||
SendQueuedMailable::class => 'mailable',
|
||||
SendQueuedNotifications::class => 'notification',
|
||||
CallQueuedClosure::class => 'closure',
|
||||
CallQueuedListener::class => 'class',
|
||||
BroadcastEvent::class => 'event',
|
||||
],
|
||||
|
||||
/*
|
||||
* Jobs tenant aware even if these don't implement the TenantAware interface.
|
||||
*/
|
||||
'tenant_aware_jobs' => [
|
||||
// ...
|
||||
],
|
||||
|
||||
/*
|
||||
* Jobs not tenant aware even if these don't implement the NotTenantAware interface.
|
||||
*/
|
||||
'not_tenant_aware_jobs' => [
|
||||
// ...
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('kontos', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('title')->nullable();
|
||||
$table->string('gender')->nullable();
|
||||
$table->string('first_name');
|
||||
$table->string('last_name');
|
||||
$table->string('company');
|
||||
$table->string('address')->nullable();
|
||||
$table->string('place')->nullable();
|
||||
$table->string('code')->nullable();
|
||||
$table->string('phone')->nullable();
|
||||
$table->string('uid_number')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('kontos');
|
||||
}
|
||||
};
|
||||
@@ -13,10 +13,13 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('konto_id')->constrained()->cascadeOnDelete();
|
||||
$table->string('gender')->nullable();
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->boolean('super_admin')->default(0);
|
||||
$table->rememberToken();
|
||||
$table->timestamp('app_verified_at')->nullable();
|
||||
$table->timestamp('deleted_at')->nullable();
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('gutachters', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('logo')->nullable();
|
||||
$table->string('address')->nullable();
|
||||
$table->string('place')->nullable();
|
||||
$table->string('code')->nullable();
|
||||
$table->string('phone')->nullable();
|
||||
$table->timestamp('deleted_at')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('gutachters');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('kontooptionens', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('description')->nullable();
|
||||
$table->integer('number_user')->default(1);
|
||||
$table->integer('number_gutachter')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('kontooptionens');
|
||||
}
|
||||
};
|
||||
@@ -12,7 +12,9 @@ class DatabaseSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$this->call([
|
||||
KontoSeeder::class,
|
||||
RolesAndPermissionsSeeder::class,
|
||||
KontooptionenSeeder::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class KontoSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$sql = "INSERT INTO `kontos` (`id`, `title`, `gender`, `first_name`, `last_name`, `company`, `address`, `place`, `code`, `phone`, `uid_number`)
|
||||
VALUES
|
||||
('1', 'Architekt', 'Herr','Bruno','Kunz','Architekt Kunz','Pradlerstraße 11','Innbsruck', '6020', '0512 457328', 'ATU 234578');
|
||||
";
|
||||
DB::unprepared($sql);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class KontooptionenSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$sql = "INSERT INTO `kontooptionens` (`id`, `name`, `description`, `number_user`, `number_gutachter`)
|
||||
VALUES
|
||||
('1', 'Basic', 'Basis Version mit einem Benutzer und einem Gutacher.',1,1),
|
||||
('2', 'Premium', 'Premium Version mit fünf Benutzer und fünf Gutacher.',5,5);
|
||||
";
|
||||
DB::unprepared($sql);
|
||||
}
|
||||
}
|
||||
@@ -15,12 +15,14 @@ class RolesAndPermissionsSeeder extends Seeder
|
||||
[
|
||||
['name' => 'gutachter', 'guard_name' => 'web'],
|
||||
['name' => 'super_admin', 'guard_name' => 'web'],
|
||||
['name' => 'tenancy_switch', 'guard_name' => 'web'],
|
||||
['name' => 'gutachter_switch', 'guard_name' => 'web'],
|
||||
],
|
||||
['name']
|
||||
);
|
||||
|
||||
$user = User::factory()->create([
|
||||
'konto_id' => '1',
|
||||
'gender' => 'Herr',
|
||||
'name' => 'Hermann Telser',
|
||||
'email' => 'ht@webwerkstatt.tirol',
|
||||
'password' => Hash::make('salam'),
|
||||
@@ -28,12 +30,16 @@ class RolesAndPermissionsSeeder extends Seeder
|
||||
'email_verified_at' => now(),
|
||||
]);
|
||||
$user->assignRole('super_admin');
|
||||
$user->assignRole('tenancy_switch');
|
||||
$user->assignRole('gutachter_switch');
|
||||
|
||||
$user = User::factory()->create([
|
||||
'konto_id' => '1',
|
||||
'gender' => 'Frau',
|
||||
'name' => 'Yvonne Bormes',
|
||||
'email' => 'yvonne.bormes@ztkammer.at',
|
||||
'password' => Hash::make('yvonne'),
|
||||
'app_verified_at' => now(),
|
||||
'email_verified_at' => now(),
|
||||
]);
|
||||
$user->assignRole('gutachter');
|
||||
}
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'العنوان',
|
||||
'column.guard_name' => 'اسم الحارس',
|
||||
'column.roles' => 'الأدوار',
|
||||
'column.permissions' => 'الصلاحيات',
|
||||
'column.updated_at' => 'تاريخ التحديث',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'العنوان',
|
||||
'field.guard_name' => 'اسم الحارس',
|
||||
'field.permissions' => 'الصلاحيات',
|
||||
'field.select_all.name' => 'تحديد الكل',
|
||||
'field.select_all.message' => 'تفعيل كافة الصلاحيات لهذا الدور',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'إدارة الوصول',
|
||||
'nav.role.label' => 'الأدوار',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'دور',
|
||||
'resource.label.roles' => 'الأدوار',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'الأقسام',
|
||||
'resources' => 'المصادر',
|
||||
'widgets' => 'الأجزاء',
|
||||
'pages' => 'الصفحات',
|
||||
'custom' => 'صلاحيات مخصصة',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'أنت غير مخول، لديك صلاحية للوصول',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'عرض',
|
||||
'view_any' => 'عرض الكل',
|
||||
'create' => 'إضافة',
|
||||
'update' => 'تعديل',
|
||||
'delete' => 'حذف',
|
||||
'delete_any' => 'حذف الكل',
|
||||
'force_delete' => 'إجبار الحذف',
|
||||
'force_delete_any' => ' إجبار حذف أي',
|
||||
'reorder' => 'إعادة ترتيب',
|
||||
'restore' => 'استرجاع',
|
||||
'restore_any' => 'استرجاع الكل',
|
||||
'replicate' => 'استنساخ',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'ناو',
|
||||
'column.guard_name' => 'ناوی گوارد',
|
||||
'column.roles' => 'ڕۆڵەکان',
|
||||
'column.permissions' => 'پێرمشنەکان',
|
||||
'column.updated_at' => 'نوێکردنەوە لە',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'ناو',
|
||||
'field.guard_name' => 'ناوی گوارد',
|
||||
'field.permissions' => 'پێرمشنەکان',
|
||||
'field.select_all.name' => 'دیاری کردنی هەموو',
|
||||
'field.select_all.message' => 'هەموو پێرمشنەکان چالاک بکە کە لە ئێستادا <span class="font-medium text-primary">چالاک کراوە</span> بۆ ئەم ڕۆڵە',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'فیڵەمێنت شیڵد',
|
||||
'nav.role.label' => 'ڕۆڵەکان',
|
||||
'nav.role.icon' => 'heroicon-o-users',
|
||||
'resource.label.role' => 'ڕۆڵ',
|
||||
'resource.label.roles' => 'ڕۆڵەکان',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'یەکەکان',
|
||||
'resources' => 'سەرچاوەکان',
|
||||
'widgets' => 'ویجتەکان',
|
||||
'pages' => 'پەیجەکان',
|
||||
'custom' => 'پێرمشنی تایبەت',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'تۆ مۆڵەتی چوونە ژوورەوەت نییە',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'بینین',
|
||||
'view_any' => 'بینینی هەریەک',
|
||||
'create' => 'دروستکردن',
|
||||
'update' => 'نوێکردنەوە',
|
||||
'delete' => 'سڕینەوە',
|
||||
'delete_any' => 'سڕینەوەی هەریەک',
|
||||
'force_delete' => 'سڕینەوەی تەواو',
|
||||
'force_delete_any' => 'سڕینەوەی تەواوی هەریەک',
|
||||
'restore' => 'گێڕاندنەوە',
|
||||
'reorder' => 'ڕیزکردن',
|
||||
'restore_any' => 'گێڕاندنەوەی هەریەک',
|
||||
'replicate' => 'دووبارەکردنەوە',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Název',
|
||||
'column.guard_name' => 'Název guardu',
|
||||
'column.roles' => 'Role',
|
||||
'column.permissions' => 'Oprávnění',
|
||||
'column.updated_at' => 'Změněno dne',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Název',
|
||||
'field.guard_name' => 'Název guardu',
|
||||
'field.permissions' => 'Oprávnění',
|
||||
'field.select_all.name' => 'Vybrat vše',
|
||||
'field.select_all.message' => 'Povolit všechny oprávnení právě <span class="text-primary font-medium">Dostupné</span> pro tuto roli',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Role',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Role',
|
||||
'resource.label.roles' => 'Role',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entity',
|
||||
'resources' => 'Zdroje',
|
||||
'widgets' => 'Widgety',
|
||||
'pages' => 'Stránky',
|
||||
'custom' => 'Vlastní oprávnění',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Nemáte oprávnění k přístupu',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Zobrazit',
|
||||
'view_any' => 'Zobrazit jakýkoliv',
|
||||
'create' => 'Vyvořit',
|
||||
'update' => 'Upravit',
|
||||
'delete' => 'Smazat',
|
||||
'delete_any' => 'Smazat jakýkoliv',
|
||||
'force_delete' => 'Trvale smazat',
|
||||
'force_delete_any' => 'Trvale smazat jakýkoliv',
|
||||
'restore' => 'Obnovit',
|
||||
'reorder' => 'Změnit pořadí',
|
||||
'restore_any' => 'Obnovit jakýkoliv',
|
||||
'replicate' => 'Duplikovat',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.guard_name' => 'Guard-Name',
|
||||
'column.name' => 'Name',
|
||||
'column.permissions' => 'Berechtigungen',
|
||||
'column.roles' => 'Rollen',
|
||||
'column.updated_at' => 'Aktualisiert am',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.guard_name' => 'Guard-Name',
|
||||
'field.name' => 'Name',
|
||||
'field.permissions' => 'Berechtigungen',
|
||||
'field.select_all.message' => 'Aktivierung aller Berechtigungen, die derzeit für diese Rolle <span class="text-primary font-medium">aktiviert</span> sind',
|
||||
'field.select_all.name' => 'Alle auswählen',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Interne Administration',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'nav.role.label' => 'Rollen',
|
||||
'resource.label.role' => 'Rolle',
|
||||
'resource.label.roles' => 'Rollen',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entitäten',
|
||||
'resources' => 'Ressourcen',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Seiten',
|
||||
'custom' => 'benutzerdefinierte Berechtigungen',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Sie haben keine Zugangsberechtigung',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Anzeigen',
|
||||
'view_any' => 'Alle anzeigen',
|
||||
'create' => 'Erstellen',
|
||||
'update' => 'Bearbeiten',
|
||||
'delete' => 'Löschen',
|
||||
'delete_any' => 'Alle löschen',
|
||||
'force_delete' => 'Endgültig löschen',
|
||||
'force_delete_any' => 'Alle endgültig löschen',
|
||||
// 'reorder' => 'Reorder',
|
||||
// 'replicate' => 'Replicate',
|
||||
'restore' => 'Wiederherstellen',
|
||||
'restore_any' => 'Alle wiederherstellen',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Name',
|
||||
'column.guard_name' => 'Guard Name',
|
||||
'column.team' => 'Team',
|
||||
'column.roles' => 'Roles',
|
||||
'column.permissions' => 'Permissions',
|
||||
'column.updated_at' => 'Updated At',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Name',
|
||||
'field.guard_name' => 'Guard Name',
|
||||
'field.permissions' => 'Permissions',
|
||||
'field.team' => 'Team',
|
||||
'field.team.placeholder' => 'Select a team ...',
|
||||
'field.select_all.name' => 'Select All',
|
||||
'field.select_all.message' => 'Enables/Disables all Permissions for this role',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Roles',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Role',
|
||||
'resource.label.roles' => 'Roles',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entities',
|
||||
'resources' => 'Resources',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Pages',
|
||||
'custom' => 'Custom Permissions',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'You do not have permission to access',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'View',
|
||||
'view_any' => 'View Any',
|
||||
'create' => 'Create',
|
||||
'update' => 'Update',
|
||||
'delete' => 'Delete',
|
||||
'delete_any' => 'Delete Any',
|
||||
'force_delete' => 'Force Delete',
|
||||
'force_delete_any' => 'Force Delete Any',
|
||||
'restore' => 'Restore',
|
||||
'reorder' => 'Reorder',
|
||||
'restore_any' => 'Restore Any',
|
||||
'replicate' => 'Replicate',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nombre',
|
||||
'column.guard_name' => 'Guard',
|
||||
'column.roles' => 'Roles',
|
||||
'column.permissions' => 'Permisos',
|
||||
'column.updated_at' => 'Actualizado el',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nombre',
|
||||
'field.guard_name' => 'Guard',
|
||||
'field.permissions' => 'Permisos',
|
||||
'field.select_all.name' => 'Seleccionar todos',
|
||||
'field.select_all.message' => 'Habilitar todos los permisos actualmente <span class="text-primary font-medium">habilitados</span> para este rol',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Roles',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rol',
|
||||
'resource.label.roles' => 'Roles',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entidades',
|
||||
'resources' => 'Recursos',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Páginas',
|
||||
'custom' => 'Permisos personalizados',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Usted no tiene permiso de acceso',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Ver un registro en particular',
|
||||
'view_any' => 'Ver el listado de registros',
|
||||
'create' => 'Crear',
|
||||
'update' => 'Actualizar',
|
||||
'delete' => 'Eliminar un registro en particular',
|
||||
'delete_any' => 'Eliminar varios registros a la vez',
|
||||
'force_delete' => 'Forzar elminación de un registro en particular',
|
||||
'force_delete_any' => 'Forzar eliminación de varios registros',
|
||||
'restore' => 'Restaurar un registro en particular',
|
||||
'reorder' => 'Reordenar',
|
||||
'restore_any' => 'Restaurar varios registros',
|
||||
'replicate' => 'Replicar',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'نام',
|
||||
'column.guard_name' => 'نام گارد',
|
||||
'column.roles' => 'نقشها',
|
||||
'column.permissions' => 'دسترسیها',
|
||||
'column.updated_at' => 'بهروزشده در',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'نام',
|
||||
'field.guard_name' => 'نام گارد',
|
||||
'field.permissions' => 'دسترسیها',
|
||||
'field.select_all.name' => 'انتخاب همه',
|
||||
'field.select_all.message' => 'تمام دسترسیهای <span class="text-primary font-medium">فعال</span> فعلی را برای این نقش فعال کن.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'نقشها',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'نقش',
|
||||
'resource.label.roles' => 'نقشها',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'موجودیتها',
|
||||
'resources' => 'منابع',
|
||||
'widgets' => 'ویجتها',
|
||||
'pages' => 'صفحات',
|
||||
'custom' => 'دسترسیهای سفارشی',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'شما اجازه دسترسی ندارید.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'نمایش',
|
||||
'view_any' => 'نمایش همه',
|
||||
'create' => 'ایجاد',
|
||||
'update' => 'ویرایش',
|
||||
'delete' => 'حذف',
|
||||
'delete_any' => 'حذف همه',
|
||||
'force_delete' => 'حذف اجباری',
|
||||
'force_delete_any' => 'حذف اجباری همه',
|
||||
'restore' => 'بازیابی',
|
||||
'replicate' => 'تکثیر',
|
||||
'reorder' => 'مرتبسازی',
|
||||
'restore_any' => 'بازیابی همه',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nom',
|
||||
'column.guard_name' => 'Nom du Guard',
|
||||
'column.roles' => 'Rôles',
|
||||
'column.permissions' => 'Permissions',
|
||||
'column.updated_at' => 'Mis à jour à',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nom',
|
||||
'field.guard_name' => 'Nom du Guard',
|
||||
'field.permissions' => 'Permissions',
|
||||
'field.select_all.name' => 'Tout sélectionner',
|
||||
'field.select_all.message' => 'Activer toutes les autorisations pour ce rôle',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Rôles',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rôle',
|
||||
'resource.label.roles' => 'Rôles',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Section',
|
||||
'resources' => 'Ressources',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Pages',
|
||||
'custom' => 'Permissions personnalisées',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Vous n\'avez pas la permission d\'accéder',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Voir',
|
||||
'view_any' => 'Voir tout',
|
||||
'create' => 'Créer',
|
||||
'update' => 'Mettre à jour',
|
||||
'delete' => 'Supprimer',
|
||||
'delete_any' => 'Supprimer tout',
|
||||
'force_delete' => 'Forcer la suppression',
|
||||
'force_delete_any' => 'Forcer la suppression de tout',
|
||||
'restore' => 'Restaurer',
|
||||
'replicate' => 'Répliquer',
|
||||
'reorder' => 'Réordonner',
|
||||
'restore_any' => 'Restaurer tout',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Név',
|
||||
'column.guard_name' => 'Guard név',
|
||||
'column.roles' => 'Jogosultságok',
|
||||
'column.permissions' => 'Engedélyek',
|
||||
'column.updated_at' => 'Frissítve',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Név',
|
||||
'field.guard_name' => 'Guard név',
|
||||
'field.permissions' => 'Engedélyek',
|
||||
'field.select_all.name' => 'Összes kijelölése',
|
||||
'field.select_all.message' => 'Engedélyezze az összes jelenleg <span class="text-primary font-medium">bekapcsolt</span> engedélyt a szerepkör számára.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Rendszer',
|
||||
'nav.role.label' => 'Jogosultságok',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Jogosultság',
|
||||
'resource.label.roles' => 'Jogosultságok',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entitások',
|
||||
'resources' => 'Erőforrások',
|
||||
'widgets' => 'Widgetek',
|
||||
'pages' => 'Oldalak',
|
||||
'custom' => 'Egyedi jogosultságok',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Nincs megfelelő hozzáférésed',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Megtekintés',
|
||||
'view_any' => 'Összes megtekintése',
|
||||
'create' => 'Létrehozás',
|
||||
'update' => 'Módosítás',
|
||||
'delete' => 'Törlés',
|
||||
'delete_any' => 'Összes törlése',
|
||||
'force_delete' => 'Végleges törlés',
|
||||
'force_delete_any' => 'Összes végeles törlése',
|
||||
'restore' => 'Helyreállítás',
|
||||
'reorder' => 'Sorbarendezés',
|
||||
'restore_any' => 'Összes helyreállítása',
|
||||
'replicate' => 'Másolás',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Table Columns
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Անվանում',
|
||||
'column.guard_name' => 'Գուարդի անվանում',
|
||||
'column.roles' => 'Դերեր',
|
||||
'column.permissions' => 'Թույլտվություններ',
|
||||
'column.updated_at' => 'Թարմացվել է',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Form Fields
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Անվանում',
|
||||
'field.guard_name' => 'Գուարդի անվանում',
|
||||
'field.permissions' => 'Թույլտվություններ',
|
||||
'field.select_all.name' => 'Ընտրել բոլորը',
|
||||
'field.select_all.message' => 'Միացնել բոլոր թույլտվությունները, որոնք <span class="text-primary font-medium">Հասանելի</span> են այս դերի համար',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Navigation & Resource
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Դերեր',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Դեր',
|
||||
'resource.label.roles' => 'Դերեր',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Section & Tabs
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Սուբյեկտներ',
|
||||
'resources' => 'Ռեսուրսներ',
|
||||
'widgets' => 'Վիդջեթներ',
|
||||
'pages' => 'Էջեր',
|
||||
'custom' => 'Օգտագործողի թույլտվություններ',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Messages
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Դուք հասանելիություն չունեք',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Resource Permissions' Labels
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Դիտել',
|
||||
'view_any' => 'Դիտել ցանկացած',
|
||||
'create' => 'Ստեղծել',
|
||||
'update' => 'Թարմացնել',
|
||||
'delete' => 'Ջնջել',
|
||||
'delete_any' => 'Ջնջել ցանկացած',
|
||||
'force_delete' => 'Ստիպել ջնջել',
|
||||
'force_delete_any' => 'Ստիպել ջնջել ցանկացածը',
|
||||
'restore' => 'Վերականգնել',
|
||||
'reorder' => 'Վերադասավորել',
|
||||
'restore_any' => 'Վերադասավորել ցանկացածը',
|
||||
'replicate' => 'Կրկնօրինակել',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nama',
|
||||
'column.guard_name' => 'Nama Penjaga',
|
||||
'column.roles' => 'Peran',
|
||||
'column.permissions' => 'Izin',
|
||||
'column.updated_at' => 'Dirubah',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nama',
|
||||
'field.guard_name' => 'Nama Penjaga',
|
||||
'field.permissions' => 'Izin',
|
||||
'field.select_all.name' => 'Pilih Semua',
|
||||
'field.select_all.message' => 'Aktifkan semua izin yang <span class="text-primary font-medium">Tersedia</span> untuk Peran ini.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Pelindung',
|
||||
'nav.role.label' => 'Peran',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Peran',
|
||||
'resource.label.roles' => 'Peran',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entitas',
|
||||
'resources' => 'Sumber Daya',
|
||||
'widgets' => 'Widget',
|
||||
'pages' => 'Halaman',
|
||||
'custom' => 'Izin Kustom',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Kamu tidak punya izin akses',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Lihat',
|
||||
'view_any' => 'Lihat Apa Saja',
|
||||
'create' => 'Buat',
|
||||
'update' => 'Perbarui',
|
||||
'delete' => 'Hapus',
|
||||
'delete_any' => 'Hapus Apa Saja',
|
||||
'force_delete' => 'Paksa Hapus',
|
||||
'force_delete_any' => 'Paksa Hapus Apa Saja',
|
||||
'restore' => 'Pulihkan',
|
||||
'replicate' => 'Replikasi',
|
||||
'reorder' => 'Susun Ulang',
|
||||
'restore_any' => 'Pulihkan Apa Saja',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nome',
|
||||
'column.guard_name' => 'Nome Guard',
|
||||
'column.roles' => 'Ruoli',
|
||||
'column.permissions' => 'Permessi',
|
||||
'column.updated_at' => 'Aggiornato a',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nome',
|
||||
'field.guard_name' => 'Nome Guard',
|
||||
'field.permissions' => 'Permessi',
|
||||
'field.select_all.name' => 'Seleziona Tutto',
|
||||
'field.select_all.message' => 'Abilita tutti i Permessi attualmente <span class="text-primary font-medium">Abilitati</span> per questo ruolo',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Ruoli',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Ruolo',
|
||||
'resource.label.roles' => 'Ruoli',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entities',
|
||||
'resources' => 'Resources',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Pages',
|
||||
'custom' => 'Permessi Personalizzati',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Non hai i permessi di accesso',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// 'resource_permission_prefixes_labels' => [
|
||||
// 'view' => 'View',
|
||||
// 'view_any' => 'View Any',
|
||||
// 'create' => 'Create',
|
||||
// 'update' => 'Update',
|
||||
// 'delete' => 'Delete',
|
||||
// 'delete_any' => 'Delete Any',
|
||||
// 'force_delete' => 'Force Delete',
|
||||
// 'force_delete_any' => 'Force Delete Any',
|
||||
// 'restore' => 'Restore',
|
||||
// 'replicate' => 'Replicate',
|
||||
// 'reorder' => 'Reorder',
|
||||
// 'restore_any' => 'Restore Any',
|
||||
// ],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => '名前',
|
||||
'column.guard_name' => 'ガード名',
|
||||
'column.roles' => 'ロール',
|
||||
'column.permissions' => 'パーミッション',
|
||||
'column.updated_at' => '更新日時',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => '名前',
|
||||
'field.guard_name' => 'ガード名',
|
||||
'field.permissions' => 'パーミッション',
|
||||
'field.select_all.name' => 'すべて選択',
|
||||
'field.select_all.message' => 'このロールに対して現在<span class="text-primary font-medium">有効</span>となっているすべての権限を有効にします。',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'ロール',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'ロール',
|
||||
'resource.label.roles' => 'ロール',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'エンティティ',
|
||||
'resources' => 'リソース',
|
||||
'widgets' => 'ウィジェット',
|
||||
'pages' => 'ページ',
|
||||
'custom' => 'カスタムパーミッション',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'アクセスするパーミッションがありません。',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => '表示',
|
||||
'view_any' => 'どれでも表示',
|
||||
'create' => '作成',
|
||||
'update' => '更新',
|
||||
'delete' => '削除',
|
||||
'delete_any' => 'どれでも削除',
|
||||
'force_delete' => '強制削除',
|
||||
'force_delete_any' => 'どれでも強制削除',
|
||||
'restore' => 'リストア',
|
||||
'reorder' => '並べ直し',
|
||||
'restore_any' => 'どれでもリストア',
|
||||
'replicate' => 'レプリカ',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'სახელი',
|
||||
'column.guard_name' => 'გუარდის სახელი',
|
||||
'column.roles' => 'როლები',
|
||||
'column.permissions' => 'ნებართვები',
|
||||
'column.updated_at' => 'განახლების თარიღი',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'სახელი',
|
||||
'field.guard_name' => 'გუარდის სახელი',
|
||||
'field.permissions' => 'ნებართვები',
|
||||
'field.select_all.name' => 'ყველას მონიშვნა',
|
||||
'field.select_all.message' => 'ჩართეთ ყველა ნებართვა, რომელიც ამჟამად <span class="text-primary font-medium">ჩართულია</span> ამ როლისთვის',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'როლები',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'როლი',
|
||||
'resource.label.roles' => 'როლები',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'ერთეულები',
|
||||
'resources' => 'რესურსები',
|
||||
'widgets' => 'ვიდჯეტები',
|
||||
'pages' => 'გვერდები',
|
||||
'custom' => 'მომხმარებლის ნებართვები',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'თქვენ არ გაქვთ წვდომის ნებართვა',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'ნახვა',
|
||||
'view_any' => 'ნებისმიერის ნახვა',
|
||||
'create' => 'შექმნა',
|
||||
'update' => 'განახლება',
|
||||
'delete' => 'წაშლა',
|
||||
'delete_any' => 'ნებისმიერის წაშლა',
|
||||
'force_delete' => 'იძულებითი წაშლა',
|
||||
'force_delete_any' => 'ნებისმიერის იძულებითი წაშლა',
|
||||
'restore' => 'აღდგენა',
|
||||
'reorder' => 'გადალაგება',
|
||||
'restore_any' => 'ნებისმიერის აღდგენა',
|
||||
'replicate' => 'დუბლირება',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'ឈ្មោះ',
|
||||
'column.guard_name' => 'ឈ្មោះអ្នកមើល',
|
||||
'column.roles' => 'តួនាទី',
|
||||
'column.permissions' => 'ការអនុញ្ញាតិ',
|
||||
'column.updated_at' => 'បានធ្វើបច្ចុប្បន្នភាពនៅ',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'ឈ្មោះ',
|
||||
'field.guard_name' => 'ឈ្មោះអ្នកមើល',
|
||||
'field.permissions' => 'ការអនុញ្ញាតិ',
|
||||
'field.select_all.name' => 'ជ្រើសរើសទាំងអស់',
|
||||
'field.select_all.message' => 'បើកការអនុញ្ញាតទាំងអស់ដែលបច្ចុប្បន្នត្រូវបាន <span class="text-primary font-medium">បើកដំណើរការ</span> សម្រាប់តួនាទីនេះ។',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'តួនាទី',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'តួនាទី',
|
||||
'resource.label.roles' => 'តួនាទី',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'អង្គភាព',
|
||||
'resources' => 'ប្រភព',
|
||||
'widgets' => 'តារាង',
|
||||
'pages' => 'ទំព័រ',
|
||||
'custom' => 'ការអនុញ្ញាតផ្ទាល់ខ្លួន',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'អ្នកមិនមានសិទ្ធិចូលប្រើទេ។',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'មើល',
|
||||
'view_any' => 'មើលសន្ទស្សន៍',
|
||||
'create' => 'បង្កើត',
|
||||
'update' => 'ធ្វើបច្ចុប្បន្នភាព',
|
||||
'delete' => 'លុប',
|
||||
'delete_any' => 'លុបទាំងបាច់',
|
||||
'force_delete' => 'បង្ខំលុប',
|
||||
'force_delete_any' => 'បង្ខំលុបណាមួយ។',
|
||||
'restore' => 'ស្តារ',
|
||||
'restore_any' => 'ស្តារណាមួយ។',
|
||||
'reorder' => 'តម្រៀបឡើងវិញ',
|
||||
'replicate' => 'ចម្លង',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => '이름',
|
||||
'column.guard_name' => '가드 이름',
|
||||
'column.roles' => '역할',
|
||||
'column.permissions' => '권한',
|
||||
'column.updated_at' => '최근 업데이트',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => '이름',
|
||||
'field.guard_name' => '가드 이름',
|
||||
'field.permissions' => '권한',
|
||||
'field.select_all.name' => '전체 선택',
|
||||
'field.select_all.message' => '현재 이 역할에 대해 <span class="text-primary font-medium">활성화</span>된 모든 권한을 활성화',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => '역할',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => '역할',
|
||||
'resource.label.roles' => '역할들',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => '섹션',
|
||||
'resources' => '리소스',
|
||||
'widgets' => '위젯',
|
||||
'pages' => '페이지',
|
||||
'custom' => '사용자 정의 권한',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => '접근 권한이 없습니다',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => '보기',
|
||||
'view_any' => '모두 보기',
|
||||
'create' => '생성',
|
||||
'update' => '업데이트',
|
||||
'delete' => '삭제',
|
||||
'delete_any' => '모두 삭제',
|
||||
'force_delete' => '강제 삭제',
|
||||
'force_delete_any' => '모두 강제 삭제',
|
||||
'restore' => '복구',
|
||||
'reorder' => '재정렬',
|
||||
'restore_any' => '모두 복구',
|
||||
'replicate' => '복제',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'ناو',
|
||||
'column.guard_name' => 'ناوی گوارد',
|
||||
'column.roles' => 'ڕۆڵەکان',
|
||||
'column.permissions' => 'پێرمشنەکان',
|
||||
'column.updated_at' => 'نوێکردنەوە لە',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'ناو',
|
||||
'field.guard_name' => 'ناوی گوارد',
|
||||
'field.permissions' => 'پێرمشنەکان',
|
||||
'field.select_all.name' => 'دیاری کردنی هەموو',
|
||||
'field.select_all.message' => 'هەموو پێرمشنەکان چالاک بکە کە لە ئێستادا <span class="font-medium text-primary">چالاک کراوە</span> بۆ ئەم ڕۆڵە',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'فیڵەمێنت شیڵد',
|
||||
'nav.role.label' => 'ڕۆڵەکان',
|
||||
'nav.role.icon' => 'heroicon-o-users',
|
||||
'resource.label.role' => 'ڕۆڵ',
|
||||
'resource.label.roles' => 'ڕۆڵەکان',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'یەکەکان',
|
||||
'resources' => 'سەرچاوەکان',
|
||||
'widgets' => 'ویجتەکان',
|
||||
'pages' => 'پەیجەکان',
|
||||
'custom' => 'پێرمشنی تایبەت',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'تۆ مۆڵەتی چوونە ژوورەوەت نییە',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'بینین',
|
||||
'view_any' => 'بینینی هەریەک',
|
||||
'create' => 'دروستکردن',
|
||||
'update' => 'نوێکردنەوە',
|
||||
'delete' => 'سڕینەوە',
|
||||
'delete_any' => 'سڕینەوەی هەریەک',
|
||||
'force_delete' => 'سڕینەوەی تەواو',
|
||||
'force_delete_any' => 'سڕینەوەی تەواوی هەریەک',
|
||||
'restore' => 'گێڕاندنەوە',
|
||||
'reorder' => 'ڕیزکردن',
|
||||
'restore_any' => 'گێڕاندنەوەی هەریەک',
|
||||
'replicate' => 'دووبارەکردنەوە',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nosaukums',
|
||||
'column.guard_name' => 'Sargs',
|
||||
'column.roles' => 'Lomas',
|
||||
'column.permissions' => 'Tiesības',
|
||||
'column.updated_at' => 'Atjaunots',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nosaukums',
|
||||
'field.guard_name' => 'Sargs',
|
||||
'field.permissions' => 'Tiesības',
|
||||
'field.select_all.name' => 'Atzīmēt visu',
|
||||
'field.select_all.message' => 'Aktivizēt visas <span class="text-primary font-medium">pieejamās</span> tiesības šai lomai',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Tiesības',
|
||||
'nav.role.label' => 'Lomas',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Loma',
|
||||
'resource.label.roles' => 'Lomas',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Vienības',
|
||||
'resources' => 'Resursi',
|
||||
'widgets' => 'Logrīki',
|
||||
'pages' => 'Lapas',
|
||||
'custom' => 'Speciālās tiesības',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Jums nav pietiekamu tiesību šī resursa apskatei.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Skatīt',
|
||||
'view_any' => 'Skatīt visu',
|
||||
'create' => 'Izveidot',
|
||||
'update' => 'Atjaunot',
|
||||
'delete' => 'Dzēst',
|
||||
'delete_any' => 'Dzēst visu',
|
||||
'force_delete' => 'Piespiedu dzēšana',
|
||||
'force_delete_any' => 'Piespiedu dzēšana visam',
|
||||
'restore' => 'Atjaunot',
|
||||
'reorder' => 'Pārkārtot',
|
||||
'restore_any' => 'Atjaunot visu',
|
||||
'replicate' => 'Replicēt',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Naam',
|
||||
'column.guard_name' => 'Guard Naam',
|
||||
'column.roles' => 'Rollen',
|
||||
'column.permissions' => 'Permissies',
|
||||
'column.updated_at' => 'Aangepast op',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Naam',
|
||||
'field.guard_name' => 'Guard Naam',
|
||||
'field.permissions' => 'Permissies',
|
||||
'field.select_all.name' => 'Selecteer alles',
|
||||
'field.select_all.message' => 'Zet alle permissies aan, die momenteel <span class="text-primary font-medium">aangevinkt</span> staan voor deze rol.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Rollen',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rol',
|
||||
'resource.label.roles' => 'Rollen',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entiteiten',
|
||||
'resources' => 'Resources',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Pagina\'s',
|
||||
'custom' => 'Andere permissies',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Je hebt geen toegang',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Bekijken',
|
||||
'view_any' => 'Bekijk elke',
|
||||
'create' => 'Aanmaken',
|
||||
'update' => 'Bewerken',
|
||||
'delete' => 'Verwijderen',
|
||||
'delete_any' => 'Verwijder elke',
|
||||
'force_delete' => 'Forceer verwijderen',
|
||||
'force_delete_any' => 'Forceer verwijderen elke',
|
||||
'restore' => 'Herstellen',
|
||||
'restore_any' => 'Herstel elke',
|
||||
'replicate' => 'Repliceren',
|
||||
// 'reorder' => 'Reorder',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nazwa',
|
||||
'column.guard_name' => 'Nazwa Guarda',
|
||||
'column.team' => 'Zespół',
|
||||
'column.roles' => 'Role',
|
||||
'column.permissions' => 'Uprawnienia',
|
||||
'column.updated_at' => 'Data aktualizacji',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nazwa',
|
||||
'field.guard_name' => 'Nazwa Guarda',
|
||||
'field.permissions' => 'Uprawnienia',
|
||||
'field.team' => 'Zespół',
|
||||
'field.team.placeholder' => 'Wybierz zespół...',
|
||||
'field.select_all.name' => 'Zaznacz wszystko',
|
||||
'field.select_all.message' => 'Włącza/wyłącza wszystkie uprawnienia dla tej roli',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Role',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rola',
|
||||
'resource.label.roles' => 'Role',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Komponenty',
|
||||
'resources' => 'Zasoby',
|
||||
'widgets' => 'Widgety',
|
||||
'pages' => 'Strony',
|
||||
'custom' => 'Własne uprawnienia',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Nie masz uprawnień do dostępu',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Podgląd',
|
||||
'view_any' => 'Podgląd dowolnego',
|
||||
'create' => 'Tworzenie',
|
||||
'update' => 'Edycja',
|
||||
'delete' => 'Usuwanie',
|
||||
'delete_any' => 'Usuwanie dowolnego',
|
||||
'force_delete' => 'Wymuszone usunięcie',
|
||||
'force_delete_any' => 'Wymuszone usunięcie dowolnego',
|
||||
'restore' => 'Przywracanie',
|
||||
'restore_any' => 'Przywracanie dowolnego',
|
||||
'reorder' => 'Zmienianie kolejności',
|
||||
'replicate' => 'Duplikowanie',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nome',
|
||||
'column.guard_name' => 'Guard',
|
||||
'column.roles' => 'Funções',
|
||||
'column.permissions' => 'Permissões',
|
||||
'column.updated_at' => 'Alterado em',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nome',
|
||||
'field.guard_name' => 'Guard',
|
||||
'field.permissions' => 'Permissões',
|
||||
'field.select_all.name' => 'Selecionar todos',
|
||||
'field.select_all.message' => 'Habilitar todas as permissões para essa função',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Funções',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Função',
|
||||
'resource.label.roles' => 'Funções',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'section' => 'Entidades',
|
||||
'resources' => 'Recursos',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Páginas',
|
||||
'custom' => 'Permissões customizadas',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Você não tem permissão para acessar',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// 'resource_permission_prefixes_labels' => [
|
||||
// 'view' => 'View',
|
||||
// 'view_any' => 'View Any',
|
||||
// 'create' => 'Create',
|
||||
// 'update' => 'Update',
|
||||
// 'delete' => 'Delete',
|
||||
// 'delete_any' => 'Delete Any',
|
||||
// 'force_delete' => 'Force Delete',
|
||||
// 'force_delete_any' => 'Force Delete Any',
|
||||
// 'restore' => 'Restore',
|
||||
// 'reorder' => 'Reorder',
|
||||
// 'restore_any' => 'Restore Any',
|
||||
// 'replicate' => 'Replicate',
|
||||
// ],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Nome',
|
||||
'column.guard_name' => 'Nome da Protecção',
|
||||
'column.roles' => 'Funções',
|
||||
'column.permissions' => 'Permissões',
|
||||
'column.updated_at' => 'Actualizado em',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nome',
|
||||
'field.guard_name' => 'Nome da Protecção',
|
||||
'field.permissions' => 'Permissões',
|
||||
'field.select_all.name' => 'Selecionar Todos',
|
||||
'field.select_all.message' => 'Selecionar todas as Permissões <span class="text-primary font-medium">Activas</span> para esta função',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Funções',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Função',
|
||||
'resource.label.roles' => 'Funções',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entidades',
|
||||
'resources' => 'Recursos',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Páginas',
|
||||
'custom' => 'Permissões Personalizadas',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Não possui permissões para aceder',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Visualizar',
|
||||
'view_any' => 'Visualizar Tudo',
|
||||
'create' => 'Criar',
|
||||
'update' => 'Actualizar',
|
||||
'delete' => 'Eliminar',
|
||||
'delete_any' => 'Eliminar Tudo',
|
||||
'force_delete' => 'Eliminar Permanentemente',
|
||||
'force_delete_any' => 'Eliminar Permanentemente Tudo',
|
||||
'restore' => 'Restaurar',
|
||||
'reorder' => 'Reordenar',
|
||||
'restore_any' => 'Restaurar Tudo',
|
||||
'replicate' => 'Replicar',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Table Columns
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Număr',
|
||||
'column.guard_name' => 'Numele paznicului',
|
||||
'column.roles' => 'Roluri',
|
||||
'column.permissions' => 'Permisiuni',
|
||||
'column.updated_at' => 'Actualizat la',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Form Fields
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Nume',
|
||||
'field.guard_name' => 'Numele paznicului',
|
||||
'field.permissions' => 'Permisiuni',
|
||||
'field.select_all.name' => 'Selectați tot',
|
||||
'field.select_all.message' => 'Activați toate permisiunile în prezent <span class="text-primary font-medium">Activate</span> pentru acest rol',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Navigation & Resources
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Scut',
|
||||
'nav.role.label' => 'Roluri',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rol',
|
||||
'resource.label.roles' => 'Roluri',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Section & Tabs
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entități',
|
||||
'resources' => 'Resurse',
|
||||
'widgets' => 'Widget-uri',
|
||||
'pages' => 'Pagini',
|
||||
'custom' => 'Permisiuni personalizate',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Posts
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Nu aveți permisiunea de a accesa',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Resource Permissions' Labels
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Vizualizare',
|
||||
'view_any' => 'Vedeți orice',
|
||||
'create' => 'Creează',
|
||||
'update' => 'Actualizare',
|
||||
'delete' => 'Șterge',
|
||||
'delete_any' => 'Șterge orice',
|
||||
'force_delete' => 'Forțat ștergerea',
|
||||
'force_delete_any' => 'Forțat ștergerea oricărei',
|
||||
'restore' => 'Restaurare',
|
||||
'reorder' => 'Reordonare',
|
||||
'restore_any' => 'Restaurează orice',
|
||||
'replicate' => 'Replicare',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Table Columns
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Имя',
|
||||
'column.guard_name' => 'Имя гварда',
|
||||
'column.roles' => 'Роли',
|
||||
'column.permissions' => 'Разрешения',
|
||||
'column.updated_at' => 'Обновлено',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Form Fields
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Имя',
|
||||
'field.guard_name' => 'Имя гварда',
|
||||
'field.permissions' => 'Разрешения',
|
||||
'field.select_all.name' => 'Выбрать все',
|
||||
'field.select_all.message' => 'Включить все разрешения, которые <span class="text-primary font-medium">Доступны</span> для этой роли',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Navigation & Resource
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Роли',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Роль',
|
||||
'resource.label.roles' => 'Роли',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Section & Tabs
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Сути',
|
||||
'resources' => 'Ресурсы',
|
||||
'widgets' => 'Виджеты',
|
||||
'pages' => 'Страницы',
|
||||
'custom' => 'Пользовательские разрешения',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Messages
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'У вас нет доступа',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Resource Permissions' Labels
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Просмотр',
|
||||
'view_any' => 'Может смотреть любое',
|
||||
'create' => 'Создание',
|
||||
'update' => 'Обновление',
|
||||
'delete' => 'Удаление',
|
||||
'delete_any' => 'Может удалить любой',
|
||||
'force_delete' => 'Принудительно удалить',
|
||||
'force_delete_any' => 'Может принудительно удалить любой',
|
||||
'restore' => 'Восстановление',
|
||||
'reorder' => 'Изменение порядка',
|
||||
'restore_any' => 'Может восстановить любой',
|
||||
'replicate' => 'Копировать',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Stĺpce tabuľky
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Meno',
|
||||
'column.guard_name' => 'Názov ochrany',
|
||||
'column.roles' => 'Roly',
|
||||
'column.permissions' => 'Oprávnenia',
|
||||
'column.updated_at' => 'Aktualizované',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Polia formulára
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Meno',
|
||||
'field.guard_name' => 'Názov ochrany',
|
||||
'field.permissions' => 'Oprávnenia',
|
||||
'field.select_all.name' => 'Vybrať všetko',
|
||||
'field.select_all.message' => 'Povoliť všetky oprávnenia aktuálne <span class="text-primary font-medium">Povolené</span> pre túto rolu',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigácia & Zdroje
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Roly',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rola',
|
||||
'resource.label.roles' => 'Roly',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sekcie & Karty
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Entity',
|
||||
'resources' => 'Zdroje',
|
||||
'widgets' => 'Widgety',
|
||||
'pages' => 'Stránky',
|
||||
'custom' => 'Vlastné oprávnenia',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Správy
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Nemáte oprávnenie na prístup',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Štítky oprávnení zdrojov
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Zobraziť',
|
||||
'view_any' => 'Zobraziť všetko',
|
||||
'create' => 'Vytvoriť',
|
||||
'update' => 'Aktualizovať',
|
||||
'delete' => 'Odstrániť',
|
||||
'delete_any' => 'Odstrániť všetko',
|
||||
'force_delete' => 'Natrvalo odstrániť',
|
||||
'force_delete_any' => 'Natrvalo odstrániť všetko',
|
||||
'restore' => 'Obnoviť',
|
||||
'reorder' => 'Preusporiadať',
|
||||
'restore_any' => 'Obnoviť všetko',
|
||||
'replicate' => 'Replikovať',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Emri',
|
||||
'column.guard_name' => 'Emri i rojes',
|
||||
'column.roles' => 'Rolet',
|
||||
'column.permissions' => 'Lejet',
|
||||
'column.updated_at' => 'Përditësuar në',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Emri',
|
||||
'field.guard_name' => 'Emri i rojes',
|
||||
'field.permissions' => 'Lejet',
|
||||
'field.select_all.name' => 'Zgjidh të gjitha',
|
||||
'field.select_all.message' => 'Aktivizo të gjitha lejet aktualisht <span class="text-primary font-medium">Aktivizuar</span> për këtë rol',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Rolet',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rol',
|
||||
'resource.label.roles' => 'Rolet',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Seksioni',
|
||||
'resources' => 'Burimet',
|
||||
'widgets' => 'Widgets',
|
||||
'pages' => 'Faqet',
|
||||
'custom' => 'Lejet e personalizuara',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Nuk ke leje për të hyrë',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Shiko',
|
||||
'view_any' => 'Shiko çdo',
|
||||
'create' => 'Krijo',
|
||||
'update' => 'Përditëso',
|
||||
'delete' => 'Fshi',
|
||||
'delete_any' => 'Fshi çdo',
|
||||
'force_delete' => 'Fshije me forcë',
|
||||
'force_delete_any' => 'Fshije me forcë çdo',
|
||||
'restore' => 'Rikthe',
|
||||
'reorder' => 'Rirendit',
|
||||
'restore_any' => 'Rikthe çdo',
|
||||
'replicate' => 'Ripërsërit',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Ad',
|
||||
'column.guard_name' => 'Koruma Adı',
|
||||
'column.roles' => 'Roller',
|
||||
'column.permissions' => 'İzinler',
|
||||
'column.updated_at' => 'Güncellenme Tarihi',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Ad',
|
||||
'field.guard_name' => 'Koruma Adı',
|
||||
'field.permissions' => 'İzinler',
|
||||
'field.select_all.name' => 'Tümünü Seç',
|
||||
'field.select_all.message' => 'Bu rol için şu anda <span class="text-primary font-medium">Etkin</span> olan tüm İzinleri etkinleştirin',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Kalkan',
|
||||
'nav.role.label' => 'Roller',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Rol',
|
||||
'resource.label.roles' => 'Roller',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Varlıklar',
|
||||
'resources' => 'Kaynaklar',
|
||||
'widgets' => 'Araçlar',
|
||||
'pages' => 'Sayfalar',
|
||||
'custom' => 'Özel İzinler',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Erişim izniniz yok',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Görüntüle',
|
||||
'view_any' => 'Herhangi birini görüntüle',
|
||||
'create' => 'Oluştur',
|
||||
'update' => 'Güncelle',
|
||||
'delete' => 'Sil',
|
||||
'delete_any' => 'Herhangi Birini Sil',
|
||||
'force_delete' => 'Kalıcı Sil',
|
||||
'force_delete_any' => 'Herhangi Birini Kalıcı Sil',
|
||||
'restore' => 'Geri Yükle',
|
||||
'reorder' => 'Sırala',
|
||||
'restore_any' => 'Herhangi Birini Geri Yükle',
|
||||
'replicate' => 'Kopyala/Çoğalt',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Table Columns
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Назва',
|
||||
'column.guard_name' => 'Назва гварда',
|
||||
'column.roles' => 'Ролі',
|
||||
'column.permissions' => 'Дозволи',
|
||||
'column.updated_at' => 'Оновлено',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Form Fields
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Назва',
|
||||
'field.guard_name' => 'Назва гварда',
|
||||
'field.permissions' => 'Дозволи',
|
||||
'field.select_all.name' => 'Вибрати все',
|
||||
'field.select_all.message' => 'Включити всі дозволи, які <span class="text-primary font-medium">Доступні</span> для цієї ролі',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Navigation & Resource
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Ролі',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Роль',
|
||||
'resource.label.roles' => 'Ролі',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Section & Tabs
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Сутності',
|
||||
'resources' => 'Ресурси',
|
||||
'widgets' => 'Віджети',
|
||||
'pages' => 'Сторінки',
|
||||
'custom' => 'Користувальницькі дозволи',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Messages
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'У вас немає доступу',
|
||||
|
||||
/*
|
||||
|------------------------------------------------- -------------------------
|
||||
| Resource Permissions' Labels
|
||||
|------------------------------------------------- -------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Перегляд',
|
||||
'view_any' => 'Перегляд будь-якого',
|
||||
'create' => 'Створити',
|
||||
'update' => 'Оновити',
|
||||
'delete' => 'Видалити',
|
||||
'delete_any' => 'Видалити будь-яке',
|
||||
'force_delete' => 'Примусове видалення',
|
||||
'force_delete_any' => 'Примусове видалення будь-якого',
|
||||
'restore' => 'Відновити',
|
||||
'reorder' => 'Змінити порядок',
|
||||
'restore_any' => 'Відновити будь-яке',
|
||||
'replicate' => 'Копіювати',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => 'Tên',
|
||||
'column.guard_name' => 'Tên guard',
|
||||
'column.roles' => 'Vai trò',
|
||||
'column.permissions' => 'Quyền',
|
||||
'column.updated_at' => 'Cập nhật lúc',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => 'Tên',
|
||||
'field.guard_name' => 'Tên guard',
|
||||
'field.permissions' => 'Quyền',
|
||||
'field.select_all.name' => 'Chọn tất cả',
|
||||
'field.select_all.message' => 'Bật tất cả Quyền hiện tại <span class="text-primary font-medium">Đã bật</span> cho vai trò này',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => 'Vai trò',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => 'Vai trò',
|
||||
'resource.label.roles' => 'Vai trò',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => 'Thực thể',
|
||||
'resources' => 'Tài nguyên',
|
||||
'widgets' => 'Widget',
|
||||
'pages' => 'Trang',
|
||||
'custom' => 'Quyền tùy chỉnh',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => 'Bạn không có quyền để truy cập.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => 'Xem',
|
||||
'view_any' => 'Xem bất kỳ',
|
||||
'create' => 'Tạo',
|
||||
'update' => 'Cập nhật',
|
||||
'delete' => 'Xóa',
|
||||
'delete_any' => 'Xóa bất kỳ',
|
||||
'force_delete' => 'Xóa vĩnh viễn',
|
||||
'force_delete_any' => 'Xóa vĩnh viễn bất kỳ',
|
||||
'restore' => 'Khôi phục',
|
||||
'reorder' => 'Sắp xếp lại',
|
||||
'restore_any' => 'Khôi phục bất kỳ',
|
||||
'replicate' => 'Nhân bản',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => '角色名',
|
||||
'column.guard_name' => '守卫',
|
||||
'column.roles' => '角色',
|
||||
'column.permissions' => '权限',
|
||||
'column.updated_at' => '更新时间',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => '角色名',
|
||||
'field.guard_name' => '守卫',
|
||||
'field.permissions' => '权限',
|
||||
'field.select_all.name' => '全选',
|
||||
'field.select_all.message' => '启用当前为该角色 <span class="text-primary font-medium">启用的</span> 所有权限',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => '角色',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => '角色',
|
||||
'resource.label.roles' => '角色',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => '实体',
|
||||
'resources' => '资源',
|
||||
'widgets' => '小组件',
|
||||
'pages' => '页面',
|
||||
'custom' => '自定义',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => '无权访问',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => '详情',
|
||||
'view_any' => '列表',
|
||||
'create' => '创建',
|
||||
'update' => '编辑',
|
||||
'delete' => '删除',
|
||||
'delete_any' => '批量删除',
|
||||
'force_delete' => '永久删除',
|
||||
'force_delete_any' => '批量永久删除',
|
||||
'restore' => '恢复',
|
||||
'reorder' => '重新排序',
|
||||
'restore_any' => '批量恢复',
|
||||
'replicate' => '复制',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Table Columns
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'column.name' => '角色名',
|
||||
'column.guard_name' => '守衛',
|
||||
'column.roles' => '角色',
|
||||
'column.permissions' => '權限',
|
||||
'column.updated_at' => '更新時間',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Form Fields
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'field.name' => '角色名',
|
||||
'field.guard_name' => '守衛',
|
||||
'field.permissions' => '權限',
|
||||
'field.select_all.name' => '全選',
|
||||
'field.select_all.message' => '啟用當前為該角色 <span class="text-primary font-medium">啟用的</span> 所有權限',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Navigation & Resource
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'nav.group' => 'Filament Shield',
|
||||
'nav.role.label' => '角色',
|
||||
'nav.role.icon' => 'heroicon-o-shield-check',
|
||||
'resource.label.role' => '角色',
|
||||
'resource.label.roles' => '角色',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Section & Tabs
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'section' => '實體',
|
||||
'resources' => '資源',
|
||||
'widgets' => '小工具',
|
||||
'pages' => '頁面',
|
||||
'custom' => '自訂',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Messages
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'forbidden' => '無權訪問',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resource Permissions' Labels
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'resource_permission_prefixes_labels' => [
|
||||
'view' => '檢視',
|
||||
'view_any' => '列表',
|
||||
'create' => '建立',
|
||||
'update' => '編輯',
|
||||
'delete' => '刪除',
|
||||
'delete_any' => '批量刪除',
|
||||
'force_delete' => '永久刪除',
|
||||
'force_delete_any' => '批量永久刪除',
|
||||
'restore' => '還原',
|
||||
'reorder' => '重新排序',
|
||||
'restore_any' => '批量還原',
|
||||
'replicate' => '複製',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,6 @@
|
||||
<div>
|
||||
@env('local')
|
||||
<x-login-link key="1" label="Login as admin" />
|
||||
<x-login-link key="2" label="Login as user" />
|
||||
@endenv
|
||||
</div>
|
||||
@@ -31,6 +31,9 @@ case "$1" in
|
||||
"6")
|
||||
php artisan filament:assets
|
||||
;;
|
||||
"7")
|
||||
php artisan shield:setup
|
||||
;;
|
||||
*)
|
||||
echo ""
|
||||
echo "--------------------------"
|
||||
@@ -42,6 +45,7 @@ case "$1" in
|
||||
echo "4 => chown -R apache:apache ."
|
||||
echo "5 => a storage:link"
|
||||
echo "6 => a filament:assets . copy to prod"
|
||||
echo "7 => a shield:setup with tenancy"
|
||||
echo "--------------------------"
|
||||
echo ""
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user