mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-04 00:53:14 +00:00
Add PO and TT fields to work order form, make due date optional
- Remove required attribute from due date input - Add Customer PO and TT text inputs in the Schedule & Priority section
This commit is contained in:
parent
049934478c
commit
7e971f8dcb
1 changed files with 32 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ export default function WorkOrderFormPage() {
|
|||
</div>
|
||||
<div className="col-sm-6">
|
||||
<div className="form-group">
|
||||
<label className="required-field" htmlFor="dueDate">Due Date</label>
|
||||
<label htmlFor="dueDate">Due Date</label>
|
||||
<input
|
||||
className="form-control"
|
||||
type="date"
|
||||
|
|
@ -227,7 +227,6 @@ export default function WorkOrderFormPage() {
|
|||
name="dueDate"
|
||||
value={formData.dueDate}
|
||||
onChange={handleChange}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -274,6 +273,37 @@ export default function WorkOrderFormPage() {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="row">
|
||||
<div className="col-sm-6">
|
||||
<div className="form-group">
|
||||
<label htmlFor="po">Customer PO</label>
|
||||
<input
|
||||
className="form-control"
|
||||
type="text"
|
||||
id="po"
|
||||
name="po"
|
||||
value={formData.po}
|
||||
onChange={handleChange}
|
||||
placeholder="Purchase order number"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-sm-6">
|
||||
<div className="form-group">
|
||||
<label htmlFor="tt">TT</label>
|
||||
<input
|
||||
className="form-control"
|
||||
type="text"
|
||||
id="tt"
|
||||
name="tt"
|
||||
value={formData.tt}
|
||||
onChange={handleChange}
|
||||
placeholder="Trouble ticket number"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Description Section */}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue