IO-1591 Scheduling Modal hours showing as null.
This commit is contained in:
@@ -5,8 +5,9 @@ import {
|
|||||||
Input,
|
Input,
|
||||||
Row,
|
Row,
|
||||||
Select,
|
Select,
|
||||||
Space, Switch,
|
Space,
|
||||||
Typography
|
Switch,
|
||||||
|
Typography,
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
@@ -75,10 +76,14 @@ export function ScheduleJobModalComponent({
|
|||||||
<Row gutter={[16, 16]}>
|
<Row gutter={[16, 16]}>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Space>
|
<Space>
|
||||||
<Typography.Title level={3}>{lbrHrsData?.jobs_by_pk?.ro_number}</Typography.Title>
|
<Typography.Title level={3}>
|
||||||
<Typography.Title
|
{lbrHrsData?.jobs_by_pk?.ro_number}
|
||||||
level={4}
|
</Typography.Title>
|
||||||
>{`B/R Hrs:${lbrHrsData?.jobs_by_pk.labhrs?.aggregate.sum.mod_lb_hrs}/${lbrHrsData?.jobs_by_pk.larhrs?.aggregate.sum.mod_lb_hrs}`}</Typography.Title>
|
<Typography.Title level={4}>{`B/R Hrs:${
|
||||||
|
lbrHrsData?.jobs_by_pk.labhrs?.aggregate?.sum?.mod_lb_hrs || 0
|
||||||
|
}/${
|
||||||
|
lbrHrsData?.jobs_by_pk.larhrs?.aggregate?.sum?.mod_lb_hrs || 0
|
||||||
|
}`}</Typography.Title>
|
||||||
</Space>
|
</Space>
|
||||||
<LayoutFormRow grow>
|
<LayoutFormRow grow>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|||||||
Reference in New Issue
Block a user