You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-01-22 16:40:46

Ncam84
Member
Registered: 2018-01-22
Posts: 1

Plugin : PDF / Impression "Privé"

Bonjour,

Je rencontre un problème avec le Plugin PDF pour imprimer des Tickets et avoir le traitement du ticket et les saisies "Privé".
Sur le PDF, il y a rien du traitement privé du ticket.

(GLPI 9.2 + Plugin PDF 1.3)

Je suis le seul à avoir ce problème ?

Nico

Last edited by Ncam84 (2018-01-22 16:41:11)

Offline

#2 2018-02-02 17:24:06

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Plugin : PDF / Impression "Privé"

Je ne comprends pas votre demande.
Dans le paramétrage des impression PDF pour un ticket vous avez l'option Privé qui sert pour les parties ayant ce paramètre (tâches et suivis).
Si vous avez le droit de voir ces parties priovées dans votre profil et que l'option est cochée, l'impression sera ajoutée


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2018-02-05 09:39:06

beckbeck79
Member
From: Frankfurt am Main
Registered: 2018-02-05
Posts: 3

Re: Plugin : PDF / Impression "Privé"

Hello,

I think I have the same problem, with the latest version of the PDF plugin (1.3 for glpi 9.2).

When you select the "Private" box, no more "Followups" is displayed in the PDF whether it is public or private (I have super-admin profile with all rights).

I have 2 SQL errors generated.

  *** MySQL query error:
  SQL: SELECT * FROM `glpi_ticketfollowups` WHERE `tickets_id` = 1 AND () ORDER BY `date` DESC
  Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `date` DESC' at line 1
  Backtrace :
  inc/dbmysqliterator.class.php:274                  
  inc/dbmysql.class.php:542                          DBmysqlIterator->__construct()
  plugins/pdf/inc/ticketfollowup.class.php:67        DBmysql->request()
  plugins/pdf/inc/ticket.class.php:486               PluginPdfTicketFollowup::pdfForTicket()
  plugins/pdf/inc/common.class.php:348               PluginPdfTicket::displayTabContentForPDF()
  plugins/pdf/front/export.php:74                    PluginPdfCommon->generatePDF()
  *** MySQL query error:
  SQL: SELECT * FROM `glpi_tickettasks` WHERE `tickets_id` = 1 AND () ORDER BY `date` DESC
  Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `date` DESC' at line 1
  Backtrace :
  inc/dbmysqliterator.class.php:274                  
  inc/dbmysql.class.php:542                          DBmysqlIterator->__construct()
  plugins/pdf/inc/tickettask.class.php:68            DBmysql->request()
  plugins/pdf/inc/ticket.class.php:487               PluginPdfTicketTask::pdfForTicket()
  plugins/pdf/inc/common.class.php:348               PluginPdfTicket::displayTabContentForPDF()
  plugins/pdf/front/export.php:74                    PluginPdfCommon->generatePDF()

Offline

Board footer

Powered by FluxBB