From f1498c4828178653b8225857420a47ed11cbddd7 Mon Sep 17 00:00:00 2001 From: Samandar Turgunboyev Date: Fri, 30 Jan 2026 11:45:06 +0500 Subject: [PATCH] create-at added all table --- src/features/districts/ui/TableDistrict.tsx | 5 +++++ src/features/doctors/ui/TableDoctor.tsx | 5 +++++ src/features/objects/ui/ObjectTable.tsx | 5 +++++ src/features/pharm/ui/PharmList.tsx | 5 +++++ src/features/pharmacies/ui/PharmaciesTable.tsx | 6 ++++++ src/features/pill/ui/PillList.tsx | 5 +++++ src/features/plans/ui/PalanTable.tsx | 9 +++++++++ src/features/region/ui/RegionTable.tsx | 5 +++++ src/features/users/ui/UserTable.tsx | 5 +++++ 9 files changed, 50 insertions(+) diff --git a/src/features/districts/ui/TableDistrict.tsx b/src/features/districts/ui/TableDistrict.tsx index bb2a8a5..defcc9a 100644 --- a/src/features/districts/ui/TableDistrict.tsx +++ b/src/features/districts/ui/TableDistrict.tsx @@ -1,5 +1,6 @@ import type { DistrictListData } from "@/features/districts/lib/data"; import { userStore } from "@/shared/hooks/user"; +import formatDate from "@/shared/lib/formatDate"; import { Button } from "@/shared/ui/button"; import { Table, @@ -58,6 +59,7 @@ const TableDistrict = ({ ID Tuman nomi Kim qo‘shgan + Qo'shgan sanasi Harakatlar @@ -70,6 +72,9 @@ const TableDistrict = ({ {d.user.first_name} {d.user.last_name} + + {formatDate.format(d.created_at, "DD-MM-YYYY")} +