nhance/app/Views/rfq/sfsp.php
2025-05-07 09:24:25 +05:30

48 lines
2.6 KiB
PHP

<hr>
<div class="form-row custom_fields">
<!-- Risk Location -->
<div class="form-group col-md-6">
<label>Risk Location</label>
<div>
<?php $risk_location = isset($lead_edit_data['risk_location']) ? $lead_edit_data['risk_location'] : ''; ?>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="single" name="risk_location" value="Single" <?= ($risk_location == 'Single') ? 'checked' : ''; ?>>
<label class="form-check-label" for="single">Single</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="multi_floater" name="risk_location" value="multi_with_floter" <?= ($risk_location == 'multi_with_floter') ? 'checked' : ''; ?>>
<label class="form-check-label" for="multi_floater">Multi with Floater</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="multi_no_floater" name="risk_location" value="multi_without_floter" <?= ($risk_location == 'multi_without_floter') ? 'checked' : ''; ?>>
<label class="form-check-label" for="multi_no_floater">Multi without Floater</label>
</div>
</div>
</div>
<!-- Product -->
<div class="form-group col-md-3">
<label for="product">Product</label>
<input type="text" class="form-control" id="product" name="product" value="<?= isset($lead_edit_data['product']) ? htmlspecialchars($lead_edit_data['product']) : ''; ?>">
</div>
<!-- Nature of Business -->
<div class="form-group col-md-3">
<label for="nature_of_business">Nature of Business</label>
<input type="text" class="form-control" id="nature_of_business" name="nature_of_business" value="<?= isset($lead_edit_data['nature_of_business']) ? htmlspecialchars($lead_edit_data['nature_of_business']) : ''; ?>">
</div>
<!-- Communication Address -->
<div class="form-group col-md-3">
<label for="pinCode">Pin Code</label>
<input type="text" class="form-control" id="pinCode" name="pincode" value="<?= isset($lead_edit_data['pincode']) ? htmlspecialchars($lead_edit_data['pincode']) : ''; ?>">
</div>
<div class="form-group col-md-3">
<label for="address">Communication Address</label>
<textarea class="form-control" id="address" name="address" rows="1"><?= isset($lead_edit_data['address']) ? htmlspecialchars($lead_edit_data['address']) : ''; ?></textarea>
</div>
</div>