diff --git a/app/model/Deduction.php b/app/model/Deduction.php index fd8d776..8da4754 100644 --- a/app/model/Deduction.php +++ b/app/model/Deduction.php @@ -19,4 +19,8 @@ class Deduction extends Base { return $this->hasOne(CouponMain::class,"id","coupon_main_id"); } + public function bill() + { + return $this->hasOne(Bill::class,"id","bill_id"); + } } \ No newline at end of file