Subversion Repositories SmartDukaan

Rev

Rev 29070 | Rev 29083 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29070 Rev 29082
Line 685... Line 685...
685
			}
685
			}
686
			
686
			
687
			CustomRetailer cr = customRetailerMap.get(retailerId);
687
			CustomRetailer cr = customRetailerMap.get(retailerId);
688
 
688
 
689
			rows.add(Arrays.asList(retailerId, cr.getBusinessName(), cr.getAddress().getCity(),
689
			rows.add(Arrays.asList(retailerId, cr.getBusinessName(), cr.getAddress().getCity(),
690
					cr.getAddress().getState(), accountClosing, closingWalletMap.get(retailerId), inTransitStock.get(retailerId)));
690
					cr.getAddress().getState(), accountClosing, closingWalletMap.get(retailerId), inTransitStock.get(walletId)));
691
		}
691
		}
692
		
692
		
693
 
693
 
694
		org.apache.commons.io.output.ByteArrayOutputStream byteArrayOutputStream = FileUtil
694
		org.apache.commons.io.output.ByteArrayOutputStream byteArrayOutputStream = FileUtil
695
				.getCSVByteStream(Arrays.asList("Id", "Partner Name", "City", "State", "Closing Balance", "Closing Wallet", "In Transit"), rows);
695
				.getCSVByteStream(Arrays.asList("Id", "Partner Name", "City", "State", "Closing Balance", "Closing Wallet", "In Transit"), rows);