refactoring front-end js for code and person
refactoring code create view button
refactoring updateview js
refactoring listview js
add slug in models
refactoring for reports view js