Custom page adding Section

Hello! i am just diving into the custom page section!

this is mine section
 public function transaction()
    {
        Section::make('transaction')
            ->icon('heroicon-o-document-text')
            ->description('Alle invoices')
            ->schema([
                TextColumn::make('description')
                    ->label('Beschrijving'),
                TextColumn::make('price')
                    ->label('Prijs'),
            ]);
    }


but i don't know how to show this in the custom page and define the model so it can get its content , Anyone can help? I want 3 different sections with 3 different models
Was this page helpful?