| Line 1585... |
Line 1585... |
| 1585 |
|
1585 |
|
| 1586 |
Document panDoc = documentRepository.selectById(fk.getPanDoc());
|
1586 |
Document panDoc = documentRepository.selectById(fk.getPanDoc());
|
| 1587 |
File fPan = new File(panDoc.getPath() + panDoc.getName());
|
1587 |
File fPan = new File(panDoc.getPath() + panDoc.getName());
|
| 1588 |
String encodeString = encodeFileToBase64Binary(fPan);
|
1588 |
String encodeString = encodeFileToBase64Binary(fPan);
|
| 1589 |
|
1589 |
|
| 1590 |
mandiiService.documentUpload(pan, fk.getMobile(), "PAN", encodeString, null);
|
1590 |
mandiiService.documentUpload(pan, fk.getMobile(), "PROPRIETOR_PAN", encodeString, null);
|
| 1591 |
|
1591 |
|
| 1592 |
Document adhaarF = documentRepository.selectById(fk.getPoaFront());
|
1592 |
Document adhaarF = documentRepository.selectById(fk.getPoaFront());
|
| 1593 |
File adharf = new File(adhaarF.getPath() + adhaarF.getName());
|
1593 |
File adharf = new File(adhaarF.getPath() + adhaarF.getName());
|
| 1594 |
String adhaarFEncodstring = encodeFileToBase64Binary(adharf);
|
1594 |
String adhaarFEncodstring = encodeFileToBase64Binary(adharf);
|
| 1595 |
mandiiService.documentUpload(pan, fk.getMobile(), "AADHAAR", adhaarFEncodstring, "FRONT");
|
1595 |
mandiiService.documentUpload(pan, fk.getMobile(), "AADHAAR", adhaarFEncodstring, "FRONT");
|