diff --git a/app/Filament/Resources/Master/Feeds/FeedResource.php b/app/Filament/Resources/Master/Feeds/FeedResource.php index 08a1971..55c372b 100644 --- a/app/Filament/Resources/Master/Feeds/FeedResource.php +++ b/app/Filament/Resources/Master/Feeds/FeedResource.php @@ -105,7 +105,10 @@ public static function table(Table $table): Table TextColumn::make('price') ->label('Harga') - ->money('IDR', decimalPlaces: 0), + ->formatStateUsing( + fn ($state, $record) => 'Rp '.number_format($state, 0, ',', '.').' / '.($record->unit?->alias ?? '-') + ) + ->sortable(), ...TimestampColumns::make(), ])