wip
This commit is contained in:
parent
ea341ca8f4
commit
4e2c1837ee
@ -19,7 +19,7 @@ class DepartmentResource extends Resource
|
|||||||
{
|
{
|
||||||
protected static ?string $model = Department::class;
|
protected static ?string $model = Department::class;
|
||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
protected static ?string $navigationIcon = 'heroicon-o-building-storefront';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
@ -44,15 +44,10 @@ public static function table(Table $table): Table
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('guid')
|
IconColumn::make('is_active')->boolean(),
|
||||||
->searchable(),
|
TextColumn::make('name')->searchable(),
|
||||||
IconColumn::make('is_active')
|
TextColumn::make('organization.name')->sortable(),
|
||||||
->boolean(),
|
TextColumn::make('guid')->searchable(),
|
||||||
TextColumn::make('organization.name')
|
|
||||||
->numeric()
|
|
||||||
->sortable(),
|
|
||||||
TextColumn::make('name')
|
|
||||||
->searchable(),
|
|
||||||
TextColumn::make('created_at')
|
TextColumn::make('created_at')
|
||||||
->dateTime()
|
->dateTime()
|
||||||
->sortable()
|
->sortable()
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
class DicomRoutingRuleResource extends Resource
|
class DicomRoutingRuleResource extends Resource
|
||||||
{
|
{
|
||||||
protected static ?string $model = DicomRoutingRule::class;
|
protected static ?string $model = DicomRoutingRule::class;
|
||||||
|
protected static ?string $modelLabel = 'Routing Rules';
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-academic-cap';
|
protected static ?string $navigationIcon = 'heroicon-o-academic-cap';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
|
@ -20,7 +20,7 @@ class OrganizationResource extends Resource
|
|||||||
{
|
{
|
||||||
protected static ?string $model = Organization::class;
|
protected static ?string $model = Organization::class;
|
||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
protected static ?string $navigationIcon = 'heroicon-o-building-office-2';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
@ -46,16 +46,9 @@ public static function table(Table $table): Table
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('guid')
|
IconColumn::make('is_active')->boolean(),
|
||||||
->searchable(),
|
TextColumn::make('name')->searchable(),
|
||||||
TextColumn::make('name')
|
TextColumn::make('guid')->searchable(),
|
||||||
->searchable(),
|
|
||||||
IconColumn::make('is_active')
|
|
||||||
->boolean(),
|
|
||||||
TextColumn::make('address')
|
|
||||||
->searchable(),
|
|
||||||
TextColumn::make('logo_path')
|
|
||||||
->searchable(),
|
|
||||||
TextColumn::make('created_at')
|
TextColumn::make('created_at')
|
||||||
->dateTime()
|
->dateTime()
|
||||||
->sortable()
|
->sortable()
|
||||||
|
Loading…
Reference in New Issue
Block a user