2963 - Show section to all employee #655
|
@ -51,6 +51,8 @@
|
||||||
</vn-data-viewer>
|
</vn-data-viewer>
|
||||||
<vn-float-button
|
<vn-float-button
|
||||||
ng-if="$ctrl.canCreateNew()"
|
ng-if="$ctrl.canCreateNew()"
|
||||||
|
vn-acl="insurance"
|
||||||
|
vn-acl-action="remove"
|
||||||
vn-tooltip="New contract"
|
vn-tooltip="New contract"
|
||||||
fixed-bottom-right
|
fixed-bottom-right
|
||||||
ui-sref="client.card.creditInsurance.create"
|
ui-sref="client.card.creditInsurance.create"
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
</div>
|
</div>
|
||||||
<a
|
<a
|
||||||
ng-if="!$ctrl.isClosed"
|
ng-if="!$ctrl.isClosed"
|
||||||
|
vn-acl="insurance"
|
||||||
|
vn-acl-action="remove"
|
||||||
ui-sref="client.card.creditInsurance.insurance.create({classificationId: {{$ctrl.$params.classificationId}}})"
|
ui-sref="client.card.creditInsurance.insurance.create({classificationId: {{$ctrl.$params.classificationId}}})"
|
||||||
fixed-bottom-right
|
fixed-bottom-right
|
||||||
vn-tooltip="New credit"
|
vn-tooltip="New credit"
|
||||||
|
|
|
@ -240,14 +240,12 @@
|
||||||
"url": "/credit-insurance",
|
"url": "/credit-insurance",
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"state": "client.card.creditInsurance",
|
"state": "client.card.creditInsurance",
|
||||||
"component": "ui-view",
|
"component": "ui-view"
|
||||||
"acl": ["insurance"]
|
|
||||||
}, {
|
}, {
|
||||||
"url": "/index",
|
"url": "/index",
|
||||||
"state": "client.card.creditInsurance.index",
|
"state": "client.card.creditInsurance.index",
|
||||||
"component": "vn-client-credit-insurance-index",
|
"component": "vn-client-credit-insurance-index",
|
||||||
"description": "Credit contracts",
|
"description": "Credit contracts",
|
||||||
"acl": ["insurance"],
|
|
||||||
"params": {
|
"params": {
|
||||||
"client": "$ctrl.client"
|
"client": "$ctrl.client"
|
||||||
}
|
}
|
||||||
|
@ -256,6 +254,7 @@
|
||||||
"state": "client.card.creditInsurance.create",
|
"state": "client.card.creditInsurance.create",
|
||||||
"component": "vn-client-credit-insurance-create",
|
"component": "vn-client-credit-insurance-create",
|
||||||
"description": "New insurance",
|
"description": "New insurance",
|
||||||
|
"acl": ["insurance"],
|
||||||
"params": {
|
"params": {
|
||||||
"client": "$ctrl.client"
|
"client": "$ctrl.client"
|
||||||
}
|
}
|
||||||
|
@ -279,6 +278,7 @@
|
||||||
"state": "client.card.creditInsurance.insurance.create",
|
"state": "client.card.creditInsurance.insurance.create",
|
||||||
"component": "vn-client-credit-insurance-insurance-create",
|
"component": "vn-client-credit-insurance-insurance-create",
|
||||||
"description": "New credit",
|
"description": "New credit",
|
||||||
|
"acl": ["insurance"],
|
||||||
"params": {
|
"params": {
|
||||||
"client": "$ctrl.client"
|
"client": "$ctrl.client"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue