Browse Source

[ADD] customer information un pos summary display

Gogs 7 years ago
parent
commit
2daf995f82
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/SummaryDisplay.vue

+ 3 - 1
src/components/SummaryDisplay.vue

@@ -1,6 +1,7 @@
 <template lang="pug">
     .summary
         h2 {{ getTotal() }}
+        h3 {{ customer.name }}
 </template>
 
 <script>
@@ -8,7 +9,8 @@
 
     export default {
         computed: mapGetters({
-            total: 'getTotal'
+            total: 'getTotal',
+            customer: 'getSelectedCustomer'
         }),
         methods: {
             getTotal() {