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