Skip to content

Commit

Permalink
Merge pull request iNextrix#721 from iNextrix/2023-COM-W38-V6-ASTPPEN…
Browse files Browse the repository at this point in the history
…T-8285_Ashish.Gohil

[FIX]support department selectin not showing in customer login
  • Loading branch information
devangn authored Oct 18, 2023
2 parents 3a59cc5 + 01be9c5 commit c0a67a1
Showing 1 changed file with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,17 +395,36 @@ function here_hide() {
<div class="col-md-3"> </div>
</div>
<?php }?>
<?php // ASTPPENT9295 Ashish end
if ($this->session->userdata('logintype') == '-1' || $this->session->userdata('logintype') == '2' || $this->session->userdata('logintype') == '1') {
?>
<div class="col-md-6 form-group">
<label class="control-label p-0"><?php echo gettext("Department"); ?> * </label>

<?php $reseller_id = ($account_data['type'] == '-1' || $account_data['type'] == 2 )?0:$account_data['id'];
$department=form_dropdown('departmentid',$this->supportticket_model->build_concat_dropdown_departmnet("id,name,email_id", " department", "where_arr", array("status"=>"0","reseller_id"=> $reseller_id)), '');
<?php
$department=form_dropdown('departmentid',$this->supportticket_model->build_concat_dropdown_departmnet("id,name,email_id", " department", "where_arr", array("status"=>"0")), '');
echo $department;
?>


<div class="tooltips error_div pull-left no-padding display_none text-danger" id="department_error"></div>
</div>
<?php } ?>
<?php if ($this->session->userdata('logintype') == '0') {?>
<div class="col-md-6 form-group">
<label class="control-label p-0"><?php echo gettext("Department"); ?> * </label>

<?php //$reseller_id = ($account_data['type'] == '-1' || $account_data['type'] == 2 )?0:$account_data['id'];
$department=form_dropdown('departmentid',$this->supportticket_model->build_concat_dropdown_departmnet("id,name,email_id", " department", "where_arr", array("status"=>"0","reseller_id" => $account_data['reseller_id'])), '');
// print_r($department);die;
echo $department;
?>


<div class="tooltips error_div pull-left no-padding display_none text-danger" id="department_error"></div>
</div>
<?php } ?>
<?php //ASTPPENT-8285 Ashish end ?>

<div class="col-md-12 no-padding error_div">
<div class="col-md-3 col-sm-12"> </div>
Expand Down

0 comments on commit c0a67a1

Please sign in to comment.