forked from Wavyzz/dolibarr
Trad: Traductions de paiement et info
This commit is contained in:
@@ -20,11 +20,22 @@
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
|
||||
/*! \file htdocs/compta/paiement/fiche.php
|
||||
\ingroup facture
|
||||
\brief Onglet paiement d'un paiement
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
|
||||
require("./pre.inc.php");
|
||||
require("../../paiement.class.php");
|
||||
|
||||
$user->getrights('facture');
|
||||
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
|
||||
if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes' && $user->rights->facture->creer)
|
||||
{
|
||||
$paiement = new Paiement($db);
|
||||
@@ -42,8 +53,8 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes' && $user-
|
||||
llxHeader();
|
||||
|
||||
print '<div class="tabs">';
|
||||
print '<a href="fiche.php?id='.$_GET["id"].'" id="active" class="tab">Paiement</a>';
|
||||
print '<a class="tab" href="info.php?id='.$_GET["id"].'">Info</a>';
|
||||
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>';
|
||||
|
||||
print '<div class="tabBar">';
|
||||
@@ -69,13 +80,15 @@ $html = new Form($db);
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
print '<tr><td valign="top">Num<EFBFBD>ro : '.$paiement->numero."<br>";
|
||||
print '<tr><td valign="top">';
|
||||
|
||||
print 'Date : '.strftime("%d %B %Y",$paiement->date)." <br>";
|
||||
print $langs->trans("Numero").' : '.$paiement->numero."<br>";
|
||||
|
||||
print $langs->trans("Type").' : '.$paiement->type_libelle." <br>";
|
||||
print $langs->trans("Date").' : '.strftime("%d %B %Y",$paiement->date)."<br>";
|
||||
|
||||
print 'Montant : '.$paiement->montant." ".MAIN_MONNAIE."<br>";
|
||||
print $langs->trans("Type").' : '.$paiement->type_libelle."<br>";
|
||||
|
||||
print $langs->trans("Amount").' : '.$paiement->montant." ".MAIN_MONNAIE."<br>";
|
||||
|
||||
print '</td></tr>';
|
||||
print "</table>";
|
||||
@@ -98,10 +111,10 @@ if ($db->query($sql))
|
||||
|
||||
$i = 0;
|
||||
|
||||
print '<br><table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<br><table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>Facture</td><td>Soci<63>t<EFBFBD></td>';
|
||||
print '<td align="right">Montant TTC</td>';
|
||||
print '<td>'.$langs->trans("Bill").'</td><td>'.$langs->trans("Company").'</td>';
|
||||
print '<td align="right">'.$langs->trans("AmountTTC").'</td>';
|
||||
print "</tr>\n";
|
||||
|
||||
if ($num > 0)
|
||||
@@ -136,16 +149,14 @@ if ($db->query($sql))
|
||||
*
|
||||
*
|
||||
*/
|
||||
print "</div>";
|
||||
print "<br></div>";
|
||||
|
||||
if ($user->societe_id == 0 && $allow_delete)
|
||||
{
|
||||
print '<div class="tabsAction">';
|
||||
// L'edition est pour l'instant inutile
|
||||
//print '<a class="tabAction" href="fiche.php?id='.$_GET["id"].'&action=edit">Editer</a>';
|
||||
|
||||
if ($_GET["action"] != 'delete') {
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET["id"].'&action=delete">Supprimer</a>';
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET["id"].'&action=delete">'.$langs->trans("Delete").'</a>';
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -19,17 +20,24 @@
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
|
||||
/*! \file htdocs/compta/paiement/info.php
|
||||
\ingroup facture
|
||||
\brief Onglet info d'un paiement
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require("../../paiement.class.php");
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
|
||||
llxHeader();
|
||||
|
||||
print '<div class="tabs">';
|
||||
print '<a class="tab" href="fiche.php?id='.$_GET["id"].'">Paiement</a>';
|
||||
print '<a class="tab" href="info.php?id='.$_GET["id"].'" id="active">Info</a>';
|
||||
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>';
|
||||
print '<div class="tabBar">';
|
||||
|
||||
@@ -42,7 +50,9 @@ $paiement = new Paiement($db);
|
||||
$paiement->fetch($_GET["id"], $user);
|
||||
$paiement->info($_GET["id"]);
|
||||
|
||||
print '<table width="100%"><tr><td>';
|
||||
dolibarr_print_object_info($paiement);
|
||||
print '</td></tr></table>';
|
||||
|
||||
$db->close();
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Dolibarr language file - en_US - bills
|
||||
Bill=Bill
|
||||
Bills=Bills
|
||||
Payment=Payment
|
||||
Payments=Payments
|
||||
ClassifyPayed=Classify 'Payed'
|
||||
ClassifyCanceled=Classify 'Abandonned'
|
||||
CreateBill=Create Bill
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Dolibarr language file - fr_FR - bills
|
||||
Bill=Facture
|
||||
Bills=Factures
|
||||
Payment=Paiement
|
||||
Payments=Paiements
|
||||
ClassifyPayed=Classer 'Pay<61>e'
|
||||
ClassifyCanceled=Classer 'Abandonn<6E>e'
|
||||
CreateBill=Cr<43>er Facture
|
||||
|
||||
Reference in New Issue
Block a user