|
|
|
|
@ -65,8 +65,8 @@ export const PageSubscriptions = () => { |
|
|
|
|
card, |
|
|
|
|
is_active, |
|
|
|
|
iso, |
|
|
|
|
lexic, |
|
|
|
|
name, |
|
|
|
|
option_name, |
|
|
|
|
price, |
|
|
|
|
purchase_type, |
|
|
|
|
sub_id, |
|
|
|
|
@ -78,15 +78,24 @@ export const PageSubscriptions = () => { |
|
|
|
|
<ScSubscribe key={`${access_to}${name}`}> |
|
|
|
|
<ScItem> |
|
|
|
|
<T9n t='subscription_plan' className='payment_title' /> |
|
|
|
|
<ScText className='payment_plan'> |
|
|
|
|
{option_name} — {name} |
|
|
|
|
<ScText |
|
|
|
|
isActive={is_active} |
|
|
|
|
className='payment_plan' |
|
|
|
|
> |
|
|
|
|
<T9n t={lexic} /> |
|
|
|
|
</ScText> |
|
|
|
|
</ScItem> |
|
|
|
|
<ScItemPaymentSum> |
|
|
|
|
<ScItem> |
|
|
|
|
<T9n t='sum' className='payment_title' /> |
|
|
|
|
<ScText> |
|
|
|
|
{iso} {price} |
|
|
|
|
<ScText isActive={is_active}> |
|
|
|
|
{is_active && !hideCancel ? `${iso} ${price}` : '—'} |
|
|
|
|
{is_active && purchase_type === 'subscription' && !hideCancel ? ( |
|
|
|
|
<> |
|
|
|
|
/ |
|
|
|
|
<T9n t='month' className='payment_plan' /> |
|
|
|
|
</> |
|
|
|
|
) : ''} |
|
|
|
|
</ScText> |
|
|
|
|
</ScItem> |
|
|
|
|
<ScItem> |
|
|
|
|
@ -98,14 +107,17 @@ export const PageSubscriptions = () => { |
|
|
|
|
} |
|
|
|
|
className='payment_title' |
|
|
|
|
/> |
|
|
|
|
<ScText> |
|
|
|
|
{format(new Date(access_to), 'd MMM yyyy')} |
|
|
|
|
<ScText isActive={is_active}> |
|
|
|
|
{is_active && !hideCancel ? format(new Date(access_to), 'd MMM yyyy') : '—'} |
|
|
|
|
</ScText> |
|
|
|
|
</ScItem> |
|
|
|
|
</ScItemPaymentSum> |
|
|
|
|
<ScItem> |
|
|
|
|
<ScItem className='isActive'> |
|
|
|
|
<T9n t='payment_method' className='payment_title' /> |
|
|
|
|
<ScText className='payment_method'> |
|
|
|
|
<ScText |
|
|
|
|
isActive={is_active} |
|
|
|
|
className='payment_method' |
|
|
|
|
> |
|
|
|
|
<ScCard>{card}</ScCard> |
|
|
|
|
{/* <Icon |
|
|
|
|
refIcon='Edit' |
|
|
|
|
|