瀏覽代碼

[FIX] README

adrielso 6 年之前
父節點
當前提交
3115a0a33b
共有 1 個文件被更改,包括 17 次插入3 次删除
  1. 17 3
      README.md

+ 17 - 3
README.md

@@ -29,6 +29,20 @@ Este modulo fue construido con la finalidad de mejorar y facilitar la manipulaci
 * **Nombre:** Hora Extra.  
 * **Categoría:** 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
+```