Merge pull request 'fixed-issue(15): fixed currency price conversion and total chargable display' (#53) from currency-conversion into main

Reviewed-on: https://10.10.0.4/AcuPedia/acupedia-store-ui/pulls/53
Reviewed-by: Amit Salunke <amit@noreply.localhost>
This commit is contained in:
Amit Salunke 2026-10-14 09:22:32 +00:00
commit c5782b17b3
4 changed files with 103 additions and 104 deletions

View File

@ -664,10 +664,18 @@ export default function App() {
console.error('Pricing engine calculation error:', err);
if (appliedCoupon) {
const errorMsg = err.response?.data?.detail || 'Invalid or expired coupon code.';
setPricingCalc((prev: any) => ({
...(prev || {}),
coupon_error: errorMsg,
}));
setPricingCalc((prev: any) => {
if (!prev || prev.currency !== currency) {
return {
currency,
coupon_error: errorMsg,
};
}
return {
...prev,
coupon_error: errorMsg,
};
});
} else {
setPricingCalc(null);
}

View File

@ -39,6 +39,30 @@ export const CartDrawer: React.FC<CartDrawerProps> = ({
checkoutLoading,
handleCheckout,
}) => {
const fallbackCalc = cart.length > 0 ? (() => {
const subtotal = cart.reduce((acc, item) => {
const price = currency === 'INR' ? item.priceInr : currency === 'EUR' ? item.priceEur : item.priceUsd;
return acc + (Number(price) || 0);
}, 0);
return {
currency,
base_subtotal: subtotal,
bundle_discount_amount: 0,
coupon_discount_amount: 0,
total_discounts: 0,
convenience_fee_rate: 0,
convenience_fee: 0,
taxable_amount: 0,
gst_amount: 0,
grand_total: subtotal,
discount_policy: 'None',
coupon_applied: 'None',
coupon_error: null,
};
})() : null;
const activePricing = (pricingCalc && pricingCalc.currency === currency) ? pricingCalc : fallbackCalc;
return (
<div className="xl:col-span-1">
<div className="sticky top-12 bg-white border border-slate-200 rounded-3xl p-6 shadow-xl space-y-6">
@ -58,21 +82,19 @@ export const CartDrawer: React.FC<CartDrawerProps> = ({
<div className="flex bg-slate-100 rounded-lg p-0.5 border border-slate-200 self-end sm:self-auto flex-shrink-0">
<button
onClick={() => setCurrency('INR')}
className={`px-3 py-1 rounded-md text-xs font-bold transition-all duration-300 ${
currency === 'INR'
className={`px-3 py-1 rounded-md text-xs font-bold transition-all duration-300 ${currency === 'INR'
? 'bg-white text-slate-900 shadow-sm border border-slate-200/50'
: 'text-slate-500 hover:text-slate-800'
}`}
}`}
>
INR (₹)
</button>
<button
onClick={() => setCurrency('USD')}
className={`px-3 py-1 rounded-md text-xs font-bold transition-all duration-300 ${
currency === 'USD'
className={`px-3 py-1 rounded-md text-xs font-bold transition-all duration-300 ${currency === 'USD'
? 'bg-white text-slate-900 shadow-sm border border-slate-200/50'
: 'text-slate-500 hover:text-slate-800'
}`}
}`}
>
USD ($)
</button>
@ -103,9 +125,7 @@ export const CartDrawer: React.FC<CartDrawerProps> = ({
<div className="flex items-center gap-3">
<span className="text-xs font-bold text-indigo-600">
{(() => {
const calculatedItem = pricingCalc?.currency === currency
? pricingCalc?.cart_items?.find((ci: any) => ci.code === item.code)
: null;
const calculatedItem = activePricing?.cart_items?.find((ci: any) => ci.code === item.code);
const price = calculatedItem
? calculatedItem.price
: (currency === 'INR' ? item.priceInr : currency === 'EUR' ? item.priceEur : item.priceUsd);
@ -184,88 +204,94 @@ export const CartDrawer: React.FC<CartDrawerProps> = ({
<span>Calculating {currency} pricing...</span>
</div>
)}
{pricingCalc && pricingCalc.currency === currency && cart.length > 0 && (
{activePricing && cart.length > 0 && (
<div className="space-y-3 bg-slate-50 border border-slate-200/60 p-4 rounded-2xl">
<div className="flex justify-between text-xs text-slate-600 font-bold">
<span>Base Subtotal</span>
<span>
{currency === 'INR'
? `₹${pricingCalc.base_subtotal}`
? `₹${activePricing.base_subtotal}`
: currency === 'EUR'
? `€${pricingCalc.base_subtotal}`
: `$${pricingCalc.base_subtotal}`}
? `€${activePricing.base_subtotal}`
: `$${activePricing.base_subtotal}`}
</span>
</div>
{pricingCalc.bundle_discount_amount > 0 && (
{activePricing.bundle_discount_amount > 0 && (
<div className="flex justify-between text-xs text-emerald-700 font-bold">
<span>Bundle Discount</span>
<span>
{activePricing.discount_policy && activePricing.discount_policy !== 'None'
? (activePricing.discount_policy.startsWith('Staggered Buy:')
? activePricing.discount_policy.replace('Staggered Buy:', 'Loyalty Discount:')
: activePricing.discount_policy)
: 'Loyalty Discount'}
</span>
<span>
-{currency === 'INR'
? `₹${pricingCalc.bundle_discount_amount}`
? `₹${activePricing.bundle_discount_amount}`
: currency === 'EUR'
? `€${pricingCalc.bundle_discount_amount}`
: `$${pricingCalc.bundle_discount_amount}`}
? `€${activePricing.bundle_discount_amount}`
: `$${activePricing.bundle_discount_amount}`}
</span>
</div>
)}
{pricingCalc.coupon_discount_amount > 0 && (
{activePricing.coupon_discount_amount > 0 && (
<div className="flex justify-between text-xs text-emerald-700 font-bold">
<span>Coupon Discount ({appliedCoupon})</span>
<span>
-{currency === 'INR'
? `₹${pricingCalc.coupon_discount_amount}`
? `₹${activePricing.coupon_discount_amount}`
: currency === 'EUR'
? `€${pricingCalc.coupon_discount_amount}`
: `$${pricingCalc.coupon_discount_amount}`}
? `€${activePricing.coupon_discount_amount}`
: `$${activePricing.coupon_discount_amount}`}
</span>
</div>
)}
{pricingCalc.total_discounts > 0 &&
!pricingCalc.bundle_discount_amount &&
!pricingCalc.coupon_discount_amount && (
{activePricing.total_discounts > 0 &&
!activePricing.bundle_discount_amount &&
!activePricing.coupon_discount_amount && (
<div className="flex justify-between text-xs text-emerald-700 font-bold">
<span>Total Discounts</span>
<span>
-{currency === 'INR'
? `₹${pricingCalc.total_discounts}`
? `₹${activePricing.total_discounts}`
: currency === 'EUR'
? `€${pricingCalc.total_discounts}`
: `$${pricingCalc.total_discounts}`}
? `€${activePricing.total_discounts}`
: `$${activePricing.total_discounts}`}
</span>
</div>
)}
{pricingCalc.convenience_fee > 0 && (
{activePricing.convenience_fee > 0 && (
<div className="flex justify-between text-xs text-slate-600 font-bold">
<span>Gateway fee ({pricingCalc.convenience_fee_rate}%)</span>
<span>Gateway fee ({activePricing.convenience_fee_rate}%)</span>
<span>
{currency === 'INR'
? `₹${pricingCalc.convenience_fee}`
? `₹${activePricing.convenience_fee}`
: currency === 'EUR'
? `€${pricingCalc.convenience_fee}`
: `$${pricingCalc.convenience_fee}`}
? `€${activePricing.convenience_fee}`
: `$${activePricing.convenience_fee}`}
</span>
</div>
)}
{pricingCalc.gst_amount > 0 && (
{activePricing.gst_amount > 0 && (
<div className="space-y-0.5">
<div className="flex justify-between text-xs text-slate-600 font-bold">
<span>GST (18%)</span>
<span>
{currency === 'INR'
? `₹${pricingCalc.gst_amount}`
? `₹${activePricing.gst_amount}`
: currency === 'EUR'
? `€${pricingCalc.gst_amount}`
: `$${pricingCalc.gst_amount}`}
? `€${activePricing.gst_amount}`
: `$${activePricing.gst_amount}`}
</span>
</div>
<div className="flex justify-between text-[10px] text-slate-400 font-semibold italic">
<span>
(Taxable Amount:{' '}
{currency === 'INR'
? `₹${pricingCalc.taxable_amount}`
? `₹${activePricing.taxable_amount}`
: currency === 'EUR'
? `€${pricingCalc.taxable_amount}`
: `$${pricingCalc.taxable_amount}`}
? `€${activePricing.taxable_amount}`
: `$${activePricing.taxable_amount}`}
)
</span>
<span></span>
@ -277,10 +303,10 @@ export const CartDrawer: React.FC<CartDrawerProps> = ({
<span>Total Chargeable</span>
<span className="text-indigo-600 text-lg font-extrabold">
{currency === 'INR'
? `₹${pricingCalc.grand_total}`
? `₹${activePricing.grand_total}`
: currency === 'EUR'
? `€${pricingCalc.grand_total}`
: `$${pricingCalc.grand_total}`}
? `€${activePricing.grand_total}`
: `$${activePricing.grand_total}`}
</span>
</div>
</div>

View File

@ -22,42 +22,7 @@ export const PaymentSuccessModal: React.FC<PaymentSuccessModalProps> = ({
returnRoute,
appScheme,
}) => {
const [desktopNotice, setDesktopNotice] = useState(false);
// Handler to reliably launch the Acupedia Mobile App across platforms (Android, iOS, and Desktop)
const handleOpenApp = (e: React.MouseEvent) => {
e.preventDefault();
const userAgent = navigator.userAgent || '';
const isAndroid = /Android/i.test(userAgent);
const isIOS = /iPhone|iPad|iPod/i.test(userAgent);
if (isAndroid) {
// Android Chrome requires an Intent URI format to launch apps by package and scheme reliably
const intentUrl = 'intent://#Intent;scheme=acupedia;package=com.anonymous.acupedia;end';
window.location.href = intentUrl;
// Fallback to custom URI schemes in case intent fails or Expo uses alternate scheme
setTimeout(() => {
window.location.href = 'acupedia://';
}, 500);
setTimeout(() => {
window.location.href = 'myapp://';
}, 1000);
} else if (isIOS) {
// iOS Safari and Chrome handle custom URI schemes directly
window.location.href = 'acupedia://';
// Fallback in case Expo uses default 'myapp://' scheme
setTimeout(() => {
window.location.href = 'myapp://';
}, 500);
} else {
// On desktop browsers, try opening the registered custom scheme
window.location.href = 'acupedia://';
// Show helpful desktop feedback informing the user how to access content on mobile
setDesktopNotice(true);
}
};
const [desktopNotice] = useState(false);
return (
<div className="fixed inset-0 z-[100] flex items-center justify-center p-4 bg-slate-950/75 backdrop-blur-md transition-all duration-300">
<div className="relative w-full max-w-xl bg-slate-900 border border-slate-800 rounded-2xl p-5 md:p-6 space-y-4 shadow-2xl text-slate-100 overflow-hidden animate-in fade-in zoom-in-95 duration-200">

View File

@ -11,33 +11,33 @@ export interface ModuleItem {
export const CURRICULUM_MODULES: ModuleItem[] = [
// 1. Points Category
{ code: 'POINTS_ACU', name: 'Points: Acu (EOV+Cat+Ext+MR)', category: 'Points', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Unlocks Master Acupuncture Points, Extraordinary Vessels, Category/Extension Rules, and Meridian Stimulations.', color: 'from-blue-500 to-indigo-600' },
{ code: 'POINTS_SCALP', name: 'Points: Scalp', category: 'Points', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Unlocks High-Performance Scalp Acupuncture Mapping for specialized clinical neurological disorders.', color: 'from-indigo-500 to-purple-600' },
{ code: 'POINTS_EAR', name: 'Points: Ear / Auricular', category: 'Points', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Unlocks specialized Ear Micro-System Reflex stimulations, anatomy mapping, and reflexes.', color: 'from-purple-500 to-pink-600' },
{ code: 'POINTS_TUNG', name: 'Master Tung', category: 'Points', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Unlocks Master Tung\'s legendary extra points, clinical distals, and unique point properties.', color: 'from-pink-500 to-rose-600' },
{ code: 'POINTS_PACK', name: 'Points: Complete Pack', category: 'Points', priceInr: 2, priceUsd: 2.0, priceEur: 2.0, desc: '1 Year: Unlock all 4 Points modules (Acu, Scalp, Ear, and Master Tung) at once for ultimate master-level access.', color: 'from-indigo-600 to-pink-600' },
{ code: 'POINTS_ACU', name: 'Points: Acu (EOV+Cat+Ext+MR)', category: 'Points', priceInr: 300, priceUsd: 5.0, priceEur: 5.0, desc: '1 Year: Unlocks Master Acupuncture Points, Extraordinary Vessels, Category/Extension Rules, and Meridian Stimulations.', color: 'from-blue-500 to-indigo-600' },
{ code: 'POINTS_SCALP', name: 'Points: Scalp', category: 'Points', priceInr: 100, priceUsd: 2.0, priceEur: 2.0, desc: '1 Year: Unlocks High-Performance Scalp Acupuncture Mapping for specialized clinical neurological disorders.', color: 'from-indigo-500 to-purple-600' },
{ code: 'POINTS_EAR', name: 'Points: Ear / Auricular', category: 'Points', priceInr: 200, priceUsd: 3.0, priceEur: 3.0, desc: '1 Year: Unlocks specialized Ear Micro-System Reflex stimulations, anatomy mapping, and reflexes.', color: 'from-purple-500 to-pink-600' },
{ code: 'POINTS_TUNG', name: 'Master Tung', category: 'Points', priceInr: 300, priceUsd: 5.0, priceEur: 5.0, desc: '1 Year: Unlocks Master Tung\'s legendary extra points, clinical distals, and unique point properties.', color: 'from-pink-500 to-rose-600' },
{ code: 'POINTS_PACK', name: 'Points: Complete Pack', category: 'Points', priceInr: 900, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Unlock all 4 Points modules (Acu, Scalp, Ear, and Master Tung) at once for ultimate master-level access.', color: 'from-indigo-600 to-pink-600' },
// 2. Pattern Category — Individual sub-modules (all map to PATTERN_CORE plan)
{ code: 'PATTERN_CORE', name: 'Eight Principles', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Exterior/Interior, Cold/Heat, Deficiency/Excess, Yin/Yang pattern differentiation.', color: 'from-violet-500 to-purple-600' },
{ code: 'PATTERN_CORE', name: 'Zang-Fu Organs', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Zangfu organ and channel identification across 12 organ systems.', color: 'from-cyan-500 to-blue-600' },
{ code: 'PATTERN_CORE', name: 'Qi, Blood & Body Fluids', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Qi, Blood, and Body Fluid identification of pathological patterns.', color: 'from-blue-500 to-indigo-600' },
{ code: 'PATTERN_CORE', name: 'Pathogenic Factors', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Wind, Cold, Summer-Heat, Dampness, Dryness, Fire pattern identification.', color: 'from-amber-500 to-orange-600' },
{ code: 'PATTERN_CORE', name: 'Six Stages', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Tai Yang, Yang Ming, Shao Yang, Tai Yin, Shao Yin, Jue Yin stage differentiation.', color: 'from-emerald-500 to-green-600' },
{ code: 'PATTERN_CORE', name: 'Four Levels', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Wei, Qi, Ying, Xue level pattern identification for warm diseases.', color: 'from-red-500 to-rose-600' },
{ code: 'PATTERN_CORE', name: 'Three Burners', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Upper, Middle, and Lower Burner (San Jiao) pattern identification.', color: 'from-pink-500 to-fuchsia-600' },
{ code: 'PATTERN_CORE', name: 'Five Elements', category: 'Pattern', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Wood, Fire, Earth, Metal, Water relationships and clinical patterns.', color: 'from-indigo-500 to-violet-600' },
{ code: 'PATTERN_CORE', name: 'Pattern: Complete Pack', category: 'Pattern', priceInr: 2, priceUsd: 2.0, priceEur: 2.0, desc: '1 Year: Unlock all 8 Pattern Diagnosis methodologies at once for complete syndrome differentiation mastery.', color: 'from-rose-600 to-orange-600' },
{ code: 'PATTERN_CORE', name: 'Eight Principles', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Exterior/Interior, Cold/Heat, Deficiency/Excess, Yin/Yang pattern differentiation.', color: 'from-violet-500 to-purple-600' },
{ code: 'PATTERN_CORE', name: 'Zang-Fu Organs', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Zangfu organ and channel identification across 12 organ systems.', color: 'from-cyan-500 to-blue-600' },
{ code: 'PATTERN_CORE', name: 'Qi, Blood & Body Fluids', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Qi, Blood, and Body Fluid identification of pathological patterns.', color: 'from-blue-500 to-indigo-600' },
{ code: 'PATTERN_CORE', name: 'Pathogenic Factors', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Wind, Cold, Summer-Heat, Dampness, Dryness, Fire pattern identification.', color: 'from-amber-500 to-orange-600' },
{ code: 'PATTERN_CORE', name: 'Six Stages', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Tai Yang, Yang Ming, Shao Yang, Tai Yin, Shao Yin, Jue Yin stage differentiation.', color: 'from-emerald-500 to-green-600' },
{ code: 'PATTERN_CORE', name: 'Four Levels', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Wei, Qi, Ying, Xue level pattern identification for warm diseases.', color: 'from-red-500 to-rose-600' },
{ code: 'PATTERN_CORE', name: 'Three Burners', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Upper, Middle, and Lower Burner (San Jiao) pattern identification.', color: 'from-pink-500 to-fuchsia-600' },
{ code: 'PATTERN_CORE', name: 'Five Elements', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Wood, Fire, Earth, Metal, Water relationships and clinical patterns.', color: 'from-indigo-500 to-violet-600' },
{ code: 'PATTERN_CORE', name: 'Pattern: Complete Pack', category: 'Pattern', priceInr: 500, priceUsd: 10.0, priceEur: 10.0, desc: '1 Year: Unlock all 8 Pattern Diagnosis methodologies at once for complete syndrome differentiation mastery.', color: 'from-rose-600 to-orange-600' },
// 3. Nutrition Category — Individual sub-modules (all map to NUTRITION_CORE plan)
{ code: 'NUTRITION_CORE', name: 'Food Categories', category: 'Nutrition', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Nutritional food category classifications, thermal properties, and dietetic groupings.', color: 'from-emerald-500 to-teal-600' },
{ code: 'NUTRITION_CORE', name: 'Food Items', category: 'Nutrition', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Individual food item properties, indications, and therapeutic applications.', color: 'from-green-500 to-emerald-600' },
{ code: 'NUTRITION_CORE', name: 'Nutrition: Complete Pack', category: 'Nutrition', priceInr: 2, priceUsd: 2.0, priceEur: 2.0, desc: '1 Year: Unlock all Nutrition & Dietetics modules for complete clinical dietary therapy mastery.', color: 'from-teal-500 to-green-600' },
{ code: 'NUTRITION_CORE', name: 'Food Categories', category: 'Nutrition', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Nutritional food category classifications, thermal properties, and dietetic groupings.', color: 'from-emerald-500 to-teal-600' },
{ code: 'NUTRITION_CORE', name: 'Food Items', category: 'Nutrition', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Individual food item properties, indications, and therapeutic applications.', color: 'from-green-500 to-emerald-600' },
{ code: 'NUTRITION_CORE', name: 'Nutrition: Complete Pack', category: 'Nutrition', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Unlock all Nutrition & Dietetics modules for complete clinical dietary therapy mastery.', color: 'from-teal-500 to-green-600' },
// 4. Therapeutics Category
{ code: 'THERAPEUTICS_GYNAE', name: 'Therapeutics: Gynecology', category: 'Therapeutics', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Unlocks advanced clinical Gynecology treatment protocols, syndromes, and corresponding points.', color: 'from-teal-500 to-cyan-500' },
{ code: 'THERAPEUTICS_EAR', name: 'Therapeutics: Ear reflexology', category: 'Therapeutics', priceInr: 1, priceUsd: 1.0, priceEur: 1.0, desc: '1 Year: Unlocks comprehensive ear micro-system treatment procedures and specific clinical ear protocols.', color: 'from-cyan-500 to-blue-600' },
{ code: 'THERAPEUTICS_CORE', name: 'Therapeutics Complete Bundle', category: 'Therapeutics', priceInr: 2, priceUsd: 2.0, priceEur: 2.0, desc: '1 Year: Unlocks both advanced clinical Gynecology and Ear Reflexology therapeutics treatment protocols.', color: 'from-teal-500 to-blue-600' },
{ code: 'THERAPEUTICS_GYNAE', name: 'Therapeutics: Gynecology', category: 'Therapeutics', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Unlocks advanced clinical Gynecology treatment protocols, syndromes, and corresponding points.', color: 'from-teal-500 to-cyan-500' },
{ code: 'THERAPEUTICS_EAR', name: 'Therapeutics: Ear reflexology', category: 'Therapeutics', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Unlocks comprehensive ear micro-system treatment procedures and specific clinical ear protocols.', color: 'from-cyan-500 to-blue-600' },
{ code: 'THERAPEUTICS_CORE', name: 'Therapeutics Complete Bundle', category: 'Therapeutics', priceInr: 1200, priceUsd: 30.0, priceEur: 30.0, desc: '1 Year: Unlocks both advanced clinical Gynecology and Ear Reflexology therapeutics treatment protocols.', color: 'from-teal-500 to-blue-600' },
// 5. Lifetime Access
{ code: 'LIFETIME_ALL', name: 'Lifetime Unlimited Access Pass', category: 'Lifetime', priceInr: 2, priceUsd: 2.0, priceEur: 2.0, desc: '10 Years: Unlock all 10 current modules + all future updates. Includes official master clinical certificate.', color: 'from-yellow-500 to-amber-600' }
{ code: 'LIFETIME_ALL', name: 'Lifetime Unlimited Access Pass', category: 'Lifetime', priceInr: 15000, priceUsd: 350.0, priceEur: 350.0, desc: '10 Years: Unlock all 10 current modules + all future updates. Includes official master clinical certificate.', color: 'from-yellow-500 to-amber-600' }
];