fixes
This commit is contained in:
@@ -40,7 +40,7 @@ class Offers
|
||||
{
|
||||
$sale_channel_id = $sale_channel_id ? $sale_channel_id : SaleChannels::getDefaultID();
|
||||
$offer = Offer::withPriceBySaleChannelByQuantity($sale_channel_id, $quantity)->find($id);
|
||||
return $offer->price_lists->first()->price_list_values->first();
|
||||
return number_format($offer->price_lists->first()->price_list_values->first(),2);
|
||||
}
|
||||
|
||||
public static function getBasket()
|
||||
|
||||
Reference in New Issue
Block a user