Subversion Repositories SmartDukaan

Rev

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

Rev 31069 Rev 31076
Line 814... Line 814...
814
	}
814
	}
815
 
815
 
816
	private InvoicePdfModel getInvoicePdfModel(FofoOrder fofoOrder) throws ProfitMandiBusinessException {
816
	private InvoicePdfModel getInvoicePdfModel(FofoOrder fofoOrder) throws ProfitMandiBusinessException {
817
 
817
 
818
		List<PaymentOptionTransaction> paymentOptionTransactions = paymentOptionTransactionRepository
818
		List<PaymentOptionTransaction> paymentOptionTransactions = paymentOptionTransactionRepository
819
				.selectByReferenceIdAndType(fofoOrder.getId(), PaymentOptionReferenceType.ORDER);
819
				.selectByReferenceIdAndTypes(fofoOrder.getId(), Arrays.asList(PaymentOptionReferenceType.ORDER, PaymentOptionReferenceType.INSURANCE));
820
 
820
 
821
		List<CustomPaymentOption> paymentOptions = new ArrayList<>();
821
		List<CustomPaymentOption> paymentOptions = new ArrayList<>();
822
 
822
 
823
		InvoicePdfModel pdfModel = new InvoicePdfModel();
823
		InvoicePdfModel pdfModel = new InvoicePdfModel();
824
		for (PaymentOptionTransaction paymentOptionTransaction : paymentOptionTransactions) {
824
		for (PaymentOptionTransaction paymentOptionTransaction : paymentOptionTransactions) {