mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
Invoice hasOne InvoiceDetails
This commit is contained in:
@@ -11,4 +11,8 @@ class Invoice extends Model
|
||||
public function booking(){
|
||||
return $this->belongsTo('App\Booking');
|
||||
}
|
||||
|
||||
public function invoiceDetails() {
|
||||
return $this->hasOne('App\InvoiceDetails');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user