32 lines
930 B
PHP
32 lines
930 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Manage\Partners\Pages;
|
|
|
|
use App\Filament\Actions\BackAction;
|
|
use App\Filament\Resources\Manage\Partners\PartnerResource;
|
|
use App\Filament\Support\CheerfulNotification;
|
|
use Filament\Resources\Pages\ViewRecord;
|
|
|
|
class ViewPartner extends ViewRecord
|
|
{
|
|
protected static string $resource = PartnerResource::class;
|
|
|
|
public function getTitle(): string
|
|
{
|
|
return CheerfulNotification::getMessage('Detail Rekanan 🏢✨', 'Detail Data Rekanan');
|
|
}
|
|
|
|
public function getSubheading(): ?string
|
|
{
|
|
return CheerfulNotification::getMessage('Lihat profil lengkap rekanan media kita agar kerja sama makin erat! 🏢🤝', 'Halaman ini menampilkan informasi detail mengenai profil rekanan media.');
|
|
}
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
BackAction::make()
|
|
->url(url()->previous()),
|
|
];
|
|
}
|
|
}
|