|
|
@@ -22,11 +22,16 @@ use Illuminate\Database\Eloquent\SoftDeletingScope;
|
|
22
|
22
|
use SolutionForest\FilamentTranslateField\Forms\Component\Translate;
|
|
23
|
23
|
use App\Service\DeepLService;
|
|
24
|
24
|
|
|
25
|
|
-class EgsHistoryResource extends Resource
|
|
|
25
|
+class EsgHistoryResource extends Resource
|
|
26
|
26
|
{
|
|
27
|
|
- protected static ?string $model = EgsHistory::class;
|
|
|
27
|
+ protected static ?string $model = EsgHistory::class;
|
|
28
|
28
|
|
|
29
|
|
- protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
|
|
29
|
+ protected static ?string $navigationIcon = 'heroicon-o-list-bullet';
|
|
|
30
|
+ protected static ?string $navigationLabel = "永續里程管理";
|
|
|
31
|
+ protected static ?string $navigationGroup = '企業永續';
|
|
|
32
|
+ protected static ?string $modelLabel = "永續里程管理";
|
|
|
33
|
+ public ?string $tableSortColumn = null;
|
|
|
34
|
+ public ?string $tableSortDirection = null;
|
|
30
|
35
|
|
|
31
|
36
|
public static function form(Form $form): Form
|
|
32
|
37
|
{
|