Thunder
i am displaying the data in table builder using column()
return $table
->heading('Clients')
->description('Manage your clients here.')
->columns([
TextColumn::make('id')->label('ID')
TextColumn::make('personal_information.date_of_inquiry')->label('Date'),
TextColumn::make('personal_information.first_name')->label('First Name'),
TextColumn::make('contact_details.country')->label('Country'),
TextColumn::make('university.information.name')->label('University Name')->searchable(),
TextColumn::make('campus.information.name')->label('Campus Name')->searchable(),
TextColumn::make('course.information.course_title')->label('Course Title')->searchable(),
TextColumn::make('course_details.intake')->label('Intake'),
TextColumn::make('course_details.remarks')->label('Remarks'),
]) this is getting displayed perfectly fine what i wanna do is only show the data here whose clients are addedby the logged in user i mean there are so many clients and so many partners who add clients so only display the client addedby the logged in partner don't show anybody elses clients
]) this is getting displayed perfectly fine what i wanna do is only show the data here whose clients are addedby the logged in user i mean there are so many clients and so many partners who add clients so only display the client addedby the logged in partner don't show anybody elses clients
1 replies