/[dolibarr]/dolibarr/htdocs/compta/paiement/info.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/paiement/info.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by eldy, Thu Aug 25 20:40:22 2005 UTC revision 1.7 by eldy, Sat Oct 15 15:32:02 2005 UTC
# Line 18  Line 18 
18   *   *
19   * $Id$   * $Id$
20   * $Source$   * $Source$
  *  
21   */   */
22    
23  /**  /**
# Line 34  require_once(DOL_DOCUMENT_ROOT."/paiemen Line 33  require_once(DOL_DOCUMENT_ROOT."/paiemen
33  $langs->load("bills");  $langs->load("bills");
34  $langs->load("companies");  $langs->load("companies");
35    
 llxHeader();  
   
 print '<div class="tabs">';  
 print '<a class="tab" href="fiche.php?id='.$_GET["id"].'">'.$langs->trans("Payment").'</a>';  
 print '<a class="tab" href="info.php?id='.$_GET["id"].'" id="active">'.$langs->trans("Info").'</a>';  
 print '</div>';  
36    
37  /*  /*
38   * Visualisation de la fiche   * Visualisation de la fiche
39   *   *
40   */   */
41    
42    llxHeader();
43    
44  $paiement = new Paiement($db);  $paiement = new Paiement($db);
45  $paiement->fetch($_GET["id"], $user);  $paiement->fetch($_GET["id"], $user);
46  $paiement->info($_GET["id"]);  $paiement->info($_GET["id"]);
47    
48  print '<div class="tabBar">';  
49    $h=0;
50    
51    $head[$h][0] = DOL_URL_ROOT.'/compta/paiement/fiche.php?id='.$_GET["id"];
52    $head[$h][1] = $langs->trans("Card");
53    $h++;      
54    
55    $head[$h][0] = DOL_URL_ROOT.'/compta/paiement/info.php?id='.$_GET["id"];
56    $head[$h][1] = $langs->trans("Info");
57    $hselected = $h;
58    $h++;      
59    
60    
61    dolibarr_fiche_head($head, $hselected, $langs->trans("Payment").": ".$paiement->ref);
62    
63  print '<table width="100%"><tr><td>';  print '<table width="100%"><tr><td>';
 print '<br>';  
64  dolibarr_print_object_info($paiement);  dolibarr_print_object_info($paiement);
65  print '</td></tr></table>';  print '</td></tr></table>';
66    
67  print '</div>';  print '</div>';
68    
69    // Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
70    print '<div class="tabsAction">';
71    print '</div>';
72    
73  $db->close();  $db->close();
74    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26