aboutsummaryrefslogtreecommitdiff
path: root/src/components/invoice_summary.vue
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 16:17:28 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 16:17:28 +0530
commit3ebd619d89aa20b57542888ac1dac47451c4b1a9 (patch)
tree56e7376bc70bb11365e8842d5b8717aaed7ea29d /src/components/invoice_summary.vue
parent06a157b8cd0bcd0bba0f6a7f81693c3cfa27d74d (diff)
making print preview slightly better0.3.2
Diffstat (limited to 'src/components/invoice_summary.vue')
-rw-r--r--src/components/invoice_summary.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/invoice_summary.vue b/src/components/invoice_summary.vue
index 6ca7907..31fb7a5 100644
--- a/src/components/invoice_summary.vue
+++ b/src/components/invoice_summary.vue
@@ -5,5 +5,7 @@ const props = defineProps(["items", "isLoading"])
</script>
<template>
- Total: {{ props.items.reduce((t, c) => t.add(c.TotalAmount), currency(0)) }}
+ <div class="invoice-summary">
+ Total: {{ props.items.reduce((t, c) => t.add(c.TotalAmount), currency(0)) }}
+ </div>
</template>