@extends('app.shell') @section('body') @php /** @var \App\Models\SharedPurchase $purchase */ $locale = app()->getLocale(); $displayCurrency = request()->user()?->profile?->currency ?: 'USD'; $statusOptions = [ ['value' => 'planning', 'label' => __('Planning')], ['value' => 'decided', 'label' => __('Decided')], ['value' => 'bought', 'label' => __('Bought')], ]; @endphp

{{ $purchase->members->count() }} {{ __('members') }}

@if ($purchase->target_amount !== null && $purchase->target_amount > 0)

{{ __('Target') }}

@php $fmt = \App\Support\Money::formatConvertedWithOriginal((float) $purchase->target_amount, $displayCurrency, $displayCurrency, $locale); @endphp {{ $fmt['primary'] }}

@endif
@csrf

{{ __('Status') }}

@foreach ($statusOptions as $opt) @endforeach

{{ __('Notes') }}

{{ __('Save notes') }}
@endsection