added confirm dialog, some translations

This commit is contained in:
Jelaletdin12
2026-05-15 22:01:45 +05:00
parent b4085e5340
commit d832949746
78 changed files with 753 additions and 948 deletions

View File

@@ -40,9 +40,6 @@ export function useCreateIntlPayment() {
qc.invalidateQueries({ queryKey: INTL_PAYMENT_KEYS.lists() })
toast.success(t('intlPayment.createSuccess', 'Töleg döredildi'))
},
onError: () => {
toast.error(t('intlPayment.createError', 'Döretmek başartmady'))
},
})
}
@@ -56,9 +53,6 @@ export function useUpdateIntlPayment(id: string) {
qc.invalidateQueries({ queryKey: INTL_PAYMENT_KEYS.detail(id) })
toast.success(t('intlPayment.updateSuccess', 'Töleg üýtgedildi'))
},
onError: () => {
toast.error(t('intlPayment.updateError', 'Üýtgetmek başartmady'))
},
})
}
@@ -71,8 +65,5 @@ export function useDeleteIntlPayment() {
qc.invalidateQueries({ queryKey: INTL_PAYMENT_KEYS.lists() })
toast.success(t('intlPayment.deleteSuccess', 'Töleg pozuldy'))
},
onError: () => {
toast.error(t('intlPayment.deleteError', 'Pozmak başartmady'))
},
})
}