Add Additional Information
This commit is contained in:
@@ -50,15 +50,13 @@ class Appointment extends Model
|
||||
'dUpdateOn',
|
||||
'dDeleteOn',
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
protected $appends = [
|
||||
'status_name',
|
||||
'payment_method'
|
||||
];
|
||||
|
||||
protected function StatusName(): Attribute
|
||||
protected function statusName(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: function ($value) {
|
||||
@@ -67,7 +65,7 @@ class Appointment extends Model
|
||||
);
|
||||
}
|
||||
|
||||
protected function PaymentMethod(): Attribute
|
||||
protected function paymentMethod(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: function ($value) {
|
||||
|
||||
Reference in New Issue
Block a user