v1.2.0 - Added currentForType scope
New features:
- Added a new scope on the Price model:
currentForType
. Filters prices based on type and activated_at values. Usage:
$products->prices()->currentForType('selling')->first();
New features:
currentForType
. Filters prices based on type and activated_at values. Usage:$products->prices()->currentForType('selling')->first();