dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [bug #18640] bon de livrasion ne reference pas vers


From: Franky Van Liedekerke
Subject: [Dolibarr-bugtrack] [bug #18640] bon de livrasion ne reference pas vers bon de commande (avec solution)
Date: Sat, 30 Dec 2006 12:45:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

URL:
  <http://savannah.nongnu.org/bugs/?18640>

                 Summary: bon de livrasion ne reference pas vers bon de
commande (avec solution)
                 Project: Dolibarr
            Submitted by: liedekef
            Submitted on: Saturday 30/12/06 at 12:45
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
        Operating System: None

    _______________________________________________________

Details:

The pdf generated for "bon de livraison" has no reference to the order number
(bon de commande). This is not a real bug, but rather a feature request.
(Je vais essayer en Francais, mais j'ai un keyboard qwerty, alors pas de
accents)
Dans le fichier htdocs/livraison/mods/pdf/pdf_typhon.modules.php

si tu ajout sous les lignes de code:
        $posy+=6;
        $pdf->SetXY(100,$posy);
        $pdf->SetTextColor(0,0,60);
        $pdf->MultiCell(100, 4, $langs->transnoentities("Date")." : " .
dolibarr_print_date($delivery->date_valid,"%d %b %Y"), '', 'R');

le code suivante, ca marche:
        $posy+=6;
        $pdf->SetXY(100,$posy);
        $pdf->SetTextColor(0,0,60);
        $commande = new Commande ($this->db);
        $commande->fetch($delivery->commande_id);
        $pdf->MultiCell(100, 4, $langs->transnoentities("Order")."
".$commande->ref, '' , 'R');

le meme logic s'applique sur le pdf model sirocco.

Franky





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18640>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]