Merge pull request #2118 from brkcvn/min-date-control

Flatpickr minimum date controlled Invoice and Reconciliations page.
This commit is contained in:
Cüneyt Şentürk
2021-06-18 18:26:47 +03:00
committed by GitHub
6 changed files with 781 additions and 757 deletions

View File

@ -5,6 +5,7 @@
{'readonly': readonly},
{'disabled': disabled},
{'hidden-year': hiddenYear},
{'data-value-min': dataValueMin},
formClasses
]"
:footer-error="formError"
@ -98,6 +99,9 @@ export default {
},
hiddenYear: {
type: [Boolean, String]
},
dataValueMin: {
type: [Boolean, String, Date]
}
},
@ -149,7 +153,11 @@ export default {
watch: {
value: function(val) {
this.real_model = val;
}
},
dataValueMin: function(val) {
this.dateConfig.minDate = val;
},
}
}
</script>