Only show notes section if notes are written.
Added total outstanding to orderadmin subtotals.
Other small template improvements