Remove unneeded vendor fields IO-641
This commit is contained in:
@@ -99,21 +99,9 @@ export default function VendorsFormComponent({
|
||||
<Form.Item label={t("vendors.fields.discount")} name="discount">
|
||||
<InputNumber min={0} max={1} precision={2} />
|
||||
</Form.Item>
|
||||
<Form.Item label={t("vendors.fields.terms")} name="terms">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item label={t("vendors.fields.due_date")} name="due_date">
|
||||
<InputNumber />
|
||||
</Form.Item>
|
||||
<Form.Item label={t("vendors.fields.taxid")} name="taxid">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("vendors.fields.prompt_discount")}
|
||||
name="prompt_discount"
|
||||
>
|
||||
<InputNumber max={1} precision={2} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("vendors.fields.cost_center")}
|
||||
rules={[
|
||||
|
||||
@@ -4,11 +4,8 @@ export const QUERY_VENDOR_BY_ID = gql`
|
||||
query QUERY_VENDOR_BY_ID($id: uuid!) {
|
||||
vendors_by_pk(id: $id) {
|
||||
zip
|
||||
terms
|
||||
taxid
|
||||
street2
|
||||
state
|
||||
prompt_discount
|
||||
name
|
||||
id
|
||||
favorite
|
||||
|
||||
Reference in New Issue
Block a user