From 0bec5ca2e3a2d0cd3384871da21035329349121f Mon Sep 17 00:00:00 2001 From: Marvin Cunanan Date: Sat, 12 Sep 2020 12:14:18 +0900 Subject: [PATCH] Rename facilityInformation properties --- app/controllers/components/misc_function.php | 12 ++++++------ app/controllers/servers_controller.php | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/controllers/components/misc_function.php b/app/controllers/components/misc_function.php index f0ee457ed..94d741d0e 100644 --- a/app/controllers/components/misc_function.php +++ b/app/controllers/components/misc_function.php @@ -1845,14 +1845,14 @@ function GetAvailableFacilities(&$controller, $dbname, $storecode) { return array( array( - "FACILITYID" => 1, - "FACILITYNAME" => "Facility 1", - "ACCEPTABLECOUNT" => DEFAULT_FACILITY_ACCEPTABLECOUNT + "Id" => 1, + "Name" => "Facility 1", + "AcceptableCount" => DEFAULT_FACILITY_ACCEPTABLECOUNT ), array( - "FACILITYID" => 2, - "FACILITYNAME" => "Facility 2", - "ACCEPTABLECOUNT" => DEFAULT_FACILITY_ACCEPTABLECOUNT + "Id" => 1, + "Name" => "Facility 1", + "AcceptableCount" => DEFAULT_FACILITY_ACCEPTABLECOUNT ), ); } diff --git a/app/controllers/servers_controller.php b/app/controllers/servers_controller.php index d98dbad4e..d3d9c89f9 100644 --- a/app/controllers/servers_controller.php +++ b/app/controllers/servers_controller.php @@ -1335,10 +1335,10 @@ class ServersController extends WebServicesController )), 'facilityInformation' => array('struct' => array( - 'FACILITYID' => 'xsd:int', - 'FACILITYNAME' => 'xsd:string', - 'SALONID' => 'xsd:int', - 'ACCEPTABLECOUNT' => 'xsd:int' + 'Id' => 'xsd:int', + 'Name' => 'xsd:string', + 'SalonId' => 'xsd:int', + 'AcceptableCount' => 'xsd:int' )), '_facilityInformation' => array(