echo $form->fileField($model, 'uploadCertification', array('class' => '')); ?> <?php echo $form->error($model, 'uploadCertification'); ?> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <?php echo $form->labelEx($model, 'location_id', array('class' => 'control-label')); ?> <?php echo $form->dropDownList($model, 'location_id', ProLocation::getListDataLocation(), array('class' => 'form-control', 'empty' => 'Select')); ?> <?php echo $form->error($model, 'location_id'); ?> </div> </div> <div class="col-md-6"> <div class="checkbox"> <label><?php echo $form->checkbox($model, 'updatedCea'); ?> Updated in CEA Website</label> <?php echo $form->error($model, 'updatedCea'); ?>
$aData['checkbox_id'] = 'EngageUsRentCheckboxId'; $aData['model'] = $model; $this->widget('ext.ProPropertyTypeExt.ProPropertyTypeExt', array('data' => $aData)); ?> </div> <div class="anhdung_Tenant anhdung_Landlord"> <?php echo $form->labelEx($model, 'location_id', array('label' => 'Location', 'class' => 'lb')); ?> <?php // echo $form->dropDownList($model,'location_id', ProLocation::getListDataLocation(), array('empty'=>'All locations in Singapore')); ?> <div class="wrap_multiselect_location display_none"> <?php echo CHtml::dropDownList('location_list_id', '', ProLocation::getListDataLocation(), array('class' => 'multiselect_location_rent', 'multiple' => 'multiple', 'id' => 'location_list_id_rent')); ?> </div> <?php echo $form->error($model, 'location_id'); ?> </div> <div class="anhdung_Landlord"> <div class="floor_area_rent_hide" > <?php echo $form->labelEx($model, 'floor_area', array('class' => 'lb')); ?> <?php echo $form->textField($model, 'floor_area', array('class' => 'text floor_area_rent')); ?>
echo $form->error($model, 'choosetype'); ?> </div> </div> <div class="form-group"> <?php echo $form->labelEx($model, 'unit_from', array('class' => 'control-label')); ?> <div class="row"> <div class="col-xs-6"> <?php echo $form->textField($model, 'unit_from', array('class' => 'form-control', 'placeholder' => '')); ?> <?php echo $form->error($model, 'unit_from'); ?> </div> <div class="col-xs-6"> <?php echo $form->textField($model, 'unit_to', array('class' => 'form-control', 'placeholder' => '')); ?> <?php echo $form->error($model, 'unit_to'); ?> </div> </div> </div> <div class="form-group"> <?php
<li>The Associates shall not contact the clients from the Company listings and also be required to return all information relating to the Company listings in the event of termination of employment with the Company.</li> </ul> <p>I agree to abide the duties of the Non-disclosure clause. </p> <p>PREFERED CHOICES (DISTRICT NO.)</p> <table> <tr> <th style="width: 80px">1 <sup>ST</sup></th> <td><?php echo $f->formatEnum($model->location_id_1, ProLocation::getListDataLocation()); ?> </td> </tr> <tr> <th>2 <sup>ND</sup></th> <td><?php echo $f->formatEnum($model->location_id_2, ProLocation::getListDataLocation()); ?> </td> </tr> <tr> <th>3 <sup>RD</sup></th> <td><?php echo $f->formatEnum($model->location_id_3, ProLocation::getListDataLocation()); ?> </td> </tr> </table>
</div> <div class="form-group sidebar-tab"> <label class="control-label">Type</label> <div class="select-wrap"> <?php include 'property_search_type.php'; ?> </div> </div> <div class="form-group sidebar-tab"> <label class="control-label">Location</label> <div class="wrap_multiselect_location multi-select-wrap hide"> <?php echo CHtml::dropDownList('location', $aLocation, ProLocation::getListDataLocation(), array('class' => 'multiselect_location', 'multiple' => 'multiple')); ?> </div> </div> <div class="form-group sidebar-tab"> <label class="control-label">Price</label> <div class="row"> <div class="col-xs-6"> <?php echo CHtml::dropDownList('minimum_price', $s_minimum_price, ProMasterPrice::getListOption($PriceType), array('empty' => 'Minimum', 'class' => 'minimum_price form-control')); ?> </div> <div class="col-xs-6"> <?php echo CHtml::dropDownList('maximum_price', $s_maximum_price, ProMasterPrice::getListOption($PriceType), array('empty' => 'Maximum', 'class' => 'maximum_price form-control'));
$aData['radio_id'] = 'EngageUsBuyRadioId'; $aData['checkbox_id'] = 'EngageUsBuyCheckboxId'; $aData['model'] = $model; $this->widget('ext.ProPropertyTypeExt.ProPropertyTypeExt', array('data' => $aData)); ?> <?php echo $form->labelEx($model, 'location_id', array('label' => 'Location', 'class' => 'lb')); ?> <?php // echo $form->dropDownList($model, 'location_id', ProLocation::getListDataLocation(), array('empty' => 'All locations in Singapore')); ?> <div class="wrap_multiselect_location display_none"> <?php echo CHtml::dropDownList('location_list_id[]', '', ProLocation::getListDataLocation(), array('class' => 'multiselect_location_buy', 'multiple' => 'multiple')); ?> </div> <?php echo $form->error($model, 'location_id'); ?> <?php echo $form->labelEx($model, 'price', array('label' => 'Price', 'class' => 'lb')); ?> <div class="clearfix"> <div class="col-1"> <?php echo $form->dropDownList($model, 'min_price', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_SALE), array('empty' => 'Minimum', 'id' => 'minimum_price_engage', 'class' => 'enquiry_minimum_price')); ?> </div>
?> <?php echo $form->dropDownList($model, 'gst', CmsFormatter::$yesNoFormat, array()); ?> <?php echo $form->error($model, 'gst'); ?> </div> <div class="clr"></div> <div class="row wrap_multiselect_location"> <?php echo $form->labelEx($model, 'ProAgentDistrict'); ?> <?php echo $form->dropDownList($model, 'ProAgentDistrict', ProLocation::getListDataLocation(), array('class' => 'multiselect_location', 'multiple' => 'multiple')); ?> <?php echo $form->error($model, 'ProAgentDistrict'); ?> </div> <div class="clr"></div> <div class="row"> <?php echo $form->labelEx($model, 'TierManagerId'); ?> <?php echo $form->hiddenField($model, 'TierManagerId'); ?> <div class="f-left">
// public function formatStatusListing($status){ // if ($status == 0){ // return 'No'; // } // if ($status == 1){ // return 'Yes'; // } // // } public function formatStatusListing($value) { if (is_array($value)) { return $value['status'] == self::STATUS_INACTIVE ? CHtml::link("No", array("ajaxActivate", "id" => $value['id']), array("class" => "ajaxupdate", "title" => "Click here to " . $this->publishFormat[1])) : CHtml::link("Yes", array("ajaxDeactivate", "id" => $value['id']), array("class" => "ajaxupdate", "title" => "Click here to " . $this->publishFormat[0]));
public function getDistrictText() { return Yii::app()->format->formatEnum($this->location_id, ProLocation::getListDataLocation()); }
<?php echo $form->label($model, 'listing_type', array('class' => 'lb', 'label' => 'Type')); ?> <div class="group-5"> <?php echo $form->dropdownList($model, 'listing_type', Listing::$aTextSaleRentNormal, array('class' => 'text', 'empty' => '--All--')); ?> </div> </div> <div class="in-row clearfix"> <?php echo $form->label($model, 'location_id', array('class' => 'lb', 'label' => 'Location')); ?> <div class="group-5"> <?php echo $form->dropdownList($model, 'location_id', ProLocation::getListDataLocation(), array('empty' => '--All--')); ?> </div> </div> <div class="in-row clearfix"> <?php echo $form->label($model, 'user_id', array('class' => 'lb', 'label' => 'Telemarketer')); ?> <div class="group-5"> <?php echo $form->dropdownList($model, 'user_id', CHtml::listData(Users::getTelemarketers(), 'id', 'name_for_slug'), array('empty' => '--All--')); ?> </div> </div> <div class="in-row clearfix"> <?php
<?php echo $form->labelEx($model, 'postal_code', array('label' => 'Postal code', 'class' => 'lb')); ?> <?php echo $form->textField($model, 'postal_code', array('class' => 'text')); ?> <?php echo $form->error($model, 'postal_code'); ?> <?php echo $form->labelEx($model, 'location_id', array('label' => 'Location', 'class' => 'lb')); ?> <?php echo $form->dropDownList($model, 'location_id', ProLocation::getListDataLocation(), array('empty' => 'All locations in Singapore', 'style' => 'width:')); ?> <?php echo $form->error($model, 'location_id'); ?> <?php echo $form->labelEx($model, 'property_type_id', array('label' => 'Property Type', 'class' => 'lb')); ?> <?php // echo ProPropertyType::getDropDownSelectGroup('ProGlobalEnquiry[property_type_id]', 'ProGlobalEnquiry_property_type_id', $model->property_type_id, 'All property types','Propety_type_sell'); ?> <?php $aData = array(); $aData['zonechoosetype'] = 'type_engage_us_sell';
public function getLocation3() { return Yii::app()->format->formatEnum($this->location_id_3, ProLocation::getListDataLocation()); }