Restructured IncomingInvoices
Added Aspect Ration to DocumentDisplay.vue
This commit is contained in:
@@ -3,12 +3,14 @@ const props = defineProps({
|
||||
documents: {
|
||||
type: Array,
|
||||
required:true
|
||||
},
|
||||
returnDocumentId: {
|
||||
type: Boolean,
|
||||
}
|
||||
})
|
||||
const dataStore = useDataStore()
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -17,6 +19,8 @@ const dataStore = useDataStore()
|
||||
v-for="item in documents"
|
||||
:document-data="item"
|
||||
:key="item.id"
|
||||
@clicked="(info) => $emit('selectDocument', info)"
|
||||
:return-emit="returnDocumentId"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user