|
|
@@ -46,6 +46,10 @@ export default class BillingMenuBuilder extends AbstractMenuBuilder {
|
|
|
children.push(this.createItem('jvs_export', {name: 'fas fa-align-justify'}, '/jvs/list/', MENU_LINK_TYPE.V1))
|
|
|
}
|
|
|
|
|
|
+ if (this.ability.can('display', 'afi_page')) {
|
|
|
+ children.push(this.createItem('afi_export', {name: 'fas fa-align-justify'}, '/afis/list/', MENU_LINK_TYPE.V1))
|
|
|
+ }
|
|
|
+
|
|
|
if (children.length > 1) {
|
|
|
// Plusieurs éléments, on retourne un groupe
|
|
|
return this.createGroup('billing', {name: 'fas fa-euro-sign'}, children)
|