Can't find new attribute in quotes #1099
Replies: 3 comments 1 reply
-
In the Information Quote section, when creating or editing a quote, only specific columns are consulted and custom attributes are not included. I changed the query in 2 files so that the custom attributes are added. Files to update:
Change this: ->whereIn('code', [
'user_id',
'subject',
'description',
'expired_at',
'person_id',
]); To this: ->whereNotIn('code', [
'adjustment_amount',
'billing_address',
'created_at',
'discount_amount',
'discount_percent',
'grand_total',
'id',
'shipping_address',
'sub_total',
'tax_amount',
'updated_at',
]); This change is expected to add custom attributes and attributes Note: I made these changes in a new installation and tests are pending for cases when the database is already populated or in the validators for each attribute, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
After adding new attribute for quotes , i can't find him in the form when adding a new quote
PLEASE HELP
Beta Was this translation helpful? Give feedback.
All reactions