Create routes and views for suppliers.

This commit is contained in:
2025-02-10 12:47:57 +01:00
parent 3f07d333df
commit 7c085dfa6b
12 changed files with 664 additions and 12 deletions

View File

@@ -32,10 +32,29 @@
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'taxrate.')">
{{ __('configuration.Taxrates') }}
</x-nav-link>
<x-nav-link :href="route('incoming.index')"
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'incoming.')">
{{ __('incoming.Incoming') }}
</x-nav-link>
<div class="hidden sm:flex sm:items-center sm:ms-6">
<x-dropdown align="right" width="48">
<x-slot name="trigger">
<x-nav-link href=""
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), ['incoming.', 'supplier.'])"
@click.prevent="">
{{ __('incoming.Incoming') }}
<div class="ms-1">
<x-down-icon/>
</div>
</x-nav-link>
</x-slot>
<x-slot name="content">
<x-dropdown-link :href="route('incoming.index')">
{{ __('incoming.Incoming') }}
</x-dropdown-link>
<x-dropdown-link :href="route('supplier.index')">
{{ __('supplier.Suppliers') }}
</x-dropdown-link>
</x-slot>
</x-dropdown>
</div>
<x-nav-link :href="route('option.index')"
:active="\Illuminate\Support\Str::startsWith(request()->route()->getName(), 'option.')">
{{ __('configuration.Options') }}