|
@@ -29,6 +29,20 @@ Este modulo fue construido con la finalidad de mejorar y facilitar la manipulaci
|
|
* **Nombre:** Hora Extra.
|
|
* **Nombre:** Hora Extra.
|
|
* **Categoría:** HORA EXTRA.
|
|
* **Categoría:** HORA EXTRA.
|
|
* **Código:** HORA_EXTRA.
|
|
* **Código:** HORA_EXTRA.
|
|
-* **Secuencia:** 5.
|
|
|
|
-* [X] **Activo**
|
|
|
|
-* [X] **Aparece en la nómina**
|
|
|
|
|
|
+
|
|
|
|
+###### Condiciones
|
|
|
|
+* **Condición basada en:** Expresión python
|
|
|
|
+* **Condición python:**
|
|
|
|
+```py
|
|
|
|
+result = True
|
|
|
|
+if inputs.ADL:
|
|
|
|
+ if inputs.ADL.amount > 0.0:
|
|
|
|
+ result = False
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+###### Cálculo
|
|
|
|
+* **Tipo de importe:** Código Python
|
|
|
|
+* **Código Python:**
|
|
|
|
+```py
|
|
|
|
+ result = inputs.HORA_EXTRA and (inputs.HORA_EXTRA.amount) or 0
|
|
|
|
+```
|