Code cleaning.
For CCU breakdown table, only get identifiers for CCU profiles and facilities and resolve their names from their corresponding db tables.
For stock out table, only get identifiers for product types and facilities and resolve their names from their corresponding db tables.
Optimise static data loading by caching their promise objects.
Load product types from the db not a local file.
Use product code instead of name in stock out table.
Fix undefined access error.
Add stock counts table to admin views.