order shop admin
This commit is contained in:
@@ -104,12 +104,6 @@ UNFOLD = {
|
||||
"link": reverse_lazy("admin:home_learnvideomodel_changelist"),
|
||||
"badge": "utils.admin.new_learn_video_count",
|
||||
},
|
||||
{
|
||||
"title": _("سفارشات"),
|
||||
"icon": "shopping_cart",
|
||||
"link": reverse_lazy("admin:order_ordermodel_changelist"),
|
||||
"badge": "utils.admin.admin_pending_count",
|
||||
},
|
||||
{
|
||||
"title": _("فروشگاه ها"),
|
||||
"icon": "storefront",
|
||||
@@ -120,6 +114,34 @@ UNFOLD = {
|
||||
|
||||
|
||||
|
||||
{
|
||||
"title": _("محصولات سفارشات"),
|
||||
"separator": True,
|
||||
"collapsible": False,
|
||||
"items": [
|
||||
{
|
||||
"title": _("سفارشات"),
|
||||
"icon": "shopping_cart",
|
||||
"link": reverse_lazy("admin:order_ordermodel_changelist"),
|
||||
# "badge": "utils.admin.admin_pending_count",
|
||||
},
|
||||
{
|
||||
"title": _("سفارشات فروشگاه"),
|
||||
"icon": "shopping_cart",
|
||||
"link": reverse_lazy("admin:order_shopordermodel_changelist"),
|
||||
# "badge": "utils.admin.admin_pending_count",
|
||||
},
|
||||
{
|
||||
"title": _("گزارش فروش فروشگاه ها"),
|
||||
"icon": "shopping_cart",
|
||||
"link": reverse_lazy("admin:order_shopdailyreport_changelist"),
|
||||
# "badge": "utils.admin.admin_pending_count",
|
||||
},
|
||||
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"title": _("محصولات فروشگاه"),
|
||||
"separator": True,
|
||||
@@ -157,7 +179,7 @@ UNFOLD = {
|
||||
{
|
||||
"title": _("سکشن دسته بندی"),
|
||||
"separator": True,
|
||||
"collapsible": False,
|
||||
"collapsible": True,
|
||||
"items": [
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user