From 6db52e00ea4c8be7949664d63da855c5ab682cdc Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 7 Nov 2023 12:42:39 +0100 Subject: [PATCH] refs #6157 test ui --- src/components/CrudModel.vue | 2 +- src/pages/Claim/Card/ClaimAction.vue | 446 +++++++++---------- src/pages/Claim/Card/ClaimCard.vue | 11 - test/cypress/integration/claimAction.spec.js | 25 ++ 4 files changed, 235 insertions(+), 249 deletions(-) create mode 100644 test/cypress/integration/claimAction.spec.js diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index 2a4982fce..570538baf 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -268,7 +268,7 @@ watch(formUrl, async () => { - + [ { name: 'Id', - label: t('Id'), + label: t('Id item'), field: (row) => row.itemFk, }, { @@ -119,6 +119,7 @@ async function updateDestinations(claimDestinationFk) { } async function updateDestination(claimDestinationFk, row) { + console.log(claimDestinationFk, row); if (claimDestinationFk) { await axios.post('Claims/updateClaimDestination', { claimDestinationFk, @@ -238,251 +239,220 @@ async function importToNewRefundTicket() { show-if-above v-if="claim" > - -
- {{ `${t('Total claimed')}: ${toCurrency(totalClaimed)}` }} -
- - - -

- {{ t('claim.summary.actions') }} -

- -
-
-
- - - {{ t('mana') }} - -
+
+ {{ `${t('Total claimed')}: ${toCurrency(totalClaimed)}` }} +
+ + + +

+ {{ t('claim.summary.actions') }} +

+ +
+
+
+ + + {{ t('mana') }} + -
- - - - - - - - - - {{ t('dialog title') }} + + + + + + - {{ t('dialogGreuge title') }} + {{ t('dialog title') }} - - - - - -
+ + + + + + + + + + + + + + {{ t('dialogGreuge title') }} + + + + + + + + +