127 lines
4.0 KiB
Python
127 lines
4.0 KiB
Python
from django.urls import reverse_lazy
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
PAGES = [
|
|
{
|
|
"seperator": False,
|
|
"items": [
|
|
{
|
|
"title": _("Bosh sahifa"),
|
|
"icon": "home",
|
|
"link": reverse_lazy("admin:index"),
|
|
}
|
|
],
|
|
},
|
|
{
|
|
"title": _("Foydalanuvchilar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Foydalanuvchilar"),
|
|
"icon": "group",
|
|
"link": reverse_lazy("admin:accounts_user_changelist"),
|
|
},
|
|
{
|
|
"title": _("Guruhlar"),
|
|
"icon": "admin_panel_settings",
|
|
"link": reverse_lazy("admin:auth_group_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Buyurtmachilar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Buyurtmachilar"),
|
|
"icon": "person",
|
|
"link": reverse_lazy("admin:evaluation_customermodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Mulk egalari"),
|
|
"icon": "badge",
|
|
"link": reverse_lazy("admin:evaluation_propertyownermodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Arizalar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Baholash so'rovlari"),
|
|
"icon": "rate_review",
|
|
"link": reverse_lazy("admin:evaluation_evaluationrequestmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Barcha arizalar"),
|
|
"icon": "description",
|
|
"link": reverse_lazy("admin:evaluation_valuationmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Ariza hujjatlari"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:evaluation_valuationdocumentmodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Baholash turlari"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Avto baholash"),
|
|
"icon": "directions_car",
|
|
"link": reverse_lazy("admin:evaluation_autoevaluationmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Transport vositalari"),
|
|
"icon": "car_repair",
|
|
"link": reverse_lazy("admin:evaluation_vehiclemodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Ko'chmas mulk"),
|
|
"icon": "home_work",
|
|
"link": reverse_lazy("admin:evaluation_realestateevaluationmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Ko'char mulk"),
|
|
"icon": "inventory_2",
|
|
"link": reverse_lazy("admin:evaluation_movablepropertyevaluationmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Tezkor baholash"),
|
|
"icon": "bolt",
|
|
"link": reverse_lazy("admin:evaluation_quickevaluationmodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Natijalar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Hisobotlar"),
|
|
"icon": "summarize",
|
|
"link": reverse_lazy("admin:evaluation_evaluationreportmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("To'lovlar"),
|
|
"icon": "payments",
|
|
"link": reverse_lazy("admin:payment_paymentmodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Ma'lumotnomalari"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Ma'lumotnomalar"),
|
|
"icon": "category",
|
|
"link": reverse_lazy("admin:evaluation_referenceitemmodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
]
|