diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 28fc3baf521..d727ba5dab0 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -24,7 +24,7 @@ /** * \file htdocs/compta/facture.php * \ingroup facture - * \brief Page de cr�ation/visu facture + * \brief Page de creation/visu facture * \version $Id$ */ @@ -324,7 +324,7 @@ if ($_GET['action'] == 'modif' && $user->rights->facture->modifier && $conf->glo $fac = new Facture($db); $fac->fetch($_GET['facid']); - // On v�rifie si la facture a des paiements + // On verifie si la facture a des paiements $sql = 'SELECT pf.amount'; $sql.= ' FROM '.MAIN_DB_PREFIX.'paiement_facture as pf'; $sql.= ' WHERE pf.fk_facture = '.$fac->id; @@ -522,7 +522,7 @@ if ($_POST['action'] == 'add' && $user->rights->facture->creer) $facture->remise_absolue = $_POST['remise_absolue']; $facture->remise_percent = $_POST['remise_percent']; - // Propri�t�s particulieres a facture de remplacement + // Proprietes particulieres a facture de remplacement $facture->fk_facture_source = $_POST['fac_replacement']; $facture->type = 1; @@ -566,7 +566,7 @@ if ($_POST['action'] == 'add' && $user->rights->facture->creer) $facture->remise_absolue = $_POST['remise_absolue']; $facture->remise_percent = $_POST['remise_percent']; - // Propri�t�s particulieres a facture avoir + // Proprietes particulieres a facture avoir $facture->fk_facture_source = $_POST['fac_avoir']; $facture->type = 2; @@ -595,7 +595,7 @@ if ($_POST['action'] == 'add' && $user->rights->facture->creer) $facture->ref_client = $_POST['ref_client']; $facture->modelpdf = $_POST['model']; - // Propri�t�s particulieres a facture recurrente + // Proprietes particulieres a facture recurrente $facture->fac_rec = $_POST['fac_rec']; $facture->type = 0; @@ -818,7 +818,7 @@ if ($_POST['action'] == 'add' && $user->rights->facture->creer) } } - // Fin cr�ation facture, on l'affiche + // Fin creation facture, on l'affiche if ($facid > 0 && ! $error) { $db->commit(); @@ -985,7 +985,7 @@ if (($_POST['action'] == 'addline' || $_POST['action'] == 'addline_predef') && $ if (empty($mesg)) $mesg='
| '.$langs->trans('ProductsAndServices').' | '; @@ -1784,7 +1784,7 @@ if ($_GET['action'] == 'create') print ''; print ' | % | '; print ''; - // Si le module service est actif, on propose des dates de d�but et fin � la ligne + // Si le module service est actif, on propose des dates de debut et fin a la ligne if ($conf->service->enabled) { print ' | ';
@@ -2039,7 +2039,7 @@ else
// Confirmation de la validation
if ($_GET['action'] == 'valid')
{
- // on v�rifie si la facture est en num�rotation provisoire
+ // on verifie si la facture est en numerotation provisoire
$facref = substr($fac->ref, 1, 4);
if ($facref == 'PROV')
{
@@ -2070,7 +2070,7 @@ else
if ($ret == 'html') print ' '; } - // Confirmation du classement pay� + // Confirmation du classement paye if ($_GET['action'] == 'paid' && $resteapayer <= 0) { $ret=$html->form_confirm($_SERVER["PHP_SELF"].'?facid='.$fac->id,$langs->trans('ClassifyPaid'),$langs->trans('ConfirmClassifyPaidBill',$fac->ref),'confirm_paid','',0,1); @@ -2096,7 +2096,7 @@ else $arrayreasons[$close[$key]['code']]=$close[$key]['reason']; } - // Cr�e un tableau formulaire + // Cree un tableau formulaire $formquestion=array( 'text' => $langs->trans("ConfirmClassifyPaidPartiallyQuestion"), array('type' => 'radio', 'name' => 'close_code', 'label' => $langs->trans("Reason"), 'values' => $arrayreasons), @@ -2110,7 +2110,7 @@ else // Confirmation du classement abandonne if ($_GET['action'] == 'canceled') { - // S'il y a une facture de remplacement pas encore valid�e (etat brouillon), + // S'il y a une facture de remplacement pas encore validee (etat brouillon), // on ne permet pas de classer abandonner la facture. if ($facidnext) { @@ -2137,7 +2137,7 @@ else $arrayreasons[$close[1]['code']]=$close[1]['reason']; $arrayreasons[$close[2]['code']]=$close[2]['reason']; - // Cr�e un tableau formulaire + // Cree un tableau formulaire $formquestion=array( 'text' => $langs->trans("ConfirmCancelBillQuestion"), array('type' => 'radio', 'name' => 'close_code', 'label' => $langs->trans("Reason"), 'values' => $arrayreasons), @@ -2195,8 +2195,8 @@ else /* \todo L'info "Reference commande client" est une carac de la commande et non de la facture. - Elle devrait donc etre stock�e sur l'objet commande li� � la facture et non sur la facture. - Pour ceux qui utilisent ainsi, positionner la constante FAC_USE_CUSTOMER_ORDER_REF � 1. + Elle devrait donc etre stockee sur l'objet commande lie a la facture et non sur la facture. + Pour ceux qui utilisent ainsi, positionner la constante FAC_USE_CUSTOMER_ORDER_REF a 1. */ if ($conf->global->FAC_USE_CUSTOMER_ORDER_REF) { @@ -2523,7 +2523,7 @@ else dol_print_error($db); } - // Pay� partiellement 'escompte' + // Paye partiellement 'escompte' if (($fac->statut == 2 || $fac->statut == 3) && $fac->close_code == 'discount_vat') { print ' |
| '; @@ -2531,7 +2531,7 @@ else print ' | '.price($fac->total_ttc - $creditnoteamount - $depositamount - $totalpaye).' | |||
| '; @@ -2539,7 +2539,7 @@ else print ' | '.price($fac->total_ttc - $creditnoteamount - $depositamount - $totalpaye).' | |||
| '; @@ -2547,7 +2547,7 @@ else print ' | '.price($fac->total_ttc - $creditnoteamount - $depositamount - $totalpaye).' | |||
| '; @@ -2606,7 +2606,7 @@ else } print ' | ||||
';
print '
| ||||