dev #21

Merged
Seazn merged 35 commits from dev into main 2026-05-21 17:34:44 +00:00
Showing only changes of commit 839879ed95 - Show all commits

View File

@ -304,7 +304,7 @@ export default function CreateSubscriptionPage() {
<div className="grid grid-cols-1 gap-6 sm:grid-cols-2">
{/* Price */}
<div>
<label htmlFor="price" className="block text-sm font-semibold text-slate-700 mb-1">Price</label>
<label htmlFor="price" className="block text-sm font-semibold text-slate-700 mb-1">Price per pack</label>
<input
id="price"
name="price"
@ -318,6 +318,7 @@ export default function CreateSubscriptionPage() {
onChange={e => setPrice(e.target.value)}
onBlur={e => { const n = parseFloat(e.target.value); if (!isNaN(n)) setPrice(n.toFixed(2)); }}
/>
<p className="mt-1 text-xs text-slate-500">Enter the gross price for one pack. The system converts it to the internal per-capsule value automatically.</p>
</div>
{/* Currency */}