@echo off

gsqlcmd exec cashbook.csv "SELECT Date, Company, debit AS Amount FROM cashbook.csv WHERE debit IS NOT NULL" sales.htm /template=sales-template.htm /placeholder=sales /title=Sales /datetimeformat=M/d/yyyy /openOutput /echo

if .%1.==./Q. goto :EOF

@pause
