WFC fixes:
Remove a broken query from ordering page
Avoid primary key errors on summary tables
Add integrated CC section to daily report
Merge pull request #138 from CORE-POS/oo-fannie

Oo fannie
Merge remote-tracking branch 'origin/master'
BUGFIX: Broken SQL update file
Merge branch 'master' into oo-fannie