@vite(['resources/css/app.css', 'resources/js/app.js'])

Einkauf

{{ $household->name }}

Gemeinsam planen und abhaken

ZurĂĽck

Einkaufsliste

Alles, was noch fehlt

Artikel strukturieren, kaufen und nachvollziehen.

đź›’
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())

Bitte prĂĽfe deine Eingaben.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Neu

Artikel hinzufĂĽgen

Formular
@csrf
@php $householdItems = $groupedItems['household'] ?? collect(); @endphp

Haushalt

Normale Einkaufsliste

{{ $householdItems->count() }}
@forelse($householdItems as $item)
@csrf

{{ $item->title }}

@if($item->quantity) {{ $item->quantity }} @endif @if($item->category) {{ $item->category }} @endif @if(!is_null($item->actual_price)) {{ number_format((float) $item->actual_price, 2, ',', '.') }} € @endif
@csrf @method('DELETE')
@empty

Noch keine normalen Einkaufseinträge.

@endforelse
@foreach($trips as $trip) @php $tripKey = 'trip_' . $trip->id; $tripItems = $groupedItems[$tripKey] ?? collect(); @endphp

Urlaubseinkauf

{{ $trip->title }}

{{ $tripItems->count() }}
@forelse($tripItems as $item)
@csrf

{{ $item->title }}

@if($item->quantity) {{ $item->quantity }} @endif @if($item->category) {{ $item->category }} @endif @if(!is_null($item->actual_price)) {{ number_format((float) $item->actual_price, 2, ',', '.') }} € @endif
@csrf @method('DELETE')
@empty

Noch keine Urlaubseinkäufe für diesen Trip.

@endforelse
@endforeach
@include('partials.bottom-nav', ['active' => 'shopping'])