Remove unneeded vendor fields IO-641

This commit is contained in:
Patrick Fic
2021-02-16 10:38:26 -08:00
parent 8c69be8923
commit 1201d78d99
15 changed files with 308 additions and 24 deletions

View File

@@ -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={[

View File

@@ -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