🐛 fix(payment): Add notification URL field to payment management interface
This commit is contained in:
parent
6752420ba5
commit
5c710e1add
@ -197,7 +197,7 @@ export default function PaymentForm<T>({
|
||||
<FormLabel>{t('domain')}</FormLabel>
|
||||
<FormControl>
|
||||
<EnhancedInput
|
||||
placeholder={t('domainPlaceholder', { example: 'https://example.com' })}
|
||||
placeholder={t('domainPlaceholder', { example: 'http(s)://example.com' })}
|
||||
value={field.value}
|
||||
onValueChange={(value) => form.setValue('domain', value as string)}
|
||||
/>
|
||||
|
||||
@ -96,12 +96,8 @@ export default function PaymentTable() {
|
||||
cell: ({ row }) => <Badge>{t(row.getValue('platform'))}</Badge>,
|
||||
},
|
||||
{
|
||||
accessorKey: 'domain',
|
||||
header: t('domain'),
|
||||
cell: ({ row }) => {
|
||||
const domain = row.getValue('domain') as string;
|
||||
return domain ? <Badge variant='outline'>{domain}</Badge> : '--';
|
||||
},
|
||||
accessorKey: 'notify_url',
|
||||
header: t('notify_url'),
|
||||
},
|
||||
{
|
||||
accessorKey: 'fee',
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Zadejte název platební metody",
|
||||
"nameRequired": "Název je povinný",
|
||||
"noFee": "Žádný poplatek",
|
||||
"notify_url": "URL pro oznámení",
|
||||
"paymentManagement": "Správa plateb",
|
||||
"percentFee": "Procento",
|
||||
"platform": "Platforma",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Geben Sie den Namen der Zahlungsmethode ein",
|
||||
"nameRequired": "Name ist erforderlich",
|
||||
"noFee": "Keine Gebühr",
|
||||
"notify_url": "Benachrichtigungs-URL",
|
||||
"paymentManagement": "Zahlungsverwaltung",
|
||||
"percentFee": "Prozentsatz",
|
||||
"platform": "Plattform",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Enter payment method name",
|
||||
"nameRequired": "Name is required",
|
||||
"noFee": "No Fee",
|
||||
"notify_url": "Notify URL",
|
||||
"paymentManagement": "Payment Management",
|
||||
"percentFee": "Percentage",
|
||||
"platform": "Platform",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Ingrese el nombre del método de pago",
|
||||
"nameRequired": "El nombre es obligatorio",
|
||||
"noFee": "Sin Tarifa",
|
||||
"notify_url": "URL de notificación",
|
||||
"paymentManagement": "Gestión de Pagos",
|
||||
"percentFee": "Porcentaje",
|
||||
"platform": "Plataforma",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Ingrese el nombre del método de pago",
|
||||
"nameRequired": "El nombre es obligatorio",
|
||||
"noFee": "Sin Tarifa",
|
||||
"notify_url": "URL de notificación",
|
||||
"paymentManagement": "Gestión de Pagos",
|
||||
"percentFee": "Porcentaje",
|
||||
"platform": "Plataforma",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "نام روش پرداخت را وارد کنید",
|
||||
"nameRequired": "نام الزامی است",
|
||||
"noFee": "بدون هزینه",
|
||||
"notify_url": "آدرس اطلاعرسانی",
|
||||
"paymentManagement": "مدیریت پرداخت",
|
||||
"percentFee": "درصد",
|
||||
"platform": "پلتفرم",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Syötä maksutavan nimi",
|
||||
"nameRequired": "Nimi on pakollinen",
|
||||
"noFee": "Ei maksua",
|
||||
"notify_url": "Ilmoitus-URL",
|
||||
"paymentManagement": "Maksujen hallinta",
|
||||
"percentFee": "Prosentti",
|
||||
"platform": "Alusta",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Entrez le nom du mode de paiement",
|
||||
"nameRequired": "Le nom est requis",
|
||||
"noFee": "Pas de frais",
|
||||
"notify_url": "URL de notification",
|
||||
"paymentManagement": "Gestion des paiements",
|
||||
"percentFee": "Pourcentage",
|
||||
"platform": "Plateforme",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "भुगतान विधि का नाम दर्ज करें",
|
||||
"nameRequired": "नाम आवश्यक है",
|
||||
"noFee": "कोई शुल्क नहीं",
|
||||
"notify_url": "सूचना URL",
|
||||
"paymentManagement": "भुगतान प्रबंधन",
|
||||
"percentFee": "प्रतिशत",
|
||||
"platform": "प्लेटफ़ॉर्म",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Adja meg a fizetési mód nevét",
|
||||
"nameRequired": "A név megadása kötelező",
|
||||
"noFee": "Nincs díj",
|
||||
"notify_url": "Értesítési URL",
|
||||
"paymentManagement": "Fizetéskezelés",
|
||||
"percentFee": "Százalékos díj",
|
||||
"platform": "Platform",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "支払い方法の名前を入力してください",
|
||||
"nameRequired": "名前は必須です",
|
||||
"noFee": "手数料なし",
|
||||
"notify_url": "通知URL",
|
||||
"paymentManagement": "支払い管理",
|
||||
"percentFee": "パーセンテージ",
|
||||
"platform": "プラットフォーム",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "결제 수단 이름 입력",
|
||||
"nameRequired": "이름은 필수입니다",
|
||||
"noFee": "수수료 없음",
|
||||
"notify_url": "알림 URL",
|
||||
"paymentManagement": "결제 관리",
|
||||
"percentFee": "백분율",
|
||||
"platform": "플랫폼",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Skriv inn navn på betalingsmetode",
|
||||
"nameRequired": "Navn er påkrevd",
|
||||
"noFee": "Ingen gebyr",
|
||||
"notify_url": "Varslings-URL",
|
||||
"paymentManagement": "Betalingsadministrasjon",
|
||||
"percentFee": "Prosentandel",
|
||||
"platform": "Plattform",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Wprowadź nazwę metody płatności",
|
||||
"nameRequired": "Nazwa jest wymagana",
|
||||
"noFee": "Brak opłaty",
|
||||
"notify_url": "URL powiadomienia",
|
||||
"paymentManagement": "Zarządzanie płatnościami",
|
||||
"percentFee": "Procent",
|
||||
"platform": "Platforma",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Digite o nome do método de pagamento",
|
||||
"nameRequired": "O nome é obrigatório",
|
||||
"noFee": "Sem Taxa",
|
||||
"notify_url": "URL de Notificação",
|
||||
"paymentManagement": "Gerenciamento de Pagamento",
|
||||
"percentFee": "Porcentagem",
|
||||
"platform": "Plataforma",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Introdu numele metodei de plată",
|
||||
"nameRequired": "Numele este necesar",
|
||||
"noFee": "Fără Taxă",
|
||||
"notify_url": "URL de notificare",
|
||||
"paymentManagement": "Gestionare Plăți",
|
||||
"percentFee": "Procentaj",
|
||||
"platform": "Platformă",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Введите название способа оплаты",
|
||||
"nameRequired": "Название обязательно",
|
||||
"noFee": "Без комиссии",
|
||||
"notify_url": "URL уведомления",
|
||||
"paymentManagement": "Управление платежами",
|
||||
"percentFee": "Процент",
|
||||
"platform": "Платформа",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "กรอกชื่อวิธีการชำระเงิน",
|
||||
"nameRequired": "ชื่อเป็นสิ่งจำเป็น",
|
||||
"noFee": "ไม่มีค่าธรรมเนียม",
|
||||
"notify_url": "URL การแจ้งเตือน",
|
||||
"paymentManagement": "การจัดการการชำระเงิน",
|
||||
"percentFee": "เปอร์เซ็นต์",
|
||||
"platform": "แพลตฟอร์ม",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Ödeme yöntemi adını girin",
|
||||
"nameRequired": "İsim gereklidir",
|
||||
"noFee": "Ücret Yok",
|
||||
"notify_url": "Bildirim URL'si",
|
||||
"paymentManagement": "Ödeme Yönetimi",
|
||||
"percentFee": "Yüzde",
|
||||
"platform": "Platform",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Введіть назву способу оплати",
|
||||
"nameRequired": "Назва є обов'язковою",
|
||||
"noFee": "Без комісії",
|
||||
"notify_url": "URL сповіщення",
|
||||
"paymentManagement": "Управління платежами",
|
||||
"percentFee": "Відсоток",
|
||||
"platform": "Платформа",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "Nhập tên phương thức thanh toán",
|
||||
"nameRequired": "Tên là bắt buộc",
|
||||
"noFee": "Không Có Phí",
|
||||
"notify_url": "URL Thông Báo",
|
||||
"paymentManagement": "Quản Lý Thanh Toán",
|
||||
"percentFee": "Phần Trăm",
|
||||
"platform": "Nền Tảng",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "输入支付方式名称",
|
||||
"nameRequired": "名称是必填项",
|
||||
"noFee": "无费用",
|
||||
"notify_url": "通知网址",
|
||||
"paymentManagement": "支付管理",
|
||||
"percentFee": "百分比",
|
||||
"platform": "平台",
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
"namePlaceholder": "輸入付款方式名稱",
|
||||
"nameRequired": "名稱為必填",
|
||||
"noFee": "無費用",
|
||||
"notify_url": "通知網址",
|
||||
"paymentManagement": "付款管理",
|
||||
"percentFee": "百分比",
|
||||
"platform": "平台",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as ads from './ads';
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as auth from './auth';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user