forked from verdnatura/salix-front
Fix unpaid bug
This commit is contained in:
parent
0f85bd25a2
commit
fe737324ea
|
@ -3,16 +3,17 @@ import { computed, onBeforeMount, ref, watch } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
|
|
||||||
import axios from 'axios';
|
|
||||||
|
|
||||||
import useNotify from 'src/composables/useNotify';
|
|
||||||
|
|
||||||
import VnInputDate from 'components/common/VnInputDate.vue';
|
import VnInputDate from 'components/common/VnInputDate.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
|
|
||||||
|
import axios from 'axios';
|
||||||
|
import useNotify from 'src/composables/useNotify';
|
||||||
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const { notify } = useNotify();
|
const { notify } = useNotify();
|
||||||
|
const stateStore = useStateStore();
|
||||||
|
|
||||||
const initialDated = '2001-01-01T11:00:00.000Z';
|
const initialDated = '2001-01-01T11:00:00.000Z';
|
||||||
const unpaidClient = ref(false);
|
const unpaidClient = ref(false);
|
||||||
|
@ -98,7 +99,7 @@ const onSubmit = async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Teleport to="#st-actions">
|
<Teleport v-if="stateStore?.isSubToolbarShown()" to="#st-actions">
|
||||||
<QBtnGroup push class="q-gutter-x-sm">
|
<QBtnGroup push class="q-gutter-x-sm">
|
||||||
<QBtn
|
<QBtn
|
||||||
:disabled="!hasChanged"
|
:disabled="!hasChanged"
|
||||||
|
|
Loading…
Reference in New Issue