From 8f6729024f4d58333c3edc702341edf9be9f7776 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Tue, 4 Mar 2025 08:49:33 +0330 Subject: [PATCH] transaction detail --- .env | 4 +- dev-dist/sw.js | 2 +- src/components/ServiceItem.tsx | 2 +- src/langs/fa.json | 2 +- src/pages/transaction/List.tsx | 2 +- src/pages/transaction/components/Detail.tsx | 44 ++++++++++++++----- .../transaction/hooks/useTransactionData.ts | 8 ++++ .../transaction/service/TransactionService.ts | 5 +++ 8 files changed, 52 insertions(+), 17 deletions(-) diff --git a/.env b/.env index 36eab8a..fc26a2e 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ VITE_TOKEN_NAME = 'dsc_token' VITE_REFRESH_TOKEN_NAME = 'dsc_refresh_token' -VITE_BASE_URL = 'https://api.danakcorp.com' -# VITE_BASE_URL = 'http://192.168.1.124:4000' \ No newline at end of file +# VITE_BASE_URL = 'https://api.danakcorp.com' +VITE_BASE_URL = 'http://192.168.0.216:4000' \ No newline at end of file diff --git a/dev-dist/sw.js b/dev-dist/sw.js index 37e2ae9..4d71254 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-e7681877'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.p2q1at3f1to" + "revision": "0.kim5d4lsg4" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/components/ServiceItem.tsx b/src/components/ServiceItem.tsx index 30f0faf..0ceff18 100644 --- a/src/components/ServiceItem.tsx +++ b/src/components/ServiceItem.tsx @@ -36,7 +36,7 @@ const ServiceItem: FC = (props: Props) => {