Restructure navigation.
This commit is contained in:
@@ -63,6 +63,7 @@ return [
|
|||||||
'Tooltip Mail username' => 'Meist die Email Adresse.',
|
'Tooltip Mail username' => 'Meist die Email Adresse.',
|
||||||
'Tooltip Mail password' => 'Das Passwort um Deine Emails abzurufen.',
|
'Tooltip Mail password' => 'Das Passwort um Deine Emails abzurufen.',
|
||||||
'Tooltip Bcc copy' => 'Die Email Übertragung per smtp lässt eine Speicherung der Nachricht in ihrem Postfach nicht zu.<br/>Falls Du eine Kopie der Nachricht in Deinem Postfach erhalten willst, kannst Du die Nachricht als Bcc Empfänger erhalten.',
|
'Tooltip Bcc copy' => 'Die Email Übertragung per smtp lässt eine Speicherung der Nachricht in ihrem Postfach nicht zu.<br/>Falls Du eine Kopie der Nachricht in Deinem Postfach erhalten willst, kannst Du die Nachricht als Bcc Empfänger erhalten.',
|
||||||
|
'Common options' => 'Allgemeine Einstellungen',
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -25,5 +25,6 @@ return [
|
|||||||
'Incoming data' => 'Daten der Eingangsrechnung',
|
'Incoming data' => 'Daten der Eingangsrechnung',
|
||||||
'Select supplier' => 'Lieferant wählen',
|
'Select supplier' => 'Lieferant wählen',
|
||||||
'Create incoming' => 'Neue Eingangsrechnung anlegen',
|
'Create incoming' => 'Neue Eingangsrechnung anlegen',
|
||||||
|
'Incoming invoices' => 'Eingangsrechnungen',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ return [
|
|||||||
|
|
||||||
'Invoices' => 'Rechnungen',
|
'Invoices' => 'Rechnungen',
|
||||||
'Invoice' => 'Rechnung',
|
'Invoice' => 'Rechnung',
|
||||||
|
'Outgoing' => 'Ausgang',
|
||||||
'Add new invoice' => 'Neue Rechnung erstellen',
|
'Add new invoice' => 'Neue Rechnung erstellen',
|
||||||
'Add new invoice by clicking add' => 'Durch Klick auf "Anlegen" neue Rechnung erstellen',
|
'Add new invoice by clicking add' => 'Durch Klick auf "Anlegen" neue Rechnung erstellen',
|
||||||
'Existing invoices' => 'Bestehende Rechnungen',
|
'Existing invoices' => 'Bestehende Rechnungen',
|
||||||
|
|||||||
@@ -12,28 +12,45 @@
|
|||||||
|
|
||||||
<!-- Navigation Links -->
|
<!-- Navigation Links -->
|
||||||
<div class="hidden space-x-8 sm:-my-px sm:ms-10 sm:flex">
|
<div class="hidden space-x-8 sm:-my-px sm:ms-10 sm:flex">
|
||||||
|
<div class="hidden sm:flex sm:items-center sm:ms-6">
|
||||||
<x-nav-link :href="route('customer.index')"
|
<x-nav-link :href="route('customer.index')"
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'customer.') || \Illuminate\Support\Str::startsWith(request()->route()->getName(), 'address.')">
|
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), ['customer.', 'address.'])">
|
||||||
{{ __('customer.Customers') }}
|
{{ __('customer.Customers') }}
|
||||||
</x-nav-link>
|
</x-nav-link>
|
||||||
|
</div>
|
||||||
|
<div class="hidden sm:flex sm:items-center sm:ms-6">
|
||||||
<x-nav-link :href="route('project.index')"
|
<x-nav-link :href="route('project.index')"
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'project.')">
|
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'project.')">
|
||||||
{{ __('project.Projects') }}
|
{{ __('project.Projects') }}
|
||||||
</x-nav-link>
|
</x-nav-link>
|
||||||
<x-nav-link :href="route('invoice.index')"
|
</div>
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'invoice.')">
|
<!-- Invoice dropdown -->
|
||||||
{{ __('invoice.Invoices') }}
|
|
||||||
</x-nav-link>
|
|
||||||
<x-nav-link :href="route('payment.index')"
|
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'payment.')">
|
|
||||||
{{ __('invoice.Payments') }}
|
|
||||||
</x-nav-link>
|
|
||||||
<x-nav-link :href="route('taxrate.index')"
|
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'taxrate.')">
|
|
||||||
{{ __('configuration.Taxrates') }}
|
|
||||||
</x-nav-link>
|
|
||||||
<div class="hidden sm:flex sm:items-center sm:ms-6">
|
<div class="hidden sm:flex sm:items-center sm:ms-6">
|
||||||
<x-dropdown align="right" width="48">
|
<x-dropdown align="left" width="48">
|
||||||
|
<x-slot name="trigger">
|
||||||
|
<x-nav-link href=""
|
||||||
|
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), ['invoice.', 'payment.'])"
|
||||||
|
@click.prevent="">
|
||||||
|
{{ __('invoice.Outgoing') }}
|
||||||
|
<div class="ms-1">
|
||||||
|
<x-down-icon/>
|
||||||
|
</div>
|
||||||
|
</x-nav-link>
|
||||||
|
</x-slot>
|
||||||
|
|
||||||
|
<x-slot name="content">
|
||||||
|
<x-dropdown-link :href="route('invoice.index')">
|
||||||
|
{{ __('invoice.Invoices') }}
|
||||||
|
</x-dropdown-link>
|
||||||
|
<x-dropdown-link :href="route('payment.index')">
|
||||||
|
{{ __('invoice.Payments') }}
|
||||||
|
</x-dropdown-link>
|
||||||
|
</x-slot>
|
||||||
|
</x-dropdown>
|
||||||
|
</div>
|
||||||
|
<!-- Incoming dropdown -->
|
||||||
|
<div class="hidden sm:flex sm:items-center sm:ms-6">
|
||||||
|
<x-dropdown align="left" width="48">
|
||||||
<x-slot name="trigger">
|
<x-slot name="trigger">
|
||||||
<x-nav-link href=""
|
<x-nav-link href=""
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), ['incoming.', 'supplier.'])"
|
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), ['incoming.', 'supplier.'])"
|
||||||
@@ -47,7 +64,7 @@
|
|||||||
|
|
||||||
<x-slot name="content">
|
<x-slot name="content">
|
||||||
<x-dropdown-link :href="route('incoming.index')">
|
<x-dropdown-link :href="route('incoming.index')">
|
||||||
{{ __('incoming.Incoming') }}
|
{{ __('incoming.Incoming invoices') }}
|
||||||
</x-dropdown-link>
|
</x-dropdown-link>
|
||||||
<x-dropdown-link :href="route('supplier.index')">
|
<x-dropdown-link :href="route('supplier.index')">
|
||||||
{{ __('supplier.Suppliers') }}
|
{{ __('supplier.Suppliers') }}
|
||||||
@@ -55,12 +72,31 @@
|
|||||||
</x-slot>
|
</x-slot>
|
||||||
</x-dropdown>
|
</x-dropdown>
|
||||||
</div>
|
</div>
|
||||||
<x-nav-link :href="route('option.index')"
|
<!-- Configuration dropdown -->
|
||||||
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'option.')">
|
<div class="hidden sm:flex sm:items-center sm:ms-6">
|
||||||
|
<x-dropdown align="left" width="48">
|
||||||
|
<x-slot name="trigger">
|
||||||
|
<x-nav-link href=""
|
||||||
|
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), ['option.', 'taxrate.'])"
|
||||||
|
@click.prevent="">
|
||||||
{{ __('configuration.Options') }}
|
{{ __('configuration.Options') }}
|
||||||
</x-nav-link>
|
<div class="ms-1">
|
||||||
|
<x-down-icon/>
|
||||||
</div>
|
</div>
|
||||||
|
</x-nav-link>
|
||||||
|
</x-slot>
|
||||||
|
|
||||||
|
<x-slot name="content">
|
||||||
|
<x-dropdown-link :href="route('option.index')">
|
||||||
|
{{ __('configuration.Common options') }}
|
||||||
|
</x-dropdown-link>
|
||||||
|
<x-dropdown-link :href="route('taxrate.index')">
|
||||||
|
{{ __('configuration.Taxrates') }}
|
||||||
|
</x-dropdown-link>
|
||||||
|
</x-slot>
|
||||||
|
</x-dropdown>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Settings Dropdown -->
|
<!-- Settings Dropdown -->
|
||||||
@@ -72,12 +108,7 @@
|
|||||||
<div>{{ Auth::user()->name }}</div>
|
<div>{{ Auth::user()->name }}</div>
|
||||||
|
|
||||||
<div class="ms-1">
|
<div class="ms-1">
|
||||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg"
|
<x-down-icon/>
|
||||||
viewBox="0 0 20 20">
|
|
||||||
<path fill-rule="evenodd"
|
|
||||||
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
|
|
||||||
clip-rule="evenodd"/>
|
|
||||||
</svg>
|
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
</x-slot>
|
</x-slot>
|
||||||
|
|||||||
Reference in New Issue
Block a user