Ejemplo n.º 1
0
 /**
  * Static function to display the data in detail view
  * @param integer $related_to_id
  * @param integer $idmodule_related_to
  * @param string $related_to_value
  * @param boolean $linked
  */
 public static function display_value($related_to_id, $idmodule_related_to, $related_to_value = '', $linked = true)
 {
     if ($idmodule_related_to == 4) {
         return FieldType130::display_value($related_to_id, $related_to_value, $linked);
     } elseif ($idmodule_related_to == 6) {
         return FieldType131::display_value($related_to_id, $related_to_value, $linked);
     } elseif ($idmodule_related_to == 3) {
         return FieldType132::display_value($related_to_id, $related_to_value, $linked);
     } elseif ($idmodule_related_to == 5) {
         return FieldType133::display_value($related_to_id, $related_to_value, $linked);
     }
 }
Ejemplo n.º 2
0
</label>
								<div class="controls">
									<input type = "text" class="form-control input-sm" name="email" id="email" value="<?php 
echo $leads_obj->email;
?>
">
								</div><br />
						</div>
						<div style="margin-left:30px;margin-top:20px;">
							<input type="radio" name="select_cnt" id="select_cnt">&nbsp;&nbsp;<?php 
echo _('Select Contact');
?>
						</div>
						<div id="cnt_select" style="margin-left:30px;margin-top:20px;display:none;">
							<?php 
echo FieldType130::display_field("idcontacts");
?>
						</div>
					</div>
				</div>
				<!--/Contact section ends-->
				<hr class="form_hr">
				<!--Potential section-->
				<div class="box_content" id="pot">
					<input type="checkbox" name="pot_convertion" id="pot_convertion" CHECKED>
					<?php 
echo _('Prospect');
?>
					<div id="pot_section" style="">
						<div id="pot_fields" style="margin-left:30px;margin-top:20px;">
							<label class="control-label" for="potential_name">* <?php