Manage OVH OTRS tickets
yarn add @ovh-ux/ng-ovh-otrs
import angular from 'angular';
import '@ovh-ux/ng-ovh-otrs';
angular.module('myApp', ['ngOvhOtrs']).config(
/* @ngInject */ (OtrsPopupProvider) => {
// Inject it to manager-navbar at app.config:
OtrsPopupProvider.setBaseUrlTickets('…');
},
);
const assistanceMenu = [
{
title: $translate.instant('otrs_menu_new_ticket'),
click: (callback) => {
if (!OtrsPopupService.isLoaded()) {
OtrsPopupService.init();
} else {
OtrsPopupService.toggle();
}
if (_.isFunction(callback)) {
callback();
}
},
},
];
yarn test
Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.
BSD-3-Clause © OVH SAS