subscription.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  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. <br />
  320. **Tarif
  321. <span v-if="organizationProfile.isCmf"
  322. >adhérent CMF</span
  323. ><span v-else>public</span> 2025. Abonnement payable
  324. annuellement.
  325. </span>
  326. </v-col>
  327. </v-row>
  328. </template>
  329. </LayoutPagesSubscriptionCard>
  330. </v-col>
  331. <v-col
  332. lg="4"
  333. sm="12"
  334. md="6"
  335. :offset="
  336. !md && mdAndUp ? (organizationProfile.isSchool ? 4 : 0) : 0
  337. "
  338. >
  339. <LayoutPagesSubscriptionCard
  340. class="schoolCard"
  341. :title="
  342. !organizationProfile.isSchool
  343. ? 'Logiciel School Standard / Premium'
  344. : organizationProfile.isSchoolPremiumProduct
  345. ? 'Logiciel School Premium'
  346. : 'Logiciel School Standard'
  347. "
  348. :subTitle="!organizationProfile.isSchool ? 'Sur devis' : ''"
  349. :extraHeader="
  350. organizationProfile.isSchool
  351. ? 'Votre version actuelle'
  352. : undefined
  353. "
  354. color="school"
  355. :list="listCheck.school"
  356. >
  357. <template #card.action>
  358. <v-row>
  359. <v-col cols="12">
  360. <v-btn
  361. v-if="!organizationProfile.isSchool"
  362. class="theme-school btn"
  363. href="https://logiciels.opentalent.fr/opentalent-school"
  364. target="_blank"
  365. >
  366. {{ $t('to_know_more') }}
  367. <i class="fa-solid fa-greater-than small"></i>
  368. </v-btn>
  369. </v-col>
  370. <v-col cols="12">
  371. <span class="special_conditions">
  372. *Extranet disponible uniquement dans la version
  373. Opentalent School Premium
  374. </span>
  375. </v-col>
  376. </v-row>
  377. </template>
  378. </LayoutPagesSubscriptionCard>
  379. </v-col>
  380. </v-row>
  381. </v-container>
  382. </UiExpansionPanel>
  383. <UiExpansionPanel title="opentalent_options" icon="fas fa-plus">
  384. <v-container fluid class="container card-container">
  385. <v-row cols="12">
  386. <v-col lg="3" sm="12" md="6">
  387. <LayoutPagesSubscriptionCard
  388. class="optionsCard"
  389. title="SMS"
  390. sub-title="Option payante"
  391. color="primary"
  392. :list="listCheck.sms"
  393. >
  394. <template #card.action>
  395. <v-btn
  396. class="theme-primary btn"
  397. :href="
  398. runtimeConfig.public.fileStorageBaseUrl +
  399. (organizationProfile.isCmf
  400. ? '/Bon_de_commande/Achat_SMS_CMF.pdf'
  401. : '/Bon_de_commande/Achat_SMS_Public.pdf')
  402. "
  403. target="_blank"
  404. >
  405. acheter des credits SMS
  406. <i class="fa-solid fa-greater-than small"></i>
  407. </v-btn>
  408. </template>
  409. </LayoutPagesSubscriptionCard>
  410. </v-col>
  411. <v-col lg="3" sm="12" md="6">
  412. <LayoutPagesSubscriptionCard
  413. class="optionsCard"
  414. title="Nom de domaine"
  415. sub-title="Option payante"
  416. color="primary"
  417. :list="listCheck.domain"
  418. >
  419. <template #card.action>
  420. <v-btn
  421. class="theme-primary btn"
  422. :href="
  423. runtimeConfig.public.fileStorageBaseUrl +
  424. '/Bon_de_commande/Nom_de_domaine.pdf'
  425. "
  426. target="_blank"
  427. >
  428. souscrire à l'option
  429. <i class="fa-solid fa-greater-than small"></i>
  430. </v-btn>
  431. </template>
  432. </LayoutPagesSubscriptionCard>
  433. </v-col>
  434. </v-row>
  435. </v-container>
  436. </UiExpansionPanel>
  437. </v-expansion-panels>
  438. </LayoutContainer>
  439. <LayoutDialogTrialAlreadyDid
  440. :show="showDialogTrialAllReadyDid"
  441. @closeDialog="showDialogTrialAllReadyDid = false"
  442. />
  443. <LayoutDialogTrialStopConfirmation
  444. :show="showDialogTrialStopConfirmation"
  445. @closeDialog="showDialogTrialStopConfirmation = false"
  446. @stopTrial="stopTrial"
  447. />
  448. </template>
  449. <script setup lang="ts">
  450. import { useAbility } from '@casl/vue'
  451. import type { Ref } from 'vue'
  452. import { useDisplay } from 'vuetify'
  453. import type { AsyncData } from '#app'
  454. import { useOrganizationProfileStore } from '~/stores/organizationProfile'
  455. import { useEntityFetch } from '~/composables/data/useEntityFetch'
  456. import DolibarrAccount from '~/models/Organization/DolibarrAccount'
  457. import MobytUserStatus from '~/models/Organization/MobytUserStatus'
  458. import UrlUtils from '~/services/utils/urlUtils'
  459. import { useDownloadFromRoute } from '~/composables/utils/useDownloadFromRoute'
  460. import { useApiLegacyRequestService } from '~/composables/data/useApiLegacyRequestService'
  461. import { usePageStore } from '~/stores/page'
  462. import {DOLIBARR_BILLING_DOC_TYPE} from '~/types/enum/enums';
  463. //meta
  464. definePageMeta({
  465. name: 'subscription_page',
  466. })
  467. //Get composables
  468. const ability = useAbility()
  469. const runtimeConfig = useRuntimeConfig()
  470. const { mdAndUp, md } = useDisplay()
  471. const { fetch } = useEntityFetch()
  472. const i18n = useI18n()
  473. const { apiRequestService } = useApiLegacyRequestService()
  474. //Init ref
  475. const showDialogTrialAllReadyDid: Ref<boolean> = ref(false)
  476. const showDialogTrialStopConfirmation: Ref<boolean> = ref(false)
  477. const openedPanels: Ref<Array<string>> = initPanel()
  478. const organizationProfile = getOrganizationProfile()
  479. const accessProfileStore = useAccessProfileStore()
  480. const { mobytStatus, mobytPending } = getMobytInformations()
  481. const { data: dolibarrAccount, pending: dolibarrPending } = fetch(
  482. DolibarrAccount,
  483. organizationProfile.id,
  484. )
  485. const showDolibarrBillsPanel = computed(
  486. () =>
  487. !dolibarrPending.value &&
  488. dolibarrAccount.value &&
  489. dolibarrAccount.value.bills.length > 0,
  490. )
  491. const formatCurrency = (value: number, currency: string): string => {
  492. return value.toLocaleString(i18n.locale.value, {
  493. style: 'currency',
  494. currency,
  495. })
  496. }
  497. const listCheck: Record<string, Array<string>> = {
  498. artist: [
  499. '100 Mo de stockage',
  500. '75 comptes utilisateurs',
  501. 'Gestion de la structure',
  502. 'Site internet restreint',
  503. 'Options disponibles',
  504. ],
  505. artistPremium: [
  506. '1Go de stockage',
  507. '150 comptes utilisateurs',
  508. 'Gestion de la structure',
  509. 'Module de communication',
  510. 'Site internet illimité',
  511. 'Options disponibles',
  512. ],
  513. school: [
  514. '500 Mo ou 1Go de stockage',
  515. '3 comptes administrateurs',
  516. 'Extranet élèves, tuteurs, professeurs*',
  517. 'Gestion de la structure',
  518. 'Suivi pédagogique, facturation, ...',
  519. 'Site internet complet',
  520. 'Options adaptées à chaque structure',
  521. ],
  522. sms: [
  523. 'Envoyez des SMS depuis votre logiciel',
  524. 'Choisissez le nombre de crédits',
  525. ],
  526. domain: [
  527. 'Bénéficiez de votre propre nom de domaine',
  528. "Et d'une adresse mail personnalisée",
  529. ],
  530. }
  531. /**
  532. * Initialisation des panels ouverts
  533. */
  534. function initPanel(): Ref<Array<string>> {
  535. // 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
  536. // TODO: quand le bug ci dessus est résolu, remplacer par `const openedPanels: Ref<Array<string>> = ref([...])`
  537. const openedPanels: Ref<Array<string>> = ref([])
  538. onMounted(() => {
  539. openedPanels.value = [
  540. 'subscription_page',
  541. 'service_detail',
  542. 'purchase_order',
  543. 'bills',
  544. 'opentalent_offers',
  545. 'opentalent_options',
  546. ]
  547. })
  548. return openedPanels
  549. }
  550. /**
  551. * Récupération de l'organization profile
  552. */
  553. function getOrganizationProfile() {
  554. const organizationProfile = useOrganizationProfileStore()
  555. if (organizationProfile.id === null) {
  556. throw new Error("Missing organization's id")
  557. }
  558. return organizationProfile
  559. }
  560. /**
  561. * Récupération des informations Mobyt
  562. */
  563. function getMobytInformations(): {
  564. mobytStatus: Ref<MobytUserStatus | null>
  565. mobytPending: Ref<boolean>
  566. } {
  567. let mobytStatus: Ref<MobytUserStatus | null> = ref(null)
  568. let mobytPending: Ref<boolean> = ref(false)
  569. if (ability.can('manage', 'texto')) {
  570. const { data, pending } = fetch(
  571. MobytUserStatus,
  572. organizationProfile!.id!,
  573. ) as AsyncData<MobytUserStatus | null, Error | null>
  574. mobytStatus = data
  575. mobytPending = pending
  576. }
  577. return { mobytStatus, mobytPending }
  578. }
  579. /**
  580. * Action lorsque l'on souhaite démarrer l'essai
  581. */
  582. async function startTrial() {
  583. try {
  584. await apiRequestService.get('/trial/is_available')
  585. const v1BaseURL =
  586. runtimeConfig.baseUrlAdminLegacy ||
  587. runtimeConfig.public.baseUrlAdminLegacy
  588. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'trial'), {
  589. external: true,
  590. })
  591. } catch (error) {
  592. showDialogTrialAllReadyDid.value = true
  593. }
  594. }
  595. /**
  596. * Action lorsque l'on souhaite souscrire à artist premium
  597. */
  598. async function subscription() {
  599. const v1BaseURL =
  600. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  601. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'subscribe'), {
  602. external: true,
  603. })
  604. }
  605. /**
  606. * Action lorsque l'on souhaite afficher la modal de confirmation pour stopper
  607. */
  608. function showStopTrialDialog() {
  609. showDialogTrialStopConfirmation.value = true
  610. }
  611. /**
  612. * Action lorsque l'on souhaite stopper l'essai
  613. */
  614. async function stopTrial() {
  615. usePageStore().loading = true
  616. await apiRequestService.post('/trial/stop')
  617. const v1BaseURL =
  618. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  619. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'dashboard'), {
  620. external: true,
  621. })
  622. }
  623. const downloadDolibarrBillingDoc = (type: DOLIBARR_BILLING_DOC_TYPE, ref: string): void => {
  624. const route = UrlUtils.join('api/dolibarr/download', type, encodeURIComponent(ref))
  625. useDownloadFromRoute(route, `${ref}.pdf`)
  626. }
  627. </script>
  628. <style scoped lang="scss">
  629. .clickable {
  630. cursor: pointer;
  631. text-decoration: underline;
  632. }
  633. .offer_title {
  634. span {
  635. border-radius: 5px;
  636. display: block;
  637. font-weight: bold;
  638. text-align: center;
  639. padding: 5px;
  640. }
  641. }
  642. .card-container {
  643. .v-row {
  644. display: -webkit-box;
  645. display: -webkit-flex;
  646. display: -ms-flexbox;
  647. display: flex;
  648. flex-wrap: wrap;
  649. }
  650. .v-row > [class*='v-col-'] {
  651. display: flex;
  652. flex-direction: column;
  653. }
  654. .small {
  655. font-size: 6px;
  656. padding-top: 5px;
  657. padding-left: 5px;
  658. }
  659. .priceBlock {
  660. font-size: 15px;
  661. font-weight: normal;
  662. text-transform: none;
  663. .price {
  664. text-transform: uppercase;
  665. font-size: 30px;
  666. font-weight: bold;
  667. }
  668. }
  669. }
  670. .special_conditions {
  671. font-size: 10px;
  672. font-style: italic;
  673. }
  674. .trialBtn {
  675. color: #000;
  676. border: 1px solid rgb(var(--v-theme-artist));
  677. }
  678. .optionsCard {
  679. :deep(.margin-sup) {
  680. margin-top: 0;
  681. }
  682. }
  683. .stop_btn {
  684. color: rgb(var(--v-theme-danger));
  685. }
  686. .plus_btn {
  687. color: rgb(var(--v-theme-on-neutral));
  688. }
  689. </style>