diff --git a/__init__.py b/__init__.py index 6a49a2c..173647f 100644 --- a/__init__.py +++ b/__init__.py @@ -4,6 +4,7 @@ from fastapi import APIRouter from loguru import logger from .crud import db +from .views import payroll_generic_router from .views_api import payroll_api_router, payroll_employee_router payroll_static_files = [ @@ -14,6 +15,7 @@ payroll_static_files = [ ] payroll_ext: APIRouter = APIRouter(prefix="/payroll", tags=["payroll"]) +payroll_ext.include_router(payroll_generic_router) payroll_ext.include_router(payroll_api_router) payroll_ext.include_router(payroll_employee_router) diff --git a/static/js/index.js b/static/js/index.js new file mode 100644 index 0000000..abf6f95 --- /dev/null +++ b/static/js/index.js @@ -0,0 +1,491 @@ +// Payroll operator console — LNbits page shell (Vue 3 + Quasar 2 UMD, no +// build step). Gotchas honored: no self-closing tags in the template, +// `${ }` interpolation so Jinja never sees a moustache, and `:style` +// bindings rather than