1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00
Yamel Senih 5686e5466e
Add Translation for Preference Dialog (#809)
* Add Translation for Preference Dialog:
- en: docs/es/guide/components/preference.md
- es: docs/guide/components/preference.md
- zh: docs/zh/guide/components/preference.md

* Remove size for ZH
2021-05-03 19:17:09 -04:00

58 lines
2.1 KiB
Markdown

# Preference
Allows set a default value for a record, the value can be set for the follows entities:
- **Check Client**: Set default value for all clients
- **Check Organization**: Set default value for all organizations
- **Check User**: Set default value for all users
- **Check Window**: Set default value for all windows
## ADempiere-ZK Version
<img :src="$withBase('/images/components/preference/zk-desktop-version-preference.png')" alt="Preference dialog for ZK verion" width="800px">
## ADempiere-Vue Version
<img :src="$withBase('/images/components/preference/preference-desktop-mobile.png')" alt="Preference dialog for Vue Version" width="800px">
When a flag is unchecked, the user make as default value for all entities related to check:
When the flag **Window** is unchecked the default value setted is applied for all windows intead. The behavior can be see when a new record is created on any window with with the same field name.
The same behavior is for the flags **Client**, **Organization** and **User**.
## Where is it?
This dialog can be open over any field of window.
## What is the scope?
Just set the default value for a field on a client, window, organization or window.
## Functions and comments
The default value for all entities checks is the follow:
- **For all organizations of this Client, this User and this Window**
## How work in desktop version?
In desktop version just make click over a field and select the option "**Preference**", the preference dialog will be showed at center.
## How work in mobile version?
In mobile version just make click over a field and select the option "**Preference**", the preference dialog will be opened at right as a drawer.
## Tech Tips
The **Preference** dialog was written on the follow path:
```bash
└── src # main source code
└── components # global components
└── ADempiere # ADempiere specific components
└── field # Fields
└── contextMenu # Context Menu for all fields
└── preference # Preference folder
```