IO-1604 Add invoice final note to job close.
This commit is contained in:
@@ -21431,6 +21431,27 @@
|
||||
</concept_node>
|
||||
</children>
|
||||
</folder_node>
|
||||
<concept_node>
|
||||
<name>invoice_final_note</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>kmin</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
|
||||
@@ -1816,6 +1816,7 @@ export const QUERY_JOB_CLOSE_DETAILS = gql`
|
||||
jobs_by_pk(id: $id) {
|
||||
ro_number
|
||||
invoice_allocation
|
||||
invoice_final_note
|
||||
ins_co_id
|
||||
dms_allocation
|
||||
id
|
||||
|
||||
@@ -63,6 +63,7 @@ export function JobsCloseComponent({ job, bodyshop, jobRO }) {
|
||||
kmin: values.kmin,
|
||||
kmout: values.kmout,
|
||||
dms_allocation: values.dms_allocation,
|
||||
invoice_final_note: values.invoice_final_note,
|
||||
},
|
||||
},
|
||||
refetchQueries: ["QUERY_JOB_CLOSE_DETAILS"],
|
||||
@@ -122,6 +123,7 @@ export function JobsCloseComponent({ job, bodyshop, jobRO }) {
|
||||
kmin: job.kmin,
|
||||
kmout: job.kmout,
|
||||
dms_allocation: job.dms_allocation,
|
||||
invoice_final_note: job.invoice_final_note,
|
||||
}}
|
||||
scrollToFirstError
|
||||
>
|
||||
@@ -271,6 +273,12 @@ export function JobsCloseComponent({ job, bodyshop, jobRO }) {
|
||||
<Input disabled />
|
||||
</Form.Item>
|
||||
)}
|
||||
<Form.Item
|
||||
label={t("jobs.fields.invoice_final_note")}
|
||||
name="invoice_final_note"
|
||||
>
|
||||
<Input.TextArea disabled={jobRO} />
|
||||
</Form.Item>
|
||||
</LayoutFormRow>
|
||||
<Divider />
|
||||
<JobsCloseLines job={job} />
|
||||
|
||||
@@ -1298,6 +1298,7 @@
|
||||
"required": "Required?",
|
||||
"type": "Type"
|
||||
},
|
||||
"invoice_final_note": "Note to Display on Final Invoice",
|
||||
"kmin": "Mileage In",
|
||||
"kmout": "Mileage Out",
|
||||
"la1": "LA1",
|
||||
|
||||
@@ -1298,6 +1298,7 @@
|
||||
"required": "",
|
||||
"type": ""
|
||||
},
|
||||
"invoice_final_note": "",
|
||||
"kmin": "Kilometraje en",
|
||||
"kmout": "Kilometraje",
|
||||
"la1": "",
|
||||
|
||||
@@ -1298,6 +1298,7 @@
|
||||
"required": "",
|
||||
"type": ""
|
||||
},
|
||||
"invoice_final_note": "",
|
||||
"kmin": "Kilométrage en",
|
||||
"kmout": "Kilométrage hors",
|
||||
"la1": "",
|
||||
|
||||
@@ -2694,6 +2694,7 @@
|
||||
- intakechecklist
|
||||
- invoice_allocation
|
||||
- invoice_date
|
||||
- invoice_final_note
|
||||
- iouparent
|
||||
- job_totals
|
||||
- kanbanparent
|
||||
@@ -2948,6 +2949,7 @@
|
||||
- intakechecklist
|
||||
- invoice_allocation
|
||||
- invoice_date
|
||||
- invoice_final_note
|
||||
- iouparent
|
||||
- job_totals
|
||||
- kanbanparent
|
||||
@@ -3212,6 +3214,7 @@
|
||||
- intakechecklist
|
||||
- invoice_allocation
|
||||
- invoice_date
|
||||
- invoice_final_note
|
||||
- iouparent
|
||||
- job_totals
|
||||
- kanbanparent
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."jobs" add column "invoice_final_note" Text
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."jobs" add column "invoice_final_note" Text
|
||||
null;
|
||||
Reference in New Issue
Block a user