filter(value, update, workerFilter)"
:rules="validate('claim.claimStateFk')"
:input-debounce="0"
>
@@ -185,7 +133,7 @@ function onReset() {
filter(value, update, statesFilter)"
:rules="validate('claim.claimStateFk')"
:input-debounce="0"
>
@@ -203,14 +151,14 @@ function onReset() {
@@ -218,17 +166,13 @@ function onReset() {
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/src/pages/Claim/ClaimCreate.vue b/src/pages/Claim/ClaimCreate.vue
deleted file mode 100644
index 52a9ccbc5..000000000
--- a/src/pages/Claim/ClaimCreate.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue
index d2352e174..c2a3a0cf1 100644
--- a/src/pages/Claim/ClaimList.vue
+++ b/src/pages/Claim/ClaimList.vue
@@ -2,7 +2,7 @@
import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
-import SmartCard from 'src/components/SmartCard.vue';
+import Paginate from 'src/components/Paginate.vue';
import { toDate } from 'src/filters/index';
import ClaimSummary from './Card/ClaimSummary.vue';
@@ -50,64 +50,73 @@ function showPreview(id) {
-
-
-
-
-
- {{ t('claim.list.customer') }}
- {{ row.client.name }}
+
+
+
+
+
+ {{ row.name }}
+ #{{ row.id }}
+
+
+
+ {{ t('claim.list.customer') }}
+ {{ row.client.name }}
+
+
+ {{ t('claim.list.assignedTo') }}
+ {{ row.worker.user.name }}
+
+
+
+
+ {{ t('claim.list.created') }}
+ {{ toDate(row.created) }}
+
+
+ {{ t('claim.list.state') }}
+
+
+ {{ row.claimState.description }}
+
+
+
+
+
-
- {{ t('claim.list.assignedTo') }}
- {{ row.worker.user.name }}
-
-
-
-
- {{ t('claim.list.created') }}
- {{ toDate(row.created) }}
-
-
- {{ t('claim.list.state') }}
-
-
- {{ row.claimState.description }}
-
-
-
-
-
-
-
-
- {{ t('customer.list.moreOptions') }}
-
-
-
-
-
-
- Add a note
-
-
-
-
-
- Display claim logs
-
-
-
-
+
+
+
+ {{ t('customer.list.moreOptions') }}
+
+
+
+
+
+
+ Add a note
+
+
+
+
+
+ Display claim logs
+
+
+
+
-
- {{ t('components.smartCard.openCard') }}
-
-
- {{ t('components.smartCard.openSummary') }}
-
+
+ {{ t('components.smartCard.openCard') }}
+
+
+ {{ t('components.smartCard.openSummary') }}
+
+
+
+
-
+
diff --git a/src/pages/Claim/ClaimRmaList.vue b/src/pages/Claim/ClaimRmaList.vue
index 3d1ff4ef4..1528d0f1b 100644
--- a/src/pages/Claim/ClaimRmaList.vue
+++ b/src/pages/Claim/ClaimRmaList.vue
@@ -3,7 +3,7 @@ import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { useQuasar } from 'quasar';
import axios from 'axios';
-import SmartCard from 'src/components/SmartCard.vue';
+import Paginate from 'src/components/Paginate.vue';
const quasar = useQuasar();
const { t } = useI18n();
@@ -26,7 +26,7 @@ function submit() {
crated: new Date(),
};
})
- .then(() => card.value.fetch());
+ .then(() => card.value.refresh());
}
const confirmShown = ref(false);
@@ -38,15 +38,18 @@ function confirm(id) {
function remove() {
const id = rmaId.value;
- axios.delete(`ClaimRmas/${id}`).then(() => {
- confirmShown.value = false;
+ axios
+ .delete(`ClaimRmas/${id}`)
+ .then(() => {
+ confirmShown.value = false;
- quasar.notify({
- type: 'positive',
- message: 'Entry deleted',
- icon: 'check',
- });
- });
+ quasar.notify({
+ type: 'positive',
+ message: 'Entry deleted',
+ icon: 'check',
+ });
+ })
+ .then(() => card.value.refresh());
}
function hide() {
@@ -59,29 +62,38 @@ function hide() {
-
- $(0) entries
+
+
-
-
-
-
-
- {{ t('claim.rmaList.code') }}
- {{ row.code }}
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ t('claim.rmaList.code') }}
+ {{ row.code }}
+
+
+
+
+
+
+ {{ t('globals.remove') }}
+
+
+
+
+
+
-
-
- {{ t('globals.remove') }}
-
-
-
+
diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue
index 68d185272..3df10a095 100644
--- a/src/pages/Customer/Card/CustomerBasicData.vue
+++ b/src/pages/Customer/Card/CustomerBasicData.vue
@@ -1,135 +1,64 @@
-
-
-
-
-
+
+ (contactChannels = $data)" auto-load />
+ (businessTypes = $data)" auto-load />
+
+
+
+
+
filter(value, update, filterOptions)"
:rules="validate('client.salesPersonFk')"
:input-debounce="0"
>
@@ -214,7 +143,7 @@ function onReset() {
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue
index 9020df84e..46997ba65 100644
--- a/src/pages/Customer/CustomerList.vue
+++ b/src/pages/Customer/CustomerList.vue
@@ -2,7 +2,7 @@
import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
-import SmartCard from 'src/components/SmartCard.vue';
+import Paginate from 'src/components/Paginate.vue';
import CustomerSummary from './Card/CustomerSummary.vue';
const router = useRouter();
@@ -26,55 +26,64 @@ function showPreview(id) {
-
-
-
-
-
- {{ t('customer.list.email') }}
- {{ row.email }}
+
+
+
+
+
+ {{ row.name }}
+ #{{ row.id }}
+
+
+
+ {{ t('customer.list.email') }}
+ {{ row.email }}
+
+
+
+
+ {{ t('customer.list.phone') }}
+ {{ row.phone }}
+
+
+
-
-
-
- {{ t('customer.list.phone') }}
- {{ row.phone }}
-
-
-
-
-
-
- {{ t('customer.list.moreOptions') }}
-
-
-
-
-
-
- Add a note
-
-
-
-
-
- Display customer history
-
-
-
-
+
+
+
+ {{ t('customer.list.moreOptions') }}
+
+
+
+
+
+
+ Add a note
+
+
+
+
+
+ Display customer history
+
+
+
+
-
- {{ t('components.smartCard.openCard') }}
-
-
- {{ t('components.smartCard.openSummary') }}
-
-
- {{ t('customer.list.customerOrders') }}
-
+
+ {{ t('components.smartCard.openCard') }}
+
+
+ {{ t('components.smartCard.openSummary') }}
+
+
+ {{ t('customer.list.customerOrders') }}
+
+
+
+
-
+
diff --git a/src/pages/Ticket/Card/TicketBoxing.vue b/src/pages/Ticket/Card/TicketBoxing.vue
index 81d6fa77b..e777a20ba 100644
--- a/src/pages/Ticket/Card/TicketBoxing.vue
+++ b/src/pages/Ticket/Card/TicketBoxing.vue
@@ -79,81 +79,75 @@ async function getVideoList(expeditionId, timed) {
-
-
-
-
-
-
-
- {{ t('ticket.boxing.selectTime') }} ({{ time.min }}-{{ time.max }})
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #{{ expedition.id }}
-
-
- {{ t('ticket.boxing.created') }}
-
- {{ date.formatDate(expedition.created, 'YYYY-MM-DD HH:mm:ss') }}
-
- {{ t('ticket.boxing.item') }}
- {{ expedition.packagingItemFk }}
- {{ t('ticket.boxing.worker') }}
- {{ expedition.userName }}
-
-
-
-
-
+
+
+
+
+
+
+ {{ t('ticket.boxing.selectTime') }} ({{ time.min }}-{{ time.max }})
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #{{ expedition.id }}
+
+
+ {{ t('ticket.boxing.created') }}
+
+ {{ date.formatDate(expedition.created, 'YYYY-MM-DD HH:mm:ss') }}
+
+ {{ t('ticket.boxing.item') }}
+ {{ expedition.packagingItemFk }}
+ {{ t('ticket.boxing.worker') }}
+ {{ expedition.userName }}
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/pages/Ticket/Card/TicketCard.vue b/src/pages/Ticket/Card/TicketCard.vue
index 625cf9689..edfe47fce 100644
--- a/src/pages/Ticket/Card/TicketCard.vue
+++ b/src/pages/Ticket/Card/TicketCard.vue
@@ -147,17 +147,19 @@ function stateColor(state) {
-
+ {{ t('ticket.pageTitles.boxing') }}
+
- -->
+
+
-
+
+
+
diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue
index 2683ed42a..e5792e911 100644
--- a/src/pages/Ticket/TicketList.vue
+++ b/src/pages/Ticket/TicketList.vue
@@ -2,9 +2,9 @@
import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
-import SmartCard from 'src/components/SmartCard.vue';
+import Paginate from 'src/components/Paginate.vue';
import { toDate, toCurrency } from 'src/filters/index';
-// import CustomerSummary from './Card/CustomerSummary.vue';
+// import TicketSummary from './Card/TicketSummary.vue';
const router = useRouter();
const { t } = useI18n();
@@ -62,77 +62,86 @@ function showPreview(id) {
-
-
-
-
-
- {{ t('ticket.list.nickname') }}
- {{ row.nickname }}
+
+
+
+
+
+ {{ row.name }}
+ #{{ row.id }}
+
+
+
+ {{ t('ticket.list.nickname') }}
+ {{ row.nickname }}
+
+
+ {{ t('ticket.list.state') }}
+
+
+ {{ row.ticketState.state.name }}
+
+
+
+
+
+
+ {{ t('ticket.list.shipped') }}
+ {{ toDate(row.shipped) }}
+
+
+ {{ t('ticket.list.landed') }}
+ {{ toDate(row.landed) }}
+
+
+
+
+ {{ t('ticket.list.salesPerson') }}
+ {{ row.client.salesPersonUser.name }}
+
+
+ {{ t('ticket.list.total') }}
+ {{ toCurrency(row.totalWithVat) }}
+
+
+
-
- {{ t('ticket.list.state') }}
-
-
- {{ row.ticketState.state.name }}
-
-
-
-
-
-
- {{ t('ticket.list.shipped') }}
- {{ toDate(row.shipped) }}
-
-
- {{ t('ticket.list.landed') }}
- {{ toDate(row.landed) }}
-
-
-
-
- {{ t('ticket.list.salesPerson') }}
- {{ row.client.salesPersonUser.name }}
-
-
- {{ t('ticket.list.total') }}
- {{ toCurrency(row.totalWithVat) }}
-
-
-
-
-
-
- {{ t('customer.list.moreOptions') }}
-
-
-
-
-
-
- Add a note
-
-
-
-
-
- Display customer history
-
-
-
-
+
+
+
+ {{ t('customer.list.moreOptions') }}
+
+
+
+
+
+
+ Add a note
+
+
+
+
+
+ Display customer history
+
+
+
+
-
- {{ t('components.smartCard.openCard') }}
-
-
- {{ t('components.smartCard.openSummary') }}
-
-
- {{ t('customer.list.customerOrders') }}
-
+
+ {{ t('components.smartCard.openCard') }}
+
+
+ {{ t('components.smartCard.openSummary') }}
+
+
+ {{ t('customer.list.customerOrders') }}
+
+
+
+
-
+