counterparty: add counterpart
This commit is contained in:
12398
core/apps/counterparty/data/counterparty.json
Normal file
12398
core/apps/counterparty/data/counterparty.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,39 @@
|
||||
import json
|
||||
import json, requests
|
||||
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from core.apps.counterparty.models import CounterpartyFolder
|
||||
from core.apps.counterparty.models import CounterpartyFolder, Counterparty
|
||||
|
||||
headers = {
|
||||
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2JhY2tlbmQuYXBwLnV5cXVyLnV6L21haW4vYXV0aC9sb2dpbiIsImlhdCI6MTc2MTgzMzg2OSwiZXhwIjoxNzYxOTIwMjY5LCJuYmYiOjE3NjE4MzM4NjksImp0aSI6IjZSQWE1RzlyT0pGbXF1T2kiLCJzdWIiOiIxMDQiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.ACT7oxl-A2eit_bzxeal2jF_xLa0klFObNBpp1HuheE"
|
||||
}
|
||||
|
||||
def get_counterparty(folder_id):
|
||||
url = f"https://backend.app.uyqur.uz/main/company-person-folder/view?company_person_folder_id={folder_id}&size=500"
|
||||
response = requests.get(url, headers=headers)
|
||||
if response.status_code == 200:
|
||||
return response.json()
|
||||
return None
|
||||
|
||||
|
||||
def create_counterparty(data, folder):
|
||||
Counterparty.objects.get_or_create(
|
||||
name=data["name"],
|
||||
defaults={
|
||||
"phone": data["person"]["phone"],
|
||||
"inn": data["person"]["tin"],
|
||||
"balance_currency": (
|
||||
data["balances"][0]["currency"]["symbol"].lower()
|
||||
if data["balances"]
|
||||
else "uzs"
|
||||
),
|
||||
"is_archived": data["is_archived"],
|
||||
"balance": data["total_amount"],
|
||||
"total_debit": data["debt_amount"],
|
||||
"total_kredit": data["credit_amount"],
|
||||
"folder": folder
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
@@ -15,9 +47,12 @@ class Command(BaseCommand):
|
||||
data = json.load(f)
|
||||
|
||||
for item in data['data']:
|
||||
CounterpartyFolder.objects.get_or_create(
|
||||
folder, created = CounterpartyFolder.objects.get_or_create(
|
||||
name=item['name'],
|
||||
)
|
||||
data = get_counterparty(item['id'])
|
||||
for counterparty in data['data']['data']:
|
||||
create_counterparty(counterparty, folder)
|
||||
|
||||
self.stdout.write("Counterparty Folders added")
|
||||
|
||||
18
core/apps/orders/migrations/0031_order_type.py
Normal file
18
core/apps/orders/migrations/0031_order_type.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-10-31 15:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders', '0030_alter_order_wherehouse_alter_party_status'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='type',
|
||||
field=models.CharField(choices=[('order', 'order'), ('party', 'party')], default='order', max_length=6),
|
||||
),
|
||||
]
|
||||
@@ -1,3 +1,3 @@
|
||||
from .order import *
|
||||
from .order_offer import *
|
||||
from ..order_offer import *
|
||||
from .party import *
|
||||
@@ -16,7 +16,7 @@ class Order(BaseModel):
|
||||
('CANCELLED', "bekor qilindi"),
|
||||
('ACCEPTED', 'qabul qilindi'),
|
||||
)
|
||||
|
||||
type = models.CharField(max_length=6, choices=[('order', 'order'), ('party', 'party')], default='order')
|
||||
product = models.ForeignKey(
|
||||
Product, on_delete=models.CASCADE, related_name='orders'
|
||||
)
|
||||
|
||||
18
core/apps/products/migrations/0008_alter_unity_value.py
Normal file
18
core/apps/products/migrations/0008_alter_unity_value.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.4 on 2025-10-31 15:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('products', '0007_alter_product_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='unity',
|
||||
name='value',
|
||||
field=models.CharField(max_length=50, unique=True),
|
||||
),
|
||||
]
|
||||
@@ -1,128 +0,0 @@
|
||||
{
|
||||
"data": {
|
||||
"cashs": [
|
||||
{
|
||||
"id": 24,
|
||||
"name": "FARM NAQT",
|
||||
"status": "open",
|
||||
"users": [
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"name": "FARM BUGHALTERIYA",
|
||||
"status": "open",
|
||||
"users": [
|
||||
{
|
||||
"id": 111,
|
||||
"full_name": "MARDONOVA DILAFRUZ",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"name": "Yunusobod BUHGALTERIYA",
|
||||
"status": "open",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 111,
|
||||
"full_name": "MARDONOVA DILAFRUZ",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"name": "Yunusobod NAQT",
|
||||
"status": "open",
|
||||
"users": [
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"cash_folders": [
|
||||
{
|
||||
"id": 3,
|
||||
"name": "MARKETING",
|
||||
"color": null,
|
||||
"cashs_count": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"uz": "Muvaffaqiyatli!",
|
||||
"ru": "Успешно!",
|
||||
"en": "Success!",
|
||||
"tr": "Başarılı!"
|
||||
}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 15,
|
||||
"name": "marketing",
|
||||
"color": null,
|
||||
"company_persons_count": 103
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"name": "Qurilish bozorlik",
|
||||
"color": null,
|
||||
"company_persons_count": 0
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"name": "Административные расходы",
|
||||
"color": null,
|
||||
"company_persons_count": 15
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"name": "Mavrid административные расходы",
|
||||
"color": null,
|
||||
"company_persons_count": 1
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"name": "Buxgalter",
|
||||
"color": null,
|
||||
"company_persons_count": 1
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"name": "dur",
|
||||
"color": null,
|
||||
"company_persons_count": 0
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"name": "A",
|
||||
"color": null,
|
||||
"company_persons_count": 0
|
||||
}
|
||||
],
|
||||
"message": {
|
||||
"uz": "Muvaffaqiyatli!",
|
||||
"ru": "Успешно!",
|
||||
"en": "Success!",
|
||||
"tr": "Başarılı!"
|
||||
}
|
||||
}
|
||||
32042
data/product.json
32042
data/product.json
File diff suppressed because it is too large
Load Diff
@@ -1,107 +0,0 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 43,
|
||||
"name": {
|
||||
"ru": "Товарная база Узбекистана",
|
||||
"uz": "O'zbekiston mahsulotlar bazasi"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 2000
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"name": {
|
||||
"uz": "Marketing",
|
||||
"ru": "Marketing"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 208
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"name": {
|
||||
"uz": "Inventar",
|
||||
"en": "Inventar",
|
||||
"ru": "Inventar"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 82
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"name": {
|
||||
"ru": "административный расходы",
|
||||
"en": "административный расходы",
|
||||
"uz": "административный расходы"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 81
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"name": {
|
||||
"ru": "Qurilish montaj ishlari",
|
||||
"en": "Qurilish montaj ishlari",
|
||||
"uz": "Qurilish montaj ishlari"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 32
|
||||
},
|
||||
{
|
||||
"id": 78,
|
||||
"name": {
|
||||
"uz": "NARYAD",
|
||||
"en": "NARYAD",
|
||||
"ru": "NARYAD"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 7
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"name": {
|
||||
"uz": "OFIS INVENTARLARI",
|
||||
"en": "OFIS INVENTARLARI",
|
||||
"ru": "OFIS INVENTARLARI"
|
||||
},
|
||||
"color": null,
|
||||
"status": "active",
|
||||
"products_count": 105
|
||||
},
|
||||
{
|
||||
"id": 148,
|
||||
"name": {
|
||||
"uz": "Texnika xizmati",
|
||||
"en": "Texnika xizmati",
|
||||
"ru": "Texnika xizmati"
|
||||
},
|
||||
"color": "#1E90FF",
|
||||
"status": "active",
|
||||
"products_count": 7
|
||||
},
|
||||
{
|
||||
"id": 149,
|
||||
"name": {
|
||||
"uz": "Marketing xizmati",
|
||||
"en": "Marketing xizmati",
|
||||
"ru": "Marketing xizmati"
|
||||
},
|
||||
"color": "#1E90FF",
|
||||
"status": "active",
|
||||
"products_count": 5
|
||||
}
|
||||
],
|
||||
"message": {
|
||||
"uz": "Muvaffaqiyatli!",
|
||||
"ru": "Успешно!",
|
||||
"en": "Success!",
|
||||
"tr": "Başarılı!"
|
||||
}
|
||||
}
|
||||
1634
data/unit.json
1634
data/unit.json
File diff suppressed because it is too large
Load Diff
224
data/user.json
224
data/user.json
@@ -1,224 +0,0 @@
|
||||
{
|
||||
"data": {
|
||||
"current_page": 1,
|
||||
"total": 15,
|
||||
"data": [
|
||||
{
|
||||
"id": 104,
|
||||
"login": "SuperAdminIskander",
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp",
|
||||
"phone": "333333333",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 79,
|
||||
"name": "UYQUR_COMPANY_SUPER_ADMIN",
|
||||
"description": "Kompaniya uchun ruxsatlar to'plami",
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 107,
|
||||
"login": "petka8000",
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null,
|
||||
"phone": "+998900858000",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 82,
|
||||
"name": "TA'MINOTCHI",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 108,
|
||||
"login": "abu4440",
|
||||
"full_name": "Xudjaqulov Abbos",
|
||||
"image": null,
|
||||
"phone": "+998934344440",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 83,
|
||||
"name": "NACH UCHASTKA",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"login": "meron7037",
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null,
|
||||
"phone": "+998991367037",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 84,
|
||||
"name": "KASSIR",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"login": "SHOX4004",
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null,
|
||||
"phone": "+998937148998",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 81,
|
||||
"name": "OMBOR MUDIRI",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 111,
|
||||
"login": "DILYA2500",
|
||||
"full_name": "MARDONOVA DILAFRUZ",
|
||||
"image": null,
|
||||
"phone": "+998913352500",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 85,
|
||||
"name": "BUGHALTERIYA",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 112,
|
||||
"login": "TEMUR1100",
|
||||
"full_name": "QIYOMOV TEMURBEK",
|
||||
"image": null,
|
||||
"phone": "+998947101100",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 85,
|
||||
"name": "BUGHALTERIYA",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 113,
|
||||
"login": "Durdona0007",
|
||||
"full_name": "Durdona",
|
||||
"image": null,
|
||||
"phone": "+998909919639",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 86,
|
||||
"name": "Marketolog",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"login": "БАРОТОВА",
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null,
|
||||
"phone": "+998936121821",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 104,
|
||||
"name": "MATERIALNIY BUHGALTER",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 147,
|
||||
"login": "Shohruh4004",
|
||||
"full_name": "Rajabov Shohruh",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/W2XUDsHUUnr4E3mjfJIx.webp",
|
||||
"phone": "+998913304004",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 112,
|
||||
"name": "Shohruh",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 202,
|
||||
"login": "s.mehriddin",
|
||||
"full_name": "Самадов Мехриддин",
|
||||
"image": null,
|
||||
"phone": "+998943739033",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 81,
|
||||
"name": "OMBOR MUDIRI",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 211,
|
||||
"login": "r.sherzod37",
|
||||
"full_name": "Рустамов Шерзод",
|
||||
"image": null,
|
||||
"phone": "+998998803769",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 162,
|
||||
"name": "Prorab",
|
||||
"description": "Loyihalar bilan ishlash",
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"login": "Shahzoda2719",
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null,
|
||||
"phone": "+998997542719",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 81,
|
||||
"name": "OMBOR MUDIRI",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 221,
|
||||
"login": "Utkir1161",
|
||||
"full_name": "Жумаев Уткир",
|
||||
"image": null,
|
||||
"phone": "+998991561161",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 83,
|
||||
"name": "NACH UCHASTKA",
|
||||
"description": null,
|
||||
"status": "active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"login": "iskander_visitor",
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null,
|
||||
"phone": "+998939897101",
|
||||
"status": "active",
|
||||
"role": {
|
||||
"id": 233,
|
||||
"name": "visitor",
|
||||
"description": "uyqur support admin",
|
||||
"status": "active"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"uz": "Muvaffaqiyatli!",
|
||||
"ru": "Успешно!",
|
||||
"en": "Success!",
|
||||
"tr": "Başarılı!"
|
||||
}
|
||||
}
|
||||
@@ -1,667 +0,0 @@
|
||||
{
|
||||
"data": {
|
||||
"warehouses": [
|
||||
{
|
||||
"id": 22,
|
||||
"name": "MAVRID (ФАРМ)",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 112,
|
||||
"full_name": "QIYOMOV TEMURBEK",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 111,
|
||||
"full_name": "MARDONOVA DILAFRUZ",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 113,
|
||||
"full_name": "Durdona",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 108,
|
||||
"full_name": "Xudjaqulov Abbos",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"name": "marketing",
|
||||
"users": [
|
||||
{
|
||||
"id": 113,
|
||||
"full_name": "Durdona",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 111,
|
||||
"full_name": "MARDONOVA DILAFRUZ",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 108,
|
||||
"full_name": "Xudjaqulov Abbos",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"name": "Prorab qurilish MAVRID",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 108,
|
||||
"full_name": "Xudjaqulov Abbos",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 211,
|
||||
"full_name": "Рустамов Шерзод",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"name": "Yunusobod ombor",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 202,
|
||||
"full_name": "Самадов Мехриддин",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"name": "Yunusobod marketing",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 113,
|
||||
"full_name": "Durdona",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"name": "Yunusobod sklad instrument",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"name": "Yunusobod adminstrativniy xarajatlar",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 147,
|
||||
"full_name": "Rajabov Shohruh",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/W2XUDsHUUnr4E3mjfJIx.webp"
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 101,
|
||||
"name": "Офис",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 108,
|
||||
"name": "Mavrid sklad instrument",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"name": "Yunusobod sklad inventar",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"name": "Mavrid sklad inventar",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 111,
|
||||
"name": "Yunusobod Ofis",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 112,
|
||||
"name": "Mavrid Ofis",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 114,
|
||||
"name": "Prorab Qurilish Yunusobod",
|
||||
"users": [
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 211,
|
||||
"full_name": "Рустамов Шерзод",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 120,
|
||||
"name": "МАВРИД АДМИНИСТРАТИВНЫЙ РАСХОД",
|
||||
"users": [
|
||||
{
|
||||
"id": 147,
|
||||
"full_name": "Rajabov Shohruh",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/W2XUDsHUUnr4E3mjfJIx.webp"
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"full_name": "SuperAdminIskander",
|
||||
"image": "https://backend.app.uyqur.uz/public/upload/image/neDbGZivNlWAz5nHopbl.webp"
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 121,
|
||||
"name": "МАВРИД КУХНЯ",
|
||||
"users": [
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 122,
|
||||
"name": "МАВРИД АПТЕКА",
|
||||
"users": [
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 109,
|
||||
"full_name": "Mirjonov Meronshox",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 123,
|
||||
"name": "МАВРИД КОНС ТОВАР",
|
||||
"users": [
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 124,
|
||||
"name": "ЮНУСОБОД КУХНЯ",
|
||||
"users": [
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 125,
|
||||
"name": "ЮНУСОБОД АПТЕКА",
|
||||
"users": [
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 126,
|
||||
"name": "ЮНУСОБОД КОНС ТОВАР",
|
||||
"users": [
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"full_name": "Тухтаева Шахзода",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
},
|
||||
{
|
||||
"id": 158,
|
||||
"name": "МАВРИД ХИЗМАТЛАР",
|
||||
"users": [
|
||||
{
|
||||
"id": 110,
|
||||
"full_name": "Imomov Jasurbek",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 138,
|
||||
"full_name": "Baratova Zilola",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 107,
|
||||
"full_name": "Iskandarov Farrux",
|
||||
"image": null
|
||||
},
|
||||
{
|
||||
"id": 306,
|
||||
"full_name": "Uyqur Support",
|
||||
"image": null
|
||||
}
|
||||
],
|
||||
"status": "active"
|
||||
}
|
||||
],
|
||||
"warehouse_folders": []
|
||||
},
|
||||
"message": {
|
||||
"uz": "Muvaffaqiyatli!",
|
||||
"ru": "Успешно!",
|
||||
"en": "Success!",
|
||||
"tr": "Başarılı!"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user