Relative Content

Tag Archive for python-3.xjinja2erpnextfrappe

Dates, in sequence, in For Loop must not be repeated in Jinja Print Format, instead such dates which are equal/more than 3 in sequence must be clubbed

We want the rows to be clubbed i.e. Start Absent Date to End Absent Date in Single Column Field instead of each Absent Day coming on separate row, making the table very long and useless in those case where Absent Dates are in sequence such as 1-12-2023, 2-12-2023, 3-12-2023, 4-12-2023, etc AND rest of COlumn values are empty/zero. (this is used to show Long Leaves Dates in single row in Salary Slip of an Employee where he is absent for equal/more than 3 days consecutively without any gap)