diff --git a/app/Filament/Clusters/Cards/CardsCluster.php b/app/Filament/Clusters/Cards/CardsCluster.php index 246b45f..65b066e 100644 --- a/app/Filament/Clusters/Cards/CardsCluster.php +++ b/app/Filament/Clusters/Cards/CardsCluster.php @@ -9,6 +9,8 @@ use Filament\Support\Icons\Heroicon; class CardsCluster extends Cluster { + protected static ?int $navigationSort = 1; + protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedCreditCard; protected static ?SubNavigationPosition $subNavigationPosition = SubNavigationPosition::Start; diff --git a/app/Filament/Clusters/Loans/LoansCluster.php b/app/Filament/Clusters/Loans/LoansCluster.php index 37140b9..3270dc8 100644 --- a/app/Filament/Clusters/Loans/LoansCluster.php +++ b/app/Filament/Clusters/Loans/LoansCluster.php @@ -9,6 +9,8 @@ use Filament\Support\Icons\Heroicon; class LoansCluster extends Cluster { + protected static ?int $navigationSort = 2; + protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedBanknotes; protected static ?SubNavigationPosition $subNavigationPosition = SubNavigationPosition::Top; diff --git a/app/Filament/Clusters/OnlinePayments/OnlinePaymentsCluster.php b/app/Filament/Clusters/OnlinePayments/OnlinePaymentsCluster.php new file mode 100644 index 0000000..0181d37 --- /dev/null +++ b/app/Filament/Clusters/OnlinePayments/OnlinePaymentsCluster.php @@ -0,0 +1,22 @@ + ListOnlinePayments::route('/'), + 'create' => CreateOnlinePayment::route('/create'), + 'edit' => EditOnlinePayment::route('/{record}/edit'), + ]; + } +} diff --git a/app/Filament/Clusters/OnlinePayments/Resources/OnlinePayments/Pages/CreateOnlinePayment.php b/app/Filament/Clusters/OnlinePayments/Resources/OnlinePayments/Pages/CreateOnlinePayment.php new file mode 100644 index 0000000..e1d086b --- /dev/null +++ b/app/Filament/Clusters/OnlinePayments/Resources/OnlinePayments/Pages/CreateOnlinePayment.php @@ -0,0 +1,11 @@ +components([ + // + ]); + } +} diff --git a/app/Filament/Clusters/OnlinePayments/Resources/OnlinePayments/Tables/OnlinePaymentsTable.php b/app/Filament/Clusters/OnlinePayments/Resources/OnlinePayments/Tables/OnlinePaymentsTable.php new file mode 100644 index 0000000..df11f50 --- /dev/null +++ b/app/Filament/Clusters/OnlinePayments/Resources/OnlinePayments/Tables/OnlinePaymentsTable.php @@ -0,0 +1,30 @@ +columns([ + // + ]) + ->filters([ + // + ]) + ->recordActions([ + EditAction::make(), + ]) + ->toolbarActions([ + BulkActionGroup::make([ + DeleteBulkAction::make(), + ]), + ]); + } +} diff --git a/app/Filament/Clusters/Users/UsersCluster.php b/app/Filament/Clusters/Users/UsersCluster.php index 9c91396..535225f 100644 --- a/app/Filament/Clusters/Users/UsersCluster.php +++ b/app/Filament/Clusters/Users/UsersCluster.php @@ -9,6 +9,8 @@ use Filament\Support\Icons\Heroicon; class UsersCluster extends Cluster { + protected static ?int $navigationSort = 6; + protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedUsers; protected static string|BackedEnum|null $activeNavigationIcon = Heroicon::Users; diff --git a/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php b/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php index 54aaa97..a57dfc8 100644 --- a/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php +++ b/app/Filament/Clusters/VisaMasterPayments/VisaMasterPaymentsCluster.php @@ -8,6 +8,8 @@ use Filament\Pages\Enums\SubNavigationPosition; class VisaMasterPaymentsCluster extends Cluster { + protected static ?int $navigationSort = 3; + protected static string|BackedEnum|null $navigationIcon = 'icon-visa-plain'; protected static ?SubNavigationPosition $subNavigationPosition = SubNavigationPosition::Top; diff --git a/app/Providers/Filament/WorkPanelProvider.php b/app/Providers/Filament/WorkPanelProvider.php index 3e1c7c3..be7dfeb 100644 --- a/app/Providers/Filament/WorkPanelProvider.php +++ b/app/Providers/Filament/WorkPanelProvider.php @@ -66,6 +66,7 @@ class WorkPanelProvider extends PanelProvider ->setTitle(__('My profile')) ->setNavigationLabel(__('My profile')) ->setIcon('heroicon-o-user-circle') + ->setSort(4) ->shouldShowEditProfileForm(false) ->customProfileComponents([ UserProfileFields::class,