DONE: add allowance payout trace for admin, improve UI on voting side, increase pagination number

This commit is contained in:
ISMAIL MASSERAN
2026-04-28 11:44:02 +08:00
parent b08232731e
commit 76ae46f8d9
17 changed files with 913 additions and 76578 deletions
+10
View File
@@ -40,4 +40,14 @@ class User extends Authenticatable
// Do not allow impersonating main admin.
return (int) $this->id !== 1;
}
public function allowanceClaimCodes()
{
return $this->hasMany(AllowanceClaimCode::class, 'used_by_admin_id');
}
public function allowancePayouts()
{
return $this->hasMany(AllowancePayout::class, 'paid_by_admin_id');
}
}