This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
leon:diets-definitions [2016/08/30 13:06] 127.0.0.1 external edit |
leon:diets-definitions [2023/03/26 16:22] julia [Per Diems Definitions] |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | In this section you input all the necessary details (amounts, currency, mode) so that the panel works properly and the wages match performed flights by your crew members. | + | In this section, you input all the necessary details (amounts, currency, mode) so that the panel works properly and the wages match performed flights by your crew members. |
- | There are **2** modes available: | ||
- | * **Normal** | + | In Per Diems module you can see 3 tabs: |
- | * **Workflow** | + | |
- | ===== Normal mode ===== | + | * **Default** - if the day rate is the same for all countries and airports, it should remain set as ' |
+ | * **Countries** - fill in, if there is a defined rate per country | ||
+ | * **Airports** - fill in, if there is a defined rate per airport | ||
- | [{{ :leon:admin-diets-definitions:diets-definitions-normal-mode.png? | + | < |
+ | <span style=" | ||
+ | </ | ||
- | In this mode you can see columns such as: | + | < |
- | * **Airport** - if the day rate is the same for all airports, it should remain set as ' | + | |
- | * **Month** - you can select for what month per diems should be counted - for a specific airport. | + | To generate a report of Per Diems calculated |
- | * **Currency** - choose the currency in which per diems should be counted. | + | |
- | * **Currency day rate** - the amount | + | **Leon calculates Per Diems in the way**: |
- | * **Currency/ | + | |
+ | If time spent by crew outside homebase is **< 1h** - no per diem is calculated. | ||
+ | |||
+ | If time spent by crew outside homebase is **> 1h and < 6h** - 1/4 of per diem is calculated. | ||
+ | |||
+ | If time spent by crew outside homebase is **> 6h and < 12h** - 1/2 of per diem is calculated. | ||
+ | |||
+ | If time spent by crew outside homebase is **> 12h** - 1 per diem is calculated. | ||
< | < | ||
Line 30: | Line 39: | ||
**__Example__**: | **__Example__**: | ||
- | Default | + | The default |
< | < | ||
+ | ------------------- | ||
+ | ===== Customising Per Diems ===== | ||
+ | |||
+ | We are also able to customise 'Per Diems' | ||
+ | |||
+ | Customising 'Per Diems' will only be possible if it is within available settings described in this section. | ||
+ | |||
+ | < | ||
+ | |||
+ | ==== Definitions used in the Settings instruction ==== | ||
+ | |||
+ | * **Element** – single element representing crew member’s activity with start and end times and locations. For example flight, duty, etc. Usually elements will be crew member’s flights and positionings, | ||
+ | * **Element group** – diem elements will be grouped based on their start and end locations in order to determine total duration used for diem rate calculation. Usually group will contain all elements between element starting and element ending in crew member’s homebase, but this can be changed | ||
+ | * **Length** –time in a single day which is used for calculation of diem rate. Each diem element group can span multiple days and each of this days will have diem rate calculated based on diem duration. This usually includes all time spent outside home base in a single day for a crew member, but this can be changed | ||
+ | * **Fraction** – value between 0 and 1 indicating fraction of diem rate. This is calculated from diem length | ||
+ | * **Rate** – full amount of money paid to crew member for a single day. This can be configured by the operator from Leon interface. To calculate actual diem rate will be multiplied by fraction which is derived from diem length | ||
+ | * **Selected time period** – period for which diem elements will be fetched and grouped. 30 days will be added to the period selected by user in order to correctly create diem element groups that are not fully included in the selected period | ||
+ | * **HB** – crew member’s home base airport | ||
+ | * **NHB** – any airport other than home base | ||
+ | |||
+ | ==== Settings available from Admin > Per Diems Definitions section ==== | ||
+ | |||
+ | Currently, in the 'Per Diems Definitions' | ||
+ | |||
+ | * **Rates by airport and currency** | ||
+ | * **Show diems for home bases countries** – when turned on entire country in which crew member’s HB airport is located will be treated as HB. Effectively, | ||
+ | |||
+ | |||
+ | ==== Settings available only within customisation ==== | ||
+ | |||
+ | The below settings are only available within the customisation: | ||
+ | |||
+ | __**1. Element type**__ | ||
+ | |||
+ | Element type controls the type of diem element used for diems calculation. Only one element type can be selected. | ||
+ | |||
+ | This setting allows 3 values described below: | ||
+ | |||
+ | * **Flights (default)** – diems are calculated from flights or positionings in which selected crew member is flying on any position. This setting allows for the additional configuration described below | ||
+ | * **Exclude PAD (set to ' | ||
+ | * **Use reporting times (set to ' | ||
+ | * **Activity types (flights and positionings by default)** – list of activity types included in the calculation. Two values can be included in this list, // | ||
+ | * **Duties** – diems are calculated from selected crew member’s roster duties. This setting allows for the additional configuration described below. | ||
+ | * **Duty types (set to ' | ||
+ | * **FTL** – diems are calculated using selected crew member’s FTL duties. This setting allows for the additional configuration described below | ||
+ | * **Include duties from roster (set to ' | ||
+ | |||
+ | __**2. Element grouping**__ | ||
+ | |||
+ | Element grouping determines the way elements will be grouped. | ||
+ | |||
+ | This setting allows 3 values described below: | ||
+ | |||
+ | * **HB to HB (default)** – elements are grouped so that first element in the group starts in HB and the last element ends in HB | ||
+ | * Consider the following elements (flights in this case) | ||
+ | * FLT1 12:00 HB-NHB1 13:00 | ||
+ | * FLT2 15:00 NHB1-NHB2 16:00 | ||
+ | * FLT3 17:00 NHB2-HB 18:00 | ||
+ | * In this case, all of these flights will be grouped in one group with a total length of 6 hours (assuming include data elements setting is on) | ||
+ | * **NHB to NHB** - elements are grouped so that first element in the group starts in NHB and the last element ends in NHB | ||
+ | * Consider the following elements (flights in this case) | ||
+ | * FLT1 12:00 HB-NHB1 13:00 | ||
+ | * FLT2 15:00 NHB1-HB 16:00 | ||
+ | * FLT3 17:00 HB- NHB1 18:00 | ||
+ | * In this case, FLT1 will not be in any group and FLT2 and FLT3 will be grouped | ||
+ | * **None** – elements are effectively not grouped resulting in every element, regardless of start and end location, being considered separately | ||
+ | |||
+ | |||
+ | __**3. Include data elements (set to ' | ||
+ | |||
+ | When switched on, all elements, as well as periods between those elements, will be included in diem calculation. When switched off only periods between those elements will be included | ||
+ | |||
+ | * Consider following elements (flights in this case) | ||
+ | * FLT1 12:00 HB-NHB 13:00 | ||
+ | * FLT2 15:00 NHB-HB 16:00 | ||
+ | * With this option switched on diems will be calculated for 4 hours (12:00 – 16:00) | ||
+ | * With this option switched off diems will be calculated for 2 hours (13:00 – 15:00, both elements are excluded) | ||
+ | |||
+ | |||
+ | __**4. Selected period handling**__ | ||
+ | |||
+ | This setting determines what happens if an element group does not entirely fit in the selected period. | ||
+ | |||
+ | This setting allows 3 values described below: | ||
+ | |||
+ | * **Divide (default)** – element group that does not fit will be divided and only a part included in selected period will be displayed | ||
+ | * **Current** – element group that does not fit will be included in a period in which it starts | ||
+ | * **Next** – element group that does not fit will be included in a period in which it ends | ||
+ | |||
+ | |||
+ | __**5. Diem calculation method**__ | ||
+ | |||
+ | This setting configures the way in which diem length influences diem fraction. Any relatively simple mapping of length to fraction can be implemented. | ||
+ | |||
+ | The default mapping is described below: | ||
+ | |||
+ | * Length between 0 and 1 hour → 0 | ||
+ | * Length greater than 1 hour and less than 6 hours → ¼ | ||
+ | * Length greater than 6 hour and less than 12 hours → ½ | ||
+ | * Length greater than 12 hours → 1 | ||
+ | |||
+ | |||
+ | __**6. Use only first home base (set to ' | ||
+ | |||
+ | When switched on, only the first home base will be treated as home base for diem calculation. | ||
+ | |||
+ | |||
+ | __**7. Include HB to HB (set to ' | ||
+ | |||
+ | When switched on, elements both starting and ending in HB will be included in diem calculation. | ||
- | ===== Workflow mode ===== | ||
- | [{{ : | + | __**8. Exclude first and last element (set to 'OFF' |
- | In this mode you can define the **workflow** of calculating, checking | + | When switched on, first and last elements |
- | For the exact mechanism of how the diets are calculated in Workflow mode go to [[leon: |