+ availability
This commit is contained in:
@@ -16,14 +16,15 @@ class Booking extends Model
|
||||
'guest_name',
|
||||
'guest_email',
|
||||
'guest_phone',
|
||||
'status',
|
||||
'confirmed_at',
|
||||
'is_confirmed',
|
||||
'total_price',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'check_in' => 'date',
|
||||
'check_out' => 'date',
|
||||
'confirmed_at' => 'datetime',
|
||||
'is_confirmed' => 'boolean',
|
||||
'total_price' => 'decimal:2',
|
||||
];
|
||||
|
||||
public function roomType()
|
||||
|
||||
Reference in New Issue
Block a user