@lancom/shared 0.0.220 → 0.0.222

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.
@@ -46,6 +46,10 @@
46
46
  background-position: 0px 0px;
47
47
  background-size: contain;
48
48
  }
49
+ &--small {
50
+ margin: 0 0;
51
+ padding: 0;
52
+ }
49
53
  }
50
54
  }
51
55
  .uppercase {
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  <table class="OrderView__table mt-4 lc_table bordered">
55
55
  <tr>
56
- <td>
56
+ <td class="w-33">
57
57
  <div class="lc_regular16">
58
58
  <b>Order</b>
59
59
  </div>
@@ -82,7 +82,7 @@
82
82
  </td>
83
83
  <td
84
84
  v-if="model.paid"
85
- class="w-50">
85
+ class="w-33">
86
86
  <div class="lc_regular16">
87
87
  <b>PAID VIA CREDIT CARD</b>
88
88
  </div>
@@ -97,7 +97,7 @@
97
97
  </td>
98
98
  <td
99
99
  v-else
100
- class="w-50">
100
+ class="w-33">
101
101
  <div class="lc_regular16">
102
102
  <b>DIRECT DEPOSIT DETAILS</b>
103
103
  </div>
@@ -114,6 +114,40 @@
114
114
  Account: {{ depositInfo.account }}
115
115
  </div>
116
116
  </td>
117
+ <td class="w-33">
118
+ <div
119
+ class="OrderView__totals OrderView__totals--small"
120
+ :class="{
121
+ 'OrderView__totals--paid': isPaid
122
+ }">
123
+ <div class="lc_regular16">
124
+ Products Total: <b>{{ model.productsTotal | price(order.currency) }}</b>
125
+ </div>
126
+ <div class="lc_regular16">
127
+ Prints Total: <b>{{ model.printsTotal | price(order.currency) }}</b>
128
+ </div>
129
+ <div class="lc_regular16">
130
+ Shipping Total: <b>{{ model.shippingTotal | price(order.currency) }}</b>
131
+ </div>
132
+ <div class="lc_regular16">
133
+ Total ex GST: <b>{{ (model.total + couponTotal) | price(order.currency) }}</b>
134
+ </div>
135
+ <div class="lc_regular16">
136
+ GST: <b>{{ model.totalGST - model.total | price(order.currency) }}</b>
137
+ </div>
138
+ <div
139
+ v-if="!invoice && order.couponCode"
140
+ class="lc_regular16">
141
+ Coupon: <b>{{ couponTotal | price(order.currency) }}</b>
142
+ </div>
143
+ <div class="lc_regular16">
144
+ Total inc GST: <b>{{ model.totalGST | price(order.currency) }}</b>
145
+ </div>
146
+ <div class="lc_regular16">
147
+ {{ isPaid ? 'Paid' : 'Pending Payment' }}: <b>{{ model.totalGST | price(order.currency) }}</b>
148
+ </div>
149
+ </div>
150
+ </td>
117
151
  </tr>
118
152
  </table>
119
153
  <div class="mt-3">
@@ -90,6 +90,7 @@
90
90
  &__small-image {
91
91
  height: 75px;
92
92
  padding: 5px 0;
93
+ text-align: center;
93
94
  &-src {
94
95
  max-width: 65px;
95
96
  max-height: 65px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.220",
3
+ "version": "0.0.222",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {