from django.urls import path from django.contrib.auth import views as auth_views from . import views urlpatterns = [ path("", views.home, name="home"), path("register/", views.register, name="register"), path("verify-otp-registration/", views.verify_otp_registration, name="verify_otp_registration"), path("login/", views.custom_login, name="login"), path("verify-otp-login/", views.verify_otp_login, name="verify_otp_login"), path("logout/", auth_views.LogoutView.as_view(), name="logout"), path("dashboard/", views.dashboard, name="dashboard"), path("truck/register/", views.truck_register, name="truck_register"), path("truck//edit/", views.edit_truck, name="edit_truck"), path("truck//approve/", views.approve_truck, name="approve_truck"), path("truck//suspend/", views.suspend_truck, name="suspend_truck"), path("shipment/post/", views.post_shipment, name="post_shipment"), path("marketplace/", views.marketplace, name="marketplace"), path("shipment//", views.shipment_detail, name="shipment_detail"), path("truck//offer/", views.place_bid, name="place_bid"), path("bid//accept/", views.accept_bid, name="accept_bid"), path("bid//reject/", views.reject_bid, name="reject_bid"), path("privacy-policy/", views.privacy_policy, name="privacy_policy"), path("terms-of-service/", views.terms_of_service, name="terms_of_service"), path("contact/", views.contact, name="contact"), path("subscription-expired/", views.subscription_expired, name="subscription_expired"), path("subscription-renew/", views.renew_subscription, name="renew_subscription"), path("payment/success/", views.thawani_success, name="thawani_success"), path("payment/cancel/", views.thawani_cancel, name="thawani_cancel"), path("payment/webhook/", views.thawani_webhook, name="thawani_webhook"), path("financial-history/", views.financial_history, name="financial_history"), path("receipt//", views.transaction_receipt, name="transaction_receipt"), path("admin/financials/", views.admin_financials, name="admin_financials"), path("admin/refund//", views.issue_refund, name="issue_refund"), path("admin/settings/", views.admin_app_settings, name="admin_app_settings"), path("api/chat/", views.chat_api, name="chat_api"), ]