diff --git a/app/Member/MemberController.php b/app/Member/MemberController.php
index 8767bf14..53b2e31a 100644
--- a/app/Member/MemberController.php
+++ b/app/Member/MemberController.php
@@ -43,7 +43,7 @@ class MemberController extends Controller
$payload = app(MemberView::class)->index($request, $query['filter']);
$payload['toolbar'] = [
['href' => route('member.create'), 'label' => 'Mitglied anlegen', 'color' => 'primary', 'icon' => 'plus'],
- ['href' => route('allpayment.create'), 'label' => 'Rechnungen erstellen', 'color' => 'primary', 'icon' => 'plus', 'show' => $settings->hasModule('bill')],
+ ['href' => route('allpayment.create'), 'label' => 'Rechnungen erstellen', 'color' => 'primary', 'icon' => 'invoice', 'show' => $settings->hasModule('bill')],
['href' => route('sendpayment.create'), 'label' => 'Rechnungen versenden', 'color' => 'info', 'icon' => 'envelope', 'show' => $settings->hasModule('bill')],
];
$payload['query'] = $query;
diff --git a/resources/img/svg/invoice.svg b/resources/img/svg/invoice.svg
new file mode 100644
index 00000000..a78ea222
--- /dev/null
+++ b/resources/img/svg/invoice.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/resources/js/layouts/AppLayout.vue b/resources/js/layouts/AppLayout.vue
index 8ecf8b28..3a00635d 100644
--- a/resources/js/layouts/AppLayout.vue
+++ b/resources/js/layouts/AppLayout.vue
@@ -52,9 +52,10 @@
:href="link.href"
class="btn label mr-2"
:class="`btn-${link.color}`"
+ v-tooltip="tooltipsVisible ? link.label : ''"
>
-
-
+
+
@@ -102,6 +103,7 @@ export default {
searchVisible: true,
menuVisible: true,
menuOverflowVisible: false,
+ tooltipsVisible: false,
};
},
components: {
@@ -143,6 +145,8 @@ export default {
this.menuOverflowVisible = false;
return;
}
+
+ this.tooltipsVisible = !window.matchMedia('(min-width: 1280px)').matches;
},
},
created() {