public static function getSpecial_features_And_Outdoor_indoor_space($listingId) { $special = Listing::getDropdownlistWithTableName('ProMasterSpecialFeatures', 'name', 'name'); $outdoor = Listing::getDropdownlistWithTableName('ProMasterOutdoorIndoorSpace', 'name', 'name'); $arrMarge = array_merge($special, $outdoor); if (count($arrMarge) > 0) { $data = array(); $k = 1; foreach ($arrMarge as $value) { if ($k % 2 != 0) { $data['colum1'][$value] = $value; } else { $data['colum2'][$value] = $value; } $k++; } return $data; } return null; }
<?php echo CHtml::dropDownList('LeaseTerm', $s_LeaseTerm, Listing::getDropdownlistWithTableName('ProMasterLeaseTerm', 'id', 'name'), array('empty' => 'Select', 'class' => 'form-control')); ?> </div> <div class="form-group sidebar-tab div_furnished_tenure_for_rent hide div_furnished_tenure"> <label class="control-label">Furnished</label> <?php echo CHtml::dropDownList('furnished', $aFurnishingInclude, Listing::getDropdownlistWithTableName('ProMasterFurnished', 'id', 'name'), array('class' => 'form-control', 'empty' => 'All furnished')); ?> </div> <div class="form-group sidebar-tab div_furnished_tenure_for_sale hide div_furnished_tenure"> <label class="control-label">Tenure</label> <?php echo CHtml::dropDownList('tenure', $sTenure, Listing::getDropdownlistWithTableName('ProMasterTenure', 'id', 'name'), array('class' => 'form-control', 'empty' => 'All tenure')); ?> </div> <div class="form-group sidebar-tab"> <label class="control-label">Keywords</label> <input type="text" name="keywords" class="form-control" value="<?php echo $s_keywords; ?> " /> </div> <p class="more more_search_options"><a href="javascript:void(0)">+ More search options</a></p> <div class="more_search_box" style="display: none;"> <div class="form-group sidebar-tab">
<div class="group-4"> <?php echo $form->textField($mTransactions->mPropertyDetail, 'no_of_bedroom', array('class' => 'text')); ?> <?php echo $form->error($mTransactions->mPropertyDetail, 'no_of_bedroom'); ?> </div> </div> <div class="in-row clearfix"> <?php echo $form->labelEx($mTransactions->mPropertyDetail, 'tenure', array('class' => 'lb')); ?> <div class="group-4"> <?php echo $form->dropDownList($mTransactions->mPropertyDetail, 'tenure', Listing::getDropdownlistWithTableName('ProMasterTenure', 'id', 'name'), array('empty' => 'Select', 'class' => '')); ?> <?php echo $form->error($mTransactions->mPropertyDetail, 'tenure'); ?> </div> </div> </div> <div class="col-2"> <div class="in-row clearfix"> <?php echo $form->labelEx($mTransactions->mPropertyDetail, 'unit_no', array('class' => 'lb')); ?> <div class="group-4"> <?php echo $form->textField($mTransactions->mPropertyDetail, 'unit_no', array('class' => 'text w-5'));
<div class="clear" style='clear: both;'></div> <?php echo $form->error($model, 'developer'); ?> </div> </div> <div class="in-row clearfix"> <?php echo $form->labelEx($model, 'tenure', array('class' => 'lb-1')); ?> <div class="group-1"> <?php // echo $form->textField($model, 'tenure', array('class' => 'text')); ?> <?php echo $form->dropDownlist($model, 'tenure', Listing::getDropdownlistWithTableName('ProMasterTenure', 'id', 'name'), array('class' => 'text')); ?> <div class="clear" style='clear: both;'></div> <?php echo $form->error($model, 'tenure'); ?> </div> </div> <div id="company_show" style="<?php echo $model->listing_type_transaction == 2 ? 'display: block;' : 'display: none;'; ?> "> <?php include '_company.php'; ?>
<?php echo $form->error($model, 'floor'); ?> </div> </div> <div class="in-row clearfix <?php echo $display_none_s2; ?> "> <?php echo $form->labelEx($model, 'lease_term', array('class' => 'lb')); ?> <div class="group-4"> <?php echo $form->dropDownlist($model, 'lease_term', Listing::getDropdownlistWithTableName('ProMasterLeaseTerm', 'id', 'name'), array('empty' => 'Select', 'class' => 'text')); ?> <?php echo $form->error($model, 'lease_term'); ?> </div> </div> <div class="in-row clearfix display_none"> <?php echo $form->labelEx($model, 'of_bathrooms', array('class' => 'lb')); ?> <div class="group-4"> <?php // echo $form->dropDownlist($model,'of_bathrooms', Listing::getDropdownlistWithTableName('ProMasterLeaseTerm','id','name'),array('empty'=>'Select','class'=>'text')); ?>
<th >Gross commission</th> <th >Amount SG$</th> </tr> </thead> <tbody> <tr ng-repeat="todo in vouchers"> <td>{{$index + 1}}</td> <td> <input disabled="disabled" readonly="readonly" class="form-validate form-control-add search" name="FiPaymentVoucherDetail[{{$index + 1}}][transacion]" type="text" value="" placeholder="Auto Search" ng-model="todo.transacion" > <input class="invoice_id_{{$index + 1}}" name="FiPaymentVoucherDetail[{{$index + 1}}][invoice_id]" type="hidden" value="" ng-model="todo.invoice_id" > </td> <td><input disabled="disabled" class="form-validate form-control-add invoice_name_{{$index + 1}}" type="text" name="FiPaymentVoucherDetail[{{$index + 1}}][invoice_no]" value="" ng-model="todo.invoice_no" readonly="readonly" ></td> <td><input disabled="disabled" class="form-validate form-control-add form-control-desciption" ng-model="todo.description" name="FiPaymentVoucherDetail[{{$index + 1}}][description]" type="text" value="" ></td> <td> <?php echo CHtml::dropDownList('FiPaymentVoucherDetail[{{$index + 1}}][client_type]', "todo.client_type", Listing::getDropdownlistWithTableName('ProMasterClientType', 'id', 'name'), array('class' => 'form-validate form-control-add clinet-type-custom', 'ng-model' => 'todo.client_type', 'disabled' => true)); ?> </td> <td><input disabled="disabled" class="form-validate form-control-add change-item comm comm_{{$index + 1}}" name="FiPaymentVoucherDetail[{{$index + 1}}][comm]" ng-model="todo.comm" type="text" value="" ></td> <td><input disabled="disabled" class="form-validate form-control-add change-item gross gross_{{$index + 1}}" name="FiPaymentVoucherDetail[{{$index + 1}}][gross_commission]" ng-model="todo.gross_commission" type="text" value="" ></td> <td><input disabled="disabled" class="form-validate form-control-add amount amount_{{$index + 1}}" name="FiPaymentVoucherDetail[{{$index + 1}}][amount]" ng-model="todo.amount" type="text" value="" readonly="readonly" ></td> </tr> <tr> <tr> <td colspan="7"> <div class="pull-right">Total Amount </div> </td> <td> <input type="hidden" id="gst" value="<?php echo Yii::app()->params['gst']; ?>
</div> </div> </div> <div class="col-xs-6"> <div class="div_furnished_tenure_for_sale display_none div_furnished_tenure"> <label class="lb">Tenure</label> <?php echo CHtml::dropDownList('tenure', $sTenure, Listing::getDropdownlistWithTableName('ProMasterTenure', 'id', 'name'), array('class' => '', 'empty' => 'All tenure')); ?> </div> <div class="div_furnished_tenure_for_rent display_none div_furnished_tenure"> <label class="lb">Furnished</label> <?php echo CHtml::dropDownList('furnished', $aFurnishingInclude, Listing::getDropdownlistWithTableName('ProMasterFurnished', 'id', 'name'), array('class' => '', 'empty' => 'All furnished')); ?> </div> </div> </div> <div class="row in-row"> <div class="col-xs-6"> <label class="lb">Bedroom</label> <div class="row"> <div class="col-xs-6"> <?php echo CHtml::dropDownList('minimum_bedroom', $s_minimum_bedroom, Listing::getListOptionsBedroom(), array('empty' => 'Minimum')); ?>