Merged in hotfix/2021-06-01 (pull request #89)

IO-1178 Resolve minor bugs.
This commit is contained in:
Patrick Fic
2021-06-01 21:37:22 +00:00
6 changed files with 29 additions and 3 deletions

View File

@@ -160,10 +160,12 @@ export function JobLinesComponent({
render: (text, record) => (
<>
<CurrencyFormatter>{record.act_price}</CurrencyFormatter>
{record.prt_dsmk_p && record.prt_dsmk_p !== 0 && (
{record.prt_dsmk_p && record.prt_dsmk_p !== 0 ? (
<span
style={{ marginLeft: ".2rem" }}
>{`(${record.prt_dsmk_p}%)`}</span>
) : (
<></>
)}
</>
),