MonEspacePro/pro/app/loyalty.tsx
Tony AVERTY b75e396bde Parrainage (formule Pro)
- Code personnel par carte, lien d'inscription ?parrain=CODE (page de la carte, dos Apple, liens Google)
- Bandeau « X vous invite » à l'inscription ; bouton Partager (partage natif ou copie)
- Récompense au premier passage du filleul : parrain et filleul (réglables), une fois,
  au plus 10 récompenses par parrain sur 30 jours
- Notifications via la rubrique Actualité (message personnel)
- Admin : carte Parrainage ; app Pro : écran dans Fidélisation
- Migration manuelle 2026-10-07-parrainage.sql

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:42:55 +02:00

17 lines
931 B
TypeScript

import { ScrollView } from 'react-native';
import { router } from 'expo-router';
import { Button, T } from '../src/ui';
/** Outils de fidélisation (gérants, formule Pro). */
export default function Loyalty() {
return (
<ScrollView contentContainerStyle={{ padding: 20, gap: 12 }}>
<T v="muted">Faites revenir vos clients avec des messages sur leur carte Wallet.</T>
<Button label="Envoyer une campagne" variant="secondary" onPress={() => router.push('/campaigns')} />
<Button label="Relance des clients inactifs" variant="secondary" onPress={() => router.push('/reminders')} />
<Button label="Offre d'anniversaire" variant="secondary" onPress={() => router.push('/birthday')} />
<Button label="Avis Google" variant="secondary" onPress={() => router.push('/reviews')} />
<Button label="Parrainage" variant="secondary" onPress={() => router.push('/referral')} />
</ScrollView>
);
}