Skip to content

Commit

Permalink
[FIX]Get -Addon button need to remove.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinjalprajapati1 committed Oct 11, 2023
1 parent 8797e1a commit 53dbb43
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ function index() {
if ($this->session->userdata ( 'logintype' ) == 0) {
$this->load->view ( 'view_user_dashboard', $data );
} else {
$data['dashboard_flag']=true;
$gmtoffset = $this->common->get_timezone_offset ();
$accountinfo = $this->session->userdata ( 'accountinfo' );
// ASTPPCOM-1132 Kinjal Start
if($accountinfo['type'] != 1){
$data['dashboard_flag']=true;
}
// ASTPPCOM-1132 Kinjal END
$gmtoffset = $this->common->get_timezone_offset ();
$data['currency']= $this->common->get_field_name("currency","currency",array("id"=>$accountinfo['currency_id']));
$this->load->view ( 'view_dashboard', $data );
}
Expand Down

0 comments on commit 53dbb43

Please sign in to comment.