GithubHelp home page GithubHelp logo

pluginsglpi / order Goto Github PK

View Code? Open in Web Editor NEW
38.0 29.0 44.0 3.97 MB

Order plugin for GLPI

License: GNU General Public License v3.0

PHP 99.23% CSS 0.31% Twig 0.31% JavaScript 0.14%
order order-management glpi glpi-plugin billing assets-management asset-lifecycle

order's Introduction

Order GLPI plugin

License Follow twitter Telegram Group Project Status: Active GitHub release GitHub build

Screenshot1 Screenshot2 Screenshot3

This plugin allows you to manage order management within GLPIi:

  • Products references management
  • Order management (with approval workflow)
  • Budgets management

Documentation

We maintain a detailed documentation here -> Documentation

Contact

For notices about major changes and general discussion of order, subscribe to the /r/glpi subreddit. You can also chat with us via IRC in #glpi on freenode or @glpi on Telegram.

Professional Services

GLPI Network

The GLPI Network services are available through our Partner's Network. We provide special training, bug fixes with editor subscription, contributions for new features, and more.

Obtain a personalized service experience, associated with benefits and opportunities.

Contributing

  • Open a ticket for each bug/feature so it can be discussed
  • Follow development guidelines
  • Refer to GitFlow process for branching
  • Work on a new branch on your own fork
  • Open a PR that will be reviewed by a developer

Copying

  • Code: you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL-2.0).

order's People

Contributors

adrienclairembault avatar btry avatar cedric-anne avatar dependabot[bot] avatar dethegeek avatar equinoxefr avatar flegastelois avatar johannesm avatar neeftarah avatar orthagh avatar p-bo avatar rom1-b avatar stonebuzz avatar trasher avatar tsadock avatar tsmr avatar xacobofg avatar yllen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

order's Issues

Probleme lors de l'imputation d'une commande dans un budget

Bonjour,
j'utilise beaucoup le plugin de gestion de commandes de GLPI.
Cependant, je rencontre toujours un probleme, y compris sur les dernières version (0.90.1).

