diff --git a/apps/ops/src/components/customer/PaymentSection.vue b/apps/ops/src/components/customer/PaymentSection.vue new file mode 100644 index 0000000..15bd6fb --- /dev/null +++ b/apps/ops/src/components/customer/PaymentSection.vue @@ -0,0 +1,153 @@ + + + + + diff --git a/apps/ops/src/pages/ClientDetailPage.vue b/apps/ops/src/pages/ClientDetailPage.vue index afcef0d..5b48e8f 100644 --- a/apps/ops/src/pages/ClientDetailPage.vue +++ b/apps/ops/src/pages/ClientDetailPage.vue @@ -245,111 +245,32 @@ - - - - - -
-
Méthode de paiement
-
- Ouvrir le portail Stripe pour gérer la carte - Créer un lien Stripe Checkout (copié au presse-papier) - Envoyer lien de paiement par SMS - Envoyer lien de paiement par Email -
-
Aucune méthode de paiement
- - - - -
- - -
-
Transactions
-
Aucune transaction
- -
- - -
-
Ententes de paiement ({{ arrangements.length }}){{ arrangements.filter(a => a.status === 'Open').length }} actives
- - - - -
-
+ + @@ -825,7 +746,7 @@ import { useSubscriptionGroups } from 'src/composables/useSubscriptionGroups' import { useSubscriptionActions } from 'src/composables/useSubscriptionActions' import { useCustomerNotes } from 'src/composables/useCustomerNotes' import { useConversations } from 'src/composables/useConversations' -import { invoiceCols, paymentCols, ticketCols, voipCols, paymentMethodCols, arrangementCols, quotationCols, serviceContractCols } from 'src/config/table-columns' +import { invoiceCols, ticketCols, voipCols, quotationCols, serviceContractCols } from 'src/config/table-columns' import DetailModal from 'src/components/shared/DetailModal.vue' import DataTable from 'src/components/shared/DataTable.vue' import CustomerHeader from 'src/components/customer/CustomerHeader.vue' @@ -848,6 +769,7 @@ import { useUserPrefs } from 'src/composables/useUserPrefs' import { erpPdfUrl } from 'src/utils/erp-pdf' import RewardDialog from 'src/components/customer/RewardDialog.vue' import LocationCard from 'src/components/customer/LocationCard.vue' +import PaymentSection from 'src/components/customer/PaymentSection.vue' const $q = useQuasar() const { can } = usePermissions()