Fixed transaksi keuntungan query for TransactionOnlineTrail

This commit is contained in:
Afiq Hamzah
2024-08-11 13:29:51 +08:00
parent 80908c1916
commit 40ac139fbe
2 changed files with 10 additions and 3 deletions
+6 -1
View File
@@ -23,4 +23,9 @@ class TransaksiKeuntungan extends Model
* @var array
*/
// protected $hidden = [];
}
function transaction()
{
return $this->hasOne(Transaction::class, 'norujukan', 'norujukan');
}
}