mirror of
https://github.com/frappe/books.git
synced 2025-01-26 08:38:27 +00:00
Pass doc in ReportFilters
This commit is contained in:
parent
631cb61c31
commit
bd4c581462
@ -5,6 +5,7 @@
|
||||
:key="docfield.fieldname"
|
||||
:docfield="docfield"
|
||||
:value="$data.filterValues[docfield.fieldname]"
|
||||
:doc="$data.filterValues"
|
||||
@change="updateValue(docfield.fieldname, $event)"/>
|
||||
</div>
|
||||
</template>
|
||||
@ -30,13 +31,6 @@ export default {
|
||||
this.$emit('change', this.filterValues);
|
||||
}
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
dynamicLinkTarget: reference => {
|
||||
return this.filterValues[reference];
|
||||
}
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
updateValue(fieldname, value) {
|
||||
this.filterValues[fieldname] = value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user