ver 0.5.71:

- Info Conto
- Admin: poter modificare Fido e QtaMax.
This commit is contained in:
Surya Paolo
2023-02-23 16:07:52 +01:00
parent 19860aa438
commit c8e0f7922f
39 changed files with 617 additions and 187 deletions

View File

@@ -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() {