Skip to content

Commit

Permalink
Merge pull request iNextrix#716 from iNextrix/2023-COM-W38-V6-ASTPPCO…
Browse files Browse the repository at this point in the history
…M-1132_Kinjal.Prajapti

[FIX]Get -Addon button need to remove.
  • Loading branch information
devangn authored Oct 16, 2023
2 parents 26a5930 + 53dbb43 commit 3e73af8
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 3e73af8

Please sign in to comment.