Skip to content

Commit

Permalink
Rename facilityInformation properties
Browse files Browse the repository at this point in the history
  • Loading branch information
think-mcunanan committed Sep 12, 2020
1 parent 3f6b6cb commit 0bec5ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions app/controllers/components/misc_function.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
),
);
}
Expand Down
8 changes: 4 additions & 4 deletions app/controllers/servers_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0bec5ca

Please sign in to comment.