@extends('layouts.app') @section('title', 'Edit deal #' . $deal->id) @section('content')

Edit deal #{{ $deal->id }}

{{ $deal->dealProducts->count() }} product(s). Change when the deal should end (prices will restore at that time).

@csrf @method('PUT') @php $dealTz = config('app.deals_display_timezone', 'America/New_York'); @endphp
{{-- datetime-local uses the browser clock; we convert on submit so digits always mean deals_display_timezone (e.g. Miami/Eastern), not the server PC timezone. --}}

Enter the end time in {{ $dealTz }} (not your computer’s timezone if it differs). After Save, the banner shows the stored time.

@error('ends_at') {{ $message }} @enderror
Cancel
@endsection @push('scripts') @endpush