* * 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ */ require("./pre.inc.php"); require_once DOL_DOCUMENT_ROOT.'/telephonie/facturation/FacturationEmission.class.php'; require_once(DOL_DOCUMENT_ROOT."/includes/modules/facture/modules_facture.php"); if (! $user->rights->telephonie->facture->ecrire ) accessforbidden(); llxHeader(); /* * Securite acces client */ if ($user->societe_id > 0) { $action = ''; $socid = $user->societe_id; } /* * * * */ print_barre_liste("Emission des factures", $page, "emission.php", "", $sortfield, $sortorder, '', $num); print ''; print ''; print ''; $var=True; $obj = new FacturationEmission($db,$user); $obj->Emission(); foreach ($obj->messages as $message) { $var=!$var; print ""; if (is_array($message)) { $func = 'img_'.$message[0]; print ''; print ''; } else { print ''; print ''; } } print "
Messages
'.$func().''.$message[1].'
'.img_info().''.$message.'
"; $db->close(); llxFooter("Dernière modification $Date$ révision $Revision$"); ?>