geer-builder 1.2.957 → 1.2.959
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.
- package/GCheckout.vue +157 -1
- package/GEarningBreakdownWidget.vue +5 -4
- package/GUpdateProfile.vue +241 -166
- package/components/EarningBreakdownWidget/EarningsLog.vue +14 -3
- package/components/KUploader.scss +89 -33
- package/components/KUploader.vue +22 -20
- package/components/MyPurchases/tabs/CodManual.vue +16 -11
- package/components/MyPurchases/tabs/CompletedTab.vue +14 -9
- package/components/MyPurchases/tabs/ProcessingTab.vue +15 -10
- package/components/MyPurchases/tabs/ToPayTab.vue +14 -9
- package/components/MyPurchases/tabs/ToPickedTab.vue +14 -9
- package/components/MyPurchases/tabs/ToReceiveTab.vue +14 -9
- package/components/MyPurchases/tabs/ToShipTab.vue +14 -9
- package/components/MyPurchases/tabs/cancelled.vue +14 -9
- package/models/DB_CMS.js +9 -0
- package/package.json +1 -1
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
<div>{{field.product_name ? field.product_name : field.product_sku}}</div>
|
|
45
45
|
<div v-if="field.product.variant_details" style="color:gray;font-size:12px;max-width:100%;overflow-wrap:break-word;">Variation:{{field.product.variant_details.variation_combination.toString()}}</div>
|
|
46
46
|
</div>
|
|
47
|
-
<div class="labels__price">{{main_currency}} {{ $_formatNumber(field.selling_price, { decimal: 2})}}</div>
|
|
47
|
+
<div class="labels__price"><span v-if="field.coupon_discounted_price >= 0 && field.coupon_discounted_price != field.selling_price" style="text-decoration:line-through;color:#999;">{{main_currency}} {{ $_formatNumber(field.selling_price, { decimal: 2})}}</span> {{main_currency}} {{ $_formatNumber(field.coupon_discounted_price >= 0 && field.coupon_discounted_price != field.selling_price ? field.coupon_discounted_price : field.selling_price, { decimal: 2})}}</div>
|
|
48
48
|
<div class="labels__quantity">{{field.quantity}}</div>
|
|
49
49
|
<div class="labels__quantity">{{field.discount_merge_percent || field.discount_percent}}</div>
|
|
50
|
-
<div class="labels__subtotal">{{main_currency}} {{ $_formatNumber(field.item_total, { decimal: 2})}}</div>
|
|
50
|
+
<div class="labels__subtotal"><span v-if="field.coupon_item_total >= 0 && field.coupon_item_total != field.item_total" style="text-decoration:line-through;color:#999;">{{main_currency}} {{ $_formatNumber(field.item_total, { decimal: 2})}}</span> {{main_currency}} {{ $_formatNumber(field.coupon_item_total >= 0 && field.coupon_item_total != field.item_total ? field.coupon_item_total : field.item_total, { decimal: 2})}}</div>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
@@ -61,7 +61,10 @@
|
|
|
61
61
|
<div class="col-4" style="font-weight:600;"> {{main_currency}} {{$_formatNumber(list.orders.shipping_fee, { decimal: 2})}}</div>
|
|
62
62
|
<div v-if="list.orders.voucher_deductions < 0" class="col-4"></div>
|
|
63
63
|
<div v-if="list.orders.voucher_deductions < 0" class="col-4" style="font-weight:600;margin-left:auto;text-align:left;">Voucher:</div>
|
|
64
|
-
<div v-if="list.orders.voucher_deductions < 0" class="col-4" style="font-weight:600;"> {{main_currency}} -{{$_formatNumber(list.orders.voucher_deductions, { decimal: 2})}}</div>
|
|
64
|
+
<div v-if="list.orders.voucher_deductions < 0" class="col-4" style="font-weight:600;"> {{main_currency}} -{{$_formatNumber(list.orders.voucher_deductions, { decimal: 2})}}</div>
|
|
65
|
+
<div v-if="list.orders.coupon_deduction > 0" class="col-4"></div>
|
|
66
|
+
<div v-if="list.orders.coupon_deduction > 0" class="col-4" style="font-weight:600;margin-left:auto;text-align:left;">Coupon Discount:</div>
|
|
67
|
+
<div v-if="list.orders.coupon_deduction > 0" class="col-4" style="font-weight:600;"> -{{main_currency}} {{$_formatNumber(list.orders.coupon_deduction, { decimal: 2})}}</div>
|
|
65
68
|
<div class="col-4"></div>
|
|
66
69
|
|
|
67
70
|
<template v-if="public_settings.hasOwnProperty('custom_ecommerce_fee')">
|
|
@@ -124,10 +127,10 @@
|
|
|
124
127
|
<div class="product-info">
|
|
125
128
|
<div class="product-name">Product: {{field.product_name ? field.product_name : field.product_sku}}</div>
|
|
126
129
|
<div class="product-variation" v-if="field.product.variant_details">Variation: {{field.product.variant_details.variation_combination.toString()}}</div>
|
|
127
|
-
<div class="product-price">Price: {{main_currency}} {{ $_formatNumber(field.selling_price, { decimal: 2})}}</div>
|
|
130
|
+
<div class="product-price">Price: <span v-if="field.coupon_discounted_price >= 0 && field.coupon_discounted_price != field.selling_price" style="text-decoration:line-through;color:#999;">{{main_currency}} {{ $_formatNumber(field.selling_price, { decimal: 2})}}</span> {{main_currency}} {{ $_formatNumber(field.coupon_discounted_price >= 0 && field.coupon_discounted_price != field.selling_price ? field.coupon_discounted_price : field.selling_price, { decimal: 2})}}</div>
|
|
128
131
|
<div class="product-qty">Qty: {{field.quantity}}</div>
|
|
129
132
|
<div class="product-discount">Discount: {{field.discount_merge_percent || field.discount_percent}}</div>
|
|
130
|
-
<div class="product-subtotal">Total: {{main_currency}} {{ $_formatNumber(field.item_total, { decimal: 2})}}</div>
|
|
133
|
+
<div class="product-subtotal">Total: <span v-if="field.coupon_item_total >= 0 && field.coupon_item_total != field.item_total" style="text-decoration:line-through;color:#999;">{{main_currency}} {{ $_formatNumber(field.item_total, { decimal: 2})}}</span> {{main_currency}} {{ $_formatNumber(field.coupon_item_total >= 0 && field.coupon_item_total != field.item_total ? field.coupon_item_total : field.item_total, { decimal: 2})}}</div>
|
|
131
134
|
</div>
|
|
132
135
|
</div>
|
|
133
136
|
</div>
|
|
@@ -141,10 +144,12 @@
|
|
|
141
144
|
<div class="order-items">{{list.status == "cancelled" ? "Cancelled" : ""}}</div>
|
|
142
145
|
<div>Shipping Fee:</div>
|
|
143
146
|
<div class="order-items">{{main_currency}} {{$_formatNumber(list.orders.shipping_fee, { decimal: 2})}}</div>
|
|
144
|
-
<div v-if="public_settings.hasOwnProperty('custom_ecommerce_fee')">{{public_settings.custom_ecommerce_fee.label}}:</div>
|
|
145
|
-
<div v-if="public_settings.hasOwnProperty('custom_ecommerce_fee')" class="order-items">{{main_currency}} {{$_formatNumber(list.orders[public_settings.custom_ecommerce_fee.id], { decimal: 2})}}</div>
|
|
146
|
-
<div
|
|
147
|
-
<div class="order-items"
|
|
147
|
+
<div v-if="public_settings.hasOwnProperty('custom_ecommerce_fee')">{{public_settings.custom_ecommerce_fee.label}}:</div>
|
|
148
|
+
<div v-if="public_settings.hasOwnProperty('custom_ecommerce_fee')" class="order-items">{{main_currency}} {{$_formatNumber(list.orders[public_settings.custom_ecommerce_fee.id], { decimal: 2})}}</div>
|
|
149
|
+
<div v-if="list.orders.coupon_deduction > 0">Coupon Discount:</div>
|
|
150
|
+
<div v-if="list.orders.coupon_deduction > 0" class="order-items">-{{main_currency}} {{$_formatNumber(list.orders.coupon_deduction, { decimal: 2})}}</div>
|
|
151
|
+
<div>Order Total ({{list.orders.total_quantity}} Item):</div>
|
|
152
|
+
<div class="order-items">{{main_currency}} {{$_formatNumber(list.orders.order_total, { decimal: 2})}}</div>
|
|
148
153
|
</div>
|
|
149
154
|
</div>
|
|
150
155
|
</div>
|
package/models/DB_CMS.js
ADDED