Hey victor lazovic,
I am trying to add a relationship panel to a small detail view of the parent entity. i have an entity called (Client) has many transactions. so basically i have tried to show the transactions panel on the edit small view / detail small view of the client entity but nothing has worked, below my set up:
In my clientDefs\Client.json i have this set up:
This is the panel transations view:
i even created a bottomPanelsEditSmall.json layout under client layout with this content but nothing worked. what i am missing?
Any help would be appreciated.
I am trying to add a relationship panel to a small detail view of the parent entity. i have an entity called (Client) has many transactions. so basically i have tried to show the transactions panel on the edit small view / detail small view of the client entity but nothing has worked, below my set up:
In my clientDefs\Client.json i have this set up:
PHP Code:
"bottomPanels": {
"editSmall":[
"__APPEND__",
{
"name": "transactions",
"label": "Transactions",
"view": "custom:views/client/record/panels/transactions",
"notRefreshable":true,
"sticked": true,
"isForm": true,
"index": 1
}
]
},
"additionalLayouts": {
"bottomPanelsEditSmall": {
"type": "bottomPanelsEditSmall"
}
},
PHP Code:
define('custom:views/client/record/panels/transactions', 'views/record/panels/relationship', function (Dep) {
return Dep.extend({});
});
Any help would be appreciated.
Comment