"""
Simple Acknowledgement URLs
"""
from django.urls import path
from .simple_acknowledgement_views import (
    simple_acknowledgement_list,
    simple_acknowledgement_sign,
    simple_acknowledgement_download,
    admin_acknowledgement_list,
    admin_acknowledgement_create,
    admin_acknowledgement_edit,
    admin_acknowledgement_delete,
    admin_send_acknowledgement,
    admin_upload_signed_pdf,
    admin_mark_as_sent,
    admin_employee_signatures,
    admin_export_signatures,
)

app_name = 'simple_acknowledgements'

urlpatterns = [
    # Employee URLs
    path('my-acknowledgements/', simple_acknowledgement_list, name='employee_list'),
    path('my-acknowledgements/sign/<uuid:ack_id>/', simple_acknowledgement_sign, name='sign'),
    path('my-acknowledgements/download/<uuid:ack_id>/', simple_acknowledgement_download, name='download_pdf'),

    # Admin URLs
    path('admin/acknowledgements/', admin_acknowledgement_list, name='admin_list'),
    path('admin/acknowledgements/new/', admin_acknowledgement_create, name='admin_create'),
    path('admin/acknowledgements/<uuid:ack_id>/edit/', admin_acknowledgement_edit, name='admin_edit'),
    path('admin/acknowledgements/<uuid:ack_id>/delete/', admin_acknowledgement_delete, name='admin_delete'),
    path('admin/acknowledgements/<uuid:ack_id>/send/', admin_send_acknowledgement, name='admin_send'),
    path('admin/acknowledgements/<uuid:ack_id>/send-all/', admin_mark_as_sent, name='admin_send_all'),

    # Admin Upload Signed PDF
    path('admin/signatures/<uuid:signature_id>/upload/', admin_upload_signed_pdf, name='admin_upload_pdf'),

    # Admin Signatures/Compliance
    path('admin/signatures/', admin_employee_signatures, name='admin_signatures'),
    path('admin/signatures/<uuid:ack_id>/', admin_employee_signatures, name='admin_ack_signatures'),
    path('admin/export/', admin_export_signatures, name='admin_export'),
]
