Proper no žalobce handling
This commit is contained in:
parent
212e17862f
commit
492a1924b2
@ -268,7 +268,7 @@ export default {
|
||||
}
|
||||
// TODO: proper validation
|
||||
if (!this.hasZastoupeni) {
|
||||
this.zaloba.zalobci[0].zastoupeni = null
|
||||
this.zaloba.zalobci[0].zastoupen = null
|
||||
}
|
||||
this.zaloba.datum = this.zaloba.datum.toLocaleDateString('cs-CZ')
|
||||
this.$emit("zalobaguideclose",this.zaloba)
|
||||
|
@ -207,7 +207,7 @@ export default {
|
||||
text: `${e.sidlo.uliceacislopopisne}, ${e.sidlo.psc}, ${e.sidlo.mesto}`,
|
||||
style: "zalobce"
|
||||
},
|
||||
...typeof e.zastoupen !== "undefined" ? [
|
||||
...typeof e.zastoupen !== "undefined" && e.zastoupen !== null ? [
|
||||
{
|
||||
text: "zastoupen: ",
|
||||
style: "zalobce"
|
||||
@ -239,7 +239,7 @@ export default {
|
||||
text: `${e.sidlo.uliceacislopopisne}, ${e.sidlo.psc}, ${e.sidlo.mesto}`,
|
||||
style: "zalobce"
|
||||
},
|
||||
...typeof e.zastoupen !== "undefined" ? [
|
||||
...typeof e.zastoupen !== "undefined" && e.zastoupen !== null ? [
|
||||
{
|
||||
text: "zastoupen: ",
|
||||
style: "zalobce"
|
||||
|
Loading…
Reference in New Issue
Block a user