diff --git a/src/components/InvoicePreview.vue b/src/components/InvoicePreview.vue new file mode 100644 index 0000000..d729ba8 --- /dev/null +++ b/src/components/InvoicePreview.vue @@ -0,0 +1,723 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ biz.name }} + + {{ line }} + {{ biz.email }} + {{ biz.phone }} + + + + + INVOICE + + + + + + + + + Invoice #: {{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due Date: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + Bill To: + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + + + + + + + + + + INVOICE + + + #{{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + + {{ biz.name }} + {{ biz.email }} + {{ biz.phone }} + {{ line }} + + + + + + + Bill To: + + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + INVOICE + + + {{ biz.name }} + {{ biz.email }} + {{ biz.phone }} + {{ line }} + + + + + + + + + + Invoice #: {{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due Date: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + + + + + Bill To: + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + + + + + {{ biz.name }} + + {{ line }} + {{ biz.email }} + {{ biz.phone }} + + + + + INVOICE + + + + + + Invoice #: {{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due Date: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + Bill To: + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + + + + + + + + + + INVOICE + + + #{{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + + {{ biz.name }} + {{ biz.email }} + {{ biz.phone }} + + + + + + + Bill To: + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + + + + {{ biz.name }} + + {{ biz.email }} + {{ biz.phone }} + + + + + INVOICE + + + + + + Invoice #: {{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due Date: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + Bill To: + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + + + + + + + + + + INVOICE + + + + + + {{ biz.name }} + + {{ line }} + {{ biz.email }} + {{ biz.phone }} + + + + + + + + + Invoice #: {{ invoice.invoice_number }} + Date: {{ formatDate(invoice.date) }} + Due Date: {{ formatDate(invoice.due_date) }} + Status: {{ invoice.status }} + + + Bill To: + {{ clientName }} + {{ clientEmail }} + {{ line }} + + + + + + + + + + + + + + Description + + + Qty + + + Rate + + + Amount + + + + + + + {{ item.description }} + + + {{ item.quantity }} + + + {{ formatCurrency(item.rate) }} + + + {{ formatCurrency(item.amount) }} + + + + + + + + + + + Subtotal: + {{ formatCurrency(invoice.subtotal) }} + + + + + Tax ({{ invoice.tax_rate }}%): + {{ formatCurrency(invoice.tax_amount) }} + + + + + Discount: + -{{ formatCurrency(invoice.discount) }} + + + + + + + + Total: + {{ formatCurrency(invoice.total) }} + + + + + + + Notes: + {{ invoice.notes }} + + + + +