Combining 2 fields in one table's column

in my company table i have this code
 Tables\Columns\TextColumn::make('customers.name')
                    ->sortable(),

this show only the name, the relation between company and customer is
 public function customers(): BelongsToMany
    {
        return $this->belongsToMany(Customer::class, 'repairshop_company_customer');
    }

i need to concat customer.name and customers.last_name
tried different approach but without success
Was this page helpful?