add function to manage table columns

This commit is contained in:
envoyr
2022-04-22 10:59:56 +02:00
parent 03df082cf2
commit a615b04eb4
26 changed files with 110 additions and 22 deletions

View File

@@ -29,6 +29,11 @@ return [
'icon' => 'fa-solid fa-user',
'self_overview' => ['section' => 'customers', 'page' => 'customers'],
'columns' => [
'c.customerid' => [
'label' => 'ID',
'field' => 'customerid',
'sortable' => true,
],
'c.name' => [
'label' => $lng['customer']['name'],
'field' => 'name',

View File

@@ -28,6 +28,11 @@ return [
'empty_msg' => $lng['admin']['domain_nocustomeraddingavailable'],
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
'columns' => [
'd.id' => [
'label' => 'ID',
'field' => 'id',
'sortable' => true,
],
'd.domain_ace' => [
'label' => $lng['domains']['domainname'],
'field' => 'domain_ace',