diff --git a/htdocs/telephonie/client/facture.php b/htdocs/telephonie/client/facture.php index bdb710249fd..d13d4fbd9af 100644 --- a/htdocs/telephonie/client/facture.php +++ b/htdocs/telephonie/client/facture.php @@ -33,15 +33,10 @@ require("./pre.inc.php"); $user->getrights('facture'); $user->getrights('banque'); -if (!$user->rights->facture->lire) -accessforbidden(); - $langs->load("bills"); - $warning_delay=31*24*60*60; // Delai affichage warning retard (si retard paiement facture > delai) - require_once DOL_DOCUMENT_ROOT."/facture.class.php"; require_once DOL_DOCUMENT_ROOT."/paiement.class.php"; require_once DOL_DOCUMENT_ROOT."/lib/CMailFile.class.php"; @@ -234,7 +229,6 @@ if ($_GET["facid"] > 0) print '