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

Emergency Hotfix for line markup issues. IO-1178
This commit is contained in:
Patrick Fic
2021-06-01 19:15:47 +00:00
8 changed files with 30 additions and 6 deletions

View File

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