* * @copyright Copyright (C) 2004-2012 - Star2billing S.L. * @author Belaid Arezqui * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html * @package A2Billing * * Software License Agreement (GNU Affero General Public License) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * * **/ getpost_ifset(array('id')); $HD_Form = new FormHandler("cc_autorefill_report", "AutoRefill Report"); $HD_Form->FG_DEBUG = 0; $HD_Form->FG_VIEW_TABLE_WITDH = '70%'; $HD_Form->FG_TABLE_DEFAULT_ORDER = "id"; $HD_Form->FG_TABLE_DEFAULT_SENS = "DESC"; $HD_Form->AddViewElement(gettext("DATE RUN"), "daterun", "25%", "center", "sort"); $HD_Form->AddViewElement(gettext("TOTALCARD PERFORM"), "totalcardperform", "20", "center", "sort"); $HD_Form->AddViewElement(gettext("TOTALCREDIT"), "totalcredit", "20%", "center", "sort"); ; // added a parameter to append FG_TABLE_ID ( by default ) or disable 0. $HD_Form->FieldViewElement('daterun, totalcardperform, totalcredit'); $HD_Form->CV_NO_FIELDS = gettext("THERE IS NO AUTOREFILL REPORT CREATED!"); $HD_Form->CV_DISPLAY_LINE_TITLE_ABOVE_TABLE = false; $HD_Form->CV_TEXT_TITLE_ABOVE_TABLE = ''; $HD_Form->CV_DISPLAY_FILTER_ABOVE_TABLE = false; $HD_Form->FG_EDITION = false; $HD_Form->FG_DELETION = false; $HD_Form->FG_ADDITION = false;