Move the database logic to appointment_management

This commit is contained in:
2020-06-25 21:15:52 +02:00
parent 63b1b72e88
commit b93df4005b
5 changed files with 57 additions and 22 deletions

View File

@@ -187,7 +187,7 @@ function fetchRegions($pdo)
return $data;
}
function listHolidays($pdo)
function fetchHolidays($pdo)
{
$query = "SELECT * FROM festivo";
$result = $pdo->prepare($query);