phonepe #49
| @ -100,7 +100,7 @@ export class InvoiceService { | |||||||
|       const receiptToBoxX = 15; |       const receiptToBoxX = 15; | ||||||
|       const receiptToBoxY = 50; |       const receiptToBoxY = 50; | ||||||
|       const receiptToBoxWidth = 100; |       const receiptToBoxWidth = 100; | ||||||
|       const receiptToBoxHeight = 40; |       const receiptToBoxHeight = 36; | ||||||
| 
 | 
 | ||||||
|       doc.setDrawColor(0, 0, 0); |       doc.setDrawColor(0, 0, 0); | ||||||
|       doc.setLineWidth(0.5); |       doc.setLineWidth(0.5); | ||||||
| @ -163,7 +163,7 @@ export class InvoiceService { | |||||||
|         doc.text('CGST (9%):', 150, finalY + 20, { align: 'right' }); |         doc.text('CGST (9%):', 150, finalY + 20, { align: 'right' }); | ||||||
|         doc.text(`${cgst.toFixed(2)} INR`, 195, finalY + 20, { align: 'right' }); |         doc.text(`${cgst.toFixed(2)} INR`, 195, finalY + 20, { align: 'right' }); | ||||||
| 
 | 
 | ||||||
|         doc.line(120, finalY + 25, 195, finalY + 25); |         doc.line(15, finalY + 25, 15, finalY + 25); | ||||||
|          |          | ||||||
|         doc.setFont('helvetica', 'bold'); |         doc.setFont('helvetica', 'bold'); | ||||||
|         doc.text('Total Amount:', 150, finalY + 30, { align: 'right' }); |         doc.text('Total Amount:', 150, finalY + 30, { align: 'right' }); | ||||||
| @ -180,7 +180,7 @@ export class InvoiceService { | |||||||
|       const boxX = 15; |       const boxX = 15; | ||||||
|       const boxY = paymentY - 10; |       const boxY = paymentY - 10; | ||||||
|       const boxWidth = 100; |       const boxWidth = 100; | ||||||
|       const boxHeight = 40; |       const boxHeight = 36; | ||||||
| 
 | 
 | ||||||
|       doc.setDrawColor(0, 0, 0); |       doc.setDrawColor(0, 0, 0); | ||||||
|       doc.setLineWidth(0.5); |       doc.setLineWidth(0.5); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user