mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Made all days show up by using day_of_week database as source
This commit is contained in:
@@ -209,7 +209,7 @@ if ($questionnaire_id != false)
|
||||
|
||||
|
||||
$sql = "SELECT DATE_FORMAT(STR_TO_DATE(CONCAT($year, ' ',$woy,' ',day_of_week - 1),'%x %v %w'), '%W %d %M %Y') as dt, day_of_week - 1 as dow
|
||||
FROM shift_template
|
||||
FROM day_of_week
|
||||
GROUP BY dow";
|
||||
|
||||
$daysofweek = $db->Execute($sql);
|
||||
|
||||
Reference in New Issue
Block a user