added marking to admin booking index

hide roles in user model
hide user from booking model
This commit is contained in:
Jack Goh
2018-07-07 12:12:27 +08:00
parent 59fc234ea0
commit 71e11fa034
3 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ use Illuminate\Database\Eloquent\Model;
class Booking extends Model
{
// protected $guarded = [];
protected $hidden = array("user_id",
protected $hidden = array( "user",
"user_id",
"rate_id",
"rmb_book_amount",
"rmb_book_pay_method",