Subversion Repositories SmartDukaan

Rev

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

Rev 24470 Rev 24510
Line 636... Line 636...
636
				.selectByReferenceIdAndType(fofoOrder.getId(), PaymentOptionReferenceType.ORDER);
636
				.selectByReferenceIdAndType(fofoOrder.getId(), PaymentOptionReferenceType.ORDER);
637
 
637
 
638
		List<CustomPaymentOption> paymentOptions = new ArrayList<>();
638
		List<CustomPaymentOption> paymentOptions = new ArrayList<>();
639
 
639
 
640
		PdfModel pdfModel = new PdfModel();
640
		PdfModel pdfModel = new PdfModel();
641
 
-
 
-
 
641
		pdfModel.setCancelled(fofoOrder.getCancelledTimestamp()!=null);
642
		for (PaymentOptionTransaction paymentOptionTransaction : paymentOptionTransactions) {
642
		for (PaymentOptionTransaction paymentOptionTransaction : paymentOptionTransactions) {
643
			CustomPaymentOption cpi = new CustomPaymentOption();
643
			CustomPaymentOption cpi = new CustomPaymentOption();
644
			cpi.setAmount(paymentOptionTransaction.getAmount());
644
			cpi.setAmount(paymentOptionTransaction.getAmount());
645
			cpi.setPaymentOption(
645
			cpi.setPaymentOption(
646
					paymentOptionRepository.selectById(paymentOptionTransaction.getPaymentOptionId()).getName());
646
					paymentOptionRepository.selectById(paymentOptionTransaction.getPaymentOptionId()).getName());