Trad: Traduction "Emettre paiement"
This commit is contained in:
parent
20cec3ca87
commit
1f244ecb14
@ -298,7 +298,7 @@ else
|
||||
if ($_GET["action"] == "edit")
|
||||
{
|
||||
|
||||
print_titre($langs->trans("Bill").' : '.$fac->ref);
|
||||
print_titre($langs->trans("Bill").': '.$fac->ref);
|
||||
|
||||
print '<form action="fiche.php?facid='.$fac->id.'" method="post">';
|
||||
print '<input type="hidden" name="action" value="update">';
|
||||
@ -403,7 +403,7 @@ else
|
||||
$h=0;
|
||||
|
||||
$head[$h][0] = "fiche.php?facid=".$fac->id;
|
||||
$head[$h][1] = $langs->trans("Bill").' : '.$fac->ref;
|
||||
$head[$h][1] = $langs->trans("Bill").': '.$fac->ref;
|
||||
$hselected = $h;
|
||||
$h++;
|
||||
|
||||
@ -555,18 +555,6 @@ else
|
||||
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
|
||||
if ($fac->statut == 0 && $user->societe_id == 0)
|
||||
{
|
||||
if ($_GET["action"] != "edit")
|
||||
{
|
||||
print '<a class="tabAction" href="index.php?facid='.$fac->id.'&action=delete">'.$langs->trans("Delete").'</a>';
|
||||
}
|
||||
}
|
||||
elseif ($fac->statut == 1 && $fac->paye == 0 && $user->societe_id == 0)
|
||||
{
|
||||
print '<a class="tabAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans("DoPaiement").'</a>';
|
||||
}
|
||||
|
||||
if ($fac->statut == 0 && $user->societe_id == 0)
|
||||
{
|
||||
if ($_GET["action"] == "edit")
|
||||
@ -579,6 +567,11 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
if ($fac->statut == 1 && $fac->paye == 0 && $user->societe_id == 0)
|
||||
{
|
||||
print '<a class="tabAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans("DoPaiement").'</a>';
|
||||
}
|
||||
|
||||
if ($fac->statut == 1 && price($resteapayer) <= 0 && $fac->paye == 0 && $user->societe_id == 0)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?facid=$fac->id&action=payed\">".$langs->trans('ClassifyPayed')."</a>";
|
||||
@ -597,6 +590,14 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
if ($fac->statut == 0 && $user->societe_id == 0)
|
||||
{
|
||||
if ($_GET["action"] != "edit")
|
||||
{
|
||||
print '<a class="butDelete" href="index.php?facid='.$fac->id.'&action=delete">'.$langs->trans("Delete").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
}
|
||||
|
||||
@ -33,6 +33,9 @@
|
||||
require("./pre.inc.php");
|
||||
require("./paiementfourn.class.php");
|
||||
|
||||
$langs->load("bills");
|
||||
|
||||
|
||||
$facid=isset($_GET["facid"])?$_GET["facid"]:$_POST["facid"];
|
||||
$action=isset($_GET["action"])?$_GET["action"]:$_POST["action"];
|
||||
|
||||
@ -160,9 +163,9 @@ if ($action == 'create')
|
||||
print "<td rowspan=\"4\">";
|
||||
print '<textarea name="comment" wrap="soft" cols="40" rows="10"></textarea></td></tr>';
|
||||
|
||||
print "<tr><td>Numéro :</td><td><input name=\"num_paiement\" type=\"text\"><br><em>N° du chèque ou du virement</em></td></tr>\n";
|
||||
print "<tr><td>".$langs->trans("Number").":</td><td><input name=\"num_paiement\" type=\"text\"><br><em>N° du chèque ou du virement</em></td></tr>\n";
|
||||
|
||||
print "<tr><td>Compte à débiter :</td><td><select name=\"accountid\"><option value=\"\">-</option>\n";
|
||||
print "<tr><td>".$langs->trans("Account").":</td><td><select name=\"accountid\"><option value=\"\">-</option>\n";
|
||||
$sql = "SELECT rowid, label FROM ".MAIN_DB_PREFIX."bank_account ORDER BY rowid";
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
|
||||
@ -20,6 +20,7 @@ SearchABill=Search a bill
|
||||
Send=Send
|
||||
SendRemind=Send reminder
|
||||
DoPaiement=Do payment
|
||||
DoPayment=Do payment
|
||||
BuildPDF=Build PDF
|
||||
RebuildPDF=Rebuild PDF
|
||||
VAT=VAT
|
||||
|
||||
@ -20,6 +20,7 @@ SearchABill=Rechercher une facture
|
||||
Send=Envoyer
|
||||
SendRemind=Envoyer rappel
|
||||
DoPaiement=Émettre paiement
|
||||
DoPayment=Émettre paiement
|
||||
BuildPDF=Générer le PDF
|
||||
RebuildPDF=Regénérer le PDF
|
||||
VAT=TVA
|
||||
|
||||
Loading…
Reference in New Issue
Block a user