1 Commits

Author SHA1 Message Date
dhanabalan
2dd3b35eb5 added profile logo in visitor
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled
2026-05-26 15:56:46 +05:30
2 changed files with 5 additions and 1 deletions

View File

@@ -82,6 +82,9 @@ class ItemResource extends Resource
Forms\Components\TextInput::make('category') Forms\Components\TextInput::make('category')
->label('Category') ->label('Category')
->placeholder('Scan the Category'), ->placeholder('Scan the Category'),
Forms\Components\TextInput::make('category')
->label('Category')
->placeholder('Scan the Category'),
Forms\Components\TextInput::make('code') Forms\Components\TextInput::make('code')
->required() ->required()
->placeholder('Scan the valid code') ->placeholder('Scan the valid code')

View File

@@ -170,7 +170,8 @@ class VisitorEntryResource extends Resource
->disk('public') ->disk('public')
->height(50) ->height(50)
->width(50) ->width(50)
->defaultImageUrl('https://ui-avatars.com/api/?name=Visitor&background=555&color=fff') // ->defaultImageUrl('https://ui-avatars.com/api/?name=Visitor&background=555&color=fff')
->defaultImageUrl(asset('images/profile.png'))
->alignCenter() ->alignCenter()
->extraImgAttributes(['style' => 'border-radius: 6px; object-fit: cover;']), ->extraImgAttributes(['style' => 'border-radius: 6px; object-fit: cover;']),
Tables\Columns\TextColumn::make('type') Tables\Columns\TextColumn::make('type')