82 lines
4.3 KiB
PHP
82 lines
4.3 KiB
PHP
<!-- CPM -->
|
|
|
|
<hr>
|
|
|
|
<div class="form-row custom_fields">
|
|
|
|
<!-- Specific Location -->
|
|
<div class="form-group col-md-3">
|
|
<label for="specific_location">Specific Location</label>
|
|
<input type="text" class="form-control" id="specific_location" name="specific_location" value="<?= isset($lead_edit_data['specific_location']) ? htmlspecialchars($lead_edit_data['specific_location']) : ''; ?>">
|
|
</div>
|
|
|
|
<!-- Plant and Machinery Value -->
|
|
<div class="form-group col-md-3">
|
|
<label for="machinery_value">Plant and Machinery Value</label>
|
|
<input type="text" class="form-control" id="machinery_value" name="machinery_value" value="<?= isset($lead_edit_data['machinery_value']) ? htmlspecialchars($lead_edit_data['machinery_value']) : ''; ?>">
|
|
</div>
|
|
|
|
<!-- Machinery -->
|
|
<div class="form-group col-md-3">
|
|
<label for="machinery">Machinery</label>
|
|
<input type="text" class="form-control" id="machinery" name="machinery" value="<?= isset($lead_edit_data['machinery']) ? htmlspecialchars($lead_edit_data['machinery']) : ''; ?>">
|
|
</div>
|
|
|
|
<!-- Plant and Machinery Type -->
|
|
<div class="form-group col-md-3">
|
|
<label>Plant and Machinery Type</label>
|
|
<div>
|
|
<div class="form-check form-check-inline">
|
|
<input class="form-check-input" type="radio" name="plant_machinery_type" id="new" value="New" <?= isset($lead_edit_data['plant_machinery_type']) && $lead_edit_data['plant_machinery_type'] == 'New' ? 'checked' : ''; ?>>
|
|
<label class="form-check-label" for="new">New</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input class="form-check-input" type="radio" name="plant_machinery_type" id="old" value="Old" <?= isset($lead_edit_data['plant_machinery_type']) && $lead_edit_data['plant_machinery_type'] == 'Old' ? 'checked' : ''; ?>>
|
|
<label class="form-check-label" for="old">Old</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Used on Public Road -->
|
|
<div class="form-group col-md-3">
|
|
<label>Is it used on public road?</label>
|
|
<div>
|
|
<div class="form-check form-check-inline">
|
|
<input class="form-check-input" type="radio" name="used_on_road" id="yes_used_on_road" value="Yes" <?= isset($lead_edit_data['used_on_road']) && $lead_edit_data['used_on_road'] == 'Yes' ? 'checked' : ''; ?>>
|
|
<label class="form-check-label" for="yes_used_on_road">Yes</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input class="form-check-input" type="radio" name="used_on_road" id="no_used_on_road" value="No" <?= isset($lead_edit_data['used_on_road']) && $lead_edit_data['used_on_road'] == 'No' ? 'checked' : ''; ?>>
|
|
<label class="form-check-label" for="no_used_on_road">No</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- RTO Registered -->
|
|
<div class="form-group col-md-3">
|
|
<label>Is your machinery RTO registered?</label>
|
|
<div>
|
|
<div class="form-check form-check-inline">
|
|
<input class="form-check-input" type="radio" name="rto_registered" id="yes_rto" value="Yes" <?= isset($lead_edit_data['rto_registered']) && $lead_edit_data['rto_registered'] == 'Yes' ? 'checked' : ''; ?>>
|
|
<label class="form-check-label" for="yes_rto">Yes</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input class="form-check-input" type="radio" name="rto_registered" id="no_rto" value="No" <?= isset($lead_edit_data['rto_registered']) && $lead_edit_data['rto_registered'] == 'No' ? 'checked' : ''; ?>>
|
|
<label class="form-check-label" for="no_rto">No</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 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">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>
|
|
|