v5.0.0 update

This commit is contained in:
Mohit Panjwani
2021-11-30 18:58:19 +05:30
parent d332712c22
commit 082d5cacf2
1253 changed files with 88309 additions and 71741 deletions

View File

@ -0,0 +1,46 @@
<template>
<div class="mb-6">
<div
class="z-20 text-sm font-semibold leading-5 text-primary-400 float-right"
>
<SelectNotePopup :type="type" @select="onSelectNote" />
</div>
<label class="text-primary-800 font-medium mb-4 text-sm">
{{ $t('invoices.notes') }}
</label>
<BaseCustomInput
v-model="store[storeProp].notes"
:content-loading="store.isFetchingInitialSettings"
:fields="fields"
class="mt-1"
/>
</div>
</template>
<script setup>
import { ref } from 'vue'
import SelectNotePopup from '../SelectNotePopup.vue'
const props = defineProps({
store: {
type: Object,
default: null,
},
storeProp: {
type: String,
default: '',
},
fields: {
type: Object,
default: null,
},
type: {
type: String,
default: null,
},
})
function onSelectNote(data) {
props.store[props.storeProp].notes = '' + data.notes
}
</script>