Leave History Fetch from child table in Leave application

Please check the reference: Fetch Child table form one doctype to other doctype - #6 by NCP