Invoiced jobs are now RO IO-576
This commit is contained in:
@@ -86,7 +86,7 @@ export function JobsDetailRates({ job, jobRO, form }) {
|
|||||||
<CurrencyInput disabled={jobRO} />
|
<CurrencyInput disabled={jobRO} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label={t("jobs.fields.rate_lag")} name="rate_lag">
|
<Form.Item label={t("jobs.fields.rate_lag")} name="rate_lag">
|
||||||
<CurrencyInput />
|
<CurrencyInput disabled={jobRO} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label={t("jobs.fields.rate_la1")} name="rate_la1">
|
<Form.Item label={t("jobs.fields.rate_la1")} name="rate_la1">
|
||||||
<CurrencyInput disabled={jobRO} />
|
<CurrencyInput disabled={jobRO} />
|
||||||
|
|||||||
@@ -63,7 +63,9 @@ function JobsDetailPageContainer({
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
if (data && data.jobs_by_pk) {
|
if (data && data.jobs_by_pk) {
|
||||||
setJobReadOnly(!!data.jobs_by_pk.date_exported);
|
setJobReadOnly(
|
||||||
|
!!data.jobs_by_pk.date_exported || !!data.jobs_by_pk.date_invoiced
|
||||||
|
);
|
||||||
|
|
||||||
addRecentItem(
|
addRecentItem(
|
||||||
CreateRecentItem(
|
CreateRecentItem(
|
||||||
|
|||||||
Reference in New Issue
Block a user