Meatechsupport 5c73bafeaa Modifying the number of leave days calculation part.
we don't need to exclude the Holiday list (that comes in between) from the total number of leaves applied.

Add option in the leave type

added a field in the leave type to include and exclude the holidays from
the tolal leave applied days

Added the field

Added a field Include Holiday to leave Type doctype

changed the lable

changed the lable from "Include Holiday" to "Include holidays within leaves
as leaves"

Rearranged the function

moved holidays = leave_app.get_holidays() under if
Corrected 'total_leave_days' : flt(tot_days)-flt(holidays)

Adding test case

added the test case

Added test case

Added test case to test_leave_application.py

adding default value

added default value and corrected the syntax.

IndentationError

removed extra tabs after
2015-07-27 13:46:00 +04:00
..
2015-05-18 11:19:10 +05:30
2015-05-18 11:19:10 +05:30
2015-06-01 14:01:56 +05:30
2015-03-18 16:22:13 +05:30
2015-04-08 12:28:21 +05:30
2015-04-08 12:28:21 +05:30
2015-04-08 12:28:21 +05:30
2015-05-22 16:55:55 +05:30