diff --git a/src/pages/internationalPayments/visaMasterPaymentsView/index.tsx b/src/pages/internationalPayments/visaMasterPaymentsView/index.tsx index 5240a7b..23e77cc 100644 --- a/src/pages/internationalPayments/visaMasterPaymentsView/index.tsx +++ b/src/pages/internationalPayments/visaMasterPaymentsView/index.tsx @@ -125,7 +125,7 @@ export default function IntlPaymentViewPage() {
{/* Header */}
-
{/* breadcrumb handled by layout */} +
diff --git a/src/pages/settings/card/cardTypes/index.tsx b/src/pages/settings/card/cardTypes/index.tsx index 3f2603e..7dc816f 100644 --- a/src/pages/settings/card/cardTypes/index.tsx +++ b/src/pages/settings/card/cardTypes/index.tsx @@ -166,13 +166,7 @@ export function CardTypesListPage() { {/* Header */}
- +

{t('cardTypes.title', 'Kart görnüşleri')}

diff --git a/src/pages/settings/card/cardTypesCreate/index.tsx b/src/pages/settings/card/cardTypesCreate/index.tsx index 017a893..abd25a4 100644 --- a/src/pages/settings/card/cardTypesCreate/index.tsx +++ b/src/pages/settings/card/cardTypesCreate/index.tsx @@ -1,33 +1,13 @@ -import { useNavigate } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { CardTypeForm } from '@/features/cardTypes/components/cardTypesForm' export default function CardTypeCreatePage() { - const navigate = useNavigate() const { t } = useTranslation() return (
- +

{t('cardTypes.create.title', 'Kart görnüşi döretmek')} diff --git a/src/pages/settings/card/cardTypesEdit/index.tsx b/src/pages/settings/card/cardTypesEdit/index.tsx index d630f06..955c367 100644 --- a/src/pages/settings/card/cardTypesEdit/index.tsx +++ b/src/pages/settings/card/cardTypesEdit/index.tsx @@ -1,11 +1,10 @@ -import { useNavigate, useParams } from 'react-router-dom' +import { useParams } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { CardTypeForm } from '@/features/cardTypes/components/cardTypesForm' import { useCardTypeById } from '@/features/cardTypes/hooks/useCardTypes' export default function CardTypeEditPage() { const { id } = useParams<{ id: string }>() - const navigate = useNavigate() const { t } = useTranslation() const numericId = Number(id) @@ -14,25 +13,7 @@ export default function CardTypeEditPage() { return (
- +

{isLoading diff --git a/src/pages/settings/card/cardTypesView/index.tsx b/src/pages/settings/card/cardTypesView/index.tsx index 4fd2593..b6b2d2d 100644 --- a/src/pages/settings/card/cardTypesView/index.tsx +++ b/src/pages/settings/card/cardTypesView/index.tsx @@ -30,28 +30,10 @@ export function CardTypeViewPage() { return (
- {/* Breadcrumb + actions */} +
- +

{isLoading ? '...' diff --git a/src/pages/settings/card/reasonsCreate/index.tsx b/src/pages/settings/card/reasonsCreate/index.tsx index fff4537..c5de2f4 100644 --- a/src/pages/settings/card/reasonsCreate/index.tsx +++ b/src/pages/settings/card/reasonsCreate/index.tsx @@ -1,33 +1,13 @@ -import { useNavigate, } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { CardReasonForm } from '@/features/cardReasons/components/reasonForm' export function CardReasonCreatePage() { - const navigate = useNavigate() const { t } = useTranslation() return (
- +

{t('CardReasons.create.title', 'Kartyň çykarylmagynyň sebäbi dörediň')}

diff --git a/src/pages/settings/card/reasonsEdit/index.tsx b/src/pages/settings/card/reasonsEdit/index.tsx index 87241b6..3baa1ab 100644 --- a/src/pages/settings/card/reasonsEdit/index.tsx +++ b/src/pages/settings/card/reasonsEdit/index.tsx @@ -1,4 +1,4 @@ -import { useNavigate, useParams } from "react-router-dom"; +import { useParams } from "react-router-dom"; import { useTranslation } from "react-i18next"; import { CardReasonForm } from "@/features/cardReasons/components/reasonForm"; import { useCardReasonById } from "@/features/cardReasons/hooks/useCardReasons"; @@ -7,7 +7,6 @@ import { useCardReasonById } from "@/features/cardReasons/hooks/useCardReasons"; export function CardReasonEditPage() { const { id } = useParams<{ id: string }>(); - const navigate = useNavigate(); const { t } = useTranslation(); const numericId = Number(id); @@ -16,25 +15,7 @@ export function CardReasonEditPage() { return (
- +

{isLoading ? "..." diff --git a/src/pages/settings/card/reasonsView/index.tsx b/src/pages/settings/card/reasonsView/index.tsx index 09d13de..371c4ba 100644 --- a/src/pages/settings/card/reasonsView/index.tsx +++ b/src/pages/settings/card/reasonsView/index.tsx @@ -33,28 +33,10 @@ export function CardReasonViewPage() { return (
- {/* Breadcrumb + actions */} +
- +

{isLoading ? '...' diff --git a/src/pages/settings/loan/loanTypesView/index.tsx b/src/pages/settings/loan/loanTypesView/index.tsx index 9cc0e27..9881c9f 100644 --- a/src/pages/settings/loan/loanTypesView/index.tsx +++ b/src/pages/settings/loan/loanTypesView/index.tsx @@ -69,26 +69,7 @@ export default function LoanTypeViewPage() { // ── View ─────────────────────────────────────────────────────────────────── return (
- {/* Breadcrumb */} -
- navigate('/resources')} - > - {t('nav.resources', 'Resurslar')} - - / - navigate('/resources/loan-types')} - > - {t('loanTypes.title', 'Karz görnüşleri')} - - / - - {t('loanTypes.viewTitle', 'Karz görnüşi giňişleýin')}: {data.name[lang]} - -
+ {/* Page header */}
diff --git a/src/pages/settings/location/branches/index.tsx b/src/pages/settings/location/branches/index.tsx index b540e1f..9e209d8 100644 --- a/src/pages/settings/location/branches/index.tsx +++ b/src/pages/settings/location/branches/index.tsx @@ -189,13 +189,7 @@ export function BranchesListPage() {
- +

{t('branches.title', 'Şahamçalar')}

diff --git a/src/pages/settings/location/branchesCreate/index.tsx b/src/pages/settings/location/branchesCreate/index.tsx index e96ff16..7da4f1e 100644 --- a/src/pages/settings/location/branchesCreate/index.tsx +++ b/src/pages/settings/location/branchesCreate/index.tsx @@ -1,33 +1,13 @@ -import { useNavigate } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { BranchForm } from '@/features/branches/components/branchesForm' export default function BranchCreatePage() { - const navigate = useNavigate() const { t } = useTranslation() return (
- +

{t('branches.create.title', 'Şahamça döretmek')} diff --git a/src/pages/settings/location/branchesView/index.tsx b/src/pages/settings/location/branchesView/index.tsx index db3a0c3..929b34e 100644 --- a/src/pages/settings/location/branchesView/index.tsx +++ b/src/pages/settings/location/branchesView/index.tsx @@ -32,25 +32,7 @@ export function BranchViewPage() {
- +

{isLoading ? '...' diff --git a/src/pages/settings/location/districts/index.tsx b/src/pages/settings/location/districts/index.tsx index 5299480..a8c8ed1 100644 --- a/src/pages/settings/location/districts/index.tsx +++ b/src/pages/settings/location/districts/index.tsx @@ -157,13 +157,7 @@ export function DistrictsListPage() {
- +

{t('districts.title', 'Etraplar')}

diff --git a/src/pages/settings/location/districtsCreate/index.tsx b/src/pages/settings/location/districtsCreate/index.tsx index 6c839f9..0dd74d1 100644 --- a/src/pages/settings/location/districtsCreate/index.tsx +++ b/src/pages/settings/location/districtsCreate/index.tsx @@ -1,33 +1,13 @@ -import { useNavigate } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { DistrictForm } from '@/features/districts/components/districtsForm' export default function DistrictCreatePage() { - const navigate = useNavigate() const { t } = useTranslation() return (
- +

{t('districts.create.title', 'Etrap döretmek')} diff --git a/src/pages/settings/location/districtsEdit/index.tsx b/src/pages/settings/location/districtsEdit/index.tsx index 9aa6132..412b1a5 100644 --- a/src/pages/settings/location/districtsEdit/index.tsx +++ b/src/pages/settings/location/districtsEdit/index.tsx @@ -1,11 +1,10 @@ -import { useNavigate, useParams } from 'react-router-dom' +import { useParams } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { DistrictForm } from '@/features/districts/components/districtsForm' import { useDistrictById } from '@/features/districts/hooks/useDistricts' export default function DistrictEditPage() { const { id } = useParams<{ id: string }>() - const navigate = useNavigate() const { t } = useTranslation() const numericId = Number(id) @@ -14,25 +13,7 @@ export default function DistrictEditPage() { return (
- +

{isLoading diff --git a/src/pages/settings/location/districtsView/index.tsx b/src/pages/settings/location/districtsView/index.tsx index 172463e..b3aa914 100644 --- a/src/pages/settings/location/districtsView/index.tsx +++ b/src/pages/settings/location/districtsView/index.tsx @@ -32,25 +32,7 @@ export function DistrictViewPage() {
- +

{isLoading ? '...' diff --git a/src/pages/users/allUsers/index.tsx b/src/pages/users/allUsers/index.tsx index 7848e10..eae8b18 100644 --- a/src/pages/users/allUsers/index.tsx +++ b/src/pages/users/allUsers/index.tsx @@ -190,19 +190,7 @@ export default function UsersListPage() { // ── Render ───────────────────────────────────────────────────────────────── return (
- {/* Page header */} -
- -

- {t('users.title', 'Ulanyjylar')} -

-
+ {/* Toolbar */} - {/* Breadcrumb */} - + {/* Title + actions */}
diff --git a/src/pages/users/clientsCreate/index.tsx b/src/pages/users/clientsCreate/index.tsx index f03fa2d..d788d02 100644 --- a/src/pages/users/clientsCreate/index.tsx +++ b/src/pages/users/clientsCreate/index.tsx @@ -1,27 +1,12 @@ import { useTranslation } from 'react-i18next' -import { useNavigate } from 'react-router-dom' -import { ChevronRight } from 'lucide-react' import { ClientForm } from '@/features/clients/components/clientForm' export default function ClientCreatePage() { const { t } = useTranslation() - const navigate = useNavigate() return (
- {/* Breadcrumb */} - + {/* Page heading */}

diff --git a/src/pages/users/clientsView/index.tsx b/src/pages/users/clientsView/index.tsx index 7752443..f86b145 100644 --- a/src/pages/users/clientsView/index.tsx +++ b/src/pages/users/clientsView/index.tsx @@ -1,6 +1,6 @@ import { useParams, useNavigate } from 'react-router-dom' import { useTranslation } from 'react-i18next' -import { Pencil, Trash2, ChevronDown, ChevronRight } from 'lucide-react' +import { Pencil, Trash2, ChevronDown } from 'lucide-react' import { useState } from 'react' import { Button } from '@/components/ui/button' import { @@ -143,15 +143,7 @@ export default function ClientDetailPage() { return (
- +

diff --git a/src/pages/users/operatorsCreate/index.tsx b/src/pages/users/operatorsCreate/index.tsx index 15d17b4..7c5532f 100644 --- a/src/pages/users/operatorsCreate/index.tsx +++ b/src/pages/users/operatorsCreate/index.tsx @@ -1,30 +1,13 @@ // ─── OperatorCreatePage.tsx ─────────────────────────────────────────────────── import { useTranslation } from 'react-i18next' -import { useNavigate } from 'react-router-dom' -import { ChevronRight } from 'lucide-react' import { OperatorForm } from '@/features/operators/components/operatorForms' export default function OperatorCreatePage() { const { t } = useTranslation() - const navigate = useNavigate() return (
- {/* Breadcrumb */} - - {/* Page heading */}

{t('operators.createTitle', 'Operator döredin')}