Added statistics and finished calculations for job costing. BOD-192
This commit is contained in:
@@ -25,7 +25,7 @@ export function JobCostingModalContainer({
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { visible, context, actions } = jobCostingModal;
|
||||
const { visible, context } = jobCostingModal;
|
||||
const { jobId } = context;
|
||||
|
||||
const { loading, error, data } = useQuery(QUERY_JOB_COSTING_DETAILS, {
|
||||
@@ -38,10 +38,11 @@ export function JobCostingModalContainer({
|
||||
visible={visible}
|
||||
title={t("jobs.labels.jobcosting")}
|
||||
onCancel={() => toggleModalVisible()}
|
||||
width='90%'
|
||||
width="90%"
|
||||
destroyOnClose
|
||||
forceRender>
|
||||
{error ? <AlertComponent message={error.message} type='error' /> : null}
|
||||
forceRender
|
||||
>
|
||||
{error ? <AlertComponent message={error.message} type="error" /> : null}
|
||||
{loading ? (
|
||||
<LoadingSpinner loading={loading} />
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user