Courses

Creating CRM with Filament 3: Step-By-Step

Customer View Page with Infolist

Summary of this lesson:
- Creating InfoList view page for customers
- Customizing information display with sections
- Adding pipeline stage history component
- Converting table row clicks to view instead of edit

Next, we want to build an info list (View) page for our Customers. This page has to display all the information we have on our Customer along with a list of Pipeline Status logs:

In this lesson, we will do the following:

  • Create an InfoList View
  • Update Table row click to point to the View page
  • Create a custom component to display the Pipeline Status logs

Creating InfoList Page

Let's get to work and create a new file for our View:

php artisan make:filament-page ViewCustomer --resource=CustomerResource --type=ViewRecord

This should create the following file:

app/Filament/Resources/CustomerResource/Pages/ViewCustomer.php

namespace App\Filament\Resources\CustomerResource\Pages;
 
use App\Filament\Resources\CustomerResource;
use Filament\Resources\Pages\CreateRecord;
use Filament\Resources\Pages\ViewRecord;
 
class ViewCustomer extends ViewRecord
{
protected static string $resource = CustomerResource::class;
}

Once this is done, we can go ahead and create...

The full lesson is only for Premium Members.
Want to access all 17 lessons of this course? (97 min read)

You also get:

  • 69 courses (majority in latest Laravel 11)
  • Premium tutorials
  • Access to repositories
  • Private Discord