# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

from django.conf.urls import url

from .tables_ajax import ContractTableJson, ContractorTableJson, SupportContractTableJson, \
    ContractorContactTableJson
from .views import ContractTable, ContractorTable, SupportContractTable, ContractorContactTable


urlpatterns = [
    # Support Contract
    # ------------------------------------------------------------------------------
    url(r'SupportContract/$', SupportContractTable.as_view(), name='support-contract-table'),
    url(r'SupportContract/table-json/$', SupportContractTableJson.as_view(), name='support-contract-table-json'),

    # Contract
    # ------------------------------------------------------------------------------
    url(r'Contract/$', ContractTable.as_view(), name='contract-table'),
    url(r'Contract/table-json/$', ContractTableJson.as_view(), name='contract-table-json'),

    # Contractor
    # ------------------------------------------------------------------------------
    url(r'ContractorContact/$', ContractorContactTable.as_view(), name='contractor-contact-table'),
    url(r'ContractorContact/table-json/$', ContractorContactTableJson.as_view(), name='contractor-contact-table-json'),

    # Contractor
    # ------------------------------------------------------------------------------
    url(r'Contractor/$', ContractorTable.as_view(), name='contractor-table'),
    url(r'Contractor/table-json/$', ContractorTableJson.as_view(), name='contractor-table-json'),
]
