FIrst round of changes for Instance Manger & Pro Manager

This commit is contained in:
Patrick Fic
2024-02-16 14:01:39 -07:00
parent 3e44458f5c
commit af7ff2d8b5
36 changed files with 1068 additions and 885 deletions

View File

@@ -7,6 +7,7 @@ import JobBillsTotal from "../job-bills-total/job-bills-total.component";
import PartsOrderListTableComponent from "../parts-order-list-table/parts-order-list-table.component";
import PartsOrderModal from "../parts-order-modal/parts-order-modal.container";
import PartsDispatchTable from "../parts-dispatch-table/parts-dispatch-table.component";
import FeatureWrapperComponent from "../feature-wrapper/feature-wrapper.component";
export default function JobsDetailPliComponent({
job,
@@ -23,6 +24,7 @@ export default function JobsDetailPliComponent({
) : null}
<BillDetailEditcontainer/>
<Row gutter={[16, 16]}>
<FeatureWrapperComponent featureName='bills' noauth={() => null}>
<Col span={24}>
<JobBillsTotal
bills={billsQuery.data ? billsQuery.data.bills : []}
@@ -31,6 +33,7 @@ export default function JobsDetailPliComponent({
jobTotals={job.job_totals}
/>
</Col>
</FeatureWrapperComponent>
<Col span={24}>
<PartsOrderListTableComponent
job={job}
@@ -38,6 +41,7 @@ export default function JobsDetailPliComponent({
billsQuery={billsQuery}
/>
</Col>
<FeatureWrapperComponent featureName='bills' noauth={() => null}>
<Col span={24}>
<BillsListTable
job={job}
@@ -45,6 +49,7 @@ export default function JobsDetailPliComponent({
billsQuery={billsQuery}
/>
</Col>
</FeatureWrapperComponent>
<Col span={24}>
<PartsDispatchTable
job={job}