<!-- resources/views/partials/quotation_form_content.blade.php -->

<div class="quotation-form mb-5">
    <div class="umbrey-logo">
        <img src="{{ asset('images/umbre_logo.png') }}" alt="Umbrey Logo">
    </div>
    <h1>Quotation</h1>
    <br>

    <!-- Company and Client Information -->
    <div class="company-info">
        <div class="row">
            <div class="col-md-6 company-details">
                <h3>UMBREY ENGINEERING PVT LTD</h3>
                <p>No. 31, 2nd Phase, Peenya Industrial Area<br>
                Bengaluru 560 058, Karnataka, India<br>
                GSTN: 29AAACU2461N1ZY<br>
                PAN: AAACU2461N</p>
            </div>
            <div class="col-md-6 quotation-details">
                <div class="form-group">
                    <label>Customer Details <span class="required">*</span></label>
                    <select id="companyNameSelect" name="customer_name" class="form-control" required>
                        <option value="">Select Company</option>
                        <!-- Dynamic Options -->
                    </select>
                </div>
                <div class="form-group">
                    <textarea id="address" name="address" class="form-control" rows="2" placeholder="Address" required></textarea>
                </div>
                <div class="form-group">
                    <input type="text" id="gst" name="gst" class="form-control" placeholder="GST Number" required>
                </div>
                <div class="form-group">
                    <input type="tel" id="phone" name="phone" class="form-control" placeholder="Phone Number" required>
                </div>
                <div class="form-group">
                    <input type="email" id="email" name="email" class="form-control" placeholder="Email" required>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <label>Customer Reference No</label>
                <input type="text" id="custRefNo" name="cust_ref_no" class="form-control">
            </div>
            <div class="col-md-6">
                <label>Quotation ID <span class="required">*</span></label>
                <input type="text" id="quotationNo" name="quotation_no" class="form-control" readonly required>
            </div>
        </div>
    </div>

    <br>

    <!-- More form fields below -->
    @include('partials.quotation_project_details')
    @include('partials.quotation_tables')
    @include('partials.quotation_totals')
    @include('partials.quotation_terms')

</div>

<!-- Custom JS -->
<script src="{{ asset('js/quotation.js') }}"></script>
