Updated navigation icon and moved into vehicle group on resource file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Filament\Resources;
|
||||
|
||||
use App\Filament\Resources\VehicleEntryResource\Pages;
|
||||
use App\Filament\Resources\VehicleEntryResource\RelationManagers;
|
||||
use App\Models\Plant;
|
||||
use App\Models\VehicleEntry;
|
||||
use Carbon\Carbon;
|
||||
@@ -20,7 +19,9 @@ class VehicleEntryResource extends Resource
|
||||
{
|
||||
protected static ?string $model = VehicleEntry::class;
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'heroicon-m-truck'; // heroicon-o-rectangle-stack
|
||||
|
||||
protected static ?string $navigationGroup = 'Vehicle';
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
@@ -86,7 +87,7 @@ class VehicleEntryResource extends Resource
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
Tables\Columns\TextColumn::make('No.')
|
||||
Tables\Columns\TextColumn::make('No.')
|
||||
->label('No.')
|
||||
->alignCenter()
|
||||
->getStateUsing(function ($record, $livewire, $column, $rowLoop) {
|
||||
|
||||
Reference in New Issue
Block a user