diff --git a/app/Models/Project.php b/app/Models/Project.php index 5cbc7b4..452dd62 100644 --- a/app/Models/Project.php +++ b/app/Models/Project.php @@ -6,46 +6,47 @@ use Illuminate\Database\Eloquent\Model; class Project extends Model { - protected $table = 'm_proyek'; + protected $table = 'm_proyek'; - const CREATED_AT = 'created_at'; - const UPDATED_AT = 'updated_at'; + const CREATED_AT = 'created_at'; + const UPDATED_AT = 'updated_at'; - protected $fillable = [ - 'kode_sortname', - 'jumlah_stakeholder', - 'nama', - 'mulai_proyek', - 'akhir_proyek', - 'area_kerja', - 'lokasi_kantor', - 'rencana_biaya', - 'biaya_actual', - 'company', - 'pm_id', - 'type_proyek_id', - 'persentase_progress', - 'keterangan', - 'durasi_proyek', - 'progress_by_worklog', - 'status', - 'currency_simbol', - 'currency_code', - 'currency_name', - 'project_objectives', - 'considered_success_when', - 'potential_risk', - 'testing_environment', - 'currency_code', - 'currency_symbol', - 'currency_name', - 'budget_health', - 'phase_id', - 'created_at', - 'created_by', - 'updated_at', - 'updated_by' - ]; + protected $fillable = [ + 'kode_sortname', + 'jumlah_stakeholder', + 'nama', + 'mulai_proyek', + 'akhir_proyek', + 'area_kerja', + 'lokasi_kantor', + 'rencana_biaya', + 'biaya_actual', + 'company', + 'pm_id', + 'type_proyek_id', + 'divisi_id', + 'persentase_progress', + 'keterangan', + 'durasi_proyek', + 'progress_by_worklog', + 'status', + 'currency_simbol', + 'currency_code', + 'currency_name', + 'project_objectives', + 'considered_success_when', + 'potential_risk', + 'testing_environment', + 'currency_code', + 'currency_symbol', + 'currency_name', + 'budget_health', + 'phase_id', + 'created_at', + 'created_by', + 'updated_at', + 'updated_by' + ]; }