WFC fixes:
Remove a broken query from ordering page
Avoid primary key errors on summary tables
Add integrated CC section to daily report
Merge remote-tracking branch 'origin/master'