@extends('layouts.employee') @section('page-title', 'Edit Conveyance') @section('page-subtitle', 'Edit your conveyance entry for the claim month') @section('content') {{-- TOP SECTION --}}

Edit Conveyance

Use this sheet to update your selected conveyance row for {{ $targetMonthLabel }} ({{ $monthStart->format('d M Y') }} – {{ $monthEnd->format('d M Y') }}).

Submission/edit allowed till {{ $cutoffDate->format('d M Y') }}.

Quick
• Changes saved as Draft remain editable.
• Choose Submit (Final) to send for approval.
{{-- CARD --}}
{{-- Card header --}}

Edit Entry — {{ $targetMonthLabel }}

Update fields below. Layout matches the Add Conveyance sheet for familiarity.

Last editable date
{{ $cutoffDate->format('d M Y') }}
{{-- CARD BANNER (in-card success / error) --}} {{-- FORM --}}
@csrf @method('PUT')
{{-- Single editable row (mirrors create's row structure) --}}
Date From To Client Mode Amount (₹) Remarks Return
Date
From
To
Client
Mode
Amount (₹)
Remarks
Return
is_return)) checked @endif>
Actions
{{-- TOTAL BAR --}}
Current total (including return if enabled):
{{-- initial display set by JS on DOMContentLoaded --}} ₹ 0.00
{{-- Client info + request box (same as create) --}}

Clients & Rules

{{-- Return Fare Modal (same UI as create) --}} @php $clientOptionsHtml = ''; foreach ($clients as $c) { $clientOptionsHtml .= ''; } $clientOptionsHtml .= ''; @endphp {{-- Styles: equal input heights + mobile labels above inputs --}} {{-- Optional floating global banner kept for dev/debug (not used for submit messages now) --}}
@endsection