revert: #6943 remove bad code when merge conflicts
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
0aa43506e3
commit
1cf6a7b1a9
|
@ -25,11 +25,7 @@ const $props = defineProps({
|
||||||
const entityId = computed(() => $props.id || route.params.id);
|
const entityId = computed(() => $props.id || route.params.id);
|
||||||
const customer = computed(() => summary.value.entity);
|
const customer = computed(() => summary.value.entity);
|
||||||
const summary = ref();
|
const summary = ref();
|
||||||
const clientUrl = ref();
|
|
||||||
|
|
||||||
onMounted(async () => {
|
|
||||||
clientUrl.value = (await getUrl('client/')) + entityId.value + '/';
|
|
||||||
});
|
|
||||||
const defaulterAmount = computed(() => customer.value.defaulters[0]?.amount);
|
const defaulterAmount = computed(() => customer.value.defaulters[0]?.amount);
|
||||||
const balanceDue = computed(() => {
|
const balanceDue = computed(() => {
|
||||||
const amount = defaulterAmount.value;
|
const amount = defaulterAmount.value;
|
||||||
|
|
Loading…
Reference in New Issue