Fix status pembayaran by cawangan operasi and akaun

This commit is contained in:
Amir
2023-02-19 09:55:40 +08:00
parent 168f147ffd
commit a8bb735263
11 changed files with 294 additions and 17 deletions
+5
View File
@@ -73,4 +73,9 @@ class User extends Authenticatable
return $this->hasOne(Cawangan::class, 'caw_code' , 'kodcaw');
}
public function payment()
{
return $this->hasMany(Payment::class, 'user_id', 'id');
}
}