This commit is contained in:
parent
e211550569
commit
34b429c50f
1 changed files with 6 additions and 6 deletions
|
|
@ -224,8 +224,8 @@ export default function ProfilePage() {
|
||||||
{billingMessage ? <p style={{ color: 'green', margin: 0 }}>{billingMessage}</p> : null}
|
{billingMessage ? <p style={{ color: 'green', margin: 0 }}>{billingMessage}</p> : null}
|
||||||
{billingError ? <p style={{ color: 'red', margin: 0 }}>{billingError}</p> : null}
|
{billingError ? <p style={{ color: 'red', margin: 0 }}>{billingError}</p> : null}
|
||||||
<form onSubmit={onSaveBilling} style={{ display: 'grid', gap: 14 }}>
|
<form onSubmit={onSaveBilling} style={{ display: 'grid', gap: 14 }}>
|
||||||
<label className="amenity-option" style={{ maxWidth: 520, alignItems: 'center' }}>
|
<label className="amenity-option" style={{ maxWidth: 520, alignItems: 'center', flexWrap: 'nowrap' }}>
|
||||||
<div className="amenity-option-meta" style={{ fontWeight: 600 }}>
|
<div className="amenity-option-meta" style={{ fontWeight: 600, flex: 1, minWidth: 0 }}>
|
||||||
<span aria-hidden className="amenity-emoji">💸</span>
|
<span aria-hidden className="amenity-emoji">💸</span>
|
||||||
<span className="amenity-name">{t('billingEnableLabel')}</span>
|
<span className="amenity-name">{t('billingEnableLabel')}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -233,7 +233,7 @@ export default function ProfilePage() {
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={billingEnabled}
|
checked={billingEnabled}
|
||||||
onChange={(e) => setBillingEnabled(e.target.checked)}
|
onChange={(e) => setBillingEnabled(e.target.checked)}
|
||||||
style={{ width: 22, height: 22 }}
|
style={{ width: 22, height: 22, flexShrink: 0 }}
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
{billingEnabled ? (
|
{billingEnabled ? (
|
||||||
|
|
@ -247,8 +247,8 @@ export default function ProfilePage() {
|
||||||
{t('billingIbanLabel')}
|
{t('billingIbanLabel')}
|
||||||
<input value={billingIban} onChange={(e) => setBillingIban(e.target.value)} placeholder="FI00 1234 5600 0007 85" />
|
<input value={billingIban} onChange={(e) => setBillingIban(e.target.value)} placeholder="FI00 1234 5600 0007 85" />
|
||||||
</label>
|
</label>
|
||||||
<label className="amenity-option" style={{ maxWidth: 520, alignItems: 'center' }}>
|
<label className="amenity-option" style={{ maxWidth: 520, alignItems: 'center', flexWrap: 'nowrap' }}>
|
||||||
<div className="amenity-option-meta" style={{ fontWeight: 600 }}>
|
<div className="amenity-option-meta" style={{ fontWeight: 600, flex: 1, minWidth: 0 }}>
|
||||||
<span aria-hidden className="amenity-emoji">🧾</span>
|
<span aria-hidden className="amenity-emoji">🧾</span>
|
||||||
<span className="amenity-name">{t('billingIncludeVat')}</span>
|
<span className="amenity-name">{t('billingIncludeVat')}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -256,7 +256,7 @@ export default function ProfilePage() {
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={billingIncludeVatLine}
|
checked={billingIncludeVatLine}
|
||||||
onChange={(e) => setBillingIncludeVatLine(e.target.checked)}
|
onChange={(e) => setBillingIncludeVatLine(e.target.checked)}
|
||||||
style={{ width: 22, height: 22 }}
|
style={{ width: 22, height: 22, flexShrink: 0 }}
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue