feat(catalog): add is_enabled field to catalog item attachments
This commit is contained in:
@@ -91,7 +91,7 @@ class Variant extends Model
|
||||
'variant_id',
|
||||
'attachment_id'
|
||||
)
|
||||
->withPivot('orden')
|
||||
->withPivot(['orden', 'is_enabled'])
|
||||
->orderByPivot('orden');
|
||||
|
||||
if ($this->catalog_item_id !== null) {
|
||||
|
||||
Reference in New Issue
Block a user