Update LetterController to handle nullable fields and set boolean flags for acceptance and completion letters

This commit is contained in:
NoBody313
2025-03-26 18:14:46 +07:00
parent e7477e204f
commit 5b8f8ee818
2 changed files with 20 additions and 7 deletions
@@ -19,7 +19,7 @@ return new class extends Migration
$table->string('program_studi_mahasiswa');
$table->string('tahun_ajaran');
$table->date('start_date');
$table->date('completion_date');
$table->date('completion_date')->nullable();
$table->string('lampiran')->nullable();
$table->boolean('is_acceptance')->default(false);
$table->string('nomor_surat_acceptance')->nullable();