@lancom/shared 0.0.145 → 0.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,9 @@ export default {
22
22
  },
23
23
  },
24
24
  computed: {
25
+ couponTotal() {
26
+ return Math.abs(this.order.couponTotal || 0);
27
+ },
25
28
  model() {
26
29
  return this.invoice || this.order;
27
30
  },
@@ -141,6 +141,11 @@
141
141
  <div class="lc_regular16">
142
142
  GST: <b>{{ model.totalGST - model.total | price }}</b>
143
143
  </div>
144
+ <div
145
+ v-if="!invoice && order.couponCode"
146
+ class="lc_regular16">
147
+ Coupon: <b>{{ couponTotal | price }}</b>
148
+ </div>
144
149
  <div class="lc_regular16">
145
150
  Total inc GST: <b>{{ model.totalGST | price }}</b>
146
151
  </div>
package/nuxt.config.js CHANGED
@@ -45,7 +45,7 @@ module.exports = (config, axios, { raygunClient } = {}) => ({
45
45
  '@/node_modules/@lancom/shared/plugins/vee-validate',
46
46
  { src: '@/node_modules/@lancom/shared/plugins/vue-toastr', ssr: false },
47
47
  { src: '@/node_modules/@lancom/shared/plugins/vue-hummer', ssr: false },
48
- '@/node_modules/@lancom/shared/plugins/vue-multiselect',
48
+ // '@/node_modules/@lancom/shared/plugins/vue-multiselect',
49
49
  '@/node_modules/@lancom/shared/plugins/vue-tooltip',
50
50
  { src: '@/node_modules/@lancom/shared/plugins/lazy', ssr: false },
51
51
  '@/node_modules/@lancom/shared/plugins/vue-click-outside',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.145",
3
+ "version": "0.0.146",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {