ver 0.5.71:
- Info Conto - Admin: poter modificare Fido e QtaMax.
This commit is contained in:
@@ -7663,6 +7663,32 @@ export const tools = {
|
||||
})
|
||||
},
|
||||
|
||||
isDevelop() {
|
||||
return process.env.DEV
|
||||
},
|
||||
|
||||
getIndMainCardsByTable(table: string) {
|
||||
for (let i = 0; i < costanti.MAINCARDS.length; i++) {
|
||||
if (costanti.MAINCARDS[i].table === table)
|
||||
return i
|
||||
}
|
||||
return -1
|
||||
},
|
||||
|
||||
getStrByParamTypeAccount(paramTypeAccount: string): string {
|
||||
const myrec = costanti.ParamTypeAccountStr.find((rec: any) => rec.value === paramTypeAccount)
|
||||
return myrec ? translate(myrec.labeltrans) : ''
|
||||
},
|
||||
|
||||
getTypeByParamTypeAccount(paramTypeAccount: string): number {
|
||||
const myrec = costanti.ParamTypeAccountStr.find((rec: any) => rec.value === paramTypeAccount)
|
||||
return myrec ? myrec.type : 0
|
||||
},
|
||||
getFieldByParamTypeAccount(paramTypeAccount: string): string {
|
||||
const myrec = costanti.ParamTypeAccountStr.find((rec: any) => rec.value === paramTypeAccount)
|
||||
return myrec ? myrec.field : ''
|
||||
},
|
||||
|
||||
// FINE !
|
||||
|
||||
// getLocale() {
|
||||
|
||||
Reference in New Issue
Block a user