Skip to content

Commit

Permalink
Install now works
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jul 23, 2024
1 parent 4372d67 commit 360975b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
namespace App\Filament\Staff\Resources\RelationManagers;

use Filament\Resources\RelationManagers\RelationManager;
use Filament\Resources\Table;
use Filament\Tables\Table;
use Filament\Tables;
use Flament\Forms\Form;
use Filament\Forms;

class MaintenanceRequestRelationManager extends RelationManager
{
protected static string $relationship = 'maintenanceRequests';

public static function table(Table $table): Table
public function table(Table $table): Table
{
return $table
->columns([
Expand Down Expand Up @@ -40,7 +41,7 @@ public static function table(Table $table): Table
]);
}

public static function form(Forms\Form $form): Forms\Form
public function form(Forms\Form $form): Forms\Form
{
return $form
->schema([
Expand All @@ -59,4 +60,4 @@ public static function form(Forms\Form $form): Forms\Form
]),
]);
}
}
}
3 changes: 1 addition & 2 deletions app/Filament/Staff/Resources/RentalApplicationResource.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<?php

namespace App\Filament\Staff\Resources;
Expand Down Expand Up @@ -157,4 +156,4 @@ public static function shouldRegisterNavigation(): bool
{
return auth()->user()->hasRole(['admin', 'staff']);
}
}
}

0 comments on commit 360975b

Please sign in to comment.