- {t('corporate.companyCard.companyNameLabel')} -
-{companyData.companyName}
+ {!data ? ( + <>Loading> + ) : ( ++ {t('corporate.companyCard.companyNameLabel')} +
++ {data.group_name} +
++ {t('corporate.companyCard.cardsCountLabel')} +
+{data.total_cards}
++ {t('corporate.companyCard.registrationDateLabel')} +
+ ++ {new Date(data.created_at).toLocaleDateString( + 'en-GB', + )} +
+- {t('corporate.companyCard.cardsCountLabel')} -
-{companyData.numberOfCards}
-- {t('corporate.companyCard.registrationDateLabel')} -
-- {companyData.registrationDate} -
++ {t('corporate.companyCard.fundLabel')} +
++ {data.fund.toLocaleString()} {t('corporate.currency')} +
++ {t('corporate.companyCard.overdraftLabel')} +
++ {data.overdraft.toLocaleString()}{' '} + {t('corporate.currency')} +
+- {t('corporate.companyCard.fundLabel')} -
-- {companyData.fund.toLocaleString()}{' '} - {t('corporate.currency')} -
-- {t('corporate.companyCard.overdraftLabel')} -
-- {companyData.overdraft.toLocaleString()}{' '} - {t('corporate.currency')} -
-- {companyData.totalFund.toLocaleString()} -
-- {t('corporate.fundCard.currency')} -
-+ {data.fund_total?.toLocaleString()} +
++ {t('corporate.fundCard.currency')} +
+- {customerData.bonusPoints} -
-- {t('customer.bonusCard.points')} -
-{data.bonuses}
++ {t('customer.bonusCard.points')} +
+- {t('customer.infoCard.regDateLabel')} -
-- {customerData.firstName} {customerData.lastName} -
+ {!data || isLoading ? ( + // TODO: Bunyod please add loader here + <>Loader here> + ) : ( ++ {t('customer.infoCard.regDateLabel')} +
+{data.fullname}
++ {t('customer.infoCard.regDateLabel')} +
++ {new Date(data.reg_date).toLocaleDateString('en-GB')} +
+- {t('customer.infoCard.regDateLabel')} -
-- {customerData.registrationDate} -
++ {t('customer.infoCard.cardNumberLabel')} +
+{data.cardno}
+- {t('customer.infoCard.cardNumberLabel')} -
-{customerData.cardNumber}
-- {t('customer.infoCard.expiryDateLabel')} -
-{customerData.expiryDate}
-- {t('about.overview.description1')} -
-- {t('about.overview.description2')} -
-- {t('about.overview.description3')} -
++ {t('about.overview.description1')} +
++ {t('about.overview.description2')} +
++ {t('about.overview.description3')} +
-+ {t(`about.overview.benefits.${index}.description`)} +
+- {t(`about.overview.benefits.${index}.description`)} -
-+ {t('about.history.subtitle')} +
- {t('about.history.subtitle')} -
-+ {t('about.stations.subtitle')} +
- {t('about.stations.subtitle')} -
-- {t('about.stations.description')} -
- ++ {t('about.stations.description')} +
+ ++ {t('about.values.subtitle')} +
- {t('about.values.subtitle')} -
-- {t(`about.values.items.${index}.description`)} -
-+ {t(`about.values.items.${index}.description`)} +
+- {t('about.team.subtitle')} -
-- {t(`about.team.members.${index}.position`)} -
-+ {t('about.team.subtitle')} +
+{member.profession}
++ {t('about.testimonials.subtitle')} +
- {t('about.testimonials.subtitle')} -
-- "{t(`about.testimonials.items.${index}.text`)}" -
-- {t(`about.testimonials.items.${index}.name`)} -
-+ "{review.review}" +
+{review.fullname}
++ {t('charity.hero.subtitle')} +
- {t('charity.hero.subtitle')} -
- {t('charity.mission.description1')} -
-- {t('charity.mission.description2')} -
++ {t('charity.mission.description1')} +
++ {t('charity.mission.description2')} +
-- {t(`charity.mission.principles.${index}.description`)} -
++ {t(`charity.mission.principles.${index}.description`)} +
++ {t('charity.events.subtitle')} +
- {t('charity.events.subtitle')} -
-{event.description}
-{event.description}
++ {t('charity.help.subtitle')} +
- {t('charity.help.subtitle')} -
-{item.description}
-{item.description}
+- {t('clients.description')} -
++ {t('clients.description')} +
+
- {t('clients.loyalty.description')}
+
+ {t('clients.loyalty.description')}
+
+ {t('clients.loyalty.title')}
+
+
+ {t('clients.loyalty.programm.about-description')}
++ {t('clients.loyalty.programm.about-description-2')} +
+ ++ {t('clients.loyalty.programm.conditions.description-1')} +
++ {t('clients.loyalty.programm.conditions.description-2')} +
++ {t('clients.loyalty.programm.conditions.description-3')} +
+- {t('clients.loyalty.programm.about-description')} +
+ {t('clients.loyalty.works.description')}
-- {t('clients.loyalty.programm.about-description-2')} -
- -- {t('clients.loyalty.programm.conditions.description-1')} -
-- {t('clients.loyalty.programm.conditions.description-2')} -
-- {t('clients.loyalty.programm.conditions.description-3')} -
-- {t('clients.loyalty.works.description')} -
-- {t('clients.loyalty.works.levels.description')} -
+ {/* Loyalty Levels */} ++ {t('clients.loyalty.works.levels.description')} +
++ {t('clients.loyalty.works.levels.card.mark')} +
++ {t('clients.loyalty.works.levels.card.mark')} +
++ {t('clients.loyalty.works.levels.card.mark')} +
+- {t('clients.loyalty.works.levels.card.mark')} -
-- {t('clients.loyalty.works.levels.card.mark')} -
-- {t('clients.loyalty.works.levels.card.mark')} -
-{t('auth.description')}
{t('auth.description')}
-- {t('auth.loginIssues')}{' '} - - {t('auth.contactLink')} - -
++ {t('auth.loginIssues')}{' '} + + {t('auth.contactLink')} + +
+