Subversion Repositories SmartDukaan

Rev

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

Rev 22692 Rev 22706
Line 283... Line 283...
283
            amountInWordsTable.addCell(new Paragraph("E & O.E", FONT_NORMAL));
283
            amountInWordsTable.addCell(new Paragraph("E & O.E", FONT_NORMAL));
284
            document.add(amountInWordsTable);            
284
            document.add(amountInWordsTable);            
285
            
285
            
286
            StringBuffer sb = new StringBuffer();
286
            StringBuffer sb = new StringBuffer();
287
            sb.append("I agree that goods received are in good working condition");
287
            sb.append("I agree that goods received are in good working condition");
288
            sb.append("Goods once sold cannot be exchanged or taken back");
288
            sb.append("\nGoods once sold cannot be exchanged or taken back");
289
            sb.append("Warranty for the goods received by me is the responsibility of the manufacturer only.");
289
            sb.append("\nWarranty for the goods received by me is the responsibility of the manufacturer only.");
290
            sb.append("Goods once sold will not be taken back.");
-
 
291
            if(pdfModel.getInsurancePolicies() != null && pdfModel.getInsurancePolicies().size() > 0) {
290
            if(pdfModel.getInsurancePolicies() != null && pdfModel.getInsurancePolicies().size() > 0) {
292
            	sb.append("Damage protection provided is the responisibility of Protection Provider only");
291
            	sb.append("\nDamage protection provided is the responisibility of Protection Provider only");
293
            }
292
            }
294
            Paragraph warningParagraph = new Paragraph(sb.toString(), FONT_NORMAL);
293
            Paragraph warningParagraph = new Paragraph(sb.toString(), FONT_NORMAL);
295
            warningParagraph.setIndentationLeft(40);
294
            warningParagraph.setIndentationLeft(40);
296
            document.add(Chunk.NEWLINE);
295
            document.add(Chunk.NEWLINE);
297
            document.add(warningParagraph);
296
            document.add(warningParagraph);