This commit is contained in:
suseendhiran17 2023-07-14 15:49:54 +05:30
parent 5c8669ea32
commit 3f30f3946a

View File

@ -59,7 +59,7 @@ exports.PullCreditPdData = async (req, res) => {
temp_array.length = 0 ;
for (var [ObjectKey, ObjectValue] of Object.entries(OverallValue)) {
if (Array.isArray(OverallValue[ObjectKey]) == true)
if (Array.isArray(OverallValue[ObjectKey]) == true && OverallValue[ObjectKey].length != 0)
{
temp_array = await Credit_PdHelper.ARRAY( OverallValue[ObjectKey] , GenInfoObj , OverallKey )
}