mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
inbox count cache etc.
This commit is contained in:
@@ -57,6 +57,7 @@ class BonusLogResource extends Resource
|
||||
->label(__('bonus-log.fields.old_total_value'))
|
||||
,
|
||||
Tables\Columns\TextColumn::make('value')
|
||||
->formatStateUsing(fn ($record) => $record->old_total_value > $record->new_total_value ? "-" . $record->value : "+" . $record->value)
|
||||
->label(__('bonus-log.fields.value'))
|
||||
,
|
||||
Tables\Columns\TextColumn::make('new_total_value')
|
||||
|
||||
Reference in New Issue
Block a user