diff --git a/app/Http/Controllers/CareerController.php b/app/Http/Controllers/CareerController.php index 7953f21..fd23d9b 100644 --- a/app/Http/Controllers/CareerController.php +++ b/app/Http/Controllers/CareerController.php @@ -41,6 +41,7 @@ class CareerController extends Controller if ($request->type === 'job') { $rules['nda'] = 'required|file|mimes:pdf|max:5120'; $rules['contract'] = 'required|file|mimes:pdf|max:5120'; + $rules['id_photocopy'] = 'required|file|mimes:pdf,jpg,jpeg,png|max:5120'; // Max 5MB $rules['git_knowledge'] = 'accepted'; $rules['ai_usage'] = 'accepted'; } @@ -50,6 +51,7 @@ class CareerController extends Controller $cvPath = $request->file('cv') ? $request->file('cv')->store('cvs', 'public') : null; $ndaPath = $request->file('nda') ? $request->file('nda')->store('ndas', 'public') : null; $contractPath = $request->file('contract') ? $request->file('contract')->store('contracts', 'public') : null; + $idPhotocopyPath = $request->file('id_photocopy') ? $request->file('id_photocopy')->store('id_photocopies', 'public') : null; CareerApplication::create([ 'name' => $request->name, @@ -59,6 +61,7 @@ class CareerController extends Controller 'cv_path' => $cvPath, 'nda_path' => $ndaPath, 'contract_path' => $contractPath, + 'id_photocopy_path' => $idPhotocopyPath, 'git_knowledge' => $request->has('git_knowledge'), 'ai_usage' => $request->has('ai_usage'), 'message' => $request->message, diff --git a/app/Models/CareerApplication.php b/app/Models/CareerApplication.php index 89c06a0..cbe7080 100644 --- a/app/Models/CareerApplication.php +++ b/app/Models/CareerApplication.php @@ -17,6 +17,7 @@ class CareerApplication extends Model 'cv_path', 'nda_path', 'contract_path', + 'id_photocopy_path', 'git_knowledge', 'ai_usage', 'message', diff --git a/database/migrations/2026_06_01_203154_add_id_photocopy_path_to_career_applications_table.php b/database/migrations/2026_06_01_203154_add_id_photocopy_path_to_career_applications_table.php new file mode 100644 index 0000000..9749ab5 --- /dev/null +++ b/database/migrations/2026_06_01_203154_add_id_photocopy_path_to_career_applications_table.php @@ -0,0 +1,28 @@ +string('id_photocopy_path')->nullable()->after('contract_path'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('career_applications', function (Blueprint $table) { + $table->dropColumn('id_photocopy_path'); + }); + } +}; diff --git a/resources/views/front/career/index.blade.php b/resources/views/front/career/index.blade.php index e06e1a4..43a9ae8 100644 --- a/resources/views/front/career/index.blade.php +++ b/resources/views/front/career/index.blade.php @@ -59,6 +59,23 @@

{!! __('career.intro_text_1') !!}

{!! __('career.intro_text_2') !!}

+
+ Belgelerin Toplanma Amacı (KVKK Bilgilendirmesi) +
+
+ 1. Gizlilik Sözleşmesi (NDA) +

Projelerimize ait kaynak kodları, veritabanı şemaları ve ticari sırlarımızın güvenliğini sağlamak amacıyla istenir.

+
+
+ 2. Bağımsız Sözleşmeli Sözleşmesi +

Issue/task bazlı esnek çalışma modelinin koşullarını ve haklarınızı yasal olarak güvence altına almak için gereklidir.

+
+
+ 3. Kimlik Fotokopisi +

Yasal kimlik doğrulama, imza yetkilisi tespiti ve sahte başvuruların önlenmesi amacıyla talep edilmektedir.

+
+
+

{{ __('career.intro_text_3') }}

{{ __('career.intro_text_4') }}

{{ __('career.thanks') }}

@@ -291,6 +308,15 @@
+ +
+ +
+ +

{{ __('career.id_photocopy_description', ['default' => 'Önlü arkalı nüfus cüzdanı, yeni kimlik kartı veya ehliyet fotokopisi (PDF, JPG, PNG - Maks. 5MB)']) }}

+
+
+