mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
f201f33f28
update create booking controller to accept rmb to myr only
20 lines
441 B
PHP
20 lines
441 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Booking extends Model
|
|
{
|
|
// protected $guarded = [];
|
|
protected $fillable = ['term', 'rate_id', 'user_id', 'amount', 'account_name', 'account_num', 'bank_name',
|
|
'bank_branch', 'company_name'];
|
|
|
|
public $timestamps = true;
|
|
|
|
public function user(){
|
|
return $this->belongsTo('app\User');
|
|
}
|
|
}
|
|
|