Browse Source

Merge pull request 'add scoupe of work & fillable' (#294) from dev-wahyun into staging

Reviewed-on: ordo/adw-backend#294
pull/1/head
farhantock 11 months ago
parent
commit
724bee2e95
  1. 3
      app/Http/Controllers/UserToProyekController.php
  2. 1
      app/Models/Project.php

3
app/Http/Controllers/UserToProyekController.php

@ -50,7 +50,8 @@ class UserToProyekController extends Controller
"user_id" => $item, "user_id" => $item,
"proyek_id" => $request->proyek_id, "proyek_id" => $request->proyek_id,
"created_by" => $this->currentName, "created_by" => $this->currentName,
'is_customer'=>true 'is_customer'=>true,
'project_role'=> $request->project_role
); );
$result = UserToProyek::create($dataInsert); $result = UserToProyek::create($dataInsert);

1
app/Models/Project.php

@ -23,6 +23,7 @@ class Project extends Model
'biaya_actual', 'biaya_actual',
'company', 'company',
'pm_id', 'pm_id',
'scoupe_of_work',
'type_proyek_id', 'type_proyek_id',
'divisi_id', 'divisi_id',
'value_proyek', 'value_proyek',

Loading…
Cancel
Save