feat: increase max length for company document and director name fields to 150 characters in both the UI and database.

This commit is contained in:
Yoga Pangestu 2026-02-04 14:04:29 +07:00
parent 30f0a09c84
commit c547f8f5c1
2 changed files with 15 additions and 15 deletions

View File

@ -113,7 +113,7 @@ public static function form(Schema $schema): Schema
'title' => 'Akta Pendirian',
'text_name' => 'deed_incorporation',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'deed_incorporation_docs',
'accept' => ['application/pdf'],
@ -123,7 +123,7 @@ public static function form(Schema $schema): Schema
'title' => 'SIUP / NIB',
'text_name' => 'trade_license',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'trade_license_docs',
'accept' => ['application/pdf'],
@ -133,7 +133,7 @@ public static function form(Schema $schema): Schema
'title' => 'NPWP',
'text_name' => 'tax_id_number',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'tax_id_number_docs',
'accept' => ['application/pdf'],
@ -143,7 +143,7 @@ public static function form(Schema $schema): Schema
'title' => 'PKP',
'text_name' => 'taxable_enterprise',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'taxable_enterprise_docs',
'accept' => ['application/pdf'],
@ -153,7 +153,7 @@ public static function form(Schema $schema): Schema
'title' => 'SPT Tahunan',
'text_name' => 'annual_tax_return',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'annual_tax_return_docs',
'accept' => ['application/pdf'],
@ -163,7 +163,7 @@ public static function form(Schema $schema): Schema
'title' => 'Suket Domisili',
'text_name' => 'domicile_certificate',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'domicile_certificate_docs',
'accept' => ['application/pdf'],
@ -173,7 +173,7 @@ public static function form(Schema $schema): Schema
'title' => 'Profil Perusahaan',
'text_name' => 'profile',
'placeholder' => '*****',
'max' => 100,
'max' => 150,
'max_size' => 1024 * 10,
'file_name' => 'profile_docs',
'accept' => ['application/pdf'],

View File

@ -17,15 +17,15 @@ public function up(): void
$table->string('name', 100)->index();
$table->string('email', 254)->index();
$table->text('address');
$table->string('director_name', 100);
$table->string('director_name', 150);
$table->string('director_nik', 16);
$table->string('deed_incorporation', 100);
$table->string('trade_license', 100);
$table->string('tax_id_number', 100);
$table->string('taxable_enterprise', 100);
$table->string('annual_tax_return', 100);
$table->string('domicile_certificate', 100);
$table->string('profile', 100);
$table->string('deed_incorporation', 150);
$table->string('trade_license', 150);
$table->string('tax_id_number', 150);
$table->string('taxable_enterprise', 150);
$table->string('annual_tax_return', 150);
$table->string('domicile_certificate', 150);
$table->string('profile', 150);
$table->timestamp('created_at')->useCurrent();
$table->timestamp('updated_at')->nullable()->useCurrentOnUpdate();
$table->softDeletes();