Latest updates from
0.2
have been brought in.
Fixed
- Cart lines now calculate unit quantity pricing correctly.
- Order line prices now take unit quantity into consideration.
- The
lunarphp/scout-database-engine
now usesself.version
in composer. - Time is now frozen in tests to prevent issues with date matching.
- Line meta will now be cast to an array on save correctly for CartLines.
$rate
will now be serialised correctly when passed as an array onTaxBreakdown
.- The sales dashboard graph now correctly shows figures.
- When going to a new page on table listings, the page will now scroll to the top.
- The iframe height on email previews has been increased to avoid cut off.
- Refactor row selection on tables to avoid extra roundtrips to Livewire.
- AttributeGroup saving will now pass the id if being edited to prevent false validation exception being thrown.
- The page will now be reset when search changes.
Changed
- Dashboard stats are now responsible for their own date ranges where applicable.
- The tags panel on the order detail screen has been moved below the address details.
- Brands will now list alphabetically by default.
Added
- Added unit price methods,
unitDecimal()
andunitFormatted()
, to the Price data type. - The
Price
model now has aprices
relationship. - The
Price
model now has ascope
relationship. - PHPStan has now been added and fixed across the codebase.
- Brands are now searchable and can have saved searches.