├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── config.yml ├── dependabot.yml ├── label-commenter-config.yml ├── pull_request_template.md └── workflows │ ├── auto-tag-new-version.yml │ ├── close_stale_issue.yml │ ├── continuous-integration.yml │ ├── label-commenter.yml │ ├── locales-sync.yml │ ├── locales-update-source.yml │ └── release.yml ├── .gitignore ├── .php-cs-fixer.php ├── .twig_cs.dist.php ├── .tx └── config ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── SECURITY.md ├── ajax └── dropdownQuantity.php ├── composer.json ├── composer.lock ├── credit.gif ├── eslint.config.mjs ├── front ├── entity.form.php ├── entityconfig.form.php ├── ticket.form.php ├── ticket.php └── ticketconfig.form.php ├── glpi_network.png ├── hook.php ├── inc ├── entity.class.php ├── entityconfig.class.php ├── notificationtargetentity.class.php ├── profile.class.php ├── ticket.class.php ├── ticketconfig.class.php └── type.class.php ├── locales ├── credit.pot ├── cs_CZ.mo ├── cs_CZ.po ├── en_GB.mo ├── en_GB.po ├── es_EC.mo ├── es_EC.po ├── es_ES.mo ├── es_ES.po ├── fi_FI.mo ├── fi_FI.po ├── fr_FR.mo ├── fr_FR.po ├── hr_HR.mo ├── hr_HR.po ├── ko_KR.mo ├── ko_KR.po ├── pt_BR.mo ├── pt_BR.po ├── pt_PT.mo ├── pt_PT.po ├── zh_CN.mo └── zh_CN.po ├── phpstan.neon ├── plugin-icon1.png ├── plugin-icon2.png ├── plugin.xml ├── psalm.xml ├── public └── js │ └── credit.js ├── rector.php ├── screenshots ├── fr_detail-consumed.png ├── fr_entity-tab.png └── fr_ticket-tab.png ├── setup.php ├── templates ├── creditentity.hmtl.twig ├── creditentity_config.hmtl.twig └── tickets │ ├── config.html.twig │ ├── consume.html.twig │ ├── consumed_details.html.twig │ └── form.html.twig └── tools └── HEADER /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/label-commenter-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/label-commenter-config.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/auto-tag-new-version.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/auto-tag-new-version.yml -------------------------------------------------------------------------------- /.github/workflows/close_stale_issue.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/close_stale_issue.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/continuous-integration.yml -------------------------------------------------------------------------------- /.github/workflows/label-commenter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/label-commenter.yml -------------------------------------------------------------------------------- /.github/workflows/locales-sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/locales-sync.yml -------------------------------------------------------------------------------- /.github/workflows/locales-update-source.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/locales-update-source.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | vendor/ 4 | .gh_token 5 | .php-cs-fixer.cache -------------------------------------------------------------------------------- /.php-cs-fixer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.php-cs-fixer.php -------------------------------------------------------------------------------- /.twig_cs.dist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.twig_cs.dist.php -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/.tx/config -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/SECURITY.md -------------------------------------------------------------------------------- /ajax/dropdownQuantity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/ajax/dropdownQuantity.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/composer.lock -------------------------------------------------------------------------------- /credit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/credit.gif -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /front/entity.form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/front/entity.form.php -------------------------------------------------------------------------------- /front/entityconfig.form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/front/entityconfig.form.php -------------------------------------------------------------------------------- /front/ticket.form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/front/ticket.form.php -------------------------------------------------------------------------------- /front/ticket.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/front/ticket.php -------------------------------------------------------------------------------- /front/ticketconfig.form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/front/ticketconfig.form.php -------------------------------------------------------------------------------- /glpi_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/glpi_network.png -------------------------------------------------------------------------------- /hook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/hook.php -------------------------------------------------------------------------------- /inc/entity.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/entity.class.php -------------------------------------------------------------------------------- /inc/entityconfig.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/entityconfig.class.php -------------------------------------------------------------------------------- /inc/notificationtargetentity.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/notificationtargetentity.class.php -------------------------------------------------------------------------------- /inc/profile.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/profile.class.php -------------------------------------------------------------------------------- /inc/ticket.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/ticket.class.php -------------------------------------------------------------------------------- /inc/ticketconfig.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/ticketconfig.class.php -------------------------------------------------------------------------------- /inc/type.class.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/inc/type.class.php -------------------------------------------------------------------------------- /locales/credit.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/credit.pot -------------------------------------------------------------------------------- /locales/cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/cs_CZ.mo -------------------------------------------------------------------------------- /locales/cs_CZ.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/cs_CZ.po -------------------------------------------------------------------------------- /locales/en_GB.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/en_GB.mo -------------------------------------------------------------------------------- /locales/en_GB.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/en_GB.po -------------------------------------------------------------------------------- /locales/es_EC.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/es_EC.mo -------------------------------------------------------------------------------- /locales/es_EC.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/es_EC.po -------------------------------------------------------------------------------- /locales/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/es_ES.mo -------------------------------------------------------------------------------- /locales/es_ES.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/es_ES.po -------------------------------------------------------------------------------- /locales/fi_FI.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/fi_FI.mo -------------------------------------------------------------------------------- /locales/fi_FI.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/fi_FI.po -------------------------------------------------------------------------------- /locales/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/fr_FR.mo -------------------------------------------------------------------------------- /locales/fr_FR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/fr_FR.po -------------------------------------------------------------------------------- /locales/hr_HR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/hr_HR.mo -------------------------------------------------------------------------------- /locales/hr_HR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/hr_HR.po -------------------------------------------------------------------------------- /locales/ko_KR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/ko_KR.mo -------------------------------------------------------------------------------- /locales/ko_KR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/ko_KR.po -------------------------------------------------------------------------------- /locales/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/pt_BR.mo -------------------------------------------------------------------------------- /locales/pt_BR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/pt_BR.po -------------------------------------------------------------------------------- /locales/pt_PT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/pt_PT.mo -------------------------------------------------------------------------------- /locales/pt_PT.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/pt_PT.po -------------------------------------------------------------------------------- /locales/zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/zh_CN.mo -------------------------------------------------------------------------------- /locales/zh_CN.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/locales/zh_CN.po -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/phpstan.neon -------------------------------------------------------------------------------- /plugin-icon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/plugin-icon1.png -------------------------------------------------------------------------------- /plugin-icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/plugin-icon2.png -------------------------------------------------------------------------------- /plugin.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/plugin.xml -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/psalm.xml -------------------------------------------------------------------------------- /public/js/credit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/public/js/credit.js -------------------------------------------------------------------------------- /rector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/rector.php -------------------------------------------------------------------------------- /screenshots/fr_detail-consumed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/screenshots/fr_detail-consumed.png -------------------------------------------------------------------------------- /screenshots/fr_entity-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/screenshots/fr_entity-tab.png -------------------------------------------------------------------------------- /screenshots/fr_ticket-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/screenshots/fr_ticket-tab.png -------------------------------------------------------------------------------- /setup.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/setup.php -------------------------------------------------------------------------------- /templates/creditentity.hmtl.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/templates/creditentity.hmtl.twig -------------------------------------------------------------------------------- /templates/creditentity_config.hmtl.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/templates/creditentity_config.hmtl.twig -------------------------------------------------------------------------------- /templates/tickets/config.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/templates/tickets/config.html.twig -------------------------------------------------------------------------------- /templates/tickets/consume.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/templates/tickets/consume.html.twig -------------------------------------------------------------------------------- /templates/tickets/consumed_details.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/templates/tickets/consumed_details.html.twig -------------------------------------------------------------------------------- /templates/tickets/form.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/templates/tickets/form.html.twig -------------------------------------------------------------------------------- /tools/HEADER: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/credit/HEAD/tools/HEADER --------------------------------------------------------------------------------