15.07.2025.16:44

This commit is contained in:
Flatlogic Bot 2025-07-15 11:14:41 +00:00
parent b8c2eff7b2
commit 6c0ade74e1
4 changed files with 45 additions and 6 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{}

View File

@ -34,10 +34,12 @@ import moment from 'moment';
const initialValues = { const initialValues = {
client_name: '', client_name: '',
system_type: '', system_type: '',
custom_options: [], custom_options: [],
rfqnumber: '',
client_address: '',
status: 'draft',
locations: [],
}; };
const RfqsNew = () => { const RfqsNew = () => {
@ -84,6 +86,38 @@ const RfqsNew = () => {
component={SelectFieldMany} component={SelectFieldMany}
></Field> ></Field>
</FormField> </FormField>
<FormField label='RFQ Number'>
<Field name='rfqnumber' type='number' placeholder='RFQ Number' />
</FormField>
<FormField label='Client Address'>
<Field name='client_address' placeholder='Client Address' />
</FormField>
<FormField label='Status' labelFor='status'>
<Field
name='status'
id='status'
component={SelectField}
options={[
{ value: 'draft', label: 'Draft' },
{ value: 'in_progress', label: 'In Progress' },
{ value: 'submitted', label: 'Submitted' },
]}
/>
</FormField>
<FormField label='Locations' labelFor='locations'>
<Field
name='locations'
id='locations'
itemRef={'rfq_locations'}
options={[]}
component={SelectFieldMany}
/>
</FormField>
<BaseDivider /> <BaseDivider />
<BaseButtons> <BaseButtons>