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 (

{bigtitle}

{invoiceNumberLabel}
{invoiceNumber}
{dateIssueLabel}
{dateIssue}
{dueDateLabel}
{dueDate}
{companyName}
131 Continental Dr Suite 305 Newark,
Delaware 19713
United States
+1 762-339-5634
ahmed@bigcapital.app
Billed To
Bigcapital Technology, Inc.
131 Continental Dr Suite 305 Newark,
Delaware 19713
United States
+1 762-339-5634
ahmed@bigcapital.app
Item Description {itemRateLabel} {itemTotalLabel}
Simply dummy text Simply dummy text of the printing and typesetting 1 X $100,00 $100,00
{showSubtotal && (
{subtotalLabel}
630.00
)} {showDiscount && (
{discountLabel}
0.00
)} {showTaxes && ( <>
Sample Tax1 (4.70%)
11.75
Sample Tax2 (7.00%)
21.00
)} {showTotal && (
{totalLabel}
$662.75
)} {showPaymentMade && (
{paymentMadeLabel}
100.00
)} {showBalanceDue && (
{balanceDueLabel}
$562.75
)}
Terms & Conditions
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.
Statement
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.
); }