diff --git a/web_interface/astpp/addons/Community/supportticket/web_interface/astpp/application/modules/supportticket/views/view_supportticket_add.php b/web_interface/astpp/addons/Community/supportticket/web_interface/astpp/application/modules/supportticket/views/view_supportticket_add.php index 05dd9fa36..8976f6f09 100755 --- a/web_interface/astpp/addons/Community/supportticket/web_interface/astpp/application/modules/supportticket/views/view_supportticket_add.php +++ b/web_interface/astpp/addons/Community/supportticket/web_interface/astpp/application/modules/supportticket/views/view_supportticket_add.php @@ -395,17 +395,36 @@ function here_hide() {
+ session->userdata('logintype') == '-1' || $this->session->userdata('logintype') == '2' || $this->session->userdata('logintype') == '1') { + ?>
- supportticket_model->build_concat_dropdown_departmnet("id,name,email_id", " department", "where_arr", array("status"=>"0","reseller_id"=> $reseller_id)), ''); + supportticket_model->build_concat_dropdown_departmnet("id,name,email_id", " department", "where_arr", array("status"=>"0")), ''); + echo $department; + ?> + + +
+
+ + session->userdata('logintype') == '0') {?> +
+ + + 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; ?>
+ +