from django.urls import path
from .views import (
    ApprovalListView, ApprovalDetailView,
    SubmitForApprovalView, ApprovalActionView
)

urlpatterns = [
    path('', ApprovalListView.as_view(), name='approval-list'),
    path('<int:pk>/', ApprovalDetailView.as_view(), name='approval-detail'),
    path('submit/<int:sheet_pk>/', SubmitForApprovalView.as_view(), name='approval-submit'),
    path('<int:pk>/action/', ApprovalActionView.as_view(), name='approval-action'),
]
