Jun 27 MT-6
This commit is contained in:
@@ -23,6 +23,7 @@ from app.models.notification import (
|
||||
EVENT_CUSTOMER_INSPECTION_DONE, EVENT_CUSTOMER_ISSUE_UPDATED,
|
||||
)
|
||||
from app.utils.audit import log_action, ACTION_CREATE, ACTION_UPDATE, ACTION_DELETE, ACTION_EXPORT
|
||||
from app.tenancy.gates import quota_soft_check
|
||||
from app.utils.scope import get_customer_scope, get_inspector_scope
|
||||
from sqlalchemy.orm import joinedload
|
||||
|
||||
@@ -345,6 +346,7 @@ def index():
|
||||
|
||||
@bp.route('/start', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
@quota_soft_check('inspections')
|
||||
def start():
|
||||
form = StartInspectionForm()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user