FHM24062601CPONE - add branch name at footer
This commit is contained in:
@@ -32,9 +32,15 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
,computed: {
|
,computed: {
|
||||||
branch_name() {
|
branch_name() {
|
||||||
let branch = this.$store.state.system.branch
|
try {
|
||||||
if (branch.M_BranchName == undefined) return ''
|
let retrievedObject = localStorage.getItem("user")
|
||||||
return branch.M_BranchName
|
if (!retrievedObject) return ''
|
||||||
|
let dtuser = JSON.parse(retrievedObject)
|
||||||
|
if (dtuser.M_BranchName == undefined) return ''
|
||||||
|
return dtuser.M_BranchName
|
||||||
|
} catch(e) {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
},
|
},
|
||||||
f_tanggal() {
|
f_tanggal() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user