<div class="bg-none card-box">
    {{ Form::model($mobileservice_contract, ['route' => ['mobileservice-contract.update', $mobileservice_contract->id], 'method' => 'PUT', 'class' => 'needs-validation', 'novalidate']) }}
    <div class="modal-body">
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    {{ Form::label('customer_name', __('Customer Name'), ['class' => 'form-label']) }} <x-required></x-required>
                    {{ Form::text('customer_name', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter customer name')]) }}
                </div>
            </div>
            <div class="col-md-12">
                <div class="form-group">
                    {{ Form::label('contract_type', __('Contract Type'), ['class' => 'form-label']) }} <x-required></x-required>
                    {{ Form::text('contract_type', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter contract type')]) }}
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group">
                    {{ Form::label('start_date', __('Start Date'), ['class' => 'form-label']) }} <x-required></x-required>
                    {{ Form::date('start_date', null, ['class' => 'form-control', 'placeholder' => __('Enter start date'), 'required' => 'required']) }}
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group">
                    {{ Form::label('end_date', __('End Date'), ['class' => 'form-label']) }} <x-required></x-required>
                    {{ Form::date('end_date', null, ['class' => 'form-control', 'placeholder' => __('Enter end date'), 'required' => 'required', 'min' => date('Y-m-d')]) }}
                </div>
            </div>
            <div class="col-md-12">
                <div class="form-group">
                    {{ Form::label('contract_details', __('Contract Details'), ['class' => 'form-label']) }} <x-required></x-required>
                    {{ Form::textarea('contract_details', null, ['class' => 'form-control', 'placeholder' => __('Enter contract details'), 'required' => 'required', 'rows' => 3]) }}
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <input type="button" value="{{ __('Cancel') }}" class="btn btn-light" data-bs-dismiss="modal">
        <input type="submit" value="{{ __('Update') }}" class="btn btn-primary">
    </div>
    {{ Form::close() }}
</div>
