import clsx from 'classnames'; import styles from './InvoicePaperTemplate.module.scss'; interface PaperTemplateProps { invoiceNumber?: string; invoiceNumberLabel?: string; dateIssue?: string; dateIssueLabel?: string; dueDate?: string; dueDateLabel?: string; companyName?: string; bigtitle?: string; itemRateLabel?: string; itemQuantityLabel?: string; itemTotalLabel?: string; // Totals showDueAmount?: boolean; showDiscount?: boolean; showPaymentMade?: boolean; showTaxes?: boolean; showSubtotal?: boolean; showTotal?: boolean; showBalanceDue?: boolean; paymentMadeLabel?: string; discountLabel?: string; subtotalLabel?: string; totalLabel?: string; balanceDueLabel?: string; } export function InvoicePaperTemplate({ bigtitle = 'Invoice', companyName = 'Bigcapital Technology, Inc.', // dueDateLabel, dueDate = 'September 3, 2024', dueDateLabel = 'Date due', dateIssue = 'September 3, 2024', dateIssueLabel = 'Date of issue', // dateIssue, invoiceNumberLabel = 'Invoice number', invoiceNumber = '346D3D40-0001', // Entries itemQuantityLabel = 'Quantity', itemRateLabel = 'Rate', itemTotalLabel = 'Total', totalLabel = 'Total', subtotalLabel = 'Subtotal', discountLabel = 'Discount', paymentMadeLabel = 'Payment Made', balanceDueLabel = 'Balance Due', // Totals showTotal = true, showSubtotal = true, showDiscount = true, showTaxes = true, showPaymentMade = true, showDueAmount = true, showBalanceDue = true, }: PaperTemplateProps) { return (
| Item | Description | {itemRateLabel} | {itemTotalLabel} |
|---|---|---|---|
| Simply dummy text | Simply dummy text of the printing and typesetting | 1 X $100,00 | $100,00 |