feat: abonelik iptal ekranı (ayrılma nedeni + açıklama) & gerçek abonelik rozeti (yönetici erişimi aboneliği gizlemesin)

This commit is contained in:
2026-08-29 21:47:58 +03:00
parent 5d502c8ae4
commit 65997055fe
8 changed files with 261 additions and 7 deletions
+4
View File
@@ -74,3 +74,7 @@ export function formatBayt(b) {
if (b < 1024 * 1024 * 1024) return `${(b / 1024 / 1024).toFixed(1)} MB`;
return `${(b / 1024 / 1024 / 1024).toFixed(2)} GB`;
}
// --- Abonelik iptali ---
export const cancelSubscription = (neden, aciklama) =>
iste('/api/billing/cancel', { method: 'POST', body: JSON.stringify({ neden, aciklama }) });