diff --git a/.DS_Store b/.DS_Store index df28b6c0..12e38e72 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/inventory/__pycache__/forms.cpython-311.pyc b/inventory/__pycache__/forms.cpython-311.pyc index f19ffd01..c91fd1a2 100644 Binary files a/inventory/__pycache__/forms.cpython-311.pyc and b/inventory/__pycache__/forms.cpython-311.pyc differ diff --git a/inventory/__pycache__/models.cpython-311.pyc b/inventory/__pycache__/models.cpython-311.pyc index d62f6e9c..54de237b 100644 Binary files a/inventory/__pycache__/models.cpython-311.pyc and b/inventory/__pycache__/models.cpython-311.pyc differ diff --git a/inventory/__pycache__/views.cpython-311.pyc b/inventory/__pycache__/views.cpython-311.pyc index 04049c6f..933111e2 100644 Binary files a/inventory/__pycache__/views.cpython-311.pyc and b/inventory/__pycache__/views.cpython-311.pyc differ diff --git a/inventory/templatetags/__pycache__/custom_filters.cpython-311.pyc b/inventory/templatetags/__pycache__/custom_filters.cpython-311.pyc index 225454e2..a6cb025f 100644 Binary files a/inventory/templatetags/__pycache__/custom_filters.cpython-311.pyc and b/inventory/templatetags/__pycache__/custom_filters.cpython-311.pyc differ diff --git a/inventory/templatetags/custom_filters.py b/inventory/templatetags/custom_filters.py index 7149e67f..93e3ff05 100644 --- a/inventory/templatetags/custom_filters.py +++ b/inventory/templatetags/custom_filters.py @@ -346,4 +346,10 @@ def date_picker(context, nav_url=None, date_picker_id=None): 'entity_slug': entity_slug, 'date_picker_id': date_picker_id, 'date_navigation_url': date_navigation_url - } \ No newline at end of file + } + + +@register.filter +def splitlines(value): + """Splits text into lines""" + return value.splitlines() \ No newline at end of file diff --git a/static/.DS_Store b/static/.DS_Store index 6076d82c..cbf1c9d8 100644 Binary files a/static/.DS_Store and b/static/.DS_Store differ diff --git a/static/images/.DS_Store b/static/images/.DS_Store index f1366b6d..33933a8e 100644 Binary files a/static/images/.DS_Store and b/static/images/.DS_Store differ diff --git a/static/js/travel-agency-dashboard.js b/static/js/travel-agency-dashboard.js index 065be080..eb42d08a 100644 --- a/static/js/travel-agency-dashboard.js +++ b/static/js/travel-agency-dashboard.js @@ -702,14 +702,7 @@ axisTick: { show: false }, - data: [ - 'NOV-DEC', - 'SEP-OCT', - 'JUL-AUG', - 'MAY-JUN', - 'MAR-APR', - 'JAN-FEB' - ], + axisLabel: { color: getColor('secondary-text-emphasis'), margin: 8, diff --git a/templates/dashboards/manager.html b/templates/dashboards/manager.html index f12ed117..83d5e814 100644 --- a/templates/dashboards/manager.html +++ b/templates/dashboards/manager.html @@ -337,6 +337,7 @@