added relationship for invoice and booking

added confirm invoice feature (after user upload the image)
This commit is contained in:
Jack Goh
2018-06-28 15:22:25 +08:00
parent 105b61eab3
commit 4e448afc60
5 changed files with 73 additions and 82 deletions
+6
View File
@@ -47,5 +47,11 @@ class Booking extends Model
public function purchaseOrder(){
return $this->hasOne(PurchaseOrder::class);
}
public function invoice(){
return $this->hasOne(Invoice::class);
}
}