@lancom/shared 0.0.154 → 0.0.156

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.
@@ -3,6 +3,7 @@ export function convertQuoteToOrder(quote, option) {
3
3
  return {
4
4
  paymentMethod: option.paymentMethod || 'deposit',
5
5
  billingAddress: quote.address,
6
+ notes: (quote.notes || []).filter(({ text }) => !!text),
6
7
  shippingAddress: quote.address,
7
8
  products: option.products.map(p => ({
8
9
  ...p,
@@ -157,7 +157,7 @@
157
157
  Total inc GST: <b>{{ model.totalGST | price }}</b>
158
158
  </div>
159
159
  <div class="lc_regular16">
160
- Pending Payment: <b>{{ model.totalGST | price }}</b>
160
+ {{ isPaid ? 'Paid' : 'Pending Payment' }}: <b>{{ model.totalGST | price }}</b>
161
161
  </div>
162
162
  </div>
163
163
  </div>
@@ -67,7 +67,7 @@ export default {
67
67
  },
68
68
  data() {
69
69
  return {
70
- inclGSTFinal: true,
70
+ inclGSTFinal: false,
71
71
  inclGSTSpinner: false,
72
72
  inclGSTSpinnerTimer: null,
73
73
  orderPrintTypes: PRINT_TYPES_LIST,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.154",
3
+ "version": "0.0.156",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {
package/store/product.js CHANGED
@@ -9,7 +9,7 @@ import { getProductsForCalculatePricing } from '@lancom/shared/assets/js/utils/p
9
9
  import { sortByName } from '../assets/js/utils/filters';
10
10
 
11
11
  export const state = () => ({
12
- priceIncludeGST: true,
12
+ priceIncludeGST: false,
13
13
  product: null,
14
14
  preSetPrint: null,
15
15
  loadError: null,