Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix guests count in Operations Today panel of Dashboard #560

Merged
merged 1 commit into from
Mar 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/dashguestcycle/dashguestcycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function getArrivalsTableContentsByDate($date, $idHotel)
}

$tr[] = array(
'value' => $arrivalInfo['adult'] + $arrivalInfo['children'],
'value' => $arrivalInfo['adults'] + $arrivalInfo['children'],
'class' => 'text-center',
);
$tr[] = array(
Expand Down Expand Up @@ -230,7 +230,7 @@ public function getDeparturesTableContentsByDate($date, $idHotel)
}

$tr[] = array(
'value' => $departureInfo['adult'] + $departureInfo['children'],
'value' => $departureInfo['adults'] + $departureInfo['children'],
'class' => 'text-center',
);
$tr[] = array(
Expand Down Expand Up @@ -291,7 +291,7 @@ public function getInHousesTableContents($idHotel)
}

$tr[] = array(
'value' => $inHouseInfo['adult'] + $inHouseInfo['children'],
'value' => $inHouseInfo['adults'] + $inHouseInfo['children'],
'class' => 'text-center',
);
$tr[] = array(
Expand Down