Skip to content

Commit

Permalink
Merge pull request smarty-php#47 from think-ahead/ticket-#5184-removi…
Browse files Browse the repository at this point in the history
…ng-shift-simulation-functionality-from-shift-master-tab

Redmine #5184: シフト/休日設定画面 メインのかんざしアカウントの休日設定が表示される
  • Loading branch information
think-katou authored May 10, 2021
2 parents 6932da3 + 930a752 commit 32d0ef1
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions app/controllers/servers_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -853,17 +853,6 @@ class ServersController extends WebServicesController
),
//- ############################################################

// GetShiftSimulationPassword -----------------------------------
'wsGetShiftSimulationPassword' => array(
'doc' => 'wsGetShiftSimulationPassword',
'input' => array(
'sessionid' => 'xsd:string',
'storecode' => 'xsd:int'
),
'output' => array('pwd' => 'xsd:string')
),
//- ############################################################

//wsGetYoyakuAllowTransToStore-------------------------------------
'wsGetYoyakuAllowTransToStore' => array(
'doc' => 'wsGetYoyakuAllowTransToStore',
Expand Down Expand Up @@ -10875,50 +10864,6 @@ function wsDeleteOkotowariRecord($sessionid, $oid)
} //end function
//</editor-fold>

//<editor-fold defaultstate="collapsed" desc="wsGetShiftSimulationPassword">
/**
* wsGetShiftSimulationPassword
* @author Marvin marvin@think-ahead.jp
* Date Created: 2012-06-26
* Updates:
*
* @param String $sessionid - session key
* @return String - Password
*/
function wsGetShiftSimulationPassword($sessionid, $storecode)
{
//-------------------------------------------------------------------------------------------
$retval = "";
//-------------------------------------------------------------------------------------------
$storeinfo = $this->YoyakuSession->Check($this);
//-------------------------------------------------------------------------------------------
if ($storeinfo == false) {
$this->_soap_server->fault(1, '', INVALID_SESSION);
return;
} //end if
//-------------------------------------------------------------------------------------------
$this->Staff->set_company_database($storeinfo['dbname'], $this->Staff);
//-------------------------------------------------------------------------------------------
//Query
//-------------------------------------------------------------------------------------------
$Sql = "SELECT optionvalues
FROM store_settings
WHERE STORECODE = " . $storecode . "
AND OPTIONNAME = 'SHIFT_SIMULATION_PASSWORD' ";
//-------------------------------------------------------------------------------------------
$GetData = $this->Staff->query($Sql);
//-------------------------------------------------------------------------------------------
if (count($GetData) > 0) {
//---------------------------------------------------------------------------------------
$retval = $GetData[0]['store_settings']['optionvalues'];
//---------------------------------------------------------------------------------------
} //end if
//-------------------------------------------------------------------------------------------
return $retval;
//-------------------------------------------------------------------------------------------
} //end function
//</editor-fold>

//<editor-fold defaultstate="collapsed" desc="wsGetGyoshuKubun">
/**
* Get Gyoushu Kubun
Expand Down

0 comments on commit 32d0ef1

Please sign in to comment.