Skip to content

Commit 1bc7f3c

Browse files
committed
v2.4.1 - Dependency updates and bug fixes
1 parent 76dd477 commit 1bc7f3c

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

LabelStoreMax/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.4.1] - 2020-12-20
2+
3+
* Fix subtotal bug order creation
4+
* Pubspec.yaml dependency updates
5+
16
## [2.4.0] - 2020-11-19
27

38
* Option to disable shipping in config

LabelStoreMax/lib/helpers/data/order_wc.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import 'dart:io';
1212

1313
import 'package:label_storemax/helpers/shared_pref/sp_user_id.dart';
14+
import 'package:label_storemax/helpers/tools.dart';
1415
import 'package:label_storemax/labelconfig.dart';
1516
import 'package:label_storemax/models/billing_details.dart';
1617
import 'package:label_storemax/models/cart.dart';
@@ -49,7 +50,7 @@ Future<OrderWC> buildOrderWC({TaxRate taxRate, bool markPaid = true}) async {
4950

5051
tmpLineItem.total =
5152
(cartItem.quantity > 1 ? cartItem.getCartTotal() : cartItem.subtotal);
52-
tmpLineItem.subtotal = cartItem.subtotal;
53+
tmpLineItem.subtotal = (parseWcPrice(cartItem.subtotal) * cartItem.quantity).toString();
5354

5455
lineItems.add(tmpLineItem);
5556
});

LabelStoreMax/lib/labelconfig.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import 'dart:ui';
1616
Developer Notes
1717
1818
SUPPORT EMAIL - support@woosignal.com
19-
VERSION - 2.4.0
19+
VERSION - 2.4.1
2020
https://woosignal.com
2121
*/
2222

LabelStoreMax/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ packages:
4949
name: cached_network_image
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "2.3.3"
52+
version: "2.4.1"
5353
characters:
5454
dependency: transitive
5555
description:
@@ -112,7 +112,7 @@ packages:
112112
name: device_info
113113
url: "https://pub.dartlang.org"
114114
source: hosted
115-
version: "0.4.2+9"
115+
version: "1.0.0"
116116
device_info_platform_interface:
117117
dependency: transitive
118118
description:
@@ -208,7 +208,7 @@ packages:
208208
name: flutter_cache_manager
209209
url: "https://pub.dartlang.org"
210210
source: hosted
211-
version: "1.4.1"
211+
version: "2.0.0"
212212
flutter_launcher_icons:
213213
dependency: "direct main"
214214
description:
@@ -370,7 +370,7 @@ packages:
370370
name: path_provider
371371
url: "https://pub.dartlang.org"
372372
source: hosted
373-
version: "1.6.11"
373+
version: "1.6.24"
374374
path_provider_linux:
375375
dependency: transitive
376376
description:
@@ -662,7 +662,7 @@ packages:
662662
name: woosignal
663663
url: "https://pub.dartlang.org"
664664
source: hosted
665-
version: "1.2.1"
665+
version: "1.3.0"
666666
woosignal_stripe:
667667
dependency: "direct main"
668668
description:

LabelStoreMax/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Official WooSignal App Template for WooCommerce
22

33
# Label StoreMax
4-
# Version 2.4.0
4+
# Version 2.4.1
55
# Homepage: https://woosignal.com
66
# Author: Anthony Gordon <agordon@woosignal.com>
77
# Documentation: https://woosignal.com/docs/app/ios/label-storemax
@@ -23,12 +23,12 @@ environment:
2323
sdk: ">=2.1.0 <3.0.0"
2424

2525
dependencies:
26-
woosignal: ^1.2.1
26+
woosignal: ^1.3.1
2727
woosignal_stripe: ^0.0.6
2828
razorpay_flutter: ^1.2.2
2929
wp_json_api: ^2.0.0
3030
shared_preferences: ^0.5.12
31-
cached_network_image: ^2.3.3
31+
cached_network_image: ^2.4.1
3232
page_transition: ^1.1.7+2
3333
package_info: ^0.4.3
3434
url_launcher: ^5.7.5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# WooCommerce App: Label StoreMax
66

7-
### Label StoreMax - v2.4.0
7+
### Label StoreMax - v2.4.1
88

99

1010
[Official WooSignal WooCommerce App](https://woosignal.com)

0 commit comments

Comments
 (0)