Mails
This commit is contained in:
parent
68b9d1ff88
commit
b9c26d06d0
75 changed files with 2143 additions and 818 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Services\Util;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
|
|
@ -81,4 +82,14 @@ class BookingServiceItem extends Model
|
|||
{
|
||||
return $this->belongsTo(TravelCompany::class);
|
||||
}
|
||||
|
||||
|
||||
public function getServicePriceAttribute()
|
||||
{
|
||||
return Util::_number_format($this->attributes['service_price']);
|
||||
}
|
||||
public function getServicePriceRaw()
|
||||
{
|
||||
return $this->attributes['service_price'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue