Refactor nested column definitions and improve license info handling
- Updated column definitions in various components to use `nestedOption` instead of `nestedPath` for better clarity and consistency. - Removed commented-out license status checks and related UI elements from the layout component. - Simplified license info interface by removing unnecessary properties. - Enhanced consumer accounts and business activities components to display additional license information. - Adjusted form components to conditionally include fields based on selected device type. - Improved the handling of discount calculations in the gold payload form component. - Added new fields for branch code in complex components and adjusted related views. - Cleaned up unused console logs in form data utility.
This commit is contained in:
@@ -39,13 +39,13 @@ export class ConsumerPosListComponent extends AbstractList<IPosResponse> {
|
||||
field: 'complex.business_activity',
|
||||
header: 'عنوان کسب و کار',
|
||||
type: 'nested',
|
||||
nestedPath: 'complex.business_activity.name',
|
||||
nestedOption: { path: 'complex.business_activity.name' },
|
||||
},
|
||||
{
|
||||
field: 'complex',
|
||||
header: 'عنوان شعبه',
|
||||
type: 'nested',
|
||||
nestedPath: 'complex.name',
|
||||
nestedOption: { path: 'complex.name' },
|
||||
},
|
||||
{
|
||||
field: 'customAction',
|
||||
|
||||
Reference in New Issue
Block a user