DONE: fix bug where register attendance is not appear

This commit is contained in:
ISMAIL MASSERAN
2026-04-19 12:14:53 +08:00
parent 317f1fa4fd
commit bf24b194b3
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
[ ] checking user can vote one or two based on number of nominees
[x] disable auto trigger tac
[x] disable auto trigger tac
[ ] set the env back to production in prod
@@ -53,7 +53,7 @@ class AddController extends Controller
'unit' => 'required',
'position_id' => 'required|exists:position,id',
'partylist_id' => 'nullable|exists:partylist,id',
'photo' => 'nullable|image',
'photo' => 'nullable',
'umur' => 'nullable|integer|min:1|max:120',
'jawatan_sekarang' => 'nullable|string|max:255',
'experience' => 'nullable|string',
@@ -65,7 +65,7 @@ class SyncApplicableVotersController extends Controller
}
$new = $template->replicate();
$new->election_id = $electionId;
$new->kehadiran = null;
$new->kehadiran = 0;
$new->fizikal_registration_verified_at = null;
$new->persetujuan = null;
$new->status_penyata = 'DRAF';