Source for file travel.html.php
Documentation is available at travel.html.php
* HTML functions for travel expenses
* 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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* @author m2mtech <tech@m2m.at>
* @copyright 2007 m2m server software gmbh
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License Version 2
* @version $Id: travel.html.php 145 2007-09-04 14:49:18Z m2mtech $
* @link http://www.ea-geier.at/
* travel expenses overview
* @param eaSmarty Smarty object
$smarty->assign_by_ref('opt', $out->options);
$smarty->assign_by_ref('data', $out->post);
$smarty->assign_by_ref('error', $out->error);
$smarty->assign('stylesheet', 'travel.css');
$smarty->assign('topnav', $smarty->fetch('travelnav.tpl'));
$smarty->assign('content', $smarty->fetch('travel.tpl'));
* travel expenses overview - print
* @param eaSmarty Smarty object
$smarty->assign_by_ref('opt', $out->options);
$smarty->assign_by_ref('data', $out->post);
$smarty->assign('stylesheet', 'travel.css');
$smarty->assign('content', $smarty->fetch('travelprint.tpl'));
* travel-expenses overview - csv export
* @param eaSmarty Smarty object
$smarty->assign_by_ref('opt', $out->options);
$smarty->assign_by_ref('data', $out->post);
require_once('code/csv.html.php');
$smarty->display('travelcsv.tpl');
* @param eaSmarty Smarty object
$smarty->assign_by_ref('opt', $out->options);
$smarty->assign_by_ref('data', $out->post);
$smarty->assign_by_ref('error', $out->error);
$smarty->assign('stylesheet', 'travel.css');
$smarty->assign('topnav', $smarty->fetch('travelnav.tpl'));
$smarty->assign('content', $smarty->fetch('travelitem.tpl'));
* @param eaSmarty Smarty object
$smarty->assign_by_ref('opt', $out->options);
$smarty->assign_by_ref('data', $out->post);
$smarty->assign('stylesheet', 'travel.css');
$smarty->assign('content', $smarty->fetch('travelitemprint.tpl'));
* travel item - csv export
* @param eaSmarty Smarty object
$smarty->assign_by_ref('opt', $out->options);
$smarty->assign_by_ref('data', $out->post);
require_once('code/csv.html.php');
$smarty->display('travelitemcsv.tpl');
|