public function table(Table $table): Table
{
$merchant = MerchantResolver::resolveMerchant();
return $table
->query($merchant->paymentChannels()->getQuery())
->columns([
TextColumn::make('name'),
TextColumn::make('code'),
])
->actions([
DetachAction::make(),
])
->headerActions([
AttachAction::make(),
]);
}
public function table(Table $table): Table
{
$merchant = MerchantResolver::resolveMerchant();
return $table
->query($merchant->paymentChannels()->getQuery())
->columns([
TextColumn::make('name'),
TextColumn::make('code'),
])
->actions([
DetachAction::make(),
])
->headerActions([
AttachAction::make(),
]);
}