Assign Smarty variables closer to declaration
Assign Smarty variables closer to declaration

To aid future debugging (reducing variable 'lifetime')

mykedean/digital-logsheets,mykedean/digital-logsheets