subscription.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  1. <!--
  2. Page 'Mon abonnement'
  3. @see https://ressources.opentalent.fr/display/SPEC/Mon+abonnement
  4. -->
  5. <template>
  6. <LayoutContainer>
  7. <v-expansion-panels v-model="openedPanels" :multiple="true">
  8. <UiExpansionPanel title="subscription_page" icon="fas fa-info">
  9. <v-container fluid class="container">
  10. <v-row>
  11. <v-col cols="12" lg="6" sm="12">
  12. {{ $t('version') }} :
  13. <strong>{{
  14. dolibarrAccount ? $t(dolibarrAccount.product) : '-'
  15. }}</strong>
  16. </v-col>
  17. <v-col cols="12" lg="6" sm="12">
  18. {{ $t('client_id') }} :
  19. {{ dolibarrAccount ? dolibarrAccount.clientNumber : '-' }}
  20. </v-col>
  21. </v-row>
  22. </v-container>
  23. </UiExpansionPanel>
  24. <UiExpansionPanel
  25. title="service_detail"
  26. icon="fas fa-info"
  27. v-if="dolibarrAccount && dolibarrAccount.contract"
  28. >
  29. <v-container fluid class="container">
  30. <v-row>
  31. <v-col
  32. cols="12"
  33. lg="12"
  34. v-for="line in dolibarrAccount.contract.lines"
  35. :key="line.id"
  36. >
  37. <strong>{{ line.serviceLabel }}</strong> - {{ $t('until') }} :
  38. {{ $d(line.dateEnd) }}
  39. </v-col>
  40. <v-col cols="12" lg="12" v-if="ability.can('manage', 'texto')">
  41. <strong>{{ $t('remaining_sms_credit') }}</strong> -
  42. <span
  43. v-if="
  44. !mobytPending && mobytStatus !== null && mobytStatus.active
  45. "
  46. >
  47. {{
  48. mobytStatus.money.toLocaleString($i18n.locale, {
  49. style: 'currency',
  50. currency: 'EUR',
  51. })
  52. }}
  53. {{
  54. i18n.t('convert_price_to_sms', {
  55. nb_sms: mobytStatus.amount,
  56. })
  57. }}
  58. </span>
  59. </v-col>
  60. </v-row>
  61. </v-container>
  62. </UiExpansionPanel>
  63. <UiExpansionPanel
  64. v-if="dolibarrAccount !== null && dolibarrAccount.order"
  65. title="purchase_order"
  66. icon="fas fa-file"
  67. >
  68. <v-container :fluid="true" class="container">
  69. <v-row>
  70. <v-table>
  71. <thead>
  72. <tr>
  73. <th>{{ $t('reference') }}</th>
  74. <th>{{ $t('date') }}</th>
  75. <th></th>
  76. </tr>
  77. </thead>
  78. <tbody>
  79. <tr>
  80. <td>{{ dolibarrAccount.order.ref }}</td>
  81. <td>{{ $d(dolibarrAccount.order.date) }}</td>
  82. <td>
  83. <a
  84. @click="downloadDolibarrBillingDoc(DOLIBARR_BILLING_DOC_TYPE.ORDER, dolibarrAccount.order.ref)"
  85. class="clickable"
  86. >
  87. {{ $t('download') }}
  88. </a>
  89. </td>
  90. </tr>
  91. </tbody>
  92. </v-table>
  93. </v-row>
  94. </v-container>
  95. </UiExpansionPanel>
  96. <UiExpansionPanel
  97. v-if="showDolibarrBillsPanel"
  98. title="bills"
  99. icon="fas fa-file"
  100. >
  101. <v-container :fluid="true" class="container">
  102. <v-row>
  103. <v-table v-if="dolibarrAccount !== null">
  104. <thead>
  105. <tr>
  106. <th>{{ $t('reference') }}</th>
  107. <th>{{ $t('date') }}</th>
  108. <th>{{ $t('taxExcludedAmount') }}</th>
  109. <th>{{ $t('status') }}</th>
  110. <th></th>
  111. </tr>
  112. </thead>
  113. <tbody>
  114. <tr v-for="bill in dolibarrAccount.bills" :key="bill.id">
  115. <td>{{ bill.ref }}</td>
  116. <td>{{ $d(bill.date) }}</td>
  117. <td>
  118. {{
  119. bill.taxExcludedAmount.toLocaleString($i18n.locale, {
  120. style: 'currency',
  121. currency: 'EUR',
  122. })
  123. }}
  124. </td>
  125. <td>
  126. {{ bill.paid === true ? $t('paid') : $t('unpaid') }}
  127. </td>
  128. <td>
  129. <a
  130. @click="downloadDolibarrBillingDoc(DOLIBARR_BILLING_DOC_TYPE.INVOICE, bill.ref)"
  131. class="clickable"
  132. >
  133. {{ $t('download') }}
  134. </a>
  135. </td>
  136. </tr>
  137. </tbody>
  138. </v-table>
  139. </v-row>
  140. </v-container>
  141. </UiExpansionPanel>
  142. <UiExpansionPanel
  143. title="opentalent_offers"
  144. icon="fas fa-plus"
  145. v-if="!organizationProfile.isManagerProduct"
  146. >
  147. <v-container fluid class="container">
  148. <v-row
  149. class="offer_title"
  150. v-if="!md && mdAndUp && !organizationProfile.isSchool"
  151. >
  152. <v-col
  153. cols="12"
  154. :lg="
  155. organizationProfile.isArtistPremiumProduct &&
  156. !organizationProfile.isTrialActive
  157. ? 4
  158. : 8
  159. "
  160. sm="12"
  161. >
  162. <span class="theme-artist"
  163. >Pour les orchestres, chorales, <br />compagnies et troupes
  164. artistiques</span
  165. >
  166. </v-col>
  167. <v-col cols="12" lg="4" sm="12">
  168. <span class="theme-school"
  169. >Pour les établissements d'enseignements <br />
  170. artistiques*</span
  171. >
  172. </v-col>
  173. </v-row>
  174. <v-row class="card-container">
  175. <v-col
  176. lg="4"
  177. sm="12"
  178. md="6"
  179. v-if="
  180. organizationProfile.isArtistProduct ||
  181. organizationProfile.isTrialActive
  182. "
  183. >
  184. <LayoutPagesSubscriptionCard
  185. class="artistCard"
  186. title="Logiciel Artist Standard"
  187. :extraHeader="
  188. organizationProfile.isArtistProduct
  189. ? 'Votre version actuelle'
  190. : undefined
  191. "
  192. color="artist"
  193. :list="listCheck.artist"
  194. >
  195. <template #card.subTitle>
  196. <div class="priceBlock">
  197. <span v-if="organizationProfile.isCmf"
  198. ><strong>{{ $t('price_include_cmf') }}*</strong></span
  199. >
  200. <span v-else
  201. ><span class="price">{{
  202. formatCurrency(14.0, 'EUR')
  203. }}</span>
  204. TTC/mois*</span
  205. >
  206. </div>
  207. </template>
  208. <template #card.action>
  209. <v-row>
  210. <v-col
  211. cols="12"
  212. v-if="
  213. !organizationProfile.isArtistProduct &&
  214. !organizationProfile.isTrialActive
  215. "
  216. >
  217. <v-btn
  218. class="theme-artist btn"
  219. href="https://logiciels.opentalent.fr/opentalent-artist"
  220. target="_blank"
  221. >
  222. {{ $t('to_know_more') }}
  223. <i class="fa-solid fa-greater-than small"></i>
  224. </v-btn>
  225. </v-col>
  226. <v-col cols="12">
  227. <span
  228. v-if="organizationProfile.isCmf"
  229. class="special_conditions"
  230. >
  231. *En cas de non-réadhésion, il reste accessible au tarif
  232. public de 14€ TTC/mois (Tarif 2025. Abonnement payable
  233. annuellement).
  234. </span>
  235. <span v-else class="special_conditions">
  236. *Tarif public 2025. Abonnement payable annuellement.
  237. </span>
  238. </v-col>
  239. </v-row>
  240. </template>
  241. </LayoutPagesSubscriptionCard>
  242. </v-col>
  243. <v-col lg="4" sm="12" md="6" v-if="organizationProfile.isArtist">
  244. <LayoutPagesSubscriptionCard
  245. class="artistCard"
  246. title="Logiciel Artist Premium*"
  247. :extraHeader="
  248. organizationProfile.isArtistPremiumProduct
  249. ? organizationProfile.isTrialActive
  250. ? `Version en cours d'essai J-${organizationProfile.trialCountDown}`
  251. : 'Votre version actuelle'
  252. : '1 mois d\'essai offert'
  253. "
  254. color="artist"
  255. :list="listCheck.artistPremium"
  256. >
  257. <template #card.subTitle>
  258. <div
  259. class="priceBlock"
  260. v-if="
  261. !organizationProfile.isArtistPremiumProduct ||
  262. organizationProfile.isTrialActive
  263. "
  264. >
  265. <span class="price">{{
  266. organizationProfile.isCmf
  267. ? formatCurrency(7.5, 'EUR')
  268. : formatCurrency(18.0, 'EUR')
  269. }}</span>
  270. TTC/mois**
  271. </div>
  272. </template>
  273. <template #card.action>
  274. <v-row>
  275. <v-col
  276. cols="12"
  277. v-if="
  278. !organizationProfile.isArtistPremiumProduct &&
  279. (accessProfileStore.isAdmin ||
  280. accessProfileStore.isCaMember)
  281. "
  282. >
  283. <v-btn class="btn trialBtn" @click="startTrial">
  284. {{ $t('try_premium_version') }}
  285. <i class="fa-solid fa-greater-than small"></i>
  286. </v-btn>
  287. </v-col>
  288. <v-col
  289. cols="12"
  290. v-if="
  291. (!organizationProfile.isArtistPremiumProduct ||
  292. organizationProfile.isTrialActive) &&
  293. (accessProfileStore.isAdmin ||
  294. accessProfileStore.isCaMember)
  295. "
  296. >
  297. <v-btn class="theme-artist btn" @click="subscription">
  298. {{ $t('subscribe_to_the_offer') }}
  299. <i class="fa-solid fa-greater-than small"></i>
  300. </v-btn>
  301. </v-col>
  302. <v-col
  303. cols="12"
  304. v-if="
  305. organizationProfile.isTrialActive &&
  306. (accessProfileStore.isAdmin ||
  307. accessProfileStore.isCaMember)
  308. "
  309. >
  310. <v-btn class="stop_btn" @click="showStopTrialDialog">
  311. {{ $t('stop_trial') }}
  312. </v-btn>
  313. </v-col>
  314. <v-col cols="12">
  315. <span class="special_conditions">
  316. *Convient aux petites écoles sans besoins spécifiques de
  317. gestion pédagogique, de facturation, etc. Pour une
  318. solution complète optez pour Opentalent School
  319. <span
  320. v-if="
  321. !organizationProfile.isArtistPremiumProduct ||
  322. organizationProfile.isTrialActive
  323. "
  324. >
  325. <br />
  326. **Tarif
  327. <span v-if="organizationProfile.isCmf"
  328. >adhérent CMF</span
  329. ><span v-else>public</span> 2025. Abonnement payable
  330. annuellement.
  331. </span>
  332. </span>
  333. </v-col>
  334. </v-row>
  335. </template>
  336. </LayoutPagesSubscriptionCard>
  337. </v-col>
  338. <v-col
  339. lg="4"
  340. sm="12"
  341. md="6"
  342. :offset="
  343. !md && mdAndUp ? (organizationProfile.isSchool ? 4 : 0) : 0
  344. "
  345. >
  346. <LayoutPagesSubscriptionCard
  347. class="schoolCard"
  348. :title="
  349. !organizationProfile.isSchool
  350. ? 'Logiciel School Standard / Premium'
  351. : organizationProfile.isSchoolPremiumProduct
  352. ? 'Logiciel School Premium'
  353. : 'Logiciel School Standard'
  354. "
  355. :subTitle="!organizationProfile.isSchool ? 'Sur devis' : ''"
  356. :extraHeader="
  357. organizationProfile.isSchool
  358. ? 'Votre version actuelle'
  359. : undefined
  360. "
  361. color="school"
  362. :list="listCheck.school"
  363. >
  364. <template #card.action>
  365. <v-row>
  366. <v-col cols="12">
  367. <v-btn
  368. v-if="!organizationProfile.isSchool"
  369. class="theme-school btn"
  370. href="https://logiciels.opentalent.fr/opentalent-school"
  371. target="_blank"
  372. >
  373. {{ $t('to_know_more') }}
  374. <i class="fa-solid fa-greater-than small"></i>
  375. </v-btn>
  376. </v-col>
  377. <v-col cols="12">
  378. <span class="special_conditions">
  379. *Extranet disponible uniquement dans la version
  380. Opentalent School Premium
  381. </span>
  382. </v-col>
  383. </v-row>
  384. </template>
  385. </LayoutPagesSubscriptionCard>
  386. </v-col>
  387. </v-row>
  388. </v-container>
  389. </UiExpansionPanel>
  390. <UiExpansionPanel title="opentalent_options" icon="fas fa-plus">
  391. <v-container fluid class="container card-container">
  392. <v-row cols="12">
  393. <v-col lg="3" sm="12" md="6">
  394. <LayoutPagesSubscriptionCard
  395. class="optionsCard"
  396. title="SMS"
  397. sub-title="Option payante"
  398. color="primary"
  399. :list="listCheck.sms"
  400. >
  401. <template #card.action>
  402. <v-btn
  403. class="theme-primary btn"
  404. :href="
  405. runtimeConfig.public.fileStorageBaseUrl +
  406. (organizationProfile.isCmf
  407. ? '/Bon_de_commande/Achat_SMS_CMF.pdf'
  408. : '/Bon_de_commande/Achat_SMS_Public.pdf')
  409. "
  410. target="_blank"
  411. >
  412. acheter des credits SMS
  413. <i class="fa-solid fa-greater-than small"></i>
  414. </v-btn>
  415. </template>
  416. </LayoutPagesSubscriptionCard>
  417. </v-col>
  418. <v-col lg="3" sm="12" md="6">
  419. <LayoutPagesSubscriptionCard
  420. class="optionsCard"
  421. title="Nom de domaine"
  422. sub-title="Option payante"
  423. color="primary"
  424. :list="listCheck.domain"
  425. >
  426. <template #card.action>
  427. <v-btn
  428. class="theme-primary btn"
  429. :href="
  430. runtimeConfig.public.fileStorageBaseUrl +
  431. '/Bon_de_commande/Nom_de_domaine.pdf'
  432. "
  433. target="_blank"
  434. >
  435. souscrire à l'option
  436. <i class="fa-solid fa-greater-than small"></i>
  437. </v-btn>
  438. </template>
  439. </LayoutPagesSubscriptionCard>
  440. </v-col>
  441. </v-row>
  442. </v-container>
  443. </UiExpansionPanel>
  444. </v-expansion-panels>
  445. </LayoutContainer>
  446. <LayoutDialogTrialAlreadyDid
  447. :show="showDialogTrialAllReadyDid"
  448. @closeDialog="showDialogTrialAllReadyDid = false"
  449. />
  450. <LayoutDialogTrialStopConfirmation
  451. :show="showDialogTrialStopConfirmation"
  452. @closeDialog="showDialogTrialStopConfirmation = false"
  453. @stopTrial="stopTrial"
  454. />
  455. </template>
  456. <script setup lang="ts">
  457. import { useAbility } from '@casl/vue'
  458. import type { Ref } from 'vue'
  459. import { useDisplay } from 'vuetify'
  460. import type { AsyncData } from '#app'
  461. import { useOrganizationProfileStore } from '~/stores/organizationProfile'
  462. import { useEntityFetch } from '~/composables/data/useEntityFetch'
  463. import DolibarrAccount from '~/models/Organization/DolibarrAccount'
  464. import MobytUserStatus from '~/models/Organization/MobytUserStatus'
  465. import UrlUtils from '~/services/utils/urlUtils'
  466. import { useDownloadFromRoute } from '~/composables/utils/useDownloadFromRoute'
  467. import { useApiLegacyRequestService } from '~/composables/data/useApiLegacyRequestService'
  468. import { usePageStore } from '~/stores/page'
  469. import {DOLIBARR_BILLING_DOC_TYPE} from '~/types/enum/enums';
  470. //meta
  471. definePageMeta({
  472. name: 'subscription_page',
  473. })
  474. //Get composables
  475. const ability = useAbility()
  476. const runtimeConfig = useRuntimeConfig()
  477. const { mdAndUp, md } = useDisplay()
  478. const { fetch } = useEntityFetch()
  479. const i18n = useI18n()
  480. const { apiRequestService } = useApiLegacyRequestService()
  481. //Init ref
  482. const showDialogTrialAllReadyDid: Ref<boolean> = ref(false)
  483. const showDialogTrialStopConfirmation: Ref<boolean> = ref(false)
  484. const openedPanels: Ref<Array<string>> = initPanel()
  485. const organizationProfile = getOrganizationProfile()
  486. const accessProfileStore = useAccessProfileStore()
  487. const { mobytStatus, mobytPending } = getMobytInformations()
  488. const { data: dolibarrAccount, pending: dolibarrPending } = fetch(
  489. DolibarrAccount,
  490. organizationProfile.id,
  491. )
  492. const showDolibarrBillsPanel = computed(
  493. () =>
  494. !dolibarrPending.value &&
  495. dolibarrAccount.value &&
  496. dolibarrAccount.value.bills.length > 0,
  497. )
  498. const formatCurrency = (value: number, currency: string): string => {
  499. return value.toLocaleString(i18n.locale.value, {
  500. style: 'currency',
  501. currency,
  502. })
  503. }
  504. const listCheck: Record<string, Array<string>> = {
  505. artist: [
  506. '100 Mo de stockage',
  507. '75 comptes utilisateurs',
  508. 'Gestion de la structure',
  509. 'Site internet restreint',
  510. 'Options disponibles',
  511. ],
  512. artistPremium: [
  513. '1Go de stockage',
  514. '150 comptes utilisateurs',
  515. 'Gestion de la structure',
  516. 'Module de communication',
  517. 'Site internet illimité',
  518. 'Options disponibles',
  519. ],
  520. school: [
  521. '500 Mo ou 1Go de stockage',
  522. '3 comptes administrateurs',
  523. 'Extranet élèves, tuteurs, professeurs*',
  524. 'Gestion de la structure',
  525. 'Suivi pédagogique, facturation, ...',
  526. 'Site internet complet',
  527. 'Options adaptées à chaque structure',
  528. ],
  529. sms: [
  530. 'Envoyez des SMS depuis votre logiciel',
  531. 'Choisissez le nombre de crédits',
  532. ],
  533. domain: [
  534. 'Bénéficiez de votre propre nom de domaine',
  535. "Et d'une adresse mail personnalisée",
  536. ],
  537. }
  538. /**
  539. * Initialisation des panels ouverts
  540. */
  541. function initPanel(): Ref<Array<string>> {
  542. // On déplie les expansion panels dans le onMounted en attendant la résolution du bug : https://github.com/vuetifyjs/vuetify/issues/16427#issuecomment-1380927133
  543. // TODO: quand le bug ci dessus est résolu, remplacer par `const openedPanels: Ref<Array<string>> = ref([...])`
  544. const openedPanels: Ref<Array<string>> = ref([])
  545. onMounted(() => {
  546. openedPanels.value = [
  547. 'subscription_page',
  548. 'service_detail',
  549. 'purchase_order',
  550. 'bills',
  551. 'opentalent_offers',
  552. 'opentalent_options',
  553. ]
  554. })
  555. return openedPanels
  556. }
  557. /**
  558. * Récupération de l'organization profile
  559. */
  560. function getOrganizationProfile() {
  561. const organizationProfile = useOrganizationProfileStore()
  562. if (organizationProfile.id === null) {
  563. throw new Error("Missing organization's id")
  564. }
  565. return organizationProfile
  566. }
  567. /**
  568. * Récupération des informations Mobyt
  569. */
  570. function getMobytInformations(): {
  571. mobytStatus: Ref<MobytUserStatus | null>
  572. mobytPending: Ref<boolean>
  573. } {
  574. let mobytStatus: Ref<MobytUserStatus | null> = ref(null)
  575. let mobytPending: Ref<boolean> = ref(false)
  576. if (ability.can('manage', 'texto')) {
  577. const { data, pending } = fetch(
  578. MobytUserStatus,
  579. organizationProfile!.id!,
  580. ) as AsyncData<MobytUserStatus | null, Error | null>
  581. mobytStatus = data
  582. mobytPending = pending
  583. }
  584. return { mobytStatus, mobytPending }
  585. }
  586. /**
  587. * Action lorsque l'on souhaite démarrer l'essai
  588. */
  589. async function startTrial() {
  590. try {
  591. await apiRequestService.get('/trial/is_available')
  592. const v1BaseURL =
  593. runtimeConfig.baseUrlAdminLegacy ||
  594. runtimeConfig.public.baseUrlAdminLegacy
  595. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'trial'), {
  596. external: true,
  597. })
  598. } catch (error) {
  599. showDialogTrialAllReadyDid.value = true
  600. }
  601. }
  602. /**
  603. * Action lorsque l'on souhaite souscrire à artist premium
  604. */
  605. async function subscription() {
  606. const v1BaseURL =
  607. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  608. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'subscribe'), {
  609. external: true,
  610. })
  611. }
  612. /**
  613. * Action lorsque l'on souhaite afficher la modal de confirmation pour stopper
  614. */
  615. function showStopTrialDialog() {
  616. showDialogTrialStopConfirmation.value = true
  617. }
  618. /**
  619. * Action lorsque l'on souhaite stopper l'essai
  620. */
  621. async function stopTrial() {
  622. usePageStore().loading = true
  623. await apiRequestService.post('/trial/stop')
  624. const v1BaseURL =
  625. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  626. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'dashboard'), {
  627. external: true,
  628. })
  629. }
  630. const downloadDolibarrBillingDoc = (type: DOLIBARR_BILLING_DOC_TYPE, ref: string): void => {
  631. const route = UrlUtils.join('api/dolibarr/download', type, encodeURIComponent(ref))
  632. useDownloadFromRoute(route, `${ref}.pdf`)
  633. }
  634. </script>
  635. <style scoped lang="scss">
  636. .clickable {
  637. cursor: pointer;
  638. text-decoration: underline;
  639. }
  640. .offer_title {
  641. span {
  642. border-radius: 5px;
  643. display: block;
  644. font-weight: bold;
  645. text-align: center;
  646. padding: 5px;
  647. }
  648. }
  649. .card-container {
  650. .v-row {
  651. display: -webkit-box;
  652. display: -webkit-flex;
  653. display: -ms-flexbox;
  654. display: flex;
  655. flex-wrap: wrap;
  656. }
  657. .v-row > [class*='v-col-'] {
  658. display: flex;
  659. flex-direction: column;
  660. }
  661. .small {
  662. font-size: 6px;
  663. padding-top: 5px;
  664. padding-left: 5px;
  665. }
  666. .priceBlock {
  667. font-size: 15px;
  668. font-weight: normal;
  669. text-transform: none;
  670. .price {
  671. text-transform: uppercase;
  672. font-size: 30px;
  673. font-weight: bold;
  674. }
  675. }
  676. }
  677. .special_conditions {
  678. font-size: 10px;
  679. font-style: italic;
  680. }
  681. .trialBtn {
  682. color: #000;
  683. border: 1px solid rgb(var(--v-theme-artist));
  684. }
  685. .btn{
  686. font-size: 12px;
  687. }
  688. .optionsCard {
  689. :deep(.margin-sup) {
  690. margin-top: 0;
  691. }
  692. }
  693. .stop_btn {
  694. color: rgb(var(--v-theme-danger));
  695. }
  696. .plus_btn {
  697. color: rgb(var(--v-theme-on-neutral));
  698. }
  699. </style>