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
+15
View File
@@ -23,5 +23,20 @@ class AllowanceClaimCode extends Model
'expires_at' => 'datetime',
'used_at' => 'datetime',
];
public function election()
{
return $this->belongsTo(Election::class);
}
public function voter()
{
return $this->belongsTo(Voter::class);
}
public function usedByAdmin()
{
return $this->belongsTo(User::class, 'used_by_admin_id');
}
}