Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
575 B
0
Indexable
Never
if(contractArr[0]?.PayTerms == 'Day Wise'){
//                 paymentAmount = (milkCollectionIds.length) * contractArr[0]?.PayAmount / 2 // need to make sure if there should be only one contract for one vehicle
//             }
//             if(contractArr[0]?.PayTerms == 'Shift Wise'){
//                 paymentAmount = milkCollectionIds.length  * contractArr[0]?.PayAmount
//             }
//             if(contractArr[0]?.PayTerms == 'Month Wise') {
//                 paymentAmount = milkCollectionIds.length  * contractArr[0]?.PayAmount / daysCount
//             }
Leave a Comment