FleetCart/Modules/Order/Entities/OrderProductOptionValue.php

15 lines
289 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Order\Entities;
use Modules\Support\Money;
use Illuminate\Database\Eloquent\Relations\Pivot;
class OrderProductOptionValue extends Pivot
{
public function getPriceAttribute($price)
{
return Money::inDefaultCurrency($price);
}
}