/[dolibarr]/dolibarr/htdocs/fourn/paiement/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/fourn/paiement/fiche.php

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

revision 1.1 by rodolphe, Mon Aug 1 12:35:24 2005 UTC revision 1.2 by eldy, Mon Oct 17 17:07:30 2005 UTC
# Line 39  $langs->load("companies"); Line 39  $langs->load("companies");
39    
40    
41  /*  /*
42   *   * Visualisation de la fiche
43   *   *
44   */   */
45    
46  llxHeader();  llxHeader();
47    $h=0;
48    
49    $head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/fiche.php?id='.$_GET["id"];
50    $head[$h][1] = $langs->trans("Card");
51    $hselected = $h;
52    $h++;      
53    
54    $head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/info.php?id='.$_GET["id"];
55    $head[$h][1] = $langs->trans("Info");
56    $h++;      
57    
58    dolibarr_fiche_head($head, $hselected, $langs->trans("Payment").": ".$_GET["id"]);
59    
 print '<div class="tabs">';  
 print '<a href="fiche.php?id='.$_GET["id"].'" id="active" class="tab">'.$langs->trans("Payment").'</a>';  
 print '<a class="tab" href="info.php?id='.$_GET["id"].'">'.$langs->trans("Info").'</a>';  
 print '</div>';  
60    
 print '<div class="tabBar">';  
 /*  
  * Visualisation de la fiche  
  *  
  */  
61  $facture = new FactureFournisseur($db);  $facture = new FactureFournisseur($db);
62  $paiement = new PaiementFourn($db);  $paiement = new PaiementFourn($db);
63    
# Line 70  if ($paiement->fetch($_GET["id"], $user) Line 73  if ($paiement->fetch($_GET["id"], $user)
73     */     */
74    if ($_GET["action"] == 'delete')    if ($_GET["action"] == 'delete')
75      {      {
       print '<br>';  
76        $html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sūr de vouloir supprimer ce paiement ?","confirm_delete");        $html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sūr de vouloir supprimer ce paiement ?","confirm_delete");
77        print '<br>';        print '<br>';
78                
# Line 78  if ($paiement->fetch($_GET["id"], $user) Line 80  if ($paiement->fetch($_GET["id"], $user)
80        
81    if ($_GET["action"] == 'valide')    if ($_GET["action"] == 'valide')
82      {      {
       print '<br>';  
83        $html->form_confirm("fiche.php?id=$paiement->id","Valider le paiement","Etes-vous sūr de vouloir valider ce paiment, auncune modification n'est possible une fois le paiement validé ?","confirm_valide");        $html->form_confirm("fiche.php?id=$paiement->id","Valider le paiement","Etes-vous sūr de vouloir valider ce paiment, auncune modification n'est possible une fois le paiement validé ?","confirm_valide");
84        print '<br>';        print '<br>';
85                
86      }      }
87        
   print '<br>';  
     
88    print '<table class="noborder" width="100%">';    print '<table class="noborder" width="100%">';
89        
90    print '<tr><td valign="top">';    print '<tr><td valign="top">';

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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