Browse Source

Merge pull request 'Project Charter' (#292) from dev-wahyun into staging

Reviewed-on: ordo/adw-backend#292
pull/1/head
farhantock 11 months ago
parent
commit
ad2f2dc3e3
  1. 3
      app/Http/Controllers/ProjectController.php
  2. 1
      app/Models/Project.php

3
app/Http/Controllers/ProjectController.php

@ -53,7 +53,8 @@ class ProjectController extends Controller
'mulai_proyek' => 'required', 'mulai_proyek' => 'required',
'akhir_proyek' => 'required', 'akhir_proyek' => 'required',
'rencana_biaya' => 'required', 'rencana_biaya' => 'required',
'type_proyek_id' => 'required' 'type_proyek_id' => 'required',
'value_proyek' => 'required'
]); ]);
$data = $request->all(); $data = $request->all();

1
app/Models/Project.php

@ -25,6 +25,7 @@ class Project extends Model
'pm_id', 'pm_id',
'type_proyek_id', 'type_proyek_id',
'divisi_id', 'divisi_id',
'value_proyek',
'persentase_progress', 'persentase_progress',
'keterangan', 'keterangan',
'durasi_proyek', 'durasi_proyek',

Loading…
Cancel
Save