Skip to content

Commit

Permalink
Minor UI changes and fixed issue with MySQL 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo committed May 14, 2019
1 parent 4b2ce97 commit fde2598
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Commerce Widgets Changelog

## 2.0.14 - 2019-05-14
### Fixed
- Issue with MySQL 5.7 on `CartAbandonment` widget

### Added
- Added year to the 'Month' date on the `TotalRevenueOrders` widget

## Changed
- Removed the SKU from the `ProductTop` table for smaller resolutions


## 2.0.13 - 2019-05-14
### Fixed
- Plural spelling on `CartAbandonment` widget
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bymayo/commerce-widgets",
"description": "Insightful dashboard widgets for your Craft Commerce 2 store.",
"type": "craft-plugin",
"version": "2.0.13",
"version": "2.0.14",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 0 additions & 2 deletions src/templates/widgets/ProductsTop/body.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<thead>
<tr>
<th colspan="2">Product</th>
<th>SKU</th>
<th>Total Revenue</th>
<th>Total Orders</th>
</tr>
Expand Down Expand Up @@ -34,7 +33,6 @@
</div>
</div>
</td>
<td><span class="sku">{{ product.sku }}</span></td>
<td>{{ product.totalRevenue|currency(commerce.currency) }}</td>
<td>{{ product.totalOrdered|number_format() }}</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/TotalRevenueOrders.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getTimeFrames()
),
array(
'label' => 'Month',
'date' => date('M')
'date' => date('M Y')
),
array(
'label' => 'Year',
Expand Down

0 comments on commit fde2598

Please sign in to comment.