FHM24062601CPONE - add branch name at footer

This commit is contained in:
sas.fajri
2026-06-24 16:19:07 +07:00
parent 8caa27b436
commit 2716f15cbe

View File

@@ -32,9 +32,15 @@ module.exports = {
}
,computed: {
branch_name() {
let branch = this.$store.state.system.branch
if (branch.M_BranchName == undefined) return ''
return branch.M_BranchName
try {
let retrievedObject = localStorage.getItem("user")
if (!retrievedObject) return ''
let dtuser = JSON.parse(retrievedObject)
if (dtuser.M_BranchName == undefined) return ''
return dtuser.M_BranchName
} catch(e) {
return ''
}
},
f_tanggal() {
try {