Un bon exemple vaut mieux que 36 explications:
Budget XXXX=10 000 euros.
Je crée une commande=1000 euros contenant:
* 1 Ordi a 700 Euros (qui finira dans l'inventaire),
* 1 Sacoche à 50 Euros (qui ne finira pas dans l'inventaire - bien sûr).
Lors de la réception de la commande, je valide la réception, je rentre l'ordinateur dans l'inventaire, je crée une facture de 750 Euros dans le module "Commande", je l'associe à la commande, elle passe dans le status "payée. Bref il me semble que je fais tout bien.
Au niveau du Budget XXXX, après l'achèvement de la commande, je me retrouve avec 10 000 - 700 = 9 300 au lieu de 9 250 Euros (et oui, la sacoche ...).

J'ai vaguement regardé au niveau des tables GLPI, il semblerait que cela provienne du fait que les budgets sont défalqués analytiquement à partir d'objets de l'inventaire (ce qui n'est pas le cas de ma sacoche à 50 Euros qui n'y figure pas).

Aussi, n'y aurait-il pas moyen de créer un objet typé "fourre-tout", dans l'inventaire, qui permettrait au plugin commande de se lier parfaitement avec la gestion budgétaire.

Pour contourner ce souci, j'ai trouvé l'astuce pourrie suivante: j'ai à ma disposition un "contrat" bidon dans lequeel je vais affecter le coût de 50 euros relatif à ma sacoche.

Si vous avez un moyen de résoudre ce soucis, ce serait parfait: s'il faut me faire une proposition commerciale, je suis preneur.
J'ai également une petite demande à effectuer au niveau de la gestion budgétaire: j'aimerais pouvoir créer un sous-budget (des budgets de budgets si vous préférez).

Unable to add item to an order

I cannot add items to an order, there is a Drop Down under Type but its Blank (----- ) , I created many diferences Products references and other items type but when I try to add one to a orde the drop down box does not show anything.

I'm working with GLPI 0.9.1 and order management pluging 0.85+1.2

Page blanche à l'ajout d'une facture

En fonction du type d'affichage Glpi,
l'ajout d'une facture n'est pas possible .

Si l'affichage est de type "Onglet sur la gauche" l'affichage est correcte.
Pour les autres , nous arrivons sur une page blanche (sans erreur PHP ou Apache).

Cordialement

Doesn't work on GLPI 0.9 ?

Hi,

I just upgrade my GLPI from 0.84 to 0.9 and I can't install plugin "Order Master".

When I Uncompress the folder "order-master" into the "plugins" folder, GLPI (by Web) don't see the plugin.

PlugIn FusionInventory is working.

Have you got an idea ?

Thanks,

Product - price unit value / valeur de prix unitaire

Bonjour,

J'ai besoin d'entrer des prix unitaire HT de produits jusqu'à 6 chiffres après la virgules, hors seuls 2 chiffres après la virgules sont autorisés. Où puis-je modifier cette limite? Merci


Hello,

Sorry for my bad english,

About products and price unit (taxes free): i need to have 6 digits after the dot, actually only 2 digits are allowed.
How can i modify this limit? Thanks

Ajout d'une deuxième taxe

Bonjour,

Nous sommes en train de tester votre plugin et c'est vraiment bien. Par contre nous somme au Québec et nous avons 2 taxes. Est-ce que ça serait possible de nous permettre d'ajouter une deuxième taxe ? La deuxième taxe la première donc je ne peux pas faire un calcul des deux taxes directement.

Merci


Hi,

We are currently testing your plugin and it's working very well! However we are living in Quebec and we got 2 taxes. Would it be possible to add a functionality that would permit us to add a second tax. The second tax is taxing the firs one so i can't calculate the two taxes directly.

Thank you

Est-il possible d'avoir une liaison entre les commandes de consommables et les consommables

Est-il possible d'avoir une liaison entre le plugin ORDER et la table consommables de GLPI

En effet si je créer un consommable dans la table GLPI, est-il possible de le retrouver dans les articles du plugin Order?

Comme ça lors de la réception de la commande effectuée dans le plugin Order, mon stock de sonsomables dans glpi se met à jour.

Le but final c'est d'effectuée une commande automatique (plugin order) quand un consommable à été donné à un utilisateur suite à sa demande effectuée par le plugin "consumables"

Price calculation still not working correctly

This is closely related to #9 and #13 but slightly different:

When the price on the product is entered with a "," as decimal seperator (when adding directly from the reference and changing nothing), everything behind the decimal seperator is ignored. If a manually enter the (same) price with a "." as decimal separator the correct price shows up in the order.

Wrong description in log of automatic action 'ComputeLateOrders', and php error

When run, automatic action 'ComputeLateOrders' generates a log.
Provided there is at least an order late, the 2nd line in log, where status = Running, displays the following description = "Entité racine : Array" !
And a php error is written in php-errors.log

Notice(8): Array to string conversion
Backtrace :
/var/www/glpiOLD/inc/toolbox.class.php:531 Toolbox::userErrorHandlerNormal()
/var/www/glpiOLD/plugins/order/inc/order.class.php:1803 Toolbox::userErrorHandlerDebug()
/var/www/glpiOLD/inc/crontask.class.php:755 call_user_func()
/var/www/glpiOLD/front/crontask.form.php:46 CronTask::launch()

Original Redmine issue : https://forge.glpi-project.org/issues/5109

Associer plusieurs commandes à une facture

Bonjour,
je ne savais pas comment vous faire parvenir mon code.
On peut maintenant associer plusieurs commande à une facture.
Ex interne: facturation au mois d'un fournisseur
la facture pouvait concerner plusieurs commandes
Je ne maîtrise pas l'outil donc vous aurez quelques modifications à faire pour le rendre propre
Vous êtes libre de l'exploiter (ou pas)
Cdlt

order.zip

DropdownReference change name to reference_code

2015-11-26_16h13_17
Is the dropdown value "reference_code" in the items list a new feature?
We changed the code in \ajax\dropdownReference.php because we are not used to choose the reference_code in the dropdownReference Field. Instead we like to see the reference name.

OLD:
// $values[$data['id']] = !empty($data['reference_code'])
// ? $data['reference_code']
// : $data['name'];

NEW:
$values[$data['id']] = !empty($data['name'])
? $data['name']
: $data['reference_code'];

Cannot create a product reference

2015-11-07 21:46:18 [2@aldebaran]
*** MySQL query error:
SQL: INSERT
INTO glpi_plugin_order_references (entities_id,is_recursive,name,comment,is_active,manufacturers_id,itemtype,types_id,models_id,templates_id,date_mod) VALUES ('0','0','D630','','1','46','Computer','1','167','0','2015-11-07 21:46:18')
Error: Field 'manufacturers_reference' doesn't have a default value
Backtrace :
inc/commondbtm.class.php:425
inc/commondbtm.class.php:831 CommonDBTM->addToDB()
plugins/order/front/reference.form.php:42 CommonDBTM->add()

Erreur à l'ainstallation

L'erreur à l'installation se produit
update itemtype of table glpi_tickets for PluginOrderBudget - Erreur durant l'éxecution de la requête : UPDATEglpi_ticketsSETitemtype= 'PluginOrderBudget' WHEREitemtype= '3153' - L'erreur est Unknown column 'itemtype' in 'where clause'

Item delivered tab is hidden

When a use has no right to take items in delivery, the Item Delivered tab is hidden.
It should not be hidden, but the user simply shouldn't be able to see massive actions

OdfException when using own template

When i want to export order to my own template. I have fatal error when plugin setVar to template

The try catch on order.class.php line 1626 is badly formatted.

You need to catch "\Odtphp\Exceptions\OdfException" rather than "OdfException", if not, the Exeption is not catched

BEFORE
foreach ($values as $field => $val) { try { $odf->setVars($field, $val, true, 'UTF-8'); } catch (OdfException $e) { } }

AFTER
foreach ($values as $field => $val) { try { $odf->setVars($field, $val, true, 'UTF-8'); } catch (\Odtphp\Exceptions\OdfException $e) { } }

Link order items to consumables does not work

If I have consumables in the item list the link to the "consumables" section in the inventory does not work (no update of items_id in orders_items).
If I put the items_id of the consumable item into the database directly it is possible to link the item "manually".

Unable to add assets to an order

Hello,

From a 0.85 GLPI version, I was not able to add assets to an order, it's empty. I upgraded my glpi version to 0.90.1 and the assets tabs is empty.

Best regards,

Nicolas

Gestion accès commandes

Bonjour,

Nous sommes en train d'installer le système GLPI dans notre société avec le plugin de gestion des commandes.
Parcontre ce que nous n'arrivons pas à faire c'est restreinde la vue des commandes aux auteurs uniquement.

Exemple :

  • J'ai un profil de gestionnaire achat qui à le droit de tout voir et tout modifier dans les commandes.
  • J'ai un profil d'utilisateur achat qui à le droit de créer une nouvelle commande.

Ce que j'aimerais c'est que les personnes qui créer des commandes ne voit dans la liste des commandes QUE les commandes qu'il a passé. Aujourd'hui le simple droit de lecture donne accès à toutes les commandes sur GLPI. En terme de confidentialité c'est pas top :(

Savez-vous s'il est possible de restreindre les accès dans cette idée ?

Merci

Linking new and existing items or deleting item links in orders only with Profile "Super-Admin"

Linking an item to an order or deleteting an item link from an order is only possible with user profile "Super-Admin". If a user is not Super-Admin he gets the following error messages:

Linking Items:
Cannot update item: insufficient rights on the parent item(s)
2015-11-26_16h20_39

Deleting item links:
Cannot update item: insufficient rights on the parent item(s)
2015-11-26_16h18_41

Here are the profile settings:
Super-Admin
2015-11-26_16h25_40

Admin
2015-11-26_16h26_21

GLPI Version 0.85.5

Impossible d'ajouter des éléments à ma commande

GLPI v 0.90.4
Plugins Order 0.85 +1.2
Fournisseur ok
Référence Produit ok
Liaison Référence Produit et fournisseur ok
Budget ok
Création de l'en tête de commande ok
Le passage au détail de la commande (éléments de la commande) s'effectue bien mais hormis le message de chargement il ne se passe plus rien.
gpli_order1
gpli_order2

Bug : Liaison Ticket - Commande n’apparaît pas dans Ticket

Dans la liste des tickets une massive action "Ajouter un élément" propose d'ajouter au(x) ticket(s) une commande existante.

Or quand je vais dans un des tickets où j'ai associé (dans le passé) une commande, celle-ci n'apparait pas dans l'onglet "Élements".

Le nombre d'éléments (dans le nom de l'onglet) est correct mais cet élément n’apparaît pas alors qu'il est bien dans la base de données (table "glpi_items_tickets", itemtype 'PluginOrderOrder').

Documents attachés aux commandes et droits d'accès

Bonjour

Depuis le profil super admin j'ai un onglet documents disponible pour chaque commande.

Lorsque je cherche à gérer les droits pour les autres profils, je ne peux pas donner ce droit et il n'est pas actif par défaut.

Comment faire pour que les personnes ayant le droit de valider une commande puisse me joindre le PDF signé du bon de commande ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.