Fix error in sql
Fixes problems with html entities in debtor code
Fix SQL issue
Add in the next lot number when creating a new item
Remove unnecessary ResrictLocations check
Change to using PascalCase as per the style guidelines
Add new quit icon for wood theme
Added location Based Security to all of these files
PascalCase variable names
Merge pull request #488 from timschofield/develop

Develop