Merge branch 'dev' into 3795-client_administraive
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-05-10 08:24:32 +00:00
commit aa431bbe0f
3 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1 @@
Delete file

View File

@ -1,6 +1,6 @@
<vn-crud-model
vn-id="buysModel"
url="Entries/{{$ctrl.$params.id}}/getBuys"
url="Entries/{{$ctrl.entry.id}}/getBuys"
limit="5"
data="buys"
auto-load="true">

View File

@ -4,6 +4,9 @@ import Summary from 'salix/components/summary';
class Controller extends Summary {
get entry() {
if (!this._entry)
return this.$params;
return this._entry;
}