diff --git a/src/components/ui/VnSms.vue b/src/components/ui/VnSms.vue
new file mode 100644
index 000000000..625fdec77
--- /dev/null
+++ b/src/components/ui/VnSms.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ formatNumber(row.sms.destination)
+ }}
+ {{ row.sms.message }}
+
+
+ {{
+ date.formatDate(
+ row.sms.created,
+ 'YYYY-MM-DD HH:mm:ss'
+ )
+ }}
+
+
+ {{ row.sms.status }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue
new file mode 100644
index 000000000..81a1820f1
--- /dev/null
+++ b/src/components/ui/VnSubToolbar.vue
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js
index 523340cc9..39c879f98 100644
--- a/src/composables/useArrayData.js
+++ b/src/composables/useArrayData.js
@@ -58,7 +58,7 @@ export function useArrayData(key, userOptions) {
}
}
- async function fetch({ append = false }) {
+ async function fetch({ append = false, updateRouter = true }) {
if (!store.url) return;
cancelRequest();
@@ -100,15 +100,12 @@ export function useArrayData(key, userOptions) {
hasMoreData.value = response.data.length === limit;
- if (append === true) {
+ if (append) {
if (!store.data) store.data = [];
for (const row of response.data) store.data.push(row);
- }
-
- if (append === false) {
+ } else {
store.data = response.data;
-
- updateStateParams();
+ updateRouter && updateStateParams();
}
store.isLoading = false;
@@ -155,7 +152,9 @@ export function useArrayData(key, userOptions) {
delete store.userParams[param];
delete params[param];
if (store.filter?.where) {
- delete store.filter.where[Object.keys(exprBuilder ? exprBuilder(param) : param)[0]];
+ delete store.filter.where[
+ Object.keys(exprBuilder ? exprBuilder(param) : param)[0]
+ ];
if (Object.keys(store.filter.where).length === 0) {
delete store.filter.where;
}
diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js
index e4b7a327f..05b9d2703 100644
--- a/src/i18n/en/index.js
+++ b/src/i18n/en/index.js
@@ -114,6 +114,7 @@ export default {
createCustomer: 'Create customer',
summary: 'Summary',
basicData: 'Basic Data',
+ sms: 'Sms',
},
list: {
phone: 'Phone',
@@ -741,6 +742,7 @@ export default {
components: {
topbar: {},
userPanel: {
+ copyToken: 'Token copied to clipboard',
settings: 'Settings',
logOut: 'Log Out',
},
diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js
index 0289b7e78..c2d3c2dd9 100644
--- a/src/i18n/es/index.js
+++ b/src/i18n/es/index.js
@@ -113,6 +113,7 @@ export default {
createCustomer: 'Crear cliente',
basicData: 'Datos básicos',
summary: 'Resumen',
+ sms: 'Sms',
},
list: {
phone: 'Teléfono',
@@ -371,7 +372,7 @@ export default {
},
invoiceOut: {
pageTitles: {
- invoiceOuts: 'Crear factura',
+ invoiceOuts: 'Fact. emitidas',
list: 'Listado',
negativeBases: 'Bases Negativas',
globalInvoicing: 'Facturación global',
@@ -740,6 +741,7 @@ export default {
components: {
topbar: {},
userPanel: {
+ copyToken: 'Token copiado al portapapeles',
settings: 'Configuración',
logOut: 'Cerrar sesión',
},
diff --git a/src/i18n/index.js b/src/i18n/index.js
index 7344be49a..a375812df 100644
--- a/src/i18n/index.js
+++ b/src/i18n/index.js
@@ -1,6 +1,8 @@
import en from './en';
import es from './es';
-
+export const localeEquivalence = {
+ 'en':'en-GB'
+}
export default {
en: en,
es: es,
diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
index 9c076d98c..021ee685a 100644
--- a/src/layouts/MainLayout.vue
+++ b/src/layouts/MainLayout.vue
@@ -1,7 +1,6 @@
diff --git a/src/layouts/OutLayout.vue b/src/layouts/OutLayout.vue
index f21e6e568..8e9ab3e41 100644
--- a/src/layouts/OutLayout.vue
+++ b/src/layouts/OutLayout.vue
@@ -26,6 +26,7 @@ const userLocale = computed({
}
},
});
+
const darkMode = computed({
get() {
return Dark.isActive;
diff --git a/src/pages/Claim/Card/ClaimAction.vue b/src/pages/Claim/Card/ClaimAction.vue
index fb47eeee2..e92e65fc7 100644
--- a/src/pages/Claim/Card/ClaimAction.vue
+++ b/src/pages/Claim/Card/ClaimAction.vue
@@ -282,6 +282,8 @@ async function importToNewRefundTicket() {
selection="multiple"
v-model:selected="selectedRows"
:grid="$q.screen.lt.md"
+ :pagination="{ rowsPerPage: 0 }"
+ :hide-bottom="true"
>
@@ -335,7 +337,23 @@ async function importToNewRefundTicket() {
- {{ column.value.description }}
+
+ updateDestination(
+ value,
+ props.row
+ )
+ "
+ />
{{ column.value }}
@@ -417,25 +435,6 @@ async function importToNewRefundTicket() {
-