Fix sql script and pdf report

-sql double default convention fixed
-pdf report with empty guest info fixed