|
|
|
@ -25,6 +25,7 @@ const ViewProject = ({ idTask, openDialog, closeDialog, toggleDialog, projectCha
|
|
|
|
|
const [durasi, setDurasiProyek] = useState("") |
|
|
|
|
const [mulaiProyek, setMulaiProyek] = useState("") |
|
|
|
|
const [valueProyek, setValueProyek] = useState("") |
|
|
|
|
const [incomeYearly, setIncomeYearly] = useState("") |
|
|
|
|
const [scoupeProyek, setScoupeProyek] = useState("") |
|
|
|
|
const [sponsorProyek, setSponsorProyek] = useState("") |
|
|
|
|
const [lateProyek, setLateConsequenceProyek] = useState("") |
|
|
|
@ -67,6 +68,7 @@ const ViewProject = ({ idTask, openDialog, closeDialog, toggleDialog, projectCha
|
|
|
|
|
setDurasiProyek("") |
|
|
|
|
setMulaiProyek("") |
|
|
|
|
setValueProyek("") |
|
|
|
|
setIncomeYearly("") |
|
|
|
|
setScoupeProyek("") |
|
|
|
|
setSponsorProyek("") |
|
|
|
|
setLateConsequenceProyek("") |
|
|
|
@ -99,6 +101,7 @@ const ViewProject = ({ idTask, openDialog, closeDialog, toggleDialog, projectCha
|
|
|
|
|
setDurasiProyek(projectCharter.durasi_proyek); |
|
|
|
|
setMulaiProyek(projectCharter.mulai_proyek); |
|
|
|
|
setValueProyek(projectCharter.value_proyek); |
|
|
|
|
setIncomeYearly(projectCharter.income_year); |
|
|
|
|
setScoupeProyek(projectCharter.scoupe_of_work); |
|
|
|
|
setSponsorProyek(projectCharter.nama_divisi); |
|
|
|
|
setLateConsequenceProyek(projectCharter.late_consequence); |
|
|
|
@ -494,7 +497,7 @@ const ViewProject = ({ idTask, openDialog, closeDialog, toggleDialog, projectCha
|
|
|
|
|
<p style={pStyle}>Nilai Kontrak</p> |
|
|
|
|
</td> |
|
|
|
|
<td colSpan="2" style={tdStyle}> |
|
|
|
|
<p style={{ ...pStyle, fontWeight: 'normal' }}>{currency}. {formatThousand(budget)}</p> |
|
|
|
|
<p> {currency}. {formatThousand(budget)}</p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
@ -502,7 +505,7 @@ const ViewProject = ({ idTask, openDialog, closeDialog, toggleDialog, projectCha
|
|
|
|
|
<p style={pStyle}>Pendapatan Pertahun</p> |
|
|
|
|
</td> |
|
|
|
|
<td colSpan="2" style={tdStyle}> |
|
|
|
|
<p> {valueProyek ?? '-'}</p> |
|
|
|
|
<p> {currency}. {formatThousand(incomeYearly) ?? '-'}</p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
@ -510,7 +513,7 @@ const ViewProject = ({ idTask, openDialog, closeDialog, toggleDialog, projectCha
|
|
|
|
|
<p style={pStyle}>Anggaran Biaya</p> |
|
|
|
|
</td> |
|
|
|
|
<td colSpan="2" style={tdStyle}> |
|
|
|
|
<p> {valueProyek ?? '-'}</p> |
|
|
|
|
<p> {currency}. {formatThousand(valueProyek) ?? '-'}</p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|