diff --git a/app/Invoice.php b/app/Invoice.php index 69608581..581d1e1d 100644 --- a/app/Invoice.php +++ b/app/Invoice.php @@ -11,4 +11,8 @@ class Invoice extends Model public function booking(){ return $this->belongsTo('App\Booking'); } + + public function invoiceDetails() { + return $this->hasOne('App\InvoiceDetails'); + } }