diff --git a/app-modules/knowledge-base/resources/views/filament/pages/badges.blade.php b/app-modules/knowledge-base/resources/views/filament/pages/badges.blade.php new file mode 100644 index 000000000..2e8946193 --- /dev/null +++ b/app-modules/knowledge-base/resources/views/filament/pages/badges.blade.php @@ -0,0 +1,39 @@ +{{-- + + + Copyright © 2016-2024, Canyon GBS LLC. All rights reserved. + + Aiding App™ is licensed under the Elastic License 2.0. For more details, + see + + Notice: + + - You may not provide the software to third parties as a hosted or managed + service, where the service provides users with access to any substantial set of + the features or functionality of the software. + - You may not move, change, disable, or circumvent the license key functionality + in the software, and you may not remove or obscure any functionality in the + software that is protected by the license key. + - You may not alter, remove, or obscure any licensing, copyright, or other notices + of the licensor in the software. Any use of the licensor’s trademarks is subject + to applicable law. + - Canyon GBS LLC respects the intellectual property rights of others and expects the + same in return. Canyon GBS™ and Aiding App™ are registered trademarks of + Canyon GBS LLC, and we are committed to enforcing and protecting our trademarks + vigorously. + - The software solution, including services, infrastructure, and code, is offered as a + Software as a Service (SaaS) by Canyon GBS LLC. + - Use of this software implies agreement to the license terms and conditions as stated + in the Elastic License 2.0. + + For more information or inquiries please visit our website at + or contact us via email at legal@canyongbs.com. + + +--}} + +
+ + {{ $getRecord()?->status?->name ?? '' }} + +
diff --git a/app-modules/knowledge-base/src/Filament/Resources/KnowledgeBaseItemResource/Pages/EditKnowledgeBaseItem.php b/app-modules/knowledge-base/src/Filament/Resources/KnowledgeBaseItemResource/Pages/EditKnowledgeBaseItem.php index d9c4b279b..070206e5e 100644 --- a/app-modules/knowledge-base/src/Filament/Resources/KnowledgeBaseItemResource/Pages/EditKnowledgeBaseItem.php +++ b/app-modules/knowledge-base/src/Filament/Resources/KnowledgeBaseItemResource/Pages/EditKnowledgeBaseItem.php @@ -38,6 +38,7 @@ use Filament\Forms\Form; use Filament\Actions\EditAction; +use Filament\Forms\Components\View; use Filament\Forms\Components\Section; use FilamentTiptapEditor\TiptapEditor; use Illuminate\Database\Eloquent\Model; @@ -87,6 +88,8 @@ public function form(Form $form): Form }), ), ]), + View::make('knowledge-base::filament.pages.badges') + ->visible(fn (Model $record): bool => ! empty($record->status)), TiptapEditor::make('article_details') ->label('Article Details') ->columnSpanFull()