diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php index af1b774f1..563d68e07 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php @@ -173,6 +173,7 @@ return [ 'type' => 'anomaly.field_type.checkboxes', 'required' => true, 'config' => [ + 'mode' => 'tags', 'default_value' => function () { return [config('streams::currencies.default')]; }, diff --git a/addons/default/visiosoft/defaultadmin-theme/resources/views/table/partials/footer.twig b/addons/default/visiosoft/defaultadmin-theme/resources/views/table/partials/footer.twig new file mode 100644 index 000000000..293ce23d2 --- /dev/null +++ b/addons/default/visiosoft/defaultadmin-theme/resources/views/table/partials/footer.twig @@ -0,0 +1,62 @@ + +{% if table.actions|length or table.data.pagination.links|length %} + + + +
+ {{ buttons(table.actions)|raw }} +
+ + {% if table.data.pagination.links|length %} +
+ + + + {{ table.data.pagination.links|raw }} +
+ {% endif %} + +
+ + + +{% endif %} +{% if table.options.total_results %} + + + + {{ table.options.total_results }} {{ trans('streams::message.results') }} + + + +{% endif %} + diff --git a/addons/default/visiosoft/defaultadmin-theme/src/DefaultadminThemeServiceProvider.php b/addons/default/visiosoft/defaultadmin-theme/src/DefaultadminThemeServiceProvider.php index 17d9560e7..70fc9b229 100644 --- a/addons/default/visiosoft/defaultadmin-theme/src/DefaultadminThemeServiceProvider.php +++ b/addons/default/visiosoft/defaultadmin-theme/src/DefaultadminThemeServiceProvider.php @@ -27,6 +27,10 @@ class DefaultadminThemeServiceProvider extends AddonServiceProvider ], ]; + protected $overrides = [ + 'streams::table/partials/footer' => 'visiosoft.theme.defaultadmin::table/partials/footer' + ]; + public function register() { AbstractPaginator::$defaultView = 'visiosoft.theme.defaultadmin::pagination/bootstrap-4';