A simplified repair salon system for managing orders and customers, applicable to any company with order status workflows. Features two Filament panels: an admin panel in app/Filament/Resources and a customer panel in app/Filament/Customer/Resources, with migrations and demo data seeds included.
This project contains two Filament panels, they are defined in these provider files:
Example code with settings for the Customer panel, defining primary colors and top navigation:
class CustomerPanelProvider extends PanelProvider{ public function panel(Panel $panel): Panel { return $panel ->id('customer') ->path('customer') ->colors([ 'primary' => Color::Indigo, ]) ->login() ->topNavigation() // ...
The application consists of two resources: CustomerResource
and OrderResource
. The first one is very straightforward, almost default Filament. But Order Management has many more features.
->getSearchResultsUsing()
and ->getOptionLabelUsing()
searching for customer by name/email/phone->formatStateUsing()
methodThe full code of the form/table/infolist methods of that Resource file